java-me

BlackBerry drawTexturedPath Rotate Move Anchor to Center of Image

I know how to rotate a BlackBerry Bitmap image an arbitrary angle with drawTexturePath. But, The Rotation Anchor is at the top-top left of the image. How do I move the Anchor to the center of the image? This code uses Graphics.drawTexturedPath to rotate around top-left corner: int[] x = new int[] {0, width, width, 0}; int[] y = new i...

How to GET (not set) the focus in a J2ME Form?

This helps you to bring focus to a specific textfield: yourMidlet.getDisplay().setCurrentItem(tField); But what method can be used to findout if the focus is on a specific textfield? I excpect something like if(yourMidlet.getDisplay().getCurrentItem().equals(tField)) { ... ...

Upload a file Via FTP Using Java ME

How can I modify the following java code so that it works on J2RE(Java ME) as there is no java.io.files class in Java ME :( public static void main(String[] args) { // TODO code application logic here try { FTPClient client = new FTPClient(); client.connect("serveraddy"); client.login("user", "pass")...

How to calculate logarithm in Java ME?

How can I calculate logarithm in Java ME? There isn't any method in Java ME's Math class for it, but it is available in the Java SE's Math class. ...

Java ME SDK 3.0 heap size

Hi, is there a way to set the heap size with a command line parameter in the Java ME SDK v3 version? The former version supported the -Xheapsize parameter. Thanks ...

run j2me app on android ???

Hi is it possible to run java SE or Java ME app on android ??? ...

Is my app running on the Blackberry Simulator?

I am testing a blackberry app that sends SMS messages. I would like to use the simulator for testing, but since SMS doesn't work on the simulator I would like to have an alternate code path to handle the interaction. What is the right way to detect that the app is being run under a simulator, instead of an actual device? ...

Java MIDlet and Servlet

Hi I am currently developing a MIDlet that plays Black Jack with a server. The MIDlet itself only sends out the following string signals:"wage amount","deal","hit",and "stand" to the dealer which is the server. Then the server deals with all the game logic and betting system. When the MIDlet receives response from the server, it will di...

how to make transparent text in j2me

Hi... can somebody help me?? how to make transparent text in j2me.... thanks before... ...

High & Low Level graphics in J2ME

Hi frnds, I wann to know what is the difference between high & low level graphics And what is the use of both .... Thanks, Neel ...

J2ME signing problems

Hello, I have J2ME application. I singed this application but when i insatall it into phone (nokia s60 3rd) it ask me every time for every permission in jad file. Can i setup application that it ask me only once? Thanks. ...

how to make transparent image in j2me

hi ... anybody know, how to make transparent image with full opaque image background?? help me please... ...

use Layout in j2me application

hi frnds i'm going to develop j2me application I want to use layout in j2me ... so plz tell me which type of layout supported to j2me & how to use Thanks in advance Neel ...

J2ME app closes socket: Server doesn't get all data

Hi Folks! I have a problem with an J2ME client app, that sends data to an J2SE server, and immediately closes the sending socket. On the J2ME side, i use a ordinary OutputStream on a SocketConnection, and repeatedly call write with small packets of data (~30 bytes). Afterwards, I flush and finally close the stream and the connection. W...

start and stop thread control through button

Possible Duplicate: controll thread through button i am make a application that require the GPS location and some other resources. i get the GPS location accurately but the problem is we use the three buttons that is (start, stop and pause) and i want to work the threads like these buttons if i press the start button thread st...

Building a workspace (J2ME) on Eclipse 3.6.0

Hi all, I am beginning work on development/maintenance of a J2ME MIDlet application that uses the Nokia N97 SDK. As a first step (I have never developed J2ME/Java applications before), I completed the following steps on Eclipse 3.6.0 Helios: Imported the project using the following step: File -> Import -> Existing Projects into Worksp...

How to send Cell Broadcast message in Java ME development environment?

Hello everybody, I have been trying to develop a Java ME application using WTK 2.5.2 (Java Wireless Toolkit) and Nokia SDK 3. The application would broadcast a CBS (Cell Broadcast Service) message using the WMA (Wireless Messaging API). Documentations says that the CBS messages are read-only, thus it can not been sent. When I tried to s...

How to jump mesh object in 3d game in j2me

Hi, I have one ball(Mesh) on path(Mesh), I need to jump that ball on the gap between path. I am moving ball at speed now how will i jump it on button press on device. I have seen some physics engine, video and "com.hardwire.dymix" API, but I have not cleared it properly. Can any body please help for jump my ball object on path. Thank...

JBlendia JVM and coonectivity problems

Maybe somebody have work experience with HTTPConnection on JVM JBLendia ? ...

Undefined Methods - J2ME + Nokia S60 Edition 5

Hi, I am trying to maintain/develop a J2ME application on Eclipse that uses the Nokia N97 S60 SDk, edition 5. When I try to build the project (after importing it into the workspace), I get the following error: The method getRGB(int[], int, int, int, int, int, int) is undefined for the type Image. Resource: SVGImplementation.java The...