java-me

Howto Base64 decode (library) in J2ME?

There are lots of Base64 libraries for Java SE but I can't seem to find one for J2ME. Does any one have a algorithm or library in their coding toolkit? I receive following from a REST webservice (cut for clearity) : [137,80,78,71,13,10,26,10,0,0,0,13,73,72,68,82,0,0,1,64,0,0,0,46] How do I decode the string above? Thanks! ...

getting error when trying to retrieve MD5 hash of bluetooth address in j2me

package md5; import java.io.UnsupportedEncodingException; import java.security.; import javax.bluetooth.BluetoothStateException; import javax.bluetooth.LocalDevice; import javax.microedition.lcdui.; import javax.microedition.midlet.; import java.math.; public class BluetoothMD5Hash extends MIDlet{ private Form form; private Display...

XML Returned Content is not allowed in prolog - Google Calendar

Hello, I have problems to submit a batch request with multiple operation in google calendar, Steps to reproduce issue: XML to send: Delete Event nome evento 2 http://www.google.com/calendar/feeds/default/events/1uh65miv6ovviv7ttl0r8v6l58 Insert EventEvento da aplicacao Evento da aplicacao teste Desc Then I s...

how to change game into pause mode when message received(j2me game)

Hi... I am developing a mobile game in j2me and i am using mobile nokia 6300. In game canvas i used hideNotify() to change game into pause mode when external and internal events occurs. But when sms received ,its doesn't change to pause mode and game will continue. Any idea to handle message event in j2me. ...

About the physics engine

is there any physics engine available for j2me as it is for symbian,iphone etc please send me the link or another source from where i can get the same reply asap. Thanks in advance everyone ...

touch support on high level

Hi , is it possible active touch support on high level item`s(form , list , ... ) ? thanks ...

can anyone tell me the equivalent class of j2se for blackberry?

I want to know which types in blackberry that i can use instead of these j2se types: Iterator Collections StringTokenizer HashMap ArrayList Map ...

954 Loader Error for Java Midlet download

Hi there, We are using IIS6 to serve mobile games (J2ME Midlet), we have set the MIME type for both the .jad and jar files on the server. However, there are quite a few 954 Loader error responses, from Google results I discovered such 954 error is due to the OMA download descriptor (as this error code does not belongs to the J2ME Midle...

Tips or Guidelines on Designing and Building J2ME Applications

Are there guidelines or tips on designing and building J2ME applications? ...

angle in iphone sdk?

hi, how to calculate angle between two points in iphone sdk...? ...

J2me animating image

hi all, for my project i need to add animating image in to Form (not for Canvas). because of j2me not supporting GIF animation is their is any other alternative. ...

how i can make a list on canvas?

how i can make a list on canvas in an application having more then 5 to 10 pages ? and i have different no of option(list items ) on each page and i want to print the list on different SCREEN SIZES with the condition that the list print with having the same(equal) height above the top option and below the lowest option. Thanks in advanc...

Alternative IO Library for J2ME?

I am trying to develop a chat client for J2ME platform. I open socket connection with: javax.microedition.io.Connector.open() The application works fine on several new phones with J2ME support, but hangs on the above line of code in some of the older J2ME phones. I read on a blog that there is an alternative IO library for J2ME, but I...

Implementing a Trie in a non-OO way

Any idea how could I implement a Trie in a non-OO way, i.e. only using arrays? The idea is that it would store some good amount of elements, and the OO approach would be too heavy for my case as it is to be used in a J2ME app, where memory is a concern. Thanks! ...

J2ME multiple form/screen pattern

I can't seem to find any examples on the web on J2ME apps with multiple "forms" or screens. What is the best pattern to handle multiple screens in a MIDlet and keep the memory consumption low? Here's a sample display structure (any can be a form or plain canvas with custom items), Main Menu - Sync - Settings - Item ...

what is parsing ?And how we can implement it in j2me?

what is parsing ?And how we can implement it in j2me? ...

How i can seperate data got from server that either it is text or image ?i want to implement it in j2me.

How i can seperate data got from server that either it is text or image ?i want to implement it in j2me. ...

J2ME, how to encode and decode Json?

how to encode and decode Json in J2ME? ...

Difference between skipBytes and skip of DataInputStream?

Hi! I wonder now, what is the difference between the two methods: DataInputStream.skipBytes and DataInputStream.skip. I am aware of the fact that skip must come from InputStream and skipBytes from DataInput, but still, is there any difference. You know, when using streams in J2ME, things get pretty tricky so I need to know! Would the ...

Threading problems in Java

I have the following problem. My J2ME app goes totally dead. I though it was a deadlock, but using NetBeans' built-in functionality, it couldn't find such. After some time however, it started throwing out the following messages in the console: 8242276 - CORE - CRITICAL - 2 - **event queue 3 full, dropping event 8242284 - CORE - CRITICA...