Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java Micro Edition
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Java Micro Edition
Converting image to byte array in j2me
Ullas Vadakke
Greenhorn
Posts: 1
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi friends
I am doing a project which requires to convert my images in png format to byte array and then pass it to the server in
java
. Could any anyone help me???
Are there any classes which helps to do this??
Thanking all in advance
Ullas
satyam gupt
Greenhorn
Posts: 8
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
put image in resource folder and use input streamreader to get byte array
Punit Raizada
Ranch Hand
Posts: 156
posted 18 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If you have MIDP 2.0 devices then you could you Image objects getPixels() method to get the pixel data. The server would then add the header info etc.
SCJP 1.4
Everything that can go wrong will go wrong
-Murphy
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Arrays
byte array of byte arrays.
Convert audio file into bytes
servlet applet commnication
byte array to inputstream
More...