cldc

Getting Device IMEI

孤街浪徒 提交于 2019-11-26 23:22:18
问题 How to get the IMEI of a Java ME device in a common way that is applicable to all devices 回答1: Usually, using java.lang.System.getProperty() can return the device IMEI. Unfortunately, the String parameter you need to use to get the IMEI will change from one handset manufacturer to the next. Strings to try: imei phone.imei com.lge.imei com.nokia.imei com.nokia.mid.imei com.siemens.imei com.sonyericsson.imei com.motorola.imei ... you get the idea. you may need to uppercase the last part of the

JSON parser for J2ME

余生颓废 提交于 2019-11-26 14:23:56
问题 I need a basic JSON parser that works with J2ME / CLDC 1.1. A Google search returns tons of answers on this (some even on stackoverflow), but it appears that all point to libraries and solutions that are no longer available (for example, lots point to an implementation that is supposed to be on the json.org site, but at least I can't find anything that isn't J2SE only there). My best hope so far is the source linked here: https://meapplicationdevelopers.dev.java.net/mobileajax.html, but from

Is there any option for local database like Sqlite for j2me - CLDC devices?

匆匆过客 提交于 2019-11-26 10:59:37
问题 Is there any option for local database like Sqlite for j2me - CLDC devices? PerstLite and OpenBaseMovil are both under dual license. Is there any open source option for this? Or, any alternate way of developing application. 回答1: from List of Database in J2ME: Apache Derby - an open source relational database / about 2 megabytes Java DB - Sun's supported distribution of Apache Derby database / footprint of 2.5 MB Floggy - free object persistence framework for J2ME/MIDP applications / 11k API