java-me

Designing a mobile web server and client for traffic compression

自古美人都是妖i 提交于 2019-12-03 21:04:09
问题 I have been a bit confused on how best to go about this. The thing : I'm creating a j2me mobile app that will send compressed data via HTTP to a web server, which then will uncompress the request, fetch the data, compress it and send back to client. One similar solution to this is: T-Booster The Problem : I'm confused on how to send a compressed http request from the client app, what technology to use for the server and how best to go about implementing it. Assuming the server is handing

How do you organize your code in a j2me project?

喜欢而已 提交于 2019-12-03 20:43:55
Sorry if what I'm about to ask you is a silly question, but since I'm taking my first steps into j2me I have to do it. I know that you can have multiple screens in a single MIDlet, but that doesn't seem to be a good idea when you're going to have a considerable number of screens(more than 10) as it would end up in a complete mess. So here's the question(not sure if possible), how do you usually organize your code in a j2me project? Or do you put everything inside a single MIDlet or do you separate your code into different MIDlets, one per screen, as we usually do in web or desktop applications

J2ME With Sqlite

£可爱£侵袭症+ 提交于 2019-12-03 20:31:42
问题 Is there any persistent storage for mobile application of J2me, like SQLite? If there is then please share the link or some example code of interacting a simple J2ME application with back end persistent database. 回答1: Yes, there is persistent storage for J2ME - called RMS (part of MIDP 2.0) - look here for short tutorial. RMS doesn't related to SQL, it's just for persistency. if you're looking for SQL alike storage - read this discussion. Hope it would be helpfull. 回答2: Perst Lite is McObject

sms receive on Port 0 of mobile

橙三吉。 提交于 2019-12-03 20:18:21
I am configuring my J2ME app to get an event from the push registry on receipt of an SMS. Would I be able to access the SMS message, before it reaches the inbox? I have read that messages sent to port0 of the mobile go directly to native inbox and we can't access it. Is there any way of diverting or even sniffing these messages so as to perform an operation on them from within the J2ME app. According to this discussion, it is not possible to receive a SMS on port 0 using a MIDlet before it enters the inbox. And while I am not familiar with the Wireless Messaging API, various other posts seems

Turn on Flash as Light on Blackberry

試著忘記壹切 提交于 2019-12-03 15:50:52
I am new to BlackBerry application development and trying to make a simple application to turn my flash light on as a torch. I know there are several applications that do this already, but I would like to try do it on my own. I have installed eclipse and all the necesary add on to get my development environment running. I have also successfully create the stock standard hello world application. I am however struggling to find out how to do this. I have been reading through the API documentation and started playing with FlashControl , VideoControl and SnapshotControl . These however don't seem

What is a good toolkit for developing Blackberry applications?

孤人 提交于 2019-12-03 15:50:27
Looking for a toolkit/SDK for general Blackberry development or application toolkits. Anything like an MVC framework? My understanding is that blackberry's OS is Java ME - based, and that there's a decent development kit for them. I presume you have already looked over everything here ... you can find a lot of information, including the development kit download link. Regarding model-view-controller, there's no particular framework to my knowledge, but I don't see why you wouldn't be able to take MVC as an approach in the paradigmatic sense. Google has resources out there on java developers

Best Portal to buy and sell J2ME apps [closed]

寵の児 提交于 2019-12-03 13:29:15
There are so many app stores for any kind of platform out there, but when I try to find a good store to buy and sell j2me apps, I find some, but no really big one or defacto standard like I was used to have for the palm os (sites like palmgear sell nearly every program ever made for the palm and not only a subset). Is there a store which I havn't found yet? Or is the j2me market dead? There is no standard app store for j2me apps, and nither didexist for any other platform until Apple had invented the iPhone one. Since the Apple app sotre, almost all vendors created one, such as OVI for Nokia,

How to make a J2ME application run in Background?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-03 13:00:05
问题 I have a written a J2ME application which uses Bluetooth and search a file within the peer mobile and download it. I would like to make my application run in background , whenever I get a call , or message and later resume after few seconds , Has anybody worked on this please share your experience . Is there any way to run a Midlet in background ? 回答1: to set a j2me app to the background use the following in your midlet class: Display.getDisplay (this).setCurrent (null); to get the screen

How to deal with multiple threads in one class?

…衆ロ難τιáo~ 提交于 2019-12-03 12:32:33
问题 Threads are often designed in two ways (see java tutorials): either by extending the Thread class or by implementing the Runnable class. Either way, you need to specify what will run inside the thread. I designed a class, an adapter towards an online resource, that retrieves different kinds of information. This class consists of methods like getInformationOfTypeA() and getInformationOfTypeB(). Both contain code to connect to online resources, so both need to be threaded to avoid deadlocks.

Which phones support which J2ME (Java Micro Edition) spec?

白昼怎懂夜的黑 提交于 2019-12-03 12:04:31
I just can't find an up-to-date chart about which mobile devices support which Java Micro Edition version. I'm especially interested in Nokia smartphones and their support for the new JME 3.0 . (I wonder that Sun doesn't seems to provide such information.) Please, provide me some links, if you know any! EDIT: I'm probably mixing things up: MIDP seems to be the mobile Java platform , while J2ME 3.0 is a SDK for it, right? Nokia device specs, including supported JSRs: http://www.forum.nokia.com/devices/ michael aubert You can also have a look at benchmark results as they sometime give a good