midlet runs on emulator but not on device - Windows Mobile Development and Hacking General

[email protected],
i want wo deploy java-apps for my qtek 9100.
i am using netbeans 5 with the mobile plugin.
i made a simple application for testing:
it is no problem to make a "hello world".
but if i try to read/write from the filesystem the app didn´t start anymore.
if i only add this line
Enumeration roots=FileSystemRegistry.listRoots();
the app didn´t start.
the app runs well in the emulator wich came with netbeans 5 but not on the device.
i think there is a problem with my permissions but i am not able to get the permisson.
can anybody help me please???
p.s.: GREAT FORUM!! i found many usefull thinks in here like rom-backup and so on (i am waiting hard for a linux for my qtek)

Related

HaRET don't bootup linux :(

Hello ,
I'm a newbie and have used the introductions on http://wiki.xda-developers.com/wiki/HimalayaLinuxBooting to boot linux on my himalaya. Unfortunatily the pops up dialog "Launch a script file. Default ..." when i tap on HaRET-0.3.2d.exe . I can't connect to port 9999, too.
Please Help me
Thanks
Hi snowdrop,
the dialog means that your prepared scriptfile hasn´t been found and executed. This could be because you misspelled the name. Keep in mind that all filenames have a 3-letter extension which is not visible in windows. I.e. if your FileExplorer says "startup.txt" the filename is "startup.txt.txt".
Or maybe you installed the startup script in a different directory than HaRET. IMHO it´s easiest to install all 4 files (haret, startup, kernel, initrd) in a separate dir unter \Storage where you don´t have to reinstall it after a reboot.
Don´t hesitate to ask further if this doesn´t anwer your question.
Matthias
Hallo noone,
thanks for your reply. I copied all neccessary file under "\Storage Card\". The filename is "setup.txt" (the filexplorer says startup without extention but i'm sure it is named startup.txt through my activesync under Windows). All files are under "\Storage Card\", (also the HaRET-0.3.2d.exe and startup.txt files). :roll:
Greets
Hi snowdrop,
I'm not really sure about that. It works for me all the time.
Maybe you can track down the problem with a network connection. You have to disable ActiveSync on your host PC and to start a connection with SynCE. This requires usbserial and ipaq as well as ppp loaded into the kernel. When you cradle the himalaya you should get a message from usbserial about the attached device (usually /dev/ttyUSB0).
After synce-serial-configure (root), dccm (user) and synce-serial-start (root) the Himalaya should display the connection sign in the bottom bar. Be careful: ActiveSync on the Himalaya may or may not try to start a GPRS session. This can become expensive sometimes
After establishing the PPP connection from PC to Himalaya you connect to port 9999 (refer to SynCE's documentation about the IP addresses). Then you can enter the commands of the startup.txt script line by line.
HTH
Matthias
Hello Matthias,
what is SynCE? I'm using Windows as host PC.
Are synce-serial-configure (root), dccm (user) and synce-serial-start Linux Tools??? :?:
Thanks
Ok,
i after some hard work (and hardware reset), i'm now able to see the penguin(with red eyes and red thermometer) . But then nothing will be done
Actually I thought, that there is also a graphical user interface for linux. Now my question:
Do you ONLY remote login into your linux and have JUST a console application? Or have you also GUI applications and a desktop under linux for himalaya at the time.
Thanks for your answers
it will of cause never run any linux applications not compiled for it
like windows CE will not run pc windows applications
if you can find a kernel compiled for it
you can use it otherwise you'll have to compile your own
the same goes for a version of x11 and any other applications you may wish to run
though in the world of linux sourcecode is much easier to come but and compile yourself then they are under windows
Hi,
can you give some usefull links about linux application on PDA?
I want too much to run linux under my himalaya .
havent really messed with it
here is another distro for xda not sure if he ever got finished with it
http://www.pigeond.net/photos/xda-linux/
havent kept up on it really
what you have to look for is pretty much
applications for the arm cpu
and you can also look for linux of ipaq and other pda's which use the arm cpu they would also run on the xda
but i havent really kept up todate about the whole project
so i dont know how long any of the project have gotten
and i dont know how many applications can be portet because of graphical limits in the desktop manager like glib
but i'm sure there must be others in this forum who mess around with these things
Maybe the guys at handhelds.org could give you some more info, got lots of help getting linux running on my ipaq 5550 (never quite got it working to my liking though)

VB.net app won't run on my SX66

Hope someone can help me with this. I am developing an application using VB.net and I have two problems.
1. When I copy the .exe file to my SX66 and try to run it nothing happens. I can see a wait cursor appear briefly and it seems to be starting but nothing happens after that (no error messages even). I have seen the same problem with other VB.net apps I have tried to use that others created.
I have the latest .Net Compact framework installed. The app works fine on a Toshiba Pocket PC I have with the older verison of Pocket PC 2003.
2. When I try to run the app directly from VB.net VB.net doesn't recognize that there is a device connected and won't copy the .exe from my desktop to my SX66. This works fine with the Toshiba Pocket PC too.
is your sx66 connected to activeSync ?
Does it run on your Emulator?
Yes on activesync
I haven't tried the emulator. As I said it works fine on a Toshiba PPC so I am figuring it will work in the emulator. I am pretty sure it is something on the SX66 because I have seen the same problem with other .NET apps that I have tried to use that were created by someone else.
is the debug manager service running?

Test WM6 applications in Athena before upgrading the ROM

There is a 100% legal way to test how will perform a given application created for WM5 or previous releases into WM6 without the need of upgrading the Athena ROM.
I needed this to test a push-mail application developed for WM5. My idea is changing my X7500 to WM6 if and only if the push-mail application I'm considering works on WM6. Since taking the X7500 back to WM5 once you changed it to WM6 looks impossible I look for a solution to test before take the decision.
So... I found that WM6 emulator from Microsoft is free and freely available and emulator images are free too and freely available at microsoft.com
You will need:
Microsoft Device Emulator 2.0, which is the emulator itself. This program does nothing without the emulator images but you need the program, off course. Here is the link:
http://www.microsoft.com/downloads/...53-f231-4a64-a648-fea5e7061303&DisplayLang=en
Then you need the emulator images... let's call them ROMs if you want... but they call'em emulator images.
Windows Mobile 6 Localized Emulator Images, just donwload the ones in your language. I suggest using the profesional ones since in that set there is one called VGA Professional that match the features of our X7500. Here is the link to all languages:
http://www.microsoft.com/downloads/...a8-1dd7-426f-a913-4f370a65a582&DisplayLang=en
Just donwload and install the Device Emulator 2.0 (the first link I mention) and once installed donwload and install the profesional emulator images in your language.
Find the entry VGA Profesional in your Start menu in Windows XP and just install the application you want to test in your emulator.
Simple.
Best Regards,
mahjong

Problems with java apps

Hi!
I have a lot of problems with java vm, i've test 3 programs, Esmertec, MIDlet Manager and Java with intent. With all i cant run some programs (chat bluetooth and some games) most times i get lang error, something like java.lang.NoClassDefFoundError. i think this is because i'm using an spanish rom and spanish apps, but other times, java vm and the app are in english...when i try to run apps with bluetooth i never can do it.
Is it possible to get bluetooth acess with a java app? how? with which java vm do you recommend?
sorry for my english, i'm improving!!
bye!!
Yoh
Google iz ur buddy Have you tried searching jsr 82 win mobile. Search 4 Bluecove its a addon 4 IBM J9 and Masiyufu Jvm
sorry but i couldnt do it, i try to run bluecove.jar file with masiyufu VM but it says always the same error with everything even with some apps that others java vm dont says. i dont know how to use the bluecove with the virtual machines...i have the imb j9 and bluecove source files but i dont know what to do, and there is not enought information in spanish....could you help me?

[WM6 Emulator]Is there any working Java Platform?

Hello, I've not found anywhere answer to my question so I ask here. Don't you know any 100% working Java Virtual Machine to set on Windows Mobile 6 Emulator (and the best on free commercial license)?
Soft (emulator) I use is from:
http://www.microsoft.com/DOWNLOADS/details.aspx?FamilyID=38c46aa8-1dd7-426f-a913-4f370a65a582&displaylang=en
Another interesting thing is that I downloaded and launched WM 5 Emulator and without any problem installed JBed platform. Unfortunatelly WM 6 doesn't allow me to launch any midlet (using JBed). It throws:
Code:
The file 'jbed' cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. If the problem persists, try reinstalling or restoring this file.
Myisafu brakes installation process and couldn't reach to the end.
Many similar topics are to found on the internet, but none of them touches emulator problem. All of them are with reference to real devices.
Regards.

Categories

Resources