Go Back   webOS Nation Forums > webOS apps and software > webOS development

Reply
 
LinkBack Thread Tools Display Modes
Old 06/23/2009, 05:17 PM     Thread Author   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 308
Likes: 0
Thanks: 18
Thanked 657 Times in 59 Posts

Default References to the SDK in the tip calc app

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>
&uarr;&uarr;&darr;&darr;&larr;&rarr;&larr;&rarr;[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>
&nbsp; 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]
aonic is offline   Reply With Quote
Old 06/24/2009, 03:51 AM   #2 (permalink)
Member
 
Join Date: Feb 2006
Posts: 60
Likes: 0
Thanks: 0
Thanked 0 Times in 0 Posts

Default

interesting, so you're implying the guy that made the program works in one of the companies with the WebOS SDK and made this app in the off time. that's great!
Hyperian is offline   Reply With Quote
Old 06/24/2009, 04:45 AM   #3 (permalink)
Member
 
hrminer92's Avatar
 
Join Date: Jun 2009
Posts: 899
Likes: 31
Thanks: 88
Thanked 85 Times in 62 Posts

Default

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.
hrminer92 is offline   Reply With Quote
Old 06/24/2009, 04:49 AM   #4 (permalink)
Member
 
Eguy's Avatar
 
Join Date: Apr 2007
Location: City of Angels
Posts: 2,534
Likes: 0
Thanks: 371
Thanked 175 Times in 132 Posts

Default

Quote:
Originally Posted by hrminer92 View Post
If I were a manager at Palm, I'd want someone like him writing apps for my platform.
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.
Eguy is offline   Reply With Quote
Old 06/24/2009, 05:45 AM   #5 (permalink)
Member
 
Join Date: May 2009
Posts: 5
Likes: 0
Thanks: 0
Thanked 0 Times in 0 Posts

Default

i might get the sdk one of this days i applyed and palm respond i been aprooved but am still waiting
josev209 is offline   Reply With Quote
Old 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

Default

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?
mattbrad2 is offline   Reply With Quote
Old 06/24/2009, 09:00 AM   #7 (permalink)
Member
 
sacherjj's Avatar
 
Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,687
Likes: 0
Thanks: 41
Thanked 365 Times in 215 Posts

Default

Everybody that gets the SDK before it is publicly available will be under a tight NDA.

Last edited by sacherjj; 06/24/2009 at 10:10 AM.
sacherjj is offline   Reply With Quote
Old 06/24/2009, 11:58 AM   #8 (permalink)
Member
 
Join Date: Feb 2009
Location: The SLC
Posts: 177
Likes: 0
Thanks: 24
Thanked 79 Times in 24 Posts

Default

He does have the SDK. He wrote about it on his blog, along with calling our "have you tried the new tip calc..." thread the cesspool of the internet.
sam1am is offline   Reply With Quote

 

Content Relevant URLs by vBSEO 3.6.0