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

Reply
 
LinkBack Thread Tools Display Modes
Old 06/28/2009, 10:42 PM   #1 (permalink)
Member
 
Join Date: Jun 2009
Posts: 218
Thanks: 9
Thanked 372 Times in 37 Posts
Default Installing apps on your Pre HOWTO

Ok, so many people (incl. me) have some problems with signing their own ipk packages. I tried openSSL for windows, but failed.

Another way how to get an unofficial app installed on your devices is to enable dev mode and just install it via USB.

Here's how:

1.) have your ipk ready
(CMD --> palm-package yourappfolder | or download/get it from someone)

2.) kill the Palm SDK emulator and WAIT like 3-5 mins

3.) enable DEV MODE (just type: upupdowndownleftrightleftrightbastar and click the icon - you will have to restart Pre)

4.) connect Pre via USB (just charge) - make sure no error happened; otherwise unplug and try again

Wait again 2-3 mins.

5.) CMD --> palm-install -d usb nameo****rapp.ipk
You need to be in X:\program Files\Palm\SDK\bin to do that.

Example (for my app):
palm-install -d usb com.mypreapps.lottopicker_1.0_all.ipk


6.) profit

-------------------------

BTW: Do NOT waste 18 bucks on that stupid "Palm webOS, 1st Edition" book. It SUCKS!!! You can learn more from web and samples in SDK folder.


HAVE PHUN!
Attached Images
File Type: jpg Unknown_2009-28-06_183255.jpg (46.3 KB, 269 views) Email Attachment
File Type: jpg lottopicker_2009-28-06_183229.jpg (32.4 KB, 259 views) Email Attachment
mapara is offline   Reply With Quote
Old 06/28/2009, 11:29 PM   #2 (permalink)
Member
 
Join Date: Jun 2009
Posts: 425
Thanks: 15
Thanked 234 Times in 72 Posts
Default

Can you delete the apps from your Pre once they are installed?


I actually get the book as part of my Oreilly safari books subscription so it doesn't cost me anything extra. My company pays for the subscription anyway. Is the book so bad that it is not worth reading since I get it essentially free?
Blubble is offline   Reply With Quote
Old 06/28/2009, 11:38 PM   #3 (permalink)
Member
 
sacherjj's Avatar
 
Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,582
Thanks: 36
Thanked 319 Times in 187 Posts
Default

You can delete apps with the Orange+click. However, as with any Apps, they are currently not removed. (This seems to be true of the App Catalog apps as well.)

To completely remove them, delete then SSH in and clean out the app directory from /var/usr.
sacherjj is offline   Reply With Quote
Old 06/28/2009, 11:46 PM   #4 (permalink)
Member
 
Join Date: Jun 2009
Posts: 425
Thanks: 15
Thanked 234 Times in 72 Posts
Default

Thanks for the tip.
Blubble is offline   Reply With Quote
Old 06/30/2009, 05:06 PM   #5 (permalink)
Member
 
MLJones8's Avatar
 
Join Date: Jun 2009
Posts: 482
Thanks: 104
Thanked 72 Times in 46 Posts
Default

Could you elaborate on what needs to be done if you have a non rooted pre and want to use this method....

Or how how far on the wiki site we need to go before getting to your steps.
MLJones8 is offline   Reply With Quote
Old 06/30/2009, 06:06 PM   #6 (permalink)
Member
 
Join Date: Jun 2009
Posts: 11
Thanks: 4
Thanked 0 Times in 0 Posts
Default

This may be posted somewhere on the forums, but I haven't seen it. I know how to get into developer mode, but how do you get out of developer mode?
cmiller74 is offline   Reply With Quote
Old 06/30/2009, 06:18 PM   #7 (permalink)
Member
 
Join Date: Dec 2008
Posts: 37
Thanks: 8
Thanked 10 Times in 6 Posts
Default

Quote:
Originally Posted by MLJones8 View Post
Could you elaborate on what needs to be done if you have a non rooted pre and want to use this method....

Or how how far on the wiki site we need to go before getting to your steps.
The instructions in the OP are for an un-rooted Pre. All you need is the leaked SDK. No need for the wiki site.

Quote:
Originally Posted by cmiller74 View Post
This may be posted somewhere on the forums, but I haven't seen it. I know how to get into developer mode, but how do you get out of developer mode?
Same way.
tasdad is offline   Reply With Quote
Thanked By 2:
Old 06/30/2009, 10:12 PM   #8 (permalink)
Member
 
Colonel Kernel's Avatar
 
Join Date: Apr 2009
Location: Boston, MA
Posts: 398
Thanks: 83
Thanked 58 Times in 27 Posts
Default

Thanx, Mapara. This helped clarify a few things.

After I install my app, when I go to remove the Pre I get an error message saying Novacom can't be shut down because something is still accessing it. I'm searching all the webOS sources I can find, but I haven't found anything so far.

Any help will be appreciated, thanx.
Colonel Kernel is offline   Reply With Quote
Old 06/30/2009, 11:01 PM   #9 (permalink)
Member
 
Join Date: Jun 2009
Posts: 425
Thanks: 15
Thanked 234 Times in 72 Posts
Default

I'm not sure if this has been mentioned, but you may need different NovaCom drivers for Vista 64bit on Intel procs.

I have Vista 64 on an Intel Core i7, and ended up having to get the 64bit NovaCom driver installer from the WebOS Doctor jar. The drivers that come with the SDK did not work for me.
Blubble is offline   Reply With Quote
Old 07/01/2009, 12:05 AM   #10 (permalink)
Member
 
Colonel Kernel's Avatar
 
Join Date: Apr 2009
Location: Boston, MA
Posts: 398
Thanks: 83
Thanked 58 Times in 27 Posts
Default

I'm on 32bit XP and guessed, incorrectly it seems, that NovaCom was related to webOS's code name, Nova.

What is NovaCom, then, and how do I fugure out what drivers I need?

Last edited by Colonel Kernel; 07/01/2009 at 12:18 AM.
Colonel Kernel is offline   Reply With Quote
Old 07/01/2009, 01:14 AM   #11 (permalink)
Member
 
cjmedina26's Avatar
 
Join Date: Aug 2007
Posts: 186
Thanks: 5
Thanked 11 Times in 6 Posts
Default

Quote:
Originally Posted by Colonel Kernel View Post
I'm on 32bit XP and guessed, incorrectly it seems, that NovaCom was related to webOS's code name, Nova.

What is NovaCom, then, and how do I fugure out what drivers I need?
try this
pre dev wiki: Using Novaproxy to Gain Root Access
the actual driver is in here you have to unzip
asedeno's novaproxy at master - GitHub
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

using my acer aspire tethered to my palm pre
cjmedina26 is offline   Reply With Quote
Old 07/02/2009, 02:36 AM   #12 (permalink)
Member
 
MLJones8's Avatar
 
Join Date: Jun 2009
Posts: 482
Thanks: 104
Thanked 72 Times in 46 Posts
Default

mapara...

Thanks this worked great but I'm curious what's the point in doing all the waiting?
MLJones8 is offline   Reply With Quote
Old 07/02/2009, 05:28 AM   #13 (permalink)
Member
 
TreoRock's Avatar
 
Join Date: Mar 2000
Location: CA
Posts: 2,474
Thanks: 146
Thanked 39 Times in 30 Posts
Default

It looks harder than it is. FYI, the konami code is missing a 't' at the end for start.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

It all started way back in February 2000 with a Blue VDX.
TreoRock is offline   Reply With Quote
Old 07/02/2009, 05:34 AM   #14 (permalink)
Member
 
TreoRock's Avatar
 
Join Date: Mar 2000
Location: CA
Posts: 2,474
Thanks: 146
Thanked 39 Times in 30 Posts
Default

Question: Once you are done installing your apps, do you just unplug the Pre? or should you do a reset or what is the best way of disconnecting?
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

It all started way back in February 2000 with a Blue VDX.
TreoRock is offline   Reply With Quote
Old 07/02/2009, 05:12 PM   #15 (permalink)
Member
 
CTL Advance's Avatar
 
Join Date: Mar 2009
Location: New York
Posts: 239
Thanks: 45
Thanked 51 Times in 17 Posts
Default

Eject your hardware, in windows its the device manager popup that shows in the notification area bottom right, select devices and disconnect. If you have a mac then hit the thing with a sledge hammer.


ok just kidding... not sure for mac or linux, I would assume unmount, but there must be an easier way.

Also Mods this should be a sticky!!!!!
__________________
Devices: Blackberry 7130, 8130, 8330, HTC Touch Pro, Treo 600, 700wx, Pro, Palm Pre
CTL Advance is offline   Reply With Quote
Old 07/02/2009, 05:16 PM   #16 (permalink)
Member
 
SirataXero's Avatar
 
Join Date: Nov 2007
Location: Rhode Island, USA
Posts: 847
Thanks: 68
Thanked 158 Times in 72 Posts
Default

Quote:
Originally Posted by mapara View Post

BTW: Do NOT waste 18 bucks on that stupid "Palm webOS, 1st Edition" book. It SUCKS!!! You can learn more from web and samples in SDK folder.


HAVE PHUN!
W00T!

That's what I keep saying but people seem to swear by it.

Honestly, webOShelp.net has a list of the functions (if you really need it) otherwise you can just use the WebOS doctor's ROM and/or previously installed/sample apps from the SDK and basically learn anything you really need to.

Good work!
SirataXero is offline   Reply With Quote
Old 07/02/2009, 05:25 PM   #17 (permalink)
Member
 
CTL Advance's Avatar
 
Join Date: Mar 2009
Location: New York
Posts: 239
Thanks: 45
Thanked 51 Times in 17 Posts
Default

Quote:
Originally Posted by SirataXero View Post
W00T!

That's what I keep saying but people seem to swear by it.

Honestly, webOShelp.net has a list of the functions (if you really need it) otherwise you can just use the WebOS doctor's ROM and/or previously installed/sample apps from the SDK and basically learn anything you really need to.

Good work!

WebOS help.net is also very complicated when you are trying to find usefull information. I was using that for about a week then I decided to but the book yesterday. Best 18 (Online and PDF) I ever spent.

Here is how to judge on the book:

Can you run with WebOShelp.net?

Do you need more structure to start out with? (buy the book) then you can go back to weboshelp.net for a ref. All about dev preference.
__________________
Devices: Blackberry 7130, 8130, 8330, HTC Touch Pro, Treo 600, 700wx, Pro, Palm Pre
CTL Advance is offline   Reply With Quote
Old 07/02/2009, 05:32 PM   #18 (permalink)
Member
 
SirataXero's Avatar
 
Join Date: Nov 2007
Location: Rhode Island, USA
Posts: 847
Thanks: 68
Thanked 158 Times in 72 Posts
Default

Quote:
Originally Posted by CTL Advance View Post
WebOS help.net is also very complicated when you are trying to find usefull information. I was using that for about a week then I decided to but the book yesterday. Best 18 (Online and PDF) I ever spent.

Here is how to judge on the book:

Can you run with WebOShelp.net?

Do you need more structure to start out with? (buy the book) then you can go back to weboshelp.net for a ref. All about dev preference.
I see...

Well I personally started with just the HelloWorld sample app for the structure and honestly learned everything off of that (plus the other sample apps) to build a basic (albeit shaky) foundation. After that I just went on WebOShelp.net for a reference (once or twice) and to be honest, it wasn't that helpful, since it is extremely incomplete and non-descriptive. To be honest, the best thing that I found for reference is the javascript help files in the
Code:
Palm/SDK/share/framework/javascripts
folder. There's a huge list of assistants in there with commented samples on each function, how to use it, how to call it, how to initiate it and how to listen to it. I've built 1.5 apps with widgets completely off of those instructions before I even saw WebOShelp.net.

I guess it is up to Dev. preference, I'm just coming off of the mindset that if I don't necessarily NEED to spend money, I shouldn't have to. Especially since I only plan on developing simple lightweight freeware apps for reference/convenience/fun more than heavy computational apps. So for me, the samples and maybe WebOShelp.net as a reference (if it eventually becomes more robust) should be more than adequate.
SirataXero is offline   Reply With Quote
Old 07/02/2009, 06:46 PM   #19 (permalink)
Member
 
Colonel Kernel's Avatar
 
Join Date: Apr 2009
Location: Boston, MA
Posts: 398
Thanks: 83
Thanked 58 Times in 27 Posts
Default

Quote:
Originally Posted by CTL Advance View Post
Eject your hardware, in windows its the device manager popup that shows in the notification area bottom right, select devices and disconnect. If you have a mac then hit the thing with a sledge hammer.


ok just kidding... not sure for mac or linux, I would assume unmount, but there must be an easier way.

Also Mods this should be a sticky!!!!!
Do we also need to eject/unmount/disconnect Novacom, too? I get an error message if I try to do that, saying something is still accessing it.
Colonel Kernel is offline   Reply With Quote
Old 07/03/2009, 03:33 AM   #20 (permalink)
Member
 
Join Date: Feb 2009
Posts: 25
Thanks: 1
Thanked 10 Times in 2 Posts
Default

Quote:
Originally Posted by SirataXero View Post
After that I just went on WebOShelp.net for a reference (once or twice) and to be honest, it wasn't that helpful, since it is extremely incomplete and non-descriptive. To be honest, the best thing that I found for reference is the javascript help files in the
Code:
Palm/SDK/share/framework/javascripts
folder. There's a huge list of assistants in there with commented samples on each function, how to use it, how to call it, how to initiate it and how to listen to it. I've built 1.5 apps with widgets completely off of those instructions before I even saw WebOShelp.net.
Yeah, unfortunately we didn't have access to the ROM image or SDK when creating most of the material that's there now; just the Palm webOS book. But now that there's a ton of other info around, we're going to try to get things updated and more fleshed out. With everyone jumping on the SDK bandwagon, there's a real need for some good reference materials to go along with it.

Also, we're looking for suggestions on the types of stuff people would find most useful. More documented code examples? End-to-end tutorials of completed apps? Better API documentation? (obviously.) Let us know what you want to see and we'll do our best to make it happen.
__________________

To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
ken@weboshelp.net 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 04:18 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