This how I split:-
Vector nodes = new Vector();
int index = original.indexOf(separator);
while(index>=0)
{
nodes.addElement( original.substring(0, index) );...
Type: Posts; User: madsum; Keyword(s):
This how I split:-
Vector nodes = new Vector();
int index = original.indexOf(separator);
while(index>=0)
{
nodes.addElement( original.substring(0, index) );...
Hello,
I have a string which has numbers. I have to parse this string and store those numbers in int, float, etc. Accordingly
String str = "100,2.0,-100,19.99,0";
I can do it by...
Hi,
Instead of calling mainform.deleteAll() is there a way to remove only gauge. I'm adding some other info in the form as well.
Here is XML date coming from serer by Bluetooth:-
XML:-
<?xml version="1.0"?>
<data>
<winddirection>173</winddirection>
<windspeed>3.2</windspeed>
<temperature>-6.7</temperature>...
My parser works but some times I get exception like java.util.NoSuchElementEcception. There is now way like my server is sending wrong data. I can check server log and its correct every time.
As...
hi,
I'm adding it by:-
mainForm.append (new Gauge ("searching", false, Gauge.INDEFINITE, Gauge.CONTINUOUS_RUNNING));
When I tried to remove Gauge by:-
mainForm.deleteAll();
It doesn't...
Thanks Tiviinik! It has exactly right information.
Hello,
I have a large image. This image has some text for user. So I must not resize the image to fit in the smaller screen. Image is much larger than device screen size. My intention is to draw...
I tried these option it it didn't work. But I found some other way which is working with some extra problem.
private Image resizeImage(Image src) {
int srcWidth = src.getWidth();
...
There is not spelling mistake and img files r in \res. I tried Nokia SDK 1.0 java and java micro edition SDK 3 with netbeans 7.0.1. Tested device 5230 and e71.
For:-
catch (Exception e)
{...
Hi,
I'm trying to make a image as follows:-
try
{
strom = Image.createImage("stromB.png"); // size 48X48
map0 = Image.createImage("map0.png"); //...
Hi,
I connect the phone using pc suit and copy the .jar in e:\. By using device file manager I install the app. During installation process at end it ask me to launch the app. If I stat app on...
Hi,
I have a midlet which works fine with e71 and other s40 devices. But with nokia 5230 when I install the app during end of installation it prompt me to launch the midlet. If I want to launch it...
Hi,
Nokia-MIDlet-On-Screen-Keypad: no
I assume this Nokia specific attribute won't work for other vendor. Are there similar jad attribute for other vendor?
well it happens many times in various situation. All it made me hate more and more over times.
That's the reason I hate Symbian. It's really good Symbian crap dead.
I'm using jsr-172 for xml parser. I don't know whether I'm using "xml.jaxp.subset.version" or "xml.rpc.subset.version". Can't say exact line where is exception. I can't debug Because I'm using...
Hi,
I tested my midlet with nokia 5230 it works fine. But at e71 it throw exception java.util.NoSuchelementException. Why is it so? What is the solution? I'm concerned what will happen with other...
Thanks! I don't handle any touch event.
But the problem is every time I build the app by netbeans ide my manual addition to jad "Nokia-MIDlet-On-Screen-Keypad: no". How to add this value...
Hi,
Nokia 5230 is my first touch screen mobile device. I'm testing a midlet in nokia 5230 which uses canvas and graphics api. As soon as midlet starts a circle with arrow and A B C D comes one...
Thanks a lot Tiviinik! I was almost hopeless. Now it looks like I can do it.
I would really like to use LCDUI primitives, but there is no way to make line thick. How to make it thicker? That was my inertial question or this thread.
Thanks for the suggestion. I cannot think of a logic to make my draw line wide like 2-3 pix in each dot.
Here is the link for the attachment again:...
I know there is a nice class Graphics with basic api like drawLine, drawRect. But I need more control to set pixel size, wide, thick, thin, lines in my shape. My intention to draw a dynamic shape...
Well I don't need it for CDC. I just tried to check whether it compiles for CDC. So I don't want invest more time for it. I would like to listen more about CLDC only.