Download MIDlet to a phone
Hi all,
I developed my J2ME application that will connect to a remote server using GPRS on the J2ME Wireless Toolkit.
Can someone please give me some tips on how download the MIDlet onto a phone. Do I need to download both .JAD & .JAR files?
How do I create the .JAR file using the toolkit?
Its an MIDP1.0 application, which type of phone do people recommend I use?
Any tips would be much appriciated!
Thanks
Glenman
To make a jar file with the wireless tool kit
Click on project and then click on package/create package. never forget that size is crucial so you should use an obfuscutator with it. If your jar file is above 64 KB , then use an obfuscator (retroguard, proguard, etc.).
Normaly both Yourapplication.jar and Yourapplication.jad will be stored into
the_path_to_wireless_tookit/apps/your_project/bin/
You need both jar and jad file to be OTA compatible.
the JAD file contains several meta-data (including an URL pointing to the JAR file: MIDLET-URL or something)
To install your application on a mobile phone you need two things:
- A java/wap enabled mobile phone
- and a configured web server.
for the web server your need to add two new MIME types:
for JAD and JAR.
You should find this information over the web, I don't have it here.
Once you have proplerly configured your web server (if you didn't the jad file will be downloaded like a text file and nothing will happen). Simply use your wap browser and type the URL of the JAD file:
http://www.myserver.com/applications/MyApplication.jad
Your mobile phone should download and install your application.
It always better to test first your application with the constructor SDK. There are some problems that could occur during the "make package" process. (mainly related to the JAR properpties, NOKIA for example is more touchy about this than sonyericsson phones). Don't expect a lot of feeback from your mobile phone,for any errors you will receive "INVALID file". SDK will give you more valuable logs.
Hope this help
Olivier
Similar Messages
-
Executing a downloaded midlet out of the running midlet, possible?
hi,
I want to create a midlet that
- connects to a server (over http) [found lots of tutorials for this case]
- there the user can choose from a list of midlets
- than download a midlet (the jar archiv and the jad file)
- this downloaded midlet should be saved anywhere on the mobile device
- and should be executed.
Is this possible?
Can I start a midlet out of another midlet (which is for example stored over the RMS)?
Furthermore is it possible to start any other application out of an running midlet (for example I want to play a downloaded flash file [my device supports flash])?
I'm using the motorola a920, which supports MIDP 1.0 und CLDC 1.0.
thx
mattIn MIDP 1.0 that isn't possible. But I recall the A920 being a MIDP 2.0 device, in which case there's a method that might be able to do that called platformRequest(). The spec is very general about it, so it's capabilities vary from phone to phone (the only thing required of this method is to display a URL in a browser, but it could be used for a bunch of other things). I don't know what are the capabilities on the A920.
On the other hand, Motorola handsets usually have a lot of extension APIs, so maybe that's also something to look at.
shmoove -
Could someone please advise on my current problem? Apparantly I can no longer download tones to my phone or account to be used as such since the tones are being downloaded as songs that cannot be transferred or placed in the tones area for the phone or in iTunes. Prior to the last update, this was always an option. I have also noticed that the Ringtones and Alert Tones are not showing up in my recent purchases as well to allow for me to place them back on my phone and there for require for them to be purchased again... Any help would be greatly appreciated!
I've discovered that all tones purchased will be downloaded as ringtones, BUT they can be utilized as tones and assigned as alert tones on the iPhone...
-
Okay so when I try to download apps on my phone a totally different Apple ID that I've never used before popped up. I've already tried settings under apps/iTunes and signed into my own apple account. But even doing so my apple Id won't show up
Try this:
Open the iTunes app, select the Music tab, then scroll all the way down to the bottom. Here you can sign out of any current Apple ID and sign into a new one. Good luck!
And just in case there is another Apple ID linked to your account you can check at http://appleid.apple.com. -
I have a iPad and a iPhone. I am logged into the same Apple ID on both devices. Every time I download something on my phone it automatically downloads on the iPad how do I turn this off?
you need to turn automatic downloads off - its under settings>itunes & app store
-
I bought a Chase and status cd from a hmv store , so I downloaded it onto my phone and decided to delete all of my music because it was slowing down my phone but later on I decided that I wanted it on again but I didn't know that iTunes would charge me again ,so does anyone know how I can get my money back without having to ring them up...
Hi there,
You can report an issue with your iTunes purchase using the article below.
How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
http://support.apple.com/kb/ht1933
-Griff W. -
I have downloaded music to my phone through my Apple ID and it has this message that reads you can download purchases on this device with one Apple ID account every ninety days, what does this mean and how do I fix it?
Well, it doesn't mean that at all. You can download music purchased with an Apple ID to up to 10 devices. There is no 90 day wait. The wait is if you change the Apple ID.
-
hello - downloading app problems - this phone can only be usedto download apps in uk or something - think i am linking to the us apps - how do i link to the uk apps?
taYou're welocme
Depending on the size of the app or the connection speed when using Wi-Fi it could take a little longer to download. You can also try to download it onto your computer, might be faster, and sync it to the phone after that.
Downloading past purchases from the App Store, iBookstore, and iTunes Store -
My husband's iphone has a hotmail ID but it was hacked and we need to change it to his current email. Where do we change it? I tried on apple and it says he has a yahoo address? His yahoo mail comes to his phone. We want to download apps on his phone and can't because of the hotmail address.
ThanksMy husband's iphone has a hotmail ID but it was hacked and we need to change it to his current email. Where do we change it? I tried on apple and it says he has a yahoo address? His yahoo mail comes to his phone. We want to download apps on his phone and can't because of the hotmail address.
Thanks -
Hi I deleted my photos on my phone in photo stream. How can I get them to download back onto my phone through I cloud. Thank you
icloud photo stream is 5GB if your have more photos you need to buy more storage
-
i downloaded songs to my phone at xmas and when i plugged in to my laptop it wiped the phone of new purchases when i try and download them to my computer in itunes via previous purchesses it wont load the list and i keep getting error 10053 can any1 help
Syncing shouldn't trouch you photos unless you have photos in a Photo Library album. These would be photos that were synced to your phone from your computer. If you do have any, you'll need to use an app like PhotoSync to transfer them to your computer prior to syncing.
If you prefer to backup your camera roll photos prior to syncing, open iTunes and go to Preferences>Devices and check "Prevent...from syncing automatically". Then connect your phone to your computer and import them as explained here: http://support.apple.com/kb/HT4083.
Then, to minimize data loss, follow the steps in this user tip: https://discussions.apple.com/docs/DOC-3141. To follow the steps, first open iTunes and go to View>Show Sidebar. Also, Transfer Purchases is now located in File>Devices. -
I have my boyfriend's apple ID and password, how do I check what apps he has on his phone? ( not all the apps that he had downloaded, but the ones that are actually on his phone). And How can I remotely download apps to his phone if I have his ID and PW?
Thank you so muchIf you want seperate accounts for managing apps and purchasing content, basically yes, you need two account and would need to repurchase. However, if you just want seperate ID for iMessgae, icloud and such, you can do that and still continue sharing the same Id for apps and itunes.
-
After connecting my iphone to my Macbook Pro to download photos to my phone yesterday, my Pages application is gone from my computer. The icon is still in the dock. What happened and how do I get it back? Its not in my trash or anywhere else.
The other 2 applications open like normal. All three give me info.
Pages ver.4.1 265.8MB
Numbers ver. 2.1 89.5MB
Keynote ver. 5.1.1 238.1MB
They all list Apr 3 as the last time opened. That was when I upgraded to Mavericks. I certainly used pages and numbers since then as I have alot of my work files on this computer?
Just very odd. I did find my original iWorks disc from when I bought the computer. I'm assuming i can reinstall it. Will try that. Thank you for all your help. Would still like to know what did happen?
Kat -
i connected my iphone 3g to itunes which was in 4.1 firmware and itunes ask for an update which i downloaded an updated the phone to version 6.1.3 but my phone cannot start it shows no service my sim card is not getting network and i cannot use the phone. what should i do.?
First, you do not have a 3G if you could upgrade it to 6.1.3, because 4.2.1 is the last version that will work on the 3G. So you either have a 3GS or you somehow hacked the phone to install an incompatible version. You can check the model you have by entering your serial number here: https://selfsolve.apple.com/agreementWarrantyDynamic.do
Assuming you have a 3GS the most likely reason for your problem is you have a gray market phone that was hacked or jailbroken to unlock it. When you upgraded it you removed the hack, so the phone is now locked to its original carrier. -
Just got an e mail to say that my Apple ID was just used to download photoshop touch for phone for 2.99 from the App Store with a receipt number. Is this a scam for me to give my Apple ID?
No but there's a link to reset your password. Etc etc..
This is the email I got.
"Your Apple ID was just used to download Photoshop Touch for phone £2.99 from the App Store on a computer or device that had not previously been associated with that Apple ID.
If you initiated this download, you can disregard this email. It was only sent to alert you in case you did not initiate the download yourself.
If you did not initiate this download, we recommend that you go to iforgot.apple.com to change your password, then see Apple ID: Tips for protecting the security of your account for further assistance.
Regards,
Apple"
Maybe you are looking for
-
Scheduled job does not stop even after the scheduling window closes
We have written custom stats gathering job whose duration has been set as 14 hours in the schedule. This job starts daily at 6:00 PM and expected to complete upto 8:00 AM next day. But the problem is that this job continues to execute even after 14 h
-
Once contract created PR should be closed
Hi, We want to close PR automatically when Contract created with reference to this PR? I tried this but my PR is not closed.Is there any way closing PR automatically when Contract created with refe. with this PR? Any solution for this? or This is SAP
-
ISE1.1 - Use of one guest account on multiple devices
I have ISE1.1 with local web authentication process for "Guest" Wi-Fi. I faced a problem in bulk guest account creation and TAC filed a bug - CSCup38457: "importing guest account CSV fails via sponsor portal" Now, I need to allow guests to connect to
-
Question about push email...
Hi all, i have a question regarding this push mail tech. how the client will be able to receive a message from the server, without the need for client to check it by it self? Is it true the only way to do that is to by keeping a connection between th
-
NO SOUND - using the MSI KT4V 6712
I have recently formatted my hard drives and installed MS Windows XP Pro +SP1 and also installed a new case. Soon as i turned it on the sound didnt work. I then tried almost everything inside windows to try to get the sound drivers working but to no