Thread: [Hecl-devel] Phew... BB Emulator running
Brought to you by:
davidw
From: David W. <dav...@gm...> - 2009-08-10 22:02:42
|
Now all I need to do is find out why Hecl hangs when I try and load it. java -jar ~/tmp/BlackBerryJDE/bin/rapc.jar import="/home/davidw/tmp/BlackBerryJDE/lib/net_rim_api.jar" codename="Hecl" -midlet Hecl.jad Hecl.jar Creates the .cod file, but the thing sits there loading...loading...loading. Strange:-/ Any ideas? I'll try and write up the BB emulator struggle when I get a moment tomorrow. It's really not the easiest thing to get working on Linux... -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |
From: Mario Z. <mar...@ya...> - 2009-08-11 00:21:21
|
I believe what you say! I'm still struggling with it on Windows to get System.errs output for instance :( Also I got Prosciutto to run, but it shows nothing (all screen blank), yet I know it's running because of some tweaks I speciifcally made to see if it is in control - setCurrent to a Textbox class works at some point. I don't know what's happening with my Canvas thing anyway. If you manage to get system.err / system.out outputs, then maybe you'll find that it is loaded but for some reason it couldn't take control of the screen? I don't know I'm just guessing Please let the list know if you manage to get the stderr / stdout streams properly thanks regards Mario ________________________________ From: David Welton <dav...@gm...> To: Hecl Devel <hec...@li...> Sent: Monday, August 10, 2009 7:02:23 PM Subject: [Hecl-devel] Phew... BB Emulator running Now all I need to do is find out why Hecl hangs when I try and load it. java -jar ~/tmp/BlackBerryJDE/bin/rapc.jar import="/home/davidw/tmp/BlackBerryJDE/lib/net_rim_api.jar" codename="Hecl" -midlet Hecl.jad Hecl.jar Creates the .cod file, but the thing sits there loading...loading...loading. Strange:-/ Any ideas? I'll try and write up the BB emulator struggle when I get a moment tomorrow. It's really not the easiest thing to get working on Linux... -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Hecl-devel mailing list Hec...@li... https://lists.sourceforge.net/lists/listinfo/hecl-devel |
From: David W. <dav...@gm...> - 2009-08-11 05:58:52
|
> Also I got Prosciutto to run, but it shows nothing (all screen blank), yet I > know it's running because of some tweaks I speciifcally made to see if it is > in control - setCurrent to a Textbox class works at some point. I don't know > what's happening with my Canvas thing anyway. Any idea where it's hanging? I suspect that you load some resources like a .hcl file or .xml file or something... correct? Does it seem to make it to that point ok? -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |
From: Mario Z. <mar...@ya...> - 2009-08-11 19:42:38
|
No actually it passes the XML reading al ok. Even I tried parsing out the hecl script file and it seems to pass all ok as well - not sure about actually running Hecl as I'm still stuck trying to show *something* on the screen. I have succeeded in doing so with just a simple canvas hello world app, of course. regards Mario ________________________________ From: David Welton <dav...@gm...> To: Hecl Devel <hec...@li...> Sent: Tuesday, August 11, 2009 2:58:41 AM Subject: Re: [Hecl-devel] Phew... BB Emulator running > Also I got Prosciutto to run, but it shows nothing (all screen blank), yet I > know it's running because of some tweaks I speciifcally made to see if it is > in control - setCurrent to a Textbox class works at some point. I don't know > what's happening with my Canvas thing anyway. Any idea where it's hanging? I suspect that you load some resources like a .hcl file or .xml file or something... correct? Does it seem to make it to that point ok? -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Hecl-devel mailing list Hec...@li... https://lists.sourceforge.net/lists/listinfo/hecl-devel |
From: David W. <dav...@gm...> - 2009-08-11 13:29:52
|
> I believe what you say! I'm still struggling with it on Windows to get > System.errs output for instance :( In the emulator script (like 9500.bat), you can do: /app-param=JvmDebugFile=out.txt As one of the arguments, and System.out will be sent to that file... Maybe err is something similar? -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |
From: Mario Z. <mar...@ya...> - 2009-08-11 19:23:24
|
Great!! thanks a lot David, i will try that Have that helped your debugging? ________________________________ From: David Welton <dav...@gm...> To: Hecl Devel <hec...@li...> Sent: Tuesday, August 11, 2009 10:29:44 AM Subject: Re: [Hecl-devel] Phew... BB Emulator running > I believe what you say! I'm still struggling with it on Windows to get > System.errs output for instance :( In the emulator script (like 9500.bat), you can do: /app-param=JvmDebugFile=out.txt As one of the arguments, and System.out will be sent to that file... Maybe err is something similar? -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Hecl-devel mailing list Hec...@li... https://lists.sourceforge.net/lists/listinfo/hecl-devel |
From: David W. <dav...@gm...> - 2009-08-11 20:44:08
|
On Tue, Aug 11, 2009 at 9:16 PM, Mario Zorz<mar...@ya...> wrote: > Great!! thanks a lot David, i will try that > > Have that helped your debugging? Very much so! I nearly have things running! -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |
From: David W. <dav...@gm...> - 2009-08-15 12:35:29
|
Wine + the emulator just doesn't quite work all the time, so I backtracked and tried a different approach: Microsoft is allowing free downloads of Windows 7 betas from their web site, which combined with VirtualBox, makes for a very nice Windows sandbox where I got the emulator/BB tools up and running. Compiling works just fine in Linux, but the emulator is definitely faster under Windows (even when Windows itself is being emulated:-). Anyway, the whole process is a big hassle and there are lots of little "gotchas", so if anyone else is trying to set up an environment to hack on BlackBerry stuff, I'd be more than welcome to give a hand. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |