Basic4ppc - Windows Mobile Development  

Go Back   Basic4ppc - Windows Mobile Development > Main Category > Basic4ppc Wishlist
Home Register FAQ Members List Search Today's Posts Mark Forums Read

Basic4ppc Wishlist Missing any feature?


iPhone Style gadgets


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 06-10-2008, 05:17 AM
Junior Member
 
Join Date: Jun 2007
Posts: 32
Default iPhone Style gadgets

Hi All,

As a beginner to all of this I have been very surprised at how intuitive the process of taking an idea to code and then to a working program has been. Personally, I love the HTC touch touchflow and the iPhone style gadgetry. I haven't a clue how these things work however, is there any possibility of creating a Library to develop applications which take advantage of scrolling menus; page flipping album art etc. etc. ?

JT.
Reply With Quote
  #2 (permalink)  
Old 06-14-2008, 11:24 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,322
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

I have an QTEK 9000(dopod, mda pro,etc)
Wich has no touchflow,OS installed, but I lerk around another forum in wich a working Flash based thouchflow clone was introduced...
The basics on thouchflow are very simple and surely can be achieved with B4Ppc
being then the ability to "read" the finger movement on the screen...
The imagery is a completly different thing...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #3 (permalink)  
Old 06-15-2008, 02:44 AM
Junior Member
 
Join Date: Feb 2008
Posts: 40
Default It can be done

To mimic iphone and touchflo in B4PPC just read mouse movements and translate them into gestures. This works for one-finger gestures but I hear the iphone just "pinch" gestures also, that is, it can react to the way 2 fingers on the screen move in relation to eachother.

Pinch is not possible yet on Windows PPCs.

I have tinkered around with gestures a couple times and if you keep it simple it works great. For example, if you break the screen up into a grid and designate each cell of the grid a letter then gestures just become a short string of letters.

Screen grid:

.A.|.B.|.C.
.D.|.E.|.F.
.G.|.H.|.I.
.J.|.K.|.L.


Gestures:

Horizontal swipe right: DEF or GHI or ...
Vertical swipe up: KHEB or ...
Clockwise from left to top: GDAB or ...

and so on...

From there it's just a matter of reacting to the gesture. Animate an image, slide a panel in from the side to simulate page turning, etc. Using a couple of the image libraries found here I was able to create an app that browses images thumbnails, zooms, and rotates images purely using gestures in the above manner.

Last edited by sahoopes : 06-15-2008 at 02:47 AM.
Reply With Quote
  #4 (permalink)  
Old 06-17-2008, 12:26 PM
Junior Member
 
Join Date: Jun 2007
Posts: 32
Default

Hi all,

Very interesting. I experimented with gestures and was able to use horizontal and vertical 'swipes' to change form1.image. What I'd like to be able to do is cause the image to animate; ie slide in from one side or the top or 'flip' like a turning page. Can this animation be achieved through B4PPC?

Cheers,

JT.
Reply With Quote
  #5 (permalink)  
Old 06-17-2008, 07:30 PM
Cableguy's Avatar
Basic4ppc Expert
 
Join Date: Apr 2007
Location: N 41º11'30.30" W 8º39'46.60"
Posts: 1,322
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

Not directly...but you can load a series of images and then use a timer to go trough them, thus creating an animation, but it will be very memory consuming...
__________________
Paulo Gomes
Porto, Portugal

PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD
PPC: Qtek9000, 1GB SD

DLL Version Listing
Reply With Quote
  #6 (permalink)  
Old 06-18-2008, 03:48 PM
Junior Member
 
Join Date: Feb 2008
Posts: 40
Default

sliding in can be done in a loop by changing the top and/or left properties of the image control. Turning page would have to be done with a series of images as Cableguy describes.
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
possibilita' di programmare su iPhone mircome Italian Forum 4 10-14-2008 08:28 AM
programs for Iphone Apple mircome Questions & Help Needed 3 10-14-2008 08:15 AM
How to implement customize sip like IPhone ntquy99 Questions & Help Needed 1 09-29-2008 05:14 PM
Old style DLLs Jess Questions & Help Needed 3 06-18-2008 04:37 PM
Change text style Erel Code Samples & Tips 2 05-01-2007 02:59 PM


All times are GMT. The time now is 11:26 AM.


Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0