07/22/2009, 02:46 PM
|
#1 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 47
Likes Received: 0
Thanks: 4
Thanked 110 Times in 6 Posts
|
This is intended to serve as a working code example for developers. It is of no use to end users. It is not supported by Palm in any way. It is not complete.
Above all, the code strives to be simple at the expense of end-user beauty. I found myself spending more time trying to divine the meaning of the API than actually coding. Since I couldn't find any good examples, I decided to create my own. This currently demonstrates most widgets, orientation events, location one-shots and subscriptions. View the source in the .ipk package itself or ask for SVN access as described below. If you find yourself wanting to write test code for some API function that is not in this app, please consider adding it to this app and sending a patch to the email address in the About dialog. Please include the following in that email:
I will be happy to gave read/write SVN access to anyone that's interested if you:
|
07/22/2009, 04:11 PM
|
#7 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 47
Likes Received: 0
Thanks: 4
Thanked 110 Times in 6 Posts
|
D'oh! I'm running the SDK on Fedora, which isn't technically supported, so I never knew that I should be looking in /opt/PalmSDK/Current/share/samples/.
Oh well, it was good practice, and more examples never hurt. |
07/22/2009, 04:15 PM
|
#8 (permalink) | |
|
Member
![]() Join Date: Jun 2009
Posts: 770
Likes Received: 0
Thanks: 37
Thanked 276 Times in 83 Posts
|
Quote:
always good to have more examples. -mark |
|
07/22/2009, 10:41 PM
|
#10 (permalink) | |
|
Member
![]() ![]() Join Date: May 2009
Location: Oklahoma
Posts: 530
Likes Received: 13
Thanks: 68
Thanked 102 Times in 56 Posts
|
Quote:
Thanks for this. I haven't checked it out yet, but if you put one or two widgets per scene with nothing but some filler content this could be VERY helpfull.
__________________
frankos72 Simple Bible - Simple Bible Pro - Bits of God Website My Day Job: www.pigstands.com |
|
07/27/2009, 12:28 PM
|
#12 (permalink) |
|
Member
![]() ![]() Join Date: Apr 2009
Location: Boston, MA
Posts: 773
Likes Received: 0
Thanks: 191
Thanked 101 Times in 58 Posts
|
First, thank you for this.
Two, I don't believe you can have both Open/Close buttons and a Toggle button refer to the same drawer, or at least it's much harder. Three, I am struggling mightily trying to get drawers to open/close via collapsible dividers. Any chance you could include them in an all encompassing Drawer demo section? Four, thank you, again. |
08/04/2009, 10:32 AM
|
#15 (permalink) |
|
Member
![]() ![]() Join Date: Jun 2009
Location: Chicago, IL
Posts: 59
Likes Received: 22
Thanks: 14
Thanked 50 Times in 13 Posts
|
If you posted a zip of the files it would make this much more useful to everyone. Practice code works better when you can see the code. Or do you want people to ask you for it?
|
08/04/2009, 10:58 AM
|
#16 (permalink) | |
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 47
Likes Received: 0
Thanks: 4
Thanked 110 Times in 6 Posts
|
Quote:
If you're using Windows, 7-Zip or WinZip should be able to open the .ipk file, then the data.tar.gz file within it. You are interested in usr/palm/applications/com.adsllc.apidemo directory within the data.tar.gz file. In Linux, the Archive Manager works fine, otherwise use "ar x" from the command line on the .ipk file, then "tar -zxf" on data.tar.gz. Sorry I didn't mention this originally. Back in the days before the SDK was released you had to roll your own packages and this was common knowledge. Now that the SDK provides the nice packaging tools it's not so obvious. |
|
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



