×

Discussion Board

Search:

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

Page 1 of 12 1 2 3 4

Search: Search took 0.03 seconds.

  1. Replies
    3
    Views
    7,091

    Re: Moving Focus from one image to other image.

    I guess the click on the focused image would be equal to Canvas.FIRE key code, and it should be processed in the same manner as Canvas.LEFT, RIGHT, etc.
  2. Thread: File Uploading

    by axs
    Replies
    1
    Views
    4,676

    Re: File Uploading

    IMHO the image accessing on mobile phone (as well as any file access) requires the standard application permissions in the JAD file.
    Take a look at this guide:...
  3. Replies
    4
    Views
    8,887

    Re: Getting Current RecordId from RecordStore

    According to the RecordEnumeration API: http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/rms/RecordEnumeration.html#nextRecordId()

    If you'll get the InvalidRecrodIdException...
  4. Replies
    3
    Views
    11,779

    Re: Problem with Java Client Socket with C# Server

    The connection.openOutputStream() method returns an OutputStream object:

    OutputStream output = connection.openOutputStream();

    Once you've got the output, you call it's write() and flush()...
  5. Replies
    3
    Views
    7,091

    Re: Moving Focus from one image to other image.

    The Canvas has methods called keyPressed(int keyCode), keyReleased(int keyCode) and keyRepeated(int keyCode).

    You can get the "direction" of keyCode by the method called getGameAction(int...
  6. Replies
    1
    Views
    5,333

    Re: send Form with POST on HTTPConnection

    You probably should take a look at this document: http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/io/HttpConnection.html

    More specifically, at the "Example using POST with...
  7. Replies
    4
    Views
    8,887

    Re: Getting Current RecordId from RecordStore

    If both the filter and comparator are null, the enumeration will traverse all records in the record store in an undefined order. IMHO if the structures inside RMS stay the same, it would be a much...
  8. Replies
    2
    Views
    6,362

    Re: Problems with HTTP Connection on Nokia E70

    There could be three issues: application permissions on real phone; the communication code without a thread; the connection constructor.

    If an application is allowed to access and use networks,...
  9. Replies
    3
    Views
    11,779

    Re: Problem with Java Client Socket with C# Server

    Just IMHO.

    In your code you're using the StreamConnection, while you should use the SocketConnection. You also probably shouldn't call the close() method of the output and input streams, but the...
  10. Replies
    1
    Views
    6,143

    Re: to know change of picture ?[please help]

    I guess you cannot know it anyhow. The Java is providing you with the image bytes captured only. The topic you mentioned is in the image-analyzing field.
  11. Replies
    1
    Views
    5,632

    Re: Convert JPG to PNG on mobile phone

    Check this link: http://schmidt.devlib.org/java/pixel-image-io-libraries.html
  12. Replies
    1
    Views
    6,415

    Re: RecordStore.getSize()

    It could be a very ugly solution, but would it help you?



    // return a RecordStore instance from the method
    RecordStore deleteOldest(RecordStore rs) {
    ...
    rs.deleteRecord(...);
    ...
  13. Thread: Cut an image

    by axs
    Replies
    6
    Views
    6,945

    Re: Cut an image

    Just my 2 cents in what prakash.raman wrote. Try the next code:

    Image smaller_image = Image.createImage(big_image, 0, 85, big_image.getWidth(), big_image.getHeight() - 85, Sprite.TRANS_NONE);
    ...
  14. Replies
    2
    Views
    2,779

    Re: Creating a wapdownloadlink

    The JAD and JAR files are recognized by the most of mobiele phones, so there are no exceptions in storing them on the server and providing links to them on a WAP or XHTML pages. The only thing to...
  15. Replies
    3
    Views
    3,092

    Re: ServerSocket implementation

    You probably should take a look at the standard ServerSocketConnection in MIDP 2.0: http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/io/ServerSocketConnection.html
  16. Thread: Cut an image

    by axs
    Replies
    6
    Views
    6,945

    Re: Cut an image

    Yes, you can "cut" the big image and create a smaller one. The standard MIDP 2.0 Image object (http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/lcdui/Image.html) has a method...
  17. Replies
    2
    Views
    6,825

    Re: Image resolution limit ?

    Would you describe more preciselly how you're creating that PNG image?
  18. Replies
    1
    Views
    4,231

    Re: from mobile to PC Via Cable

    Take a look at this document, Using Cable Connection In Nokia Devices (With Example):...
  19. Re: Uncaught exception java/lang/OutOfMemoryError:Midlet: Maximum byte code leng

    Check the maximal RMS size that a mobile java supports on your phone. In many cases it's from dosens of kilobytes up to a few megabytes.

    Or could it be so that you are storing all the items in the...
  20. Replies
    1
    Views
    6,630

    Re: Does J2ME support PUT/DELETE HTTP methods?

    By default implementation the supported methods are GET, HEAD and POST: http://java.sun.com/javame/reference/apis/jsr118/javax/microedition/io/HttpConnection.html#setRequestMethod(java.lang.String)....
  21. Replies
    4
    Views
    5,752

    Re: mutable Image vs immutable image

    The full specification for the getRGB() method is Image.getRGB(int[] rgbData, int offset, int scanlength, int x, int y, int width, int height), which actually lets you to extract a portion of an...
  22. Replies
    8
    Views
    5,795

    Re: unable to install java programs on 6600

    First of all, check the JAR size you're installing. Some phones are not allowing JARs more than 64 or 128 kB is size. Check the JAD file for permissions your applicaiton requires (if it does so), and...
  23. Thread: image resize

    by axs
    Replies
    13
    Views
    8,343

    Re: image resize

    In Java you can convert an integer into the 4 bytes by the following code:



    int data_length = 4;
    byte[] data = new byte[data_length];
    int i;

    private byte[] convert(int number) {
  24. Thread: Video

    by axs
    Replies
    1
    Views
    4,378

    Re: Video

    Is such limitation the same for another kinds of content? I mean can you for example download a JPEG image which is more than 850kB in size?
  25. Replies
    8
    Views
    5,795

    Re: unable to install java programs on 6600

    Would it be that your application uses some features unsupported by Nokia 6600? Is it running on emulator?
Results 1 to 25 of 300
Page 1 of 12 1 2 3 4
×