0

HI, i have written a j2me application using netbeans..can anybody tl me how to install this application to mobile?????????????

2
Contributors
8
Replies
9
Views
8 Years
Discussion Span
Last Post by peter_budo
0

Upload your midlet (JAR file of it) on mobile phone either memory card or device memory trough USB cable or bluetooth, from mobile phone browse and search for the file (most of the phones have menu option like "Files", "Media"). Once you find it click install it, simple like that...

Edited by peter_budo: n/a

0

but it is sayin as unsupported format???...only jar file is enough r do we need jad file also??

0

JAD is not need it, it is usually used when mobile device accessing web for download and you need fast way to determinate if your device will be capable to run midlet associated with that JAD.
I wonder why it is giving you unsupported format??? What device you using?
Do you want to upload midlet or perhaps whole NetBeans project so others can see and try?

0

i m usin sony ericson for installation....whole project is executing in perfect manner on simulator provided by netbeans... so u insist us to just install the jar file of dat midlet to ma mobile is it??

0

Thankx it s working great!!.. n actually in our project we r able to send some information to system where server has been installed n i ve written an http connection code for midlet which has been installed just now...but onw through mobile i cant able to achieve that connection so can you tl me how to achieve this ???

0

I guess you did not use Thread in your connection and because it is mobile device reply will slower then to emulator, therefore connection will time-out. Have look here how to do it with thread

0

ya i will go through dat... n in ma application i need to send some information to server n must validate that information so can u tell me the way to achieve this

0

As you are working on mobile application, validation should be done before you attempt to connect with server.
All you need to do is just create a method that will return boolean type (true/false) and inside that method verify that text filed wasn't left empty if must be filled, that length of string is as expected (for example no less then 6 characters and no more then 18) etc. JME, makes checks much simpler since you can declare field to accept only numeric, phone type or email values with little hassle.
This is how simple it gets...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.