GLBasic forum

Main forum => Beta Tests => Topic started by: MrTAToad on 2011-Apr-30

Title: webOS Program test
Post by: MrTAToad on 2011-Apr-30
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]
Title: Re: webOS Program test
Post by: Ian Price on 2011-May-01
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.
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-01
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)...
Title: Re: webOS Program test
Post by: Ian Price on 2011-May-01
Have you tried the WebOS Quick Install software yourself? Which version?
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-01
No, I haven't tried it that - all the programs have been installed using the glb_pack_and_install routine :)
Title: Re: webOS Program test
Post by: Ian Price on 2011-May-01
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"?
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-01
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"
Title: Re: webOS Program test
Post by: Ian Price on 2011-May-01
Cheers. I'll try and have a play  tomorrow (or later as it is now!).
Title: Re: webOS Program test
Post by: Millerszone on 2011-May-01
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 (http://forums.precentral.net/canuck-coding/274461-webos-quick-install-v4-04-a.html)
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-01

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]
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-01
Found the problem - I was adding a tab when it shouldn't have been...
Title: Re: webOS Program test
Post by: Ian Price on 2011-May-01
Glad you found the problem. :)

I successfully installed the original .IPK, and can confirm that it crashes.
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-01
Heh - The problem was easy to fix once I found it :)
Title: Re: webOS Program test
Post by: Ian Price on 2011-May-01
Quote from: MrTAToad on 2011-May-01
Heh - The problem was easy to fix once I found it :)
Aren't they always! :D :P
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-01
Very much so :)
Title: Re: webOS Program test
Post by: mentalthink on 2011-May-18
HI, I don´t kwow if the bug is fixed, but for me, in my Pre crashes when I touch the Tabs, I use 1.45 WEBOS.

Kinds Regards,
Iván J.
Title: Re: webOS Program test
Post by: MrTAToad on 2011-May-19
Yes, I sorted it !