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

Recommended Answers

All 8 Replies

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...

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

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?

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??

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 ???

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

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

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...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.