webOS Nation Forums >  webOS apps and software >  webOS development > Install Apps To Emulator
Install Apps To Emulator

  Reply
 
LinkBack Thread Tools Display Modes
Old 07/05/2009, 11:10 PM   #1 (permalink)
Member
 
Join Date: Feb 2005
Posts: 195
Likes Received: 0
Thanks: 5
Thanked 18 Times in 12 Posts
Default Install Apps To Emulator

How do I copy apps that I have made on my mac to the emulator? cant access my local hard drive using novaterm can i?
samid is offline   Reply With Quote
Old 07/05/2009, 11:27 PM   #2 (permalink)
Member
 
Join Date: Apr 2009
Posts: 59
Likes Received: 0
Thanks: 11
Thanked 4 Times in 4 Posts
Default for mac

open up terminal and use the palm-install command

Code:
 palm-install "location of your app"
seekis is offline   Reply With Quote
Old 07/06/2009, 12:22 AM   #3 (permalink)
Member
 
Join Date: Jun 2009
Location: Utah
Posts: 18
Likes Received: 0
Thanks: 0
Thanked 1 Time in 1 Post
Default

Ok how do i do it, im using a PC and i followed the instructions from the predevwiki for making your own helloworld app, but i cant figure out how to install it to the emulator using putty. Thanks
jmterminator is offline   Reply With Quote
Old 07/06/2009, 01:12 AM   #4 (permalink)
Member
 
Eguy's Avatar
 
Join Date: Apr 2007
Location: City of Angels
Posts: 2,533
Likes Received: 0
Thanks: 371
Thanked 175 Times in 132 Posts
Default

Quote:
Originally Posted by jmterminator View Post
Ok how do i do it, im using a PC and i followed the instructions from the predevwiki for making your own helloworld app, but i cant figure out how to install it to the emulator using putty. Thanks
Did you even try searching?

Drag to the palm-install.bat in the Palm\SDK folder.
__________________
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 07/06/2009, 08:39 AM   #5 (permalink)
Member
 
Join Date: Feb 2005
Posts: 195
Likes Received: 0
Thanks: 5
Thanked 18 Times in 12 Posts
Default

I don't have these batch files on my mac. So far I have a dir with the json, index, and icon file. I just can't get it to the phone or the emulator. My emulator does not have those batch files on MacOS
samid is offline   Reply With Quote
Old 07/06/2009, 10:03 AM   #6 (permalink)
Member
 
rc46's Avatar
 
Join Date: Oct 2003
Posts: 1,650
Likes Received: 1
Thanks: 186
Thanked 203 Times in 133 Posts
Default

Quote:
Originally Posted by Eguy View Post
Did you even try searching?

Drag to the palm-install.bat in the Palm\SDK folder.
I thought that was for installing to the Pre, not the emulator?

Does it install both places at the same time?
__________________
Pilot 1000 -> Pilot 5000 ->Palm Pilot Professional -> HP 620LX -> TRG Pro -> Palm V -> Palm Vx -> Palm M505 -> Palm i705 -> Palm Tungsten|T -> Samsung i500 -> Treo 600->Treo 650 -> Treo 600-> Treo 700p ->Centro ->Treo 800w + Redfly C8n -> Palm Pre -> HP Touchpad
R.I.P Palm 1996-2011
rc46 is offline   Reply With Quote
Old 07/06/2009, 11:06 AM   #7 (permalink)
Member
 
sacherjj's Avatar
 
Join Date: Jun 2009
Location: Indianapolis, IN
Posts: 1,686
Likes Received: 0
Thanks: 41
Thanked 365 Times in 215 Posts
Default

To be safe, the command should be:
Quote:
palm-install -d tcp filename.ipk
Otherwise the palm-install must decide which it wants from tcp (emulator) or usb (actual Pre) if both are running and connected to the computer.

Quote:
Originally Posted by rc46 View Post
I thought that was for installing to the Pre, not the emulator?

Does it install both places at the same time?
The -d [usb|tcp] argument tells it the install destination. If you don't tell it, the script just picks "the first one". Not sure what the logic is and order, as I'm always explicit with my call.
sacherjj is offline   Reply With Quote
Old 07/06/2009, 12:14 PM   #8 (permalink)
Member
 
Sky Nazi's Avatar
 
Join Date: Dec 2003
Location: New Orleans, LA
Posts: 99
Likes Received: 0
Thanks: 24
Thanked 4 Times in 4 Posts
Default

I am having problems as well, this is how I (newbie) got it to work on my emulator:
open a command by doing: start, type cmd in search field. Command box opens.
1.type palm-package (put the name of your directroy here), then hit enter
2. this creates a .ipk file
3. open the emmulator
4. from the command box, type palm-install (insert the full name of the ipk file here) hit enter
5. the app should now be installed in the palm apps
6. to delete the app from the emulator, alt click the app
Sky Nazi is offline   Reply With Quote
Thanked By: Soorma
Old 07/06/2009, 12:40 PM   #9 (permalink)
Member
 
Join Date: Feb 2005
Posts: 195
Likes Received: 0
Thanks: 5
Thanked 18 Times in 12 Posts
Default

How do I do this on mac?
samid is offline   Reply With Quote
Old 07/06/2009, 02:39 PM   #10 (permalink)
Member
 
Join Date: May 2009
Posts: 452
Likes Received: 0
Thanks: 27
Thanked 253 Times in 51 Posts
Default

Quote:
Originally Posted by samid View Post
How do I do this on mac?
I've posted instructions here. Hope they help.
buyrihn is offline   Reply With Quote
Old 07/06/2009, 07:31 PM   #11 (permalink)
Member
 
Join Date: Feb 2005
Posts: 195
Likes Received: 0
Thanks: 5
Thanked 18 Times in 12 Posts
Default

thanks
samid is offline   Reply With Quote
Old 07/08/2009, 08:19 AM   #12 (permalink)
Member
 
Join Date: Feb 2005
Posts: 195
Likes Received: 0
Thanks: 5
Thanked 18 Times in 12 Posts
Default

I can install to the pre now but not the emulator. Any ideas??
samid is offline   Reply With Quote
Old 07/08/2009, 09:37 AM   #13 (permalink)
Member
 
Join Date: Jul 2008
Posts: 42
Likes Received: 1
Thanks: 4
Thanked 3 Times in 3 Posts
Cool

Quote:
Originally Posted by samid View Post
I can install to the pre now but not the emulator. Any ideas??
OK! First off, READ!

Second: When you have created your package using the palm-package command, you need to send that package o your emulator.

I ony use the emulator since I don't have the phone and so I noticed that using the palm-install (package directory/name.ipk) without parameters, it would get stuck connecting. What YOU have to do is

palm-install -d tcp (package directory/name.ipk)

This will set the destination to the emulator. (The emulator mus be runnning before this happens)
hellbinder is offline   Reply With Quote
Old 07/08/2009, 10:43 AM   #14 (permalink)
Member
 
Join Date: Feb 2005
Posts: 195
Likes Received: 0
Thanks: 5
Thanked 18 Times in 12 Posts
Default

Quote:
Originally Posted by hellbinder View Post
OK! First off, READ!

Second: When you have created your package using the palm-package command, you need to send that package o your emulator.

I ony use the emulator since I don't have the phone and so I noticed that using the palm-install (package directory/name.ipk) without parameters, it would get stuck connecting. What YOU have to do is

palm-install -d tcp (package directory/name.ipk)

This will set the destination to the emulator. (The emulator mus be runnning before this happens)
Hey thanks for the reply
I had tried this before and just tried it again and it won't work. It gives me an error that it can't find the emulator.
samid is offline   Reply With Quote
Old 07/08/2009, 11:17 AM   #15 (permalink)
Member
 
Join Date: Jul 2009
Posts: 158
Likes Received: 0
Thanks: 3
Thanked 177 Times in 12 Posts
Default

Hi,

Check out this tutorial:

clickonchris.com/2009/06/tutorial-palm-pre-sdk/

It explains how to create and install apps on the emulator from dos using the bat files on the sdk.

Dan
elchileno is offline   Reply With Quote
Reply

 

Thread Tools
Display Modes



 


Content Relevant URLs by vBSEO 3.6.0