Getting started with JavaMe - java-me

I'm trying to make a very simple program run on my Nokia 5000.
On the Nokia website, there is a SDK (Series 40). I included this SDK in my IntelliJ project.
The problem is, when I try to run the helloWorld app on my phone, I get an error message.
(http://wiki.forum.nokia.com/index.php/Hello_World_in_Java_ME)
Can anyone help me out?
Thanks in advance!

Any chance you have created a MIDP 2.1 / CLDC 1.1 application?
For Series40 phones, I would definitely start with just MIDP 2.0 / CLDC 1.0
Otherwise post your jad file and your manifest file.

Related

Javame sdk 8.3 doesn't work on Netbeans

I've faced a problem with configuring Netbeans 8.1 to develop javame application with Javame SDK 8.3. When a javame project is created, Platform property remains grayed, compilation produced the message:
Platform home (platform.home property) is not set. Platform home (platform.home property) is not set. Value of this property should be <space> emulator home directory location.
When I try to fix project property on the platform tab, I see that:
No CLDC platform available
An old Javame SDK 3.4 works.
Any ideas could be helpful.
The confusion comes from the fact that JavaME is so much more than just MIDP/CLDC. It is used for so many other things, like e.g. Blu-ray players and other embedded devices.
MIDP and CLDC are merely JSR API's - which for some reason has been excluded from the SDK 8.x versions. This is why it can't find a CLDC platform, unless you install SDK 3.4
No other way around it than to use SDK 3.4
MIDP2.0 = JSR118
CLDC1.1 = JSR139
No where to be found in the list of SDK 8.x supported APIs: http://docs.oracle.com/javame/8.3/javame-apis.htm

Play audio after recording using Phonegap 2.9 and iOS7

I'm having problem with Phonegap 2.9 and iOS7. Using the Media API, the recording works, but the file seems to be blocked (even after using release()) and I can't play it. The same script works fine on iOS 5/6 and Android. Any help would be appreciated. Thanks.
I am working on that issue and let you know. Also, you can try this path
http://docs.phonegap.com/en/3.0.0/cordova_media_media.md.html

Mobile application not working properly

I did a mobile application on java using Netbeans IDE.
It's working fine when I run in my system.
Problem is when I try to install it in my mobile its getting error like application error.
Can anyone help me find what went wrong?
I am using Sony mobile and in that it's getting "Application Error" nothing more then that, and even I try to install in another mobiles also it's getting like "error". I can't find what type of error it is.
You have to first check that APIs which you used in your application is supported in your phone or not. If APIs are not supported by your phone then it give error at installation time. And yes also check that your phone supported MIDP and CLDC version.
Ok it is very silly problem. When you create Java ME Application with Netbeans, by default it uses MIDP 2.1 Version. and I am sure your device supports MIDP 2.0 ( happened with me few times ). Just change your MIDP Version from 2.1 to 2.0 in NetBeans and then create .Jar file and try again, it will surely work.

Java mobile - Startup questions

I am a J2SE Java developer, and i am currently trying to learn Java mobile development to create mobile applications. I have a couple of startup questions please :
Do i have to install JDK 6.0 or above, or only a J2ME SDK is quite enough ? (I don't know if the JDK includes J2ME API or not).
I have seen other Java mobile SDKs like Metismo and AlcheMo that still allow me to write Java coded mobile applications, so are these better than the J2ME SDK or there are better options ?
I will use Eclipse Pulsar + J2ME SDK in development. Do i need anything else ? And is this developing environment suitable to write Java coded mobile applications to run on most mobile types or there are better options ?
For the Emulator does J2ME SDK include an emulator ? I have seen a Free emulator called Micro Emulator so is this suitable, or there are better choices ?
If you have any advices / Tutorials for me before i start learning the language and coding my applications that would be very nice.
I suggest Netbeans better for mobile development. Even you can use Eclipse pulsar also. Netbeans already having sun java SDK. you can download the Emulator from following sites,
Sprint SDK
Sony Ericsson SDK
Samsung SDK
Motorola SDK
Nokia SDK
See these tutorials for j2me developing,
J2ME Tutorials
J2ME Coding example-1
J2ME Coding example-2
J2ME Guide

Simple WinCE 5.0 application

I'm actually a web developer (PHP, Python), but now I need to make a very simple WinCE 5.0 application. Could you please suggest where I should start from? I'm probably not going to be a WinCE programmer, just need some really basic knowlodge.
Thank you
Download eVC++ version 4 as well as the latest SP.
From there, install the WINCE 5.0 SDK.
That should give you enough to use the emulator.

Resources