java-me

access to sms inbox

北战南征 提交于 2019-12-24 04:01:04
问题 How can I access the SMS inbox from an application (on Symbian s60)? Us it possible with j2me? How about C++ or Python? 回答1: Reading message from inbox in j2me is not possible if you want to read sms then you can send message using particular port and your j2me application should listen on that port otherwise you can go with symbian c++ where it is possible. 回答2: In j2me, you can't access the native message box related stuff like Inbox, Sent Message or etc. But it is possible in c++. I don't

Strange “java.lang.NoClassDefFoundError” in Eclipse

早过忘川 提交于 2019-12-24 02:16:45
问题 i am testing a J2me project when i run it is giving java.lang.NoClassDefFoundError: org/cdac/securitycore/storage/StorageBridge . I had included a jar file which contains StorageBridge.class even i checked the class path also my jar file compiled at 1.5 compilence & my application is building with 1.3 compilence is this the reason for creating a problem 回答1: Perhaps you did not include the .jar correctly. Right click on your project and go to Build Path->Configure Build Path->Add external

Trigonometry in CLDC 1.0 / MIDP 2.0 application

我是研究僧i 提交于 2019-12-24 02:07:32
问题 How can I use trigonometry in CLDC 1.0 / MIDP 2.0 application? I need "sin cos tan asin acos atan atan2" functions from standart Math library. Thanks 回答1: gnat knows 回答2: update to prior answer gnat knows Above link to Sun Forums became dead after migration to Oracle. If memory serves, back then I suggested to consider MicroFloat library. There is also a chance that mentioned Sun forums thread was migrated to this one: Sin & Cos with CLDC. Since message formatting was broken in migration and

How to write to an XML file inside a jar file?

心不动则不痛 提交于 2019-12-24 01:26:10
问题 Hi Java programmers. I badly need your help. I have a JavaFX/Java ME application. I'm trying to modify an XML file inside my project's folder (soon to be packaged jar file) . The path of the file I want to write: /parseExample/service1.xml Sadly, my application is a JavaFx/JavaME so it doesn't contain the library java.util.jar . So I can't use the jar classes. Are there other ways to do that? 回答1: Even in J2SE you should consider a Jar file as read only. In J2SE the only way to do it is

Is it possible to change Garbage Collection behavior in Java ME?

别说谁变了你拦得住时间么 提交于 2019-12-24 01:03:40
问题 I was wondering if it is possible to tweak the way garbage collector works on JavaMe in order to improve performance somehow(may reducing the number of passages)? I´ve seen some articles about it, but mostly directed Java SE and most of them says GC is highly dependant on the maker. How much would that be. 回答1: When the garbage collector is triggered is largely a mistery unless you have first hand knowledge of how the particular VM your application is running on was implemented and exactly

Not able to capture an image using Nokia Mobile but in Computer application works fine?

大兔子大兔子 提交于 2019-12-24 00:58:32
问题 I am making an application in which user will be able to use camera, capture and save that image to C drive, and i am also able to perform all these when i use this application with my PC. But whenever i use this application in mobile Like Nokia C2-01,02,03 i am only to view camera but not able to capture an image in short capture is not working while i use Mobile to run this App. My Midlet code is below please see the problem and support me to capture image via Mobile also:- public class

How do I get started with J2ME?

若如初见. 提交于 2019-12-23 21:02:56
问题 i am new to J2ME. Please tell me how can I install it and where from. What else do I have to download to install J2ME with JDK. 回答1: If you are a beginner, I recommend starting with Netbeans IDE. Download the version that includes the Mobility Pack. There are many tutorials available for developing mobile applications with Netbeans. You may also need the WTK (don't remember if it comes with Netbeans), 回答2: It's not easy to start out with J2ME development (such as with MIDP) if you haven't

How to get started with Blackberry programming in J2ME? [closed]

浪尽此生 提交于 2019-12-23 20:58:10
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . I am new to Blackberry development and having problems getting started. Could anyone guide me to relevant resources like tutorials and

Can I fetch position of mobile device in j2me having no GPS service using information from cell tower

为君一笑 提交于 2019-12-23 20:02:53
问题 Can I get a location of mobile devices from j2me programming having no GPS unit installed? Can I obtain the location using cell tower info? I heard about triangulation method. And gone through http://developers.sun.com/mobility/apis/articles/location/ doc In this doc they have given code only for mobile phones having GPS application installed. But what about the others which does not have GPS in them? How can they get the location? update I got a link which answers my question: http:/

does Mobile phones have IP address

时光怂恿深爱的人放手 提交于 2019-12-23 18:03:12
问题 Hi All Can you tell me if the mobile phones have IP address.. (I know we have it if we connect our phones to Wi-Fi)..but if we connect via GPRS.. if the answer is yes..how can I find it..I am doing the coding in J2ME and LUWIT... 回答1: If you connect through GPRS then no your mobile does not have an unique IP address. 来源: https://stackoverflow.com/questions/4623163/does-mobile-phones-have-ip-address