Regarding JPEG image

Put your problem here if it does not fit any of the other categories.

Regarding JPEG image

Postby saty_32016 » Wed Mar 12, 2008 1:04 pm

Hi ,

I have one query if i want to display a JPEG image and edit image and save it. is it possible
on android? my question is JPEG is supported by android and if yes,please let me know class.
saty_32016
Developer
Developer
 
Posts: 27
Joined: Mon Mar 10, 2008 4:47 am

Top

Postby plusminus » Wed Mar 12, 2008 6:16 pm

Hello saty,

there is no special class for JPEG. Just place your files to "/res/drawable/" and load them using :darrow:. (Code is from my memory,so it is very probably not correct ;) )
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. this.getResources().getDrawable(...); // or similar
Parsed in 0.030 seconds, using GeSHi 1.0.8.4


Regards,
plusminus
Image
Image | Android Development Community / Tutorials
User avatar
plusminus
Site Admin
Site Admin
 
Posts: 2688
Joined: Wed Nov 14, 2007 8:37 pm
Location: Schriesheim, Germany

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 16 guests