06/23/2009, 06:17 PM
|
#1 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 309
Thanks: 18
Thanked 608 Times in 57 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:
<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. I believe Code:
(DEVDIR)/palm-generate -t new_scene -p "name=First" $(TARGET) 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. */
|
|
|
06/24/2009, 05:45 AM
|
#3 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 218
Thanks: 24
Thanked 12 Times in 11 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, 05:49 AM
|
#4 (permalink) |
|
Member
![]() ![]() Join Date: Apr 2007
Location: City of Angels
Posts: 2,532
Thanks: 367
Thanked 171 Times in 129 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 To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. Sorry Timmy, SERO does not work with the Pre. To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. |
|
|
06/24/2009, 06:07 AM
|
#5 (permalink) | |
|
Member
Join Date: Jun 2009
Posts: 405
Thanks: 55
Thanked 61 Times in 33 Posts
|
Quote:
|
|
|
|
06/24/2009, 09:53 AM
|
#7 (permalink) |
|
Member
Join Date: Jun 2009
Posts: 94
Thanks: 2
Thanked 5 Times in 5 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?
|
|
|
![]() |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|
All times are GMT -4. The time now is 03:15 PM.









Linear Mode








