Download the free trial version
Basic4android Video
Features
Tutorials and manuals
Showcase
Screenshots

Go Back   Android Development Forum - Basic4android > Basic4ppc (Windows Mobile) > Share Your Creations
Documentation Wiki Register Members List B4P Search Today's Posts Mark Forums Read

Share Your Creations Show your developed application to Basic4ppc community. Please include source code if possible.

A simple Slide Show program example for the PDA.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-01-2009, 03:19 PM
pdablue's Avatar
Senior Member
 
Join Date: Sep 2007
Posts: 113
Arrow A simple Slide Show program example for the PDA.

Hi,

Here is a simple Slide Show program for the Pocket PC written in
Basic4ppc.

The program allows you to select 5 pictures that you can put into
a slide show. You can vary the slide show display rate from 500 mSec
up to 4000 mSec in steps of 250 mSec.

From the "Edit Screen" you can select 1 of the 5 radio buttons and then
press "Select File" which will take you to the OpenDialog screen where
you can select a file to assign to the selected slide position.

Pressing the button "Start" will start the slide show.

Pressing the button "Stop" will stop the slide show.

Pressing the "<<" button will scroll Left through the slide show.

Pressing the ">>" button will scroll Right through the slide show.

Pressing the "Edit" button will take you to the Edit screen where you
can select pictures for each of the 5 slides.

Pressing the "Read" button or "Read File" button
will read information for the 5 slides from the file "SlideData.txt".

Pressing the "Save File" button will save the information for all 5 slides to
the file "SlideData.txt".

Pressing the "Exit" button will take you out of the Edit screen and back
to the main Slide Show screen.

The file "Slidepic0.JPG" is the screenshot for the Slide Show program.

The files "Slidepic1.JPG" through "Slidepic5.JPG" are screenshots of all
5 slides.

The file "Slideedit.JPG" is the screenshot of the Edit Screen.

The file "Slide.sbp" is the Basic4ppc source code for the program.

The file "Slidezip.zip" is the zipped up ARMV4 (.CAB) installation file.
Attached Images
File Type: jpg Slidepic0.JPG (20.4 KB, 41 views)
File Type: jpg Slidepic1.JPG (18.5 KB, 24 views)
File Type: jpg Slidepic2.JPG (17.8 KB, 16 views)
File Type: jpg Slidepic3.JPG (18.6 KB, 10 views)
File Type: jpg Slidepic4.JPG (18.6 KB, 11 views)
File Type: jpg Slidepic5.JPG (18.8 KB, 10 views)
File Type: jpg Slideedit.JPG (22.6 KB, 18 views)
Attached Files
File Type: sbp Slide.sbp (12.0 KB, 88 views)
File Type: zip slidezip.zip (81.0 KB, 79 views)
Reply With Quote
  #2 (permalink)  
Old 05-20-2010, 12:20 PM
Basic4ppc Veteran
 
Join Date: Jul 2008
Location: Schwäbisch Gmünd
Posts: 353
Default

Hi pdablue,

I tried to test your example, but there are a lot of JPG-Files missing ...
__________________
JOTHA | Greetz from the Schwabenländle.
Pocket-PC: HTC HD2 (Dual-Boot WindowsMobile 6.51 + Android 2.2 Froyo)
Reply With Quote
  #3 (permalink)  
Old 05-21-2010, 07:38 PM
Knows the basics
 
Join Date: May 2010
Posts: 92
Talking

Hello fellas.
I have played with the programm....none of the jpg files are missing.
Regarding the code:

n = 500
do
addevent("ms"&n,click, "button_click")
n = n + 250
loop until n = 4000

Sub button_click
Timer1.interval = n
Label1.text = n & " msec"
End Sub

Writing these nine lines would have saved you writing 50 lines.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
can't find a *simple* way to show one transparent image over another image europe Questions (Windows Mobile) 4 11-10-2008 08:44 PM
I am not able to translate a simple program laurafelea Questions (Windows Mobile) 2 12-13-2007 07:34 PM
after used showtodayscreen how to show again blackiice Questions (Windows Mobile) 3 10-25-2007 04:26 AM
keyboard show bdiscount Questions (Windows Mobile) 1 09-24-2007 03:21 PM
Textbox show PPC Keyboard IansResearch Questions (Windows Mobile) 2 08-13-2007 10:18 AM


All times are GMT. The time now is 05:01 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0