×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2009
    Posts
    43

    How to read the data...??

    Hi,
    i am viany..sir i am able to capture N number of images from mobile camera through my application and storing it in byte...as

    byte[] photo = videoControl.getSnapshot(null);

    now i want the above stored data i.e images in byte array for processing...not all images at a time but 1 image at a time....

    Is there any code for reading the byte array for operations...
    Last edited by srinivasreddy501; 2010-01-13 at 10:57.

  2. #2
    Super Contributor
    Join Date
    Oct 2008
    Location
    INDIA
    Posts
    2,326

    Re: How to read the data...??

    The below code line will solve your problem :

    Code:
    javax.microedition.lcdui.Image.createImage(new ByteArrayInputStream(byte[]))

    Also see this discussion : convert image into array byte

    Best regards,

Similar Threads

  1. Nokia N95 - annoying 'read user data' prompts
    By benuk in forum Mobile Java Networking & Messaging & Security
    Replies: 14
    Last Post: 2010-11-05, 10:57
  2. how to read data in a device having memory of 2MB
    By arungupta_2jan in forum Mobile Java General
    Replies: 2
    Last Post: 2009-05-18, 13:41
  3. How to read the data line by line?
    By Sneha1 in forum Open C/C++
    Replies: 3
    Last Post: 2007-12-10, 10:37
  4. Read() not able to get data and RecvOneOrMore() some time gets some time not!!
    By jyotideep in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2007-11-06, 09:52
  5. Replies: 1
    Last Post: 2006-01-02, 16:58

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •