j2me app on wizard - Windows Mobile Development and Hacking General

hy @all.
i want to make a app for my wizard in java.
i write a little program wich only creates a file and writes something in it.
on the emulator it is working fine. the emulator asks "testapp is trying to write to the local file system." "is it ok to write on your file system?" .
but if i install the app to the handy it doesnt work.
if i only make a hallo world without to use the filesystem the app is working on the mda!
whats the problem? where can i disable any securitythings on my mda?
please help!!
regards
markus

Related

wm2003 4.01.12 deleted my files?

after installed it on my t-mobile mda n' passed several difficult trouble on radiostack, this os such a great thing that i expect to figure on my pda. but, later i realized that the os didn't fit my expectation when its began to erase my files on the sdcard 'misteriously'.
a thing that make me become so so bad, the size of files doesn't match with the used area on the card, what kind of trouble is this? they erased my files but the space didn't change..
is there any idea to get my files back before i'm goin' to format it?
how to avoid it in the future?
thx for read it..
The only way to avoid it is to write protect the memory card by moving the slider switch to lock position.
slider switch...
thank's for ur answer, it migth be useful, but can you point the position of the slider? whether it's.on the pda or on memory? l'm using visipro mmc 256mb, n' i don't see any slider on lt.
thx.
Re: slider switch...
cep said:
thank's for ur answer, it migth be useful, but can you point the position of the slider? whether it's.on the pda or on memory? l'm using visipro mmc 256mb, n' i don't see any slider on lt.
thx.
Click to expand...
Click to collapse
Only SDCard has a write protect slider, and U'r using MMC not SDCard.
I have a same problem before, my SDCard erased, it happened twice, and I run the SD_Fix registry file, since 2 months this problem never happen any more.
How do I run this file?
Thanks
I'm glad to find oud this thread, i've faced this problem since i upgaded my XDA to 4.01.16, i've lost all data in my MMC card as you had.
I downloaded the "SD_fix" files but how do i run it to solve the problem ?
Thanks!!!
How to Run SD_fix.reg
sonie_vespie said:
I'm glad to find oud this thread, i've faced this problem since i upgaded my XDA to 4.01.16, i've lost all data in my MMC card as you had.
I downloaded the "SD_fix" files but how do i run it to solve the problem ?
Thanks!!!
Click to expand...
Click to collapse
just copy the .reg file to your PPC and run it. CMIIW...
Re: How to Run SD_fix.reg
dharma said:
just copy the .reg file to your PPC and run it. CMIIW...
Click to expand...
Click to collapse
Yes, but how? I have it on my PPC and when I click it, it says: "There is no applicationassociated with SD_FIX (working)". Run the application first then open the file from within the application".
Re: How to Run SD_fix.reg
Deke Martin said:
dharma said:
just copy the .reg file to your PPC and run it. CMIIW...
Click to expand...
Click to collapse
Yes, but how? I have it on my PPC and when I click it, it says: "There is no applicationassociated with SD_FIX (working)". Run the application first then open the file from within the application".
Click to expand...
Click to collapse
Sorry, I forgot to advise you to install Registry Editor Program on your PPC first. (e.g. PHM Reg edit)
hi,
it's quite good, i alo thought that but i had installed "regeditce" prog so the file doesn't associate .
I'd installed the PHM as u mentioned above and ran the SD_fix but it didn't react (install or import..ect), it just opened the PHM program. Hence, i dont know whether it's imported to the registry or not now i'm waiting and hope the problem will be solved.
Thank you all
Unfortunately, it doesn't work w­ell, after running that file, i installed two programs on storage card (HandMap and E-dictionary). Then I tried to soft reset and my MMc card was erased. oh, what can i do now ?
sonie_vespie said:
hi,
it's quite good, i alo thought that but i had installed "regeditce" prog so the file doesn't associate .
I'd installed the PHM as u mentioned above and ran the SD_fix but it didn't react (install or import..ect), it just opened the PHM program. Hence, i dont know whether it's imported to the registry or not now i'm waiting and hope the problem will be solved.
Thank you all
Click to expand...
Click to collapse
I don’t know exactly what the problem is, if another one who had the same prob and been solved please share how to solve this.
Sorry sonie_vespie I can’t help you better than I did.
Where is the SD_fix.reg file
Hi,
How can I get the SD_fix.reg file? Thanks
hi,
the file is above
I think that the .reg file is exported form a key in REGISTRY, but when i run it, it isn't imported to the defined key exactly so the card is still erased
Help me, thanks 'coz i like the 4.01.16 of T-Mobile
hi all,
Let use "Resco registry" to import SD_fix to Registry. It's okay now
sonie_vespie said:
hi all,
Let use "Resco registry" to import SD_fix to Registry. It's okay now
Click to expand...
Click to collapse
I glad to hear that, good luck than..
hi,
Many thanks for your help, darma
hope we have chance to share our xp
best regards,

i Cant Run Any APP

hi there. i have a problem to install apps on my Wizard & XDA 2.
every time i want to anstall an application a message came on and told me that (this program is not a valid PPC application) OR (there is no applicatin associated whit this program).
what can i do to fix this problem.
thanks in advance
Babert said:
hi there. i have a problem to install apps on my Wizard & XDA 2.
every time i want to anstall an application a message came on and told me that (this program is not a valid PPC application) OR (there is no applicatin associated whit this program).
what can i do to fix this problem.
thanks in advance
Click to expand...
Click to collapse
For the message "there is no application associate with this program" means you clicked on the wrong file (e.g. file with un-associated file extension).
Just to check, have you ever successfully install any program?

I need an empty dummy program

Hi there
I need a small, fast, dummy .exe program that does absolutely nothing on a PPC.
I know this is a strange request, but I've hexedited an executable that needs a valid return code from another app, so it's a long story... ...
Anybody able to supply me with one? I've built one in vb.net CF but I could do with a native app that doesn't need the compact framework installed.
Carlos
try this
http://www.stormpaintball.com/toshiba/DoNothing.exe
Thanks, I'll give it a whirl - any idea whether it exits with a successful return code?

Self deleting executable

Hello all,
I am trying to write an application in Visual Basic.NET 2008 for the Windows Mobile 5.0 platform. One of the features of the application is that it needs to have a "panic" button. The idea is that a user can run the application and press the panic button. The application should then terminate immediately and remove itself (the physical executable). A sort of self destructing program
The problem is that an executable cannot be deleted if it is running because the file is locked. It can only be deleted after the program has terminated, but after the program has terminated it is not possible to fire a delete command anymore.
I have done some investigation on the web and I found this article: http://www.catch22.net/tuts/selfdel
The article explains the problem and it also provides a few solutions. Unfortunately I am not familiar with writing C++ or assembler (too stupid ) ) so I have not been able to use "the ultimate self deleting executable code".
Is there anybody here that can help me a bit to get this working ? Any help is appreciated
There are two ways:
1. Use something else to delete you app.
2. Figure out the ASM root.
By your own admission, 2 isn't viable, so that leaves us with 1.
I can think of 2 ways to do it, a seperate App to delete yours, all the other app does is way 2 seconds and run, and keep running and retrying until the File is Deleted. Your app then calls it and quits.
The other way is to do the above process but use MortScript to delete and wait instead of an app. There's loads of Mort examples on xda.
Dave

[Q] can not Install *.jar files

Hey guys, I updated my Rom to Miri WM6.5 which can be found at
HTCPedia
/miri_wm21892_manila25_nomessaging_v21_1/soft/htc-blackstone-rom.html?c_page=5#comments ( I can not write the link because the system does not allow me)
but I have some problems with it. Firstly, when I try to install a java application, I get an error says " There is no application associated with "opera-mini-5.1.21051-advanced-en". Run the application first, then open the application".
What can I do to get over this problem ?
And secondly, How can I change the folder of an application ?
The last two comments are mine at that thread but I get no answer, so I decided to ask it more experienced guys
Thank you for your help =))
Seems like no one knows..
For Java applications you must install midlet manager (Jbed or Jblend) first.
Knuckled said:
Hey guys, I updated my Rom to Miri WM6.5 which can be found at
HTCPedia
/miri_wm21892_manila25_nomessaging_v21_1/soft/htc-blackstone-rom.html?c_page=5#comments ( I can not write the link because the system does not allow me)
but I have some problems with it. Firstly, when I try to install a java application, I get an error says " There is no application associated with "opera-mini-5.1.21051-advanced-en". Run the application first, then open the application".
What can I do to get over this problem ?
And secondly, How can I change the folder of an application ?
The last two comments are mine at that thread but I get no answer, so I decided to ask it more experienced guys
Thank you for your help =))
Click to expand...
Click to collapse
use this to instal Jar file
Thank you

Categories

Resources