Hi all,

I wrote small app for blogging on Blogger from Android called
Bloggeroid.
App works perfect on my G1, and on other phones, but from this what I
know it have some big problems on HTC Evo.

It seems that problem is connected with images/pictures.

App works in this way that it got image URI by
android.intent.action.SEND (so sharing of images from Galler/Camera)
and by intent Intent.ACTION_GET_CONTENT with mimeType set to image/
jpeg and category Intent.CATEGORY_OPENABLE.
Those URIs are stored by app in memory, and when user decide to
publish blog post my service tries to get stream from URI using code
like this:
InputStream is =
getContentResolver().openInputStream(Uri.parse(uriStr));

And somewhere something goes wrong. My first idea is that maybe on Evo
URIs passed for images are temporary?
Second is that maybe on Evo intent.getType() returns empty string or
null?
Third is that mimeType is different than image/jpeg.

Any suggestions which option may be a source of problem? ;-)

If you want to check app search for Bloggeroid on Android Market or
use QRCode from here 
http://www.androidpit.com/en/android/market/apps/app/pl.przemelek.android.blogger/Bloggeroid.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to