06/23/2009, 05:17 PM
|
|
|
Member
![]() ![]() Join Date: Jun 2009
Posts: 308
Likes: 0
Thanks: 18
Thanked 657 Times in 59 Posts
|
Did anyone take a look around the tip calc app released today?
Tip Calculator The makefile in the source download has some references to the PalmSDK. [code]palm-generate-app: @ \ if [ -d $(DEVDIR) ]; then \ echo "$(DEVDIR)/ already exists" ; \ exit 1 ; \ fi $(DEVDIR)/palm-generate \ -p "{title:'$(TITLE)', id:$(ID), version:'$(VERSION)'}" $(TARGET) perl -pi -e 's/My Company/$(VENDOR)/g' $(TARGET)/appinfo.json palm-generate-scene: @D=$(TARGET)/app/views/first ; \ if [ -d $$D ]; then \ echo "$$D/ already exists" ; \ exit 1 ; \ fi $(DEVDIR)/palm-generate -t new_scene -p "name=First" $(TARGET) palm-install: $(DEVDIR)/palm-install -d $(DEVICE) $(IPK) palm-launch: $(DEVDIR)/palm-launch -d $(DEVICE) $(ID) palm-kill: $(DEVDIR)/palm-launch -d $(DEVICE) -c $(ID) ; exit 0 test:: ipk palm-kill palm-install palm-launch [/code] and in the HTML of the webpage it self, i saw: [code]<P> If you have the <A HREF="https://prerelease.palm.com/confluence/display/sdk/Getting+Started">WebOS development environment</A> installed, you can install it on your phone like so: <P> <OL> <LI> Put your phone in <A HREF="http://palmwebos.org/2009/06/10/palm-pre-konami-code-dev-mode/">developer mode</A> by going to the Launcher and typing literally these characters, then hitting enter and clicking the Developer icon that comes up:<P><UL> <TT>upupdowndownleftrightleftrightbastart</TT></UL><P> Which is a spelled-out version of the <A HREF="http://en.wikipedia.org/wiki/Konami_Code">Konami code</A>:<P><UL> ↑↑↓↓←→←→[b][a][start]</UL> <P></LI><LI> Then on your Mac, do this:<p><ul> <TT> /opt/PalmSDK/Current/bin/palm-install -d usb \<BR> org.jwz.tipcalculator_1.0.3_all.ipk </TT></ul> </LI></OL> <P> If you don't have the development environment installed, I'm not sure how you do it. I also don't know how I go about getting this program into the Palm App Catalog.[/code] Not a lot of information, but better than nothing for people not in the SDK program yet. I believe [code](DEVDIR)/palm-generate -t new_scene -p "name=First" $(TARGET)[/code] helps by generating a empty/template scene. Here is a (i believe auto-generated) comment from the first-assistant.js file: [code] /* this is the creator function for your scene assistant object. It will be passed all the additional parameters (after the scene name) that were passed to pushScene. The reference to the scene controller (this.controller) has not be established yet, so any initialization that needs the scene controller should be done in the setup function below. */[/code] |
|
|
06/24/2009, 04:45 AM
|
#3 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 899
Likes: 31
Thanks: 88
Thanked 85 Times in 62 Posts
|
I wouldn't be surprised that jwz had early access to the SDK. He was an XEmacs developer, one of the first programmers hired at Netscape, and has been involved in lots of different open source projects over the years.
If I were a manager at Palm, I'd want someone like him writing apps for my platform. |
|
|
06/24/2009, 04:49 AM
|
#4 (permalink) |
|
Member
![]() Join Date: Apr 2007
Location: City of Angels
Posts: 2,534
Likes: 0
Thanks: 371
Thanked 175 Times in 132 Posts
|
I am not so sure about his attitude though...
__________________
Palm History: Palm III>IIIc>CLIÉ NR70v>CLIÉ TG50>Tungsten C>Treo 650>Treo 700p>Centro>Pre!! 6/5/09 Phone History: Way too long ![]() Sorry Timmy, SERO does not work with the Pre. If you have an iTouch click me. |
|
|
06/24/2009, 08:53 AM
|
#6 (permalink) |
|
Member
![]() Join Date: Jun 2009
Posts: 204
Likes: 18
Thanks: 5
Thanked 18 Times in 14 Posts
|
Which begs the question of something I've been wanting to know since I joined here - why on Earth is no one who currently has access to the SDK replying to the forums here or at the very least offering some information for us. Are they under an NDA?
|
|
|
![]() |
| webOS Nation Forums References to the SDK in the tip calc app |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|

















Linear Mode








