Having problems Packing and Installing on Palm Pre

Previous topic - Next topic

ampos

I move the entire project to c:\ and it is stuck at

QuoteC:\iQuiosk>CALL "D:\Programas\GLBasic\compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "C:\iQuiosk\glbwebos"
Making .ipk Package from ""C:\iQuiosk\glbwebos""
creating package com.dinigames.iquiosk_1.0.0_all.ipk in C:\iQuiosk
Installing package: "C:\iQuiosk\com.dinigames.iquiosk_1.0.0_all.ipk"

I have GLB 9.040 installed at d:\programas\..., and 9.053beta at c:\program files (x86)\... but the test are done withn 9.040

ampos

Can ipk packages sent to the palm in some another way? copying by hand, downloading from a web,...?

Millerszone

Quote from: ampos on 2011-Apr-05
I move the entire project to c:\ and it is stuck at

QuoteC:\iQuiosk>CALL "D:\Programas\GLBasic\compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "C:\iQuiosk\glbwebos"
Making .ipk Package from ""C:\iQuiosk\glbwebos""
creating package com.dinigames.iquiosk_1.0.0_all.ipk in C:\iQuiosk
Installing package: "C:\iQuiosk\com.dinigames.iquiosk_1.0.0_all.ipk"

I have GLB 9.040 installed at d:\programas\..., and 9.053beta at c:\program files (x86)\... but the test are done withn 9.040

You're stuck where I was, I switched to a different USB port, then everything worked.
Also try restarting the computer and phone.

I had to use this Macro for beta:
Code (glbasic) Select
CALL "%GLB_MAIN_PATH%\compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "%GLB_PROJ_PATH%\%GLB_PROJ_NAME%.app"



Hardware: iMac 27", MacBook Air, PC 3.5Ghz Quad
Developing Tools: GLBasic SDK, Gideros Studio, PureBasic
Developing for: iOS, Android, Windows, OS X, webOS, HTML5

ampos

It is working now (after reseting the PC and Palm), but...

It does not read graphics from my /media dir...

I am not using setcurrentdir.

I have

Code (glbasic) Select
?IFDEF IPHONE
ALLOWESCAPE FALSE
mpat$="Media/"
?ELSE
mpat$=GETCURRENTDIR$()+"media/"
?ENDIF
dpat$=PLATFORMINFO$("DOCUMENTS")


mpat$ as media_path and dpat$ as doc_path.

Everything is loaded as mpat$+"file" or dpat$+"file"

What is the PLATFORMNAME$ of Palm? WebOS?

ampos

Fixed.

I can say that is is faster than a iPhone 3G. My app is downscaling and rotating a sprite 700x1000, on 3G it lags, on Palm, as smooth as iPhone 4.

Woot!

Ian Price

QuoteIt does not read graphics from my /media dir...
I'm now having the same problems (sometimes the whole file fails, other times it won't transfer media) when transferring files to the Palm since updating to v9.040. :(

It seems that something has gone very wrong since the last GLB update; to get the full app onto the Palm and working properly now is very hit and miss. :(
I came. I saw. I played.

ampos

Use mpat$="media", same as iOS.

Also I have noted that if I use setcurrentdir media$ and later setcurrentmedia docs$, a new setcurrentdir media$ does not work. So I have to forget about setcurrentdir and use always load media$+file$ and docs$+file$ (on iOS and palm)

Ian Price

I use exactly the same set up for iOS and WebOS (and always have done) - there's more to this than just code changes, after all it's worked for more than just one app in the past.

My code hasn't changed; something else has that's affecting media AND packaging. And unfortunately it's erratic - sometime it works, sometimes it doesn't.
I came. I saw. I played.

MrTAToad

I'll have to try 9.040 on another machine (using the first beta at the moment) - but once the pathing was sorted in that, I've had no problems with that.

Kitty Hello

on the BETA - the .app directory is getting packes. The "webos" directory is obsolete.