Java ME: javascript supported or not? - java-me

I have Nokia S40 6th edition devices. So, is that all S40 devices support JavaScript?
Because I am calling one URL(ad.doubleclick.net/.../...) using HttpConnection and it was return JavaScript coded text So my S40 devices display only below things
<!-- // -->
So, anyone can know why this is happening?
Thanks,

No S40 device supports Javascript within Java ME apps. Some may support it in the native web browser.

Related

J2ME Polish: Targeting Android, BlackBerry, and J2ME devices

I’m working on an app which is required to run on multiple different platforms. The original code is written in J2ME (Java ME).
The documentation online regarding using J2ME Polish for targeting multiple platforms is scarce and difficult to follow.
Can anyone here offer advice on targeting these 3 platforms using one code base? I’m currently using NetBeans 7.3 + the J2ME Polish plugin.
I’d ideally like to support:
Android 2.1+
BlackBerry OS 5.0+
J2ME/Java ME devices

How to start the Application in Symbian OS using J2ME?

I'm new to mobile development.
I want to know the developing sites for Symbian OS Nokia development?
I'm working in eclipse pulsar,In J2ME language. Then how to develop the Application
on S605th edition?
Download java wireless toolkit and configure with Eclipse Pulsar. Symbian 5th edition mobiles mostly Touch enabled mobiles. Look at Nokia Developer Documentation for your reference.
FYI: You can use LWUIT framework. LWUIT provides swing like features and touch enabled by default.

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

Save Call on Java Mobile / Phone to mp3 or any Audio format / file

I want to Save Call on Java Mobile / Phone to mp3 or any Audio format / file .
How should I go ahead with.
I am quite well versed with Core Java.
I found apps supporting above mentioned functionality in symbian Phones only but NOT in Java phones whose MIDP version is 2.1 and above.
Thanks for your Idea ( obviously practical one's ! )
or
sharing some links relevant to this
or some sort of pseudo-code in java for this.
I want solution for Java Phones with MIDP 2.1 & above.Please don't recommend symbian or other such things.
If you are willing to record incoming call using j2me , than unfortunately it is not possible.
with Java ME API's in the currently available Nokia phones its not possible, But you can try with Symbian C++.
j2me security will not allow to do this
you can do it with symbian.
I think nobody developed a call recorder in Java platform. All that you can do to record is to call divert to a land line which is connected to computer which can record calls.
Something for your reference (these can't provide you with Java phone call recording but can guide you , why it can't be with Java & S60 would be better(&only) option. )
Java Voice Recorder ported from E398
Need to develop a call recorder
and if change your mind from Java to Symbain then here's a code which you can have a look at.
Try Symbian!

I start programming in j2me, how to get the maximum compatibility with every cellphone?

I am a newbie to J2me. I am programming a Java program to recognise QRs.
The specifications of the projects include the compatibility with most of cellphones. For example, Nokia with Symbian, iPhone or HTC with windows mobile.
I have started downloading, JDK, WTK, eclipse and MTJ.
Any other advice would be of help.
To do this, I will need to provide a different distro for every commercial mark? or OS?
You can't run J2ME applications on iPhone or Android.
iPhone apps are written in Objective-C, and Android apps are written in regular Java (almost). Don't know about the Symbian case (but that probably runs J2ME just fine).
If you want a high degree of code-reuse, I strongly advice you to try to do the application web-based, preferably executed in the browser, or with a minimal OS-specific implementation of a front-end.

Resources