java-me

Reading RMS Data of other Midlet

♀尐吖头ヾ 提交于 2020-01-07 04:14:07
问题 I want to Read RMS Data created by one midlet from second midlet Target devise are S60 is it possible?? 回答1: It is possible. Open a record store associated with the named MIDlet suite. The MIDlet suite is identified by MIDlet vendor and MIDlet name. Access is granted only if the authorization mode of the RecordStore allows access by the current MIDlet suite. Access is limited by the authorization mode set when the record store was created: AUTHMODE_PRIVATE - Succeeds only if vendorName and

Command Shell for a mobile phone

孤街醉人 提交于 2020-01-06 16:51:50
问题 I am working on a project for builiding a shell for a java enabled mobile phone(using J2ME).I have to demonstarte 3 commands 1) ls 2) top 3)cat .How to implement them?Plese give me some ideas.Thanking you. 回答1: Download Coreutils (it's the package which contains all of these commands): http://ftp.gnu.org/gnu/coreutils/coreutils-8.9.tar.gz. Rip it open, and find the source code for each one. I think the tarball is organized quite nicely. And some implementations of the commands in other

Command Shell for a mobile phone

丶灬走出姿态 提交于 2020-01-06 16:51:31
问题 I am working on a project for builiding a shell for a java enabled mobile phone(using J2ME).I have to demonstarte 3 commands 1) ls 2) top 3)cat .How to implement them?Plese give me some ideas.Thanking you. 回答1: Download Coreutils (it's the package which contains all of these commands): http://ftp.gnu.org/gnu/coreutils/coreutils-8.9.tar.gz. Rip it open, and find the source code for each one. I think the tarball is organized quite nicely. And some implementations of the commands in other

How to debug a blackberry verification error?

拈花ヽ惹草 提交于 2020-01-06 16:22:58
问题 All I get is: "Module 'my-app' has verification error 'xxxx' at offset '1646' Which according to blackberry, contains information that is of no use to third party developpers. I looked in the buglog (with the 'catfail' option), and all I found was a method on which it crashed, not why. funny thing is, when I remove this method from my application, it still logs the same method for causing the error. It's kind of strange. extra info: My app contains LWUIT, and the blackberryport I've also read

how to use mjsip with j2me

独自空忆成欢 提交于 2020-01-06 10:54:52
问题 I want to make voip applicaton in j2me.I surfed about mjsip2ME. I want to use mjsip with my application. Can any one suggest me for how to do this ? 回答1: There's a tutorial, but it is kinda incomplete at the moment, as it does not contain source code, and some sections are labeled "TO DO". However, it contains the list of methodw, with descriptions and a quick, general help. There's also some info on the web not on the official site, but I hope you're not afraid of chinese :/ 来源: https:/

how to use mjsip with j2me

时光总嘲笑我的痴心妄想 提交于 2020-01-06 10:54:17
问题 I want to make voip applicaton in j2me.I surfed about mjsip2ME. I want to use mjsip with my application. Can any one suggest me for how to do this ? 回答1: There's a tutorial, but it is kinda incomplete at the moment, as it does not contain source code, and some sections are labeled "TO DO". However, it contains the list of methodw, with descriptions and a quick, general help. There's also some info on the web not on the official site, but I hope you're not afraid of chinese :/ 来源: https:/

Lwuit disable virtual keyboard

被刻印的时光 ゝ 提交于 2020-01-06 06:09:39
问题 I am developing a j2me application using LWUIT as GUI .... how can I disable the navigation virtual keyboard appeared down in the touch screen ? 回答1: If you are using a Symbian JavaME phone you can disable the virtual keypad by adding the Nokia-MIDlet-On-Screen-Keypad: no Jad attribute to your JAD/Manifest.. Also take a look at this blog entry for more 来源: https://stackoverflow.com/questions/4970048/lwuit-disable-virtual-keyboard

Java Beginner - Coding on Macbook Pro (Blackberry App building)

ぃ、小莉子 提交于 2020-01-06 02:37:04
问题 I'm just beginning to teach myself Java coding, in hopes of building a few blackberry apps. I assume I should: learn the basics. buy a blackberry app building book - learn the ropes acuqire necessary software - here's where my questions begin... Do I use Eclipse as the IDE? What about the Java API? Remember, I'm a complete newb, so my jargon may be somewhat...well...wrong. But, I think these two peices are initial steps, no? And most importantly, should I even be trying to code on my Macbook

hh:mm aa (12 hour format ) convert in HH:mm (24 hour format)

。_饼干妹妹 提交于 2020-01-06 01:50:09
问题 I have String time="02:30 PM" means 12 hour format and i want to convert this time in 24 hour format . I want this o/p: 14:30 . so how can i convert this ? 回答1: I don't know anything about berries, but in case the API is missing a proper formatting function, you can always get your hands dirty with the string itself: static String convert(String time){ boolean pm = "PM".equals(time.substring(6).toUpperCase()); int h = Integer.valueOf(time.substring(0,2)); if (h!=12) h+=pm?12:0; else h=pm?h:0;

Blackberry AES encryption error

徘徊边缘 提交于 2020-01-05 09:23:26
问题 I have implemented AES encryption in BlackBerry using code from the Knowledge Base Article "How to - Use Advanced Encryption" I keep getting error: Module 'net_rim_crypto' not found. In the code I have imported net.rim.device.api.crypto.*; package, but I can't find the package net.rim.crypto. Do I need to add any external jar for that? 回答1: You should install JRE 4.6 and set the API level to 4.6 and OS of the target device should be higher than JRE version. 回答2: If you have problem with