Nokia S60 Java SDK? - java

I want to develop a Java app for Nokia N70 (S60 platform). Unfortunately, Nokia thinks this phone is way too old and nobody should develop for it. I once used the MIDP SDK 2.1 beta, is there something better?

For older devices, you can use the oracle javame sdk. The emulator is different. But basic apps will work on the device. Make sure you use midp2.0 and sometimes also cldc 1.0, otherwise app will not start on device.

In past I've been done something on S60 platform and SDK 2.1.
Unfortunately I think is the unique...
Moreover symbian will die soon so, make your accounts :)

Related

blackberry's j2me configuration and profile

I'm sorry for asking a none-programming question, if it is.
I'm working on a library project that must be compatible through various mobile platforms.
I found some Java TV platforms are constructed on CDC/PBP.
I found Android api (partially) based on the Java 6.
And I want to know, is blackberry sill on the CLDC/MIDP?
According to Programming the BlackBerry With J2ME, it seems so.
Yes, they support MIDP 2.0/CLDC 1.1 and a good number of JSRs. Devices running OS 5.0 and higher have MIDP 2.1 support. Also there are the RIM custom APIs some of which can be used in BlackBerry MIDlets too.
More info here.
UPDATE:
For the new BB10 OS there's the possibility of repackaging an already existing Android app so that it can be run (with some issues) in the Android Runtime.

about older android versions on google market

I have developed my app in android 2.2, and put it on google market (munspel-appen).
I could see in the statistics that 4% are using android version 2.1 i dont have access to such device, so I wonder if my app will still work on that older version device if downloaded from market too or is it only working from 2.2 and up? How can one tell?
The configuration of your app (https://play.google.com/store/apps/details?id=com.munspel.munspelappen) seems to limit the app to devices with 2.2 and higher.
Users with a lower OS Version then 2.2. can not download your app from google market.
I would test your App in an Android 2.1 Emulator and if it works there change the minSDK for your app to 2.1 and upload an update to the market. In that way your app will be available to as much users as possible.
you can try in the android emulator in eclipse for example
Your application may work for 2.1 version provided that your application is compatible with API Level 7.
Well you can specify android:minSdkVersion=8 in AndroidManifest, (from document)The Android system will prevent the user from installing the application if the system's API Level is lower than the value specified in this attribute, You can try running your application on Emulator running 2.1 version. read more http://developer.android.com/guide/topics/manifest/uses-sdk-element.html#uses
If you're willing to pay, there are several companies specializing in testing Android apps on physical devices. Examples:
http://duarlander.ning.com
http://www.perfectomobile.com
I think there's a lot more in google.
First, the Market should use the minSdkVersion in your Manifest to filter the apps when searched.
To test, you can use an emulator of version 2.1 and see whether it works.
Most probably most of the code will work except those new in 2.2.

Java Application on Smartphone

What alteration should be made in a Java Application to be able to install it on Java Enabled Smartphone?
I tried using a random app of mine to see what happens, when I open it on the cell, it says Install? I say yes, and it says invalid file.
Now I was wondering what alteration should be made?
My smartphone (Samsung S8500) runs on bada which is more or less the same as Android, but alterations in the General.
You need different SDK for smartphones. Like for Android, you need Android SDK 1.5 or any other version. You just cannot install the same application. You need to develop using the resources provided by the SDK.
If your application is Java based mobile application then you can use some tools to convert it for Android. Doesn't work every time but worth a try.
In your case, Bada OS is not like Android what i learn from here. So, you need to develop the application using J2ME .

Mobile phones supporting Java Android?

What are mobile phones supporting Java Android?
Is there any Nokia phone supporting this technology?
What should the mobile contain (a framework, a plugin.. etc) if we want to deploy a Java Android Application?
Android can be deployed to many devices with custom builds of the OS; anyone can build Android . It is not limited to particular handset makers and you might want to consult the makers for official lists of deployed devices.
There is nothing the device needs to contain (other then an appropriate targeted version of Andrdoid) to deploy an application.
One important note is that the application IS NOT run in the JVM, the code is only written in Java and then converted to Dalvik bytecode when compiling (Android runs on the Dalvik Virtual Machine). Since the code is written in Java though you can make extensive use of existing libraries and use them in your applications.
There is a fairly comprehensive list on Wikipedia comparing devices running Android, including forthcoming devices.
Nokia seems to have no interest using Android platform for its devices.
If the device is a certified Android platform, there is nothing one needs to add for deployment.
I think most phones that run Android should support Android applications. However, IMHO one would be hard pressed to compile a list of those phone.But rest assured, it's a lot. Someone DID make a list! And yep, it's a lot.
Some quick Googling reveal that Nokia seems to not like Android so I would assume there is not a Nokia phone with Android.
Framework: Eclipse Galileo with the ADT plugin
My advice:
read this site inside and out! http://developer.android.com/index.html
It answers all your questions.

What are the differences between J2ME Wireless Toolkits and which one to choose?

I already know the differences between Java Edititions (ME, SE, EE), the ME Configurations (CDC and CLDC), Profiles (like MIDP), and additional APIs specified by JSRs.
But I am totally clueless about the differeces of the several Wireless Toolkits.
For example, Mobile Tools for Eclipse explicitly supports these ones, and states that others exist, too:
Sun Wireless Toolkits
MOTODEV SDK for JavaME
Nokia SDK S40/S60
Sony Ericsson J2ME SDK
Sprint PCS Wireless Toolkit for Java
Siemens SMTK for Series 60
mpowerplayer
Microemulator
I want to develop a MIDP application that runs on as many devices as possible, and I am going to use Antenna for build automation. Anyway, I have to install one or more of the toolkits, but don't know which.
So there are these sub-questions:
What are the differences?
Is there any single one which is the best?
Or do I need to install several / all of them?
I have a Sony Ericsson Device for testing, does this nessecarily mean I need the Sony Erricson J2ME SDK?
The device specific toolkits generally just contain debugging tools and emulators, transfer programs and custom libraries (ie, device specific audio libraries).
Generic midp code should be compatible with all devices, especially Sony Ericssons
I find it is usually audio code which facilitates a need for device SDKs. Nokia also used to use a special kind of canvas but this will only be applicable for really old phones.
EDIT: generally, install an SDK if you need it for something, otherwise use Sun WTK
Each toolkit provides the base CLDC/MIDP classes that are required. In some cases they will be specific to a device, e.g. if you choose the Nokia S60 3rd Edition FP1 toolkit (which I have used) it will use CLDC 1.1 and MIDP 2.0. In addition to this you will find that each vendor specific toolkit will come with added extras that will only be available on certain devices. Since you are looking to write for as many devices as possible you will not be using these extras and should therefore probably stick to the Sun WTK.
When building with Antenna you can specifiy which CLDC and MIDP versions you want to use if you use the Sun WTK too. If you use any other toolkit you might have problems with Antenna because it looks for very specific files (which are hard coded) so if you sepcify your WTK.home variable as Nokia S60 it won't find the files it needs so you will need to do some hacking (all of the class files for Nokia S60 are packaged in 1 jar file, unlike Sun WTK which has them all separated into the JSRs).
I find the Sony toolkit the easiest to use, mainly because it has standard size screens (ie 176x220 and 240x320) that are easily switched between on the emulator
If you are using Antenna to build you applications you should only need to install the WTK and a Blackberry SDK to get a complete set of builds, unless you are going to use device specific apis

Categories

Resources