> Sunny greetings from Lucerne,
> Stephan
Nice city, was just there last month.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send e
Thanks, got it :-)
Sunny greetings from Lucerne,
Stephan
On Mar 4, 11:27 pm, Streets Of Boston wrote:
> BTW: There is a BitmapFactory.decodeFile(String pathName) as well... you
> could skip the second and third step from my post above :-)
--
You received this message because you are subscribed
Or you could set the image as a URI (using URI.fromFile) and skip
BitmapFactory decoding altogether (doesn't work for images in home screen
widgets if the file is private, though).
05.03.2011 1:28 пользователь "Streets Of Boston"
написал:
> BTW: There is a BitmapFactory.decodeFile(String pathName)
BTW: There is a BitmapFactory.decodeFile(String pathName) as well... you
could skip the second and third step from my post above :-)
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@go
- Get the full path to your image file on your SD-card:
Environment.getExternalStorageDirectory()+directory+filename
- Create a file from the above path.
- Create a FileInputStream from the above path.
- Use the above file input stream in the
BitmapFactory.decodeStream(InputStream is) method. Thi
On Mar 3, 10:24 am, Stephan Wiesner
wrote:
> Thanks for your reply.
> Thats exactly what I need, though: The path to the internal storage. I
> download the files and can access them using File() of course, but how
> do I access them from BitmapFactory?. Probably obvious, if you know
> it, but I do
Thanks for your reply.
Thats exactly what I need, though: The path to the internal storage. I
download the files and can access them using File() of course, but how
do I access them from BitmapFactory?. Probably obvious, if you know
it, but I don't get it :-(
Stephan
On Mar 3, 10:45 am, Doug wro
Use BitmapFactory and feed it the path of the file you saved, wherever
you saved it.
On Mar 2, 2:15 am, Stephan Wiesner wrote:
> Hi,
> my app displays some pictures I want to replace at certain intervals by
> downloading them from a webpage.
> I can set the image from my drawable folder, assets f
8 matches
Mail list logo