×

Discussion Board

Search:

Type: Posts; User: madsum; Keyword(s):

Page 1 of 11 1 2 3 4

Search: Search took 0.03 seconds.

  1. Re: how to pares string containing negative umber (Java basic question!!!)?

    This how I split:-


    Vector nodes = new Vector();
    int index = original.indexOf(separator);
    while(index>=0)
    {
    nodes.addElement( original.substring(0, index) );...
  2. how to pares string containing negative umber (Java basic question!!!)?

    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...
  3. Replies
    3
    Views
    710

    Re: how to remove Gauge from From?

    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.
  4. Re: Why Irregular XML parsing exception for nokia 5230?

    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>...
  5. Why Irregular XML parsing exception for nokia 5230?

    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...
  6. Replies
    3
    Views
    710

    how to remove Gauge from From?

    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...
  7. Re: How to draw large image in canvas and move upon key event

    Thanks Tiviinik! It has exactly right information.
  8. How to draw large image in canvas and move upon key event

    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...
  9. Replies
    6
    Views
    1,003

    Re: image creation fails

    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();
    ...
  10. Replies
    6
    Views
    1,003

    Re: image creation fails

    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)
    {...
  11. Replies
    6
    Views
    1,003

    image creation fails

    Hi,

    I'm trying to make a image as follows:-

    try
    {
    strom = Image.createImage("stromB.png"); // size 48X48
    map0 = Image.createImage("map0.png"); //...
  12. Replies
    2
    Views
    904

    Re: nokia 5230 problem to launch midlet.

    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...
  13. Replies
    2
    Views
    904

    nokia 5230 problem to launch midlet.

    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...
  14. Replies
    5
    Views
    1,797

    Re: nokia 5230 and graphics midlet screen problem

    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?
  15. Replies
    7
    Views
    1,108

    Re: xml parsing exception in e71

    well it happens many times in various situation. All it made me hate more and more over times.
  16. Replies
    7
    Views
    1,108

    Re: xml parsing exception in e71

    That's the reason I hate Symbian. It's really good Symbian crap dead.
  17. Replies
    7
    Views
    1,108

    Re: xml parsing exception in e71

    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...
  18. Replies
    7
    Views
    1,108

    xml parsing exception in e71

    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...
  19. Replies
    5
    Views
    1,797

    Re: nokia 5230 and graphics midlet screen problem

    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...
  20. Replies
    5
    Views
    1,797

    nokia 5230 and graphics midlet screen problem

    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...
  21. Re: how to draw several shape (circle, line, rec, etc.) with more control?

    Thanks a lot Tiviinik! I was almost hopeless. Now it looks like I can do it.
  22. Re: how to draw several shape (circle, line, rec, etc.) with more control?

    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.
  23. Re: how to draw several shape (circle, line, rec, etc.) with more control?

    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:...
  24. how to draw several shape (circle, line, rec, etc.) with more control?

    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...
  25. Re: compilation problem in example midlet from Java ME 3.0

    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.
Results 1 to 25 of 257
Page 1 of 11 1 2 3 4
×