I am in need of retreiving the SD Card ID(micro) thro J2ME.
There is no Java ME API for getting this information. On Nokia Series 60, you might be able to do it from a native application.
Thanks
Related
How can I check whether SIM card is present in a J2ME device or not.
You may try System.getProperty("microedition.smartcardslots");, but it is dependent on JSR 177 Security and Trust Services API for J2ME (SATSA).
It is possible in some ways.
Refer the following links:
http://www.developer.nokia.com/Community/Discussion/showthread.php?227658-How-to-check-wheather-a-SIM-card-has-been-inserted-in-mobile-using-j2me
http://www.developer.nokia.com/Community/Discussion/showthread.php?105450-SIM-access-from-J2ME-%28deploy-SIM-application%29
I want to make a game based on the sensor accelerator. Is there any API available in j2me through which we can access the accelerator sensor. or is there any other idea regarding the same ?
Yes, there's such API - called JSR-256. Try to Google and you'll find appropriate resources.
I need to establish a bluetooth connection between two devices so that the data can be send/received continuously. I am new to j2me and under the 'learning and implementing' phase.
So if anyone can suggest me an easiest way to get how to establish bluetooth between two mobile devices.
It can be a tutorial or a blog or any kind of reference site.
There is a bluetooth API demo application in the J2ME SDK. I would advise reading the source code it contains first.
I am working on project where I need to catch the image capture event.
It's for nokia N73 having platform S60 3rd edition.
Is there any possible way using J2ME only (without using symbian).
Description:
J2ME application running in background, on click of capturing image from camera J2ME application initiates and comes in front. Takes the captured image and transfers it to J2ME app and displays on screen.
if not possible using J2ME , Is there any possible way using symbian? can anyone provide tutorial or code snippet?
Thank you.
Regards,
Rajiv
Not possible to access the native camera from J2ME. You'd need to get the user to start your app first, then access the camera from your app (using JSR 135, spec here, introduction and examples here). Then you can use the captured image however you wish.
HTH
The N73 in particular has a fairly large hardware limitation when you want to use the camera.
You need to have the user manually open the camera cover before you can use the camera.
This launches the native camera application included in S60.
The user then needs to close that application.
From that point on, J2ME can use the camera, via the mobile media API defined in JSR-135.
If the user reboots the phone, the camera cover needs to be re-opened before J2ME can use the camera again.
You may have better luck using J2ME and JSR-135 to capture images using the front camera on the N73.
I seriously doubt that J2ME would see the user pressing the camera key in javax.microedition.lcdui.Canvas.keyPressed();
JSR-135 doesn't really provide a system-wide camera capture event for J2ME.
What are the codes related to CDMA phones? Like we have IMSI,IMEI,CellID in GSM,do we have any such codes that can be retrieved from a CDMA phone?
And can anyone suggest how to retrieve them from a phone(programatically)?
There is still no standard J2ME telephony API, so either see what the cbs connection in JSR-120 can give you or use system properties.
I would suggest trying to retrieve the same codes on a GSM phone and on a CDMA phone. It might just work.
To retrieve the IMEI, look at:
Getting Device IMEI