webOS Program test

Previous topic - Next topic

MrTAToad

Could someone test this webOS program - its my UsefulCodeViewer program, and for some reason it crashes when a tab is pressed - for some unknown reason...

[attachment deleted by admin]

Ian Price

Silly question - how do I transfer the .IPK file to my Pre? Most of the instructions I've seen are for Linux and/or Mac.
I came. I saw. I played.

MrTAToad

You can use either webOS Quick Install, or you could stick the IPK in a GLBasic directory and let the usual palm_install batch file (with the filename)...

Ian Price

Have you tried the WebOS Quick Install software yourself? Which version?
I came. I saw. I played.

MrTAToad

No, I haven't tried it that - all the programs have been installed using the glb_pack_and_install routine :)

Ian Price

You're using the new beta aren't you? The batch file macro is different for that isn't it?

I use -
Code (glbasic) Select

CALL "%GLB_MAIN_PATH%\compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "%GLB_PROJ_PATH%\glbwebos"


Are you using -
Code (glbasic) Select
CALL "%GLB_MAIN_PATH%\compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "%GLB_PROJ_PATH%\%GLB_PROJ_NAME%.app"


the .IPK file obviously isn't an .app file, do you just change this to ".....PATH%\XXX.IPK"?
I came. I saw. I played.

MrTAToad

You would need to comment out the packing bit :

Code (glbasic) Select
rem @ECHO OFF
rem CD /D "%~dp1"

rem ECHO Making .ipk Package from "%1"
rem call "%~dp0palm-package" "%1"

FOR %%i IN ("%~dp1*.ipk") DO (
ECHO found package: "%%i"
call "%~dp0palm-install" "%%i"
break
)

PAUSE


to leave the installation routine.

The batch file I'm using calls it with :

Code (glbasic) Select
CALL "%GLB_MAIN_PATH%\compiler\platform\webos\tool\bin\glb_pack_and_install.bat" "%GLB_PROJ_PATH%\%GLB_PROJ_NAME%.app"

Ian Price

Cheers. I'll try and have a play  tomorrow (or later as it is now!).
I came. I saw. I played.

Millerszone

#8
Yes, it crashes when you hit a tab button. Everything else seems to work o.k.
Tested with 1.4.5 and 2.2.1

I used WebOSQuick Install version 4.04 to Install ipk. can get here:
http://forums.precentral.net/canuck-coding/274461-webos-quick-install-v4-04-a.html
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

MrTAToad


I dont know why its crashing - Spots with the beta & DDgui is okay.

I've included the code in case anyone can see the problem :)


[attachment deleted by admin]

MrTAToad

Found the problem - I was adding a tab when it shouldn't have been...

Ian Price

Glad you found the problem. :)

I successfully installed the original .IPK, and can confirm that it crashes.
I came. I saw. I played.

MrTAToad

Heh - The problem was easy to fix once I found it :)

Ian Price

Quote from: MrTAToad on 2011-May-01
Heh - The problem was easy to fix once I found it :)
Aren't they always! :D :P
I came. I saw. I played.

MrTAToad