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...
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)) { ...
...
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 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.
...
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
...
Hi
is it possible to run java SE or Java ME app on android ???
...
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?
...
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...
Hi...
can somebody help me?? how to make transparent text in j2me....
thanks before...
...
Hi frnds,
I wann to know what is the difference between high & low level graphics
And what is the use of both ....
Thanks,
Neel
...
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.
...
hi ...
anybody know, how to make transparent image with full opaque image background??
help me please...
...
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
...
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...
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...
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...
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...
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...
Maybe somebody have work experience with HTTPConnection on JVM JBLendia ?
...
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...