Go Back   PreCentral Forums > webOS Software and Chat > web OS Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06/23/2009, 06:17 PM   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 309
Thanks: 18
Thanked 608 Times in 57 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
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.
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)
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. */
aonic is offline   Reply With Quote
Old 06/24/2009, 04:51 AM   #2 (permalink)
Member
 
Join Date: Feb 2006
Posts: 52
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, 05:45 AM   #3 (permalink)
Member
 
hrminer92's Avatar
 
Join Date: Jun 2009
Posts: 218
Thanks: 24
Thanked 12 Times in 11 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, 05:49 AM   #4 (permalink)
Member
 
Eguy's Avatar
 
Join Date: Apr 2007
Location: City of Angels
Posts: 2,532
Thanks: 367
Thanked 171 Times in 129 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

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.
Eguy is offline   Reply With Quote
Old 06/24/2009, 06:07 AM   #5 (permalink)
Member
 
Join Date: Jun 2009
Posts: 405
Thanks: 55
Thanked 61 Times in 33 Posts
Default

Quote:
Originally Posted by hrminer92 View Post
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.
I do like his attitude, though--in a stand-up comedic sense.
vanadium is offline   Reply With Quote
Old 06/24/2009, 06:45 AM   #6 (permalink)
Member
 
Join Date: May 2009
Posts: 5
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, 09:53 AM   #7 (permalink)
Member
 
Join Date: Jun 2009
Posts: 94
Thanks: 2
Thanked 5 Times in 5 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, 10:00 AM   #8 (permalink)
Member
 
sacherjj's Avatar
 
Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,582
Thanks: 36
Thanked 319 Times in 187 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 11:10 AM.
sacherjj is offline   Reply With Quote
Old 06/24/2009, 12:58 PM   #9 (permalink)
Member
 
Join Date: Feb 2009
Location: The SLC
Posts: 176
Thanks: 24
Thanked 78 Times in 23 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
Reply

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 03:15 PM.

Creating smartphone communities
Android Central - Android reviews, news and forums Crackberry - Blackberry news, reviews and community TiPb - iPhone news, accessory reviews & forums
Pre Central - Palm Pre Review, News and Community Treo Central - Treo & Centro News and Forums WMExperts - Windows Mobile Reviews & News

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0