Need help?

I'm available for remote short term contracting or consultancy work. Please check out my LinkedIn profile for more details on my experience.

Please feel free to use the form below to contact me.




Capturing, Saving, and Displaying an Image in Android (1.5, 1.6, 2.0, 2.1, 2.2, Sense UI - Hero)

The process for capturing, saving and displaying an image in Android can be quite annoying, especially if you want it to work across all devices.

With the release of the Sense UI (an HTC creation), it's made things 1 step more difficult. So, the reason I'm writing this article is because I've been stuck on this same issue for quite awhile, and there isn't enough information out there to let us know why it simply won't work.

Simply put, the Sense UI handles things differently when it comes to saving a new image after an intent was called (ie. new Intent(MediaStore.ACTION_IMAGE_CAPTURE)). In this article I'll show you how I overcame this problem and walk you through my code.

Below are a few snipplets of code that I'll explain.


Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE);
file = new File(Environment.getExternalStorageDirectory(), ReceiptData.PICTURE_PATH + String.valueOf(System.currentTimeMillis()) + ".jpg");

outputFileUri = Uri.fromFile(file);
intent.putExtra(MediaStore.EXTRA_OUTPUT, outputFileUri);

startActivityForResult(intent, 1);

Here we're creating the intent, which will open up the camera window, which in turn allows you to take a picture.

We also set a new file, where the newly taken picture will be saved.

The next step is to create a Uri object that points to the newly created file (which we'll use in the next step).

One of the more important steps is the intent.putExtra method, which will allow us to specify where we want the image to be saved - if you don't include this, it'll just return a thumbnail of the image, and store it in a temporary/default location. So, we just give it the Uri object, and it'll know where it needs to save.

And lastly, we start the camera activity and await a result (the image).


@Override
protected void onActivityResult(int requestCode, int resultCode, Intent data) {
  if (requestCode == 1) {
    switch( resultCode ) {
      case 0:
        break;

      case -1:
                  
        mIv.setImageBitmap(mi.setupImage(data));
        break;
    }
  }
}

In the next bit of code we're awaiting the result from the camera, and once we receive it, we are going to pass the data into a method called setupImage, which I'll be explaining next. This will be returning a bitmap object, which you then use in the ImageView.


public Bitmap setupImage(Intent data) {
  BitmapFactory.Options options = new BitmapFactory.Options();
  options.inSampleSize = SAMPLE_SIZE;     // SAMPLE_SIZE = 2

  Bitmap tempBitmap = null;
  Bitmap bm = null;
  try {
    tempBitmap = (Bitmap) data.getExtras().get("data");
    bm = tempBitmap;

    Log.v("ManageImage-hero", "the data.getData seems to be valid");
    
    FileOutputStream out = new FileOutputStream(outputFileUri.getPath());
    tempBitmap.compress(Bitmap.CompressFormat.JPEG, 100, out);
  } catch (NullPointerException ex) {
    Log.v("ManageImage-other", "another phone type");
    bm = otherImageProcessing(options);
  } catch(Exception e) {
    Log.e("ManageImage-setupImage", "problem setting up the image", e);
  }

  return bm;
}

This piece is the most important for distinguishing whether it's an Android device using the HTC Sense UI or something else. If it's using the Sense UI you'll be able to retrieve the picture by calling (Bitmap) data.getExtras().get("data"), or if it's another device, then data will be null and that will in-turn throw a NullPointerException (hence why we're catching it up top). So, if it's some other device, we catch the fact that it's null, and call a separate method for processing the image (otherImageProcessing(options), which I'll talk about after this.

The first thing we do here is we take what's in the data Intent and put it into a tempBitmap object, since it's a bitmap that is being returned (assuming this is a Sense UI device - ie. HTC Hero, Legend, etc..). We will then pass the tempBitmap into bm, which we will be using to return back to the ImageView, and the tempBitmap we'll be compressing as a JPEG and saving it to the correct location.

If you're confused about the location bit, let me explain. For the Sense UI devices, it doesn't save the image in the location that you tell it to when using the Intent.putExtra method - instead it saves it into a temporary location, which is why we need to use the Intent data object to retrieve it. This is why we need to save it to a different location, so that we may access it again at later dates whenever we need it.

And finally we return the Bitmap.


private Bitmap otherImageProcessing(BitmapFactory.Options options) {
  Bitmap bm = null;

  try {
    FileInputStream fis = new FileInputStream(outputFileUri.getPath());
    BufferedInputStream bis = new BufferedInputStream(fis);
    bm = BitmapFactory.decodeStream(bis, null, options);

    // cleaning up
    fis.close();
    bis.close();
  } catch(Exception e) {
    Log.e("ManageImage-otherImageProcessing", "Cannot load image", e);
  }

  return bm;
}

Here we process the image properly, based on the path we had originally selected for it to be saved to.

So we load the Bitmap and return it - not going to explain this further because it's pretty self explanatory.

The biggest issue here was understanding the difference between the Android HTC Sense UI and the regular UI - the Sense UI has it's own way of managing captured images, unfortunately, so we have to accommodate it.

This took me a really long time to figure out, mainly because I don't have a Sense UI device.

Anyways, I hope this article helps other people out there experiencing the same issues.


jon | May 15, 2010 | Comments (153)

Comments

https://www.youtube.com/watch?v=hGjFpISKVok
Comment by Νo matter which model or stylе of Sony hеadphones you want to buy, it goes without saying that - May 23, 2015 @ 3:34 am
http://palmeruhgqvnlcij.wikidot.com/
Comment by Visit inkdoodle.ca for 80% off Photo Canvases - May 15, 2015 @ 2:11 am
http://www.femmestyle.name/
Comment by Appreciate the recommendation. Let me try it out. - April 11, 2015 @ 6:26 pm
http://Www.femmestyle.name/
Comment by I do not even know how I stopped up right here, however I thought this submit used to be good. I d - March 31, 2015 @ 2:46 pm
http://Femmestyle.name/
Comment by Thank you for any other informative website. Where else could I get that type of info written in s - March 28, 2015 @ 7:41 pm
http://www.femmestyle.li
Comment by I used to be able to find good advice from your blog articles. - March 09, 2015 @ 9:15 pm
http://www.brustverkleinerung.me
Comment by This paragraph provides clear idea designed for the new users of blogging, that genuinely how to do - February 03, 2015 @ 1:49 pm
http://www.brustverkleinerung.me
Comment by Excellent post. Keep writing such kind of info on your blog. Im really impressed by your blog. H - January 31, 2015 @ 9:15 pm
http://plus.google.com/+ComputErNorthLasVegas
Comment by ңello, I enjoy reading all of your post. I like to write a litle commеnt to support you. - January 12, 2015 @ 6:14 pm
http://lisamcshane.blogspot.co.uk/2010/10/how-to-make-linen-panels.html
Comment by Thanks for sharing such a good idea, article is nice, thats why i have read it completely - January 05, 2015 @ 8:54 pm
http://archivesonabluff.blogspot.co.uk/2009/05/so-long-von-der-ahe-library.html?showComment=1408156204118
Comment by Thanks for the auspicious writeup. It actually was a amusement account it. Look advanced to more br - January 05, 2015 @ 11:34 am
http://www.wallart-direct.co.uk/forest-canvas-art-prints
Comment by I have learn some just right stuff here. Definitely value bookmarking for revisiting. I surprise ho - January 04, 2015 @ 9:44 pm
http://www.wallart-direct.co.uk/contemporary-contemporary-red-wallpaper-murals
Comment by Excellent blog! Do you have any tips for aspiring writers? I'm hoping to start my own blog soon but - January 04, 2015 @ 11:03 am
http://protrafficbooster.com/
Comment by I have learn a few good stuff here. Definitely price bookmarking for revisiting. I surprise how mu - December 29, 2014 @ 9:26 pm
https://www.5goal.com/สมัครsbobet.html
Comment by Hello mates, good post and fastidious urging commented at this place, I am genuinely enjoying by th - December 14, 2014 @ 4:21 am
https://www.5goal.com/สมัครแทงบอลออนไลน์.html
Comment by I really like your blog.. very nice colors & theme. Did you make this website yourself or did you hi - December 09, 2014 @ 6:08 am
http://bambuca.net
Comment by Hi my loved one! I want to say that this post is awesome, great written and come with almost all s - December 09, 2014 @ 4:06 am
https://www.5goal.com/สมัครsbobet.html
Comment by I don't even know how I ended up here, but I thought this post was great. I don't know who you are - December 08, 2014 @ 7:52 pm
https://www.youtube.com/watch?v=Ydbq_Vp_sXo
Comment by Keep on working, great job! - December 08, 2014 @ 4:47 am
https://www.5goal.com/สมัครsbobet.html
Comment by Hi there to every , as I am truly eager of reading this webpage's post to be updated daily. It cont - December 06, 2014 @ 3:11 am
http://moviestvchannel.com/
Comment by When some one searches for his required thing, thus he/she desires to be available that in detail, s - December 04, 2014 @ 2:32 pm
http://Flujodeobjetos.shoutwiki.com/wiki/Exceed_5_Melodic_Experiences
Comment by We are a group of volunteers and opening a new scheme in our community. Your website offered us wit - December 04, 2014 @ 2:01 pm
http://rancorsoft.com/tapesound/
Comment by With havin a great deal article content and stories do you evr run across any difficulties of plag - December 04, 2014 @ 9:05 am
http://www.newhampshirenewsonline.com/2320-permanent-legit-unlock-for-iphone-ios-811_nno.html
Comment by This is certainly cool to be independent of all companies and select the data plan according to yo - December 01, 2014 @ 8:27 pm
http://youtu.be/YOMl3AnDaUs
Comment by I could not resist commenting. Exceptionally well written! - December 01, 2014 @ 5:40 am
http://www.bbhandel.de
Comment by Goodd info. Lucky mme I recently found yopur bpog by accident (stumbleupon). I've book-marked itt - November 30, 2014 @ 3:16 pm
http://bambuca.net
Comment by Excellent blog here! Additionally your website a lot up fast! What web host are you using? Can I a - November 30, 2014 @ 8:12 am
http://www.ajvgrupa.lv/forum/get-best-resorts-ethiopia-beautiful-vacation
Comment by I am really glad to glance at this blog posts which consists of tons of helpful data, thanks for p - November 30, 2014 @ 3:06 am
http://goo.gl/YcskhF
Comment by You actually make it seem so easy along with your presentation however I to find this topic to be - November 29, 2014 @ 11:00 am
http://hostingrq.com
Comment by Good Article! - November 28, 2014 @ 4:15 am
https://www.5goal.com/สมัครsbobet.html
Comment by Nice post. I was checking continuously this blog and I am impressed! Extremely helpful info partic - November 21, 2014 @ 6:13 am
http://www.seo303.com
Comment by Thank you a bunch for sharing this with all people you really understand what you're speaking approx - November 20, 2014 @ 5:30 pm
http://www.wallart-direct.co.uk/wall-murals-decals
Comment by Hello, everything is going fine here and ofcourse every one is sharing facts, that's in fact excell - November 18, 2014 @ 9:55 pm
http://www.wallart-direct.co.uk/beach-wall-murals-decals
Comment by Thanks designed for sharing such a fastidious idea, paragraph is pleasant, thats why i have read i - November 18, 2014 @ 6:49 pm
http://www.shoesforbuy.com/Air-Jordan-10/
Comment by Incredible! This blog looks just like my old one! It's on a totally different subject but it has p - November 18, 2014 @ 11:31 am
http://www.rancorsoft.com/catalyzer_web.php
Comment by I habitually put in mmy thirty minutes to find out this online business's article content each day - November 18, 2014 @ 7:48 am
https://www.5goal.com/โต๊ะบอล.html
Comment by I do not even know how I ended up here, but I thought this post was good. I do not know who you are - November 17, 2014 @ 5:23 pm
https://www.5goal.com/สูตรแทงบอล.html
Comment by Hi, its pleasant post concerning media print, we all know media is a fantastic source of information - November 13, 2014 @ 6:21 am
http://www.protrafficbooster.com/
Comment by I loved as much as you'll receive carried out right here. The sketch is tasteful, your authored s - November 11, 2014 @ 6:39 am
http://www.ms-york.com/
Comment by Hi, I do think this is a great site. I stumbledupon it ;) I am going to return yet again since I b - November 11, 2014 @ 3:28 am
https://www.5goal.com/สูตรแทงบอล.html
Comment by If you are going for best contents like myself, only pay a quick visit this site daily for the rea - November 10, 2014 @ 8:58 am
http://www.psifi.net/top-rated-electric-shaver-for-black-men-2013-2014/
Comment by Hello there, I found your web site by way of Google at the same time as looking for a related matt - November 08, 2014 @ 5:59 am
https://www.5goal.com/สูตรแทงบอล.html
Comment by This website really has all of the information I needed concerning this subject and didn't know wh - November 06, 2014 @ 4:39 am
https://www.facebook.com/pages/Mu-online-Muเถื่อน-เปิดใหม่-มิวเถื่อน-ออนไลน์-บอทโปร-ระบบดี-สังคมดี/551476104956812
Comment by fantastic points altogether, you simply received a new reader. What would you suggest in regards to - November 06, 2014 @ 2:14 am
http://exmuslimblog.com/best-vacation-for-handicapped/
Comment by This is well performed analysis that can proceed for years that exhibits without question why trav - November 02, 2014 @ 8:13 pm
http://seducehim.hpage.com/
Comment by Hello, of course this article is in fact fastidious and I have learned lot of things from it about b - November 02, 2014 @ 5:12 pm
http://cupper-shop.ru/
Comment by Инновационное металлоплакирующее моторное масло: Обл - October 29, 2014 @ 3:37 pm
http://cupper-trade.ru/
Comment by Инновационное металлоплакирующее моторное масло: Обл - October 29, 2014 @ 9:20 am
http://www.canvasartprint.co.uk/category/7-panel-canvas-city-canvas-715.aspx
Comment by I all the time emailed this website post page to all my friends, since if like to read it next my - October 27, 2014 @ 1:14 pm
http://www.canvasprintsd2u.co.uk/Violet-Water-Gas-Ring-Abstract-Prints-Canvas
Comment by Currently it appears like Drupal is the best blogging platform out there right now. (from what I'v - October 23, 2014 @ 2:17 am
http://www.mohka.co.uk/category/icons-canvas-286.aspx
Comment by It's not my first time to go to see this site, i am visiting this website dailly and get nice data - October 23, 2014 @ 1:38 am
http://www.wallstickersd2u.co.uk/childrens-tweety-birds-lilac-canvas-prints
Comment by you're really a excellent webmaster. The website loading speed is amazing. It kind of feels that yo - October 22, 2014 @ 10:38 pm
http://M88Bet.weebly.com/
Comment by We are a group of volunteers and starting a new scheme in our community. Your site provided us w - October 21, 2014 @ 10:36 pm
http://neueseovancouver.ca/
Comment by If you've determined that hiring an SEO company is a fantastic way to see the traffic and results - October 11, 2014 @ 6:46 am
http://clashofclans.activecheat.com/
Comment by Hi there I am so grateful I found your webpage, I really found you by mistake, while I was researc - October 10, 2014 @ 10:02 pm
http://www.last.fm/user/tanlunatic303
Comment by Hi! This is my first comment here so I just wanted to give a quick shout out and tell you I truly - October 10, 2014 @ 11:40 am
http://www.developpementdurable.com/forum/profile.php?id=470928
Comment by Ruthie - October 10, 2014 @ 6:44 am
http://www.infraredlighttherapy.org/
Comment by Wow, this paragraph is pleasant, my younger sister is analyzing these things, thus I am going to t - October 10, 2014 @ 1:53 am
http://clashofclans.activecheat.com/
Comment by Hi, just wanted to mention, I enjoyed this blog post. It was helpful. Keep on posting! - October 08, 2014 @ 4:22 am
http://www.infusionart.co.uk/products/gin-and-tonic-lime-splash-kitchen-canvas-255979.aspx
Comment by Thanks for sharing such a fastidious thinking, article is pleasant, thats why i have read it fully - October 07, 2014 @ 6:22 am
http://www.wallart-direct.co.uk/kitchen-wall-stickers-decals
Comment by Hey would you mind letting me know which webhost you're working with? I've loaded your blog in 3 co - October 06, 2014 @ 7:58 pm
http://www.wallart-direct.co.uk/Lounge-Wall-Art-Wall-Decor?pagenumber=3
Comment by Thanks for another informative site. Where else could I am getting thatt kind of info written in s - October 06, 2014 @ 9:43 am
http://wermovers.org/Movers/CT.php
Comment by Derrick - October 05, 2014 @ 12:12 pm
http://doubleclick.web-bi.net/textcube/blog/56
Comment by It's actually a great and helpful piece of information. I'm glad that you simply shared this useful - October 03, 2014 @ 3:29 pm
http://dragoncity.activecheat.com/
Comment by Hi, I wish for to subscribe for this weblog to take latest updates, so where can i do it please as - October 02, 2014 @ 5:32 am
http://www.helpwyz.com/service/buy-soundcloud-plays/
Comment by I could not resist commenting. Well written! - September 30, 2014 @ 9:35 am
http://www.alqafilahstore.com
Comment by Hey there! I know this is somewhat off topic but I was wondering if you knew where I could get a c - September 29, 2014 @ 1:23 am
http://starwarscommander.activecheat.com/
Comment by Today, I went to the beachfront with my children. I found a sea shell and gave it to my 4 year old - September 27, 2014 @ 1:41 am
https://www.youtube.com/watch?v=fhKYOmN_Z-I
Comment by Thank you for the auspicious writeup. It in fact was a amusement account it. Look advanced to far - September 26, 2014 @ 10:02 am
http://www.jazz-standards.com/buy-instagram-followers/
Comment by Mollie - September 22, 2014 @ 8:38 pm
http://www.arenasportcad.com/social-networking-sites-and-buying
Comment by Leta - September 22, 2014 @ 3:59 pm
http://www.24onlineservice.com/buy-youtube-views/
Comment by Penelope - September 22, 2014 @ 8:38 am
http://www.wallart-direct.co.uk/architecture-london-wall-murals-decals
Comment by Bridget - September 21, 2014 @ 6:27 am
http://lisajobaker.com/surprised-by-motherhood-back-to-school-book-club-for-moms/
Comment by Guadalupe - September 20, 2014 @ 9:15 pm
http://www.boscaplanet.ch/index.php?option=com_akobook&
Comment by Kacey - September 20, 2014 @ 6:49 pm
http://www.wallart-direct.co.uk/wild-life-zebra-love-prints-posters
Comment by Ryan - September 20, 2014 @ 5:47 pm
http://www.wallart-direct.co.uk/banksy-wallpaper-murals
Comment by Thalia - September 20, 2014 @ 11:02 am
http://www.canvasartprint.co.uk/products/bugatti-veyron-cars-canvas-438566.aspx
Comment by Moses - September 20, 2014 @ 6:35 am
http://www.lain.nl/gastenboek
Comment by Juliet - September 20, 2014 @ 5:06 am
http://cgi.members.interq.or.jp/japan/mill/cgi-bin/g_book.cgi
Comment by Tod - September 19, 2014 @ 11:38 pm
http://www.wallart-direct.co.uk/art-murals-by-style-designer-wall-murals-decals
Comment by Sammie - September 19, 2014 @ 2:30 pm
http://www.wallart-direct.co.uk/wild-life-cat-prints-posters
Comment by Dolly - September 19, 2014 @ 9:13 am
http://www.canvasprintsd2u.co.uk/Oil-Bubbles-Contemporary-Framed-Prints
Comment by Amber - September 15, 2014 @ 3:58 am
http://www.mohka.co.uk/category/3-panel-canvas-293.aspx
Comment by Angelia - September 14, 2014 @ 7:52 pm
https://twitter.com/siampray
Comment by Gonzalo - September 14, 2014 @ 5:11 pm
http://www.facebook.com/pages/Register-Private-Domain/432822080189348
Comment by Hiram - September 14, 2014 @ 10:45 am
http://www.gct-bf2clan.net/index.php?mod=users&action=view&id=30656
Comment by Tonya - September 14, 2014 @ 4:53 am
http://www.canvasprintsd2u.co.uk/Classic-Art-Murals
Comment by Jesus - September 12, 2014 @ 10:51 pm
http://www.wallart-direct.co.uk/wild-life-horse-wall-stickers-decals
Comment by Anneliese - September 12, 2014 @ 7:45 am
http://www.wallart-direct.co.uk/prints-art-posters
Comment by Angeline - September 12, 2014 @ 7:12 am
http://www.infusionart.co.uk/shippinginfo.aspx
Comment by Georgina - September 11, 2014 @ 6:01 pm
http://rudeku.jogger.pl/2009/03/01/are-you-the-true-otaku/
Comment by Stefanie - September 09, 2014 @ 6:33 pm
http://www.itanica.org/modules.php?name=Your_Account&op=userinfo&username=YDunne
Comment by Rogelio - September 05, 2014 @ 2:15 pm
http://www.huawj.com/Shownews.asp?id=90
Comment by Florrie - September 05, 2014 @ 10:30 am
http://www.femmestyle.li
Comment by Salvatore - September 02, 2014 @ 5:07 pm
http://lojra.zbavitje.com/profile/6154/wepalfreym.html
Comment by Maya - September 02, 2014 @ 4:26 am
http://www.wallart-direct.co.uk/sticker-by-room-nursery-wall-stickers-decals
Comment by Katrina - September 02, 2014 @ 1:44 am
http://www.infusionart.co.uk/category/305-sepia-canvas-prints.aspx
Comment by Nydia - September 02, 2014 @ 12:03 am
http://juttas-jukeboxradio.de/gaestebuch/
Comment by Manie - September 01, 2014 @ 3:22 am
http://www.wallart-direct.co.uk/canvas-art-prints-wall-decor
Comment by Tommy - August 31, 2014 @ 9:14 pm
http://www.villacassiopee.com/faq/
Comment by Francesca - August 28, 2014 @ 10:32 am
http://www.jazz-standards.com/buy-instagram-followers/
Comment by Carmelo - August 26, 2014 @ 10:54 am
http://wermovers.org/Movers/Search_By_Zip/TX.php
Comment by Maybell - August 05, 2014 @ 2:41 pm
http://lekochess.com
Comment by Ernestine - August 04, 2014 @ 9:19 am
http://www.youtube.com/watch?v=_1osTxnEYIY/
Comment by Krystle - August 01, 2014 @ 10:12 am
http://www.5dimes.eu/sportsbook.html‎
Comment by Dorothea - July 22, 2014 @ 6:33 am
http://www.herramienta-seo.posicionamientoweb.systems/villacassiopee.com
Comment by Benito - July 10, 2014 @ 7:09 am
http://www.wpseotricks.com/free-wordpress-installation-service/
Comment by Francisco - July 08, 2014 @ 1:36 pm
http://www.femmestyle.us/femmestyle-erfahrungen.html
Comment by Terrance - June 24, 2014 @ 10:13 am
http://wermovers.org/Movers/NY.php
Comment by Jennifer - May 29, 2014 @ 6:02 pm
http://wermovers.org/Movers/PA.php
Comment by Tasha - May 28, 2014 @ 11:41 pm
http://สาวอุดรน่ารัก.at-udon.com
Comment by Lynell - May 21, 2014 @ 10:46 pm
http://www.jazz-standards.com
Comment by Inez - May 20, 2014 @ 7:57 pm
http://www.isd-berlin.org
Comment by Elvis - May 19, 2014 @ 4:39 am
http://uni-due.org
Comment by Kandace - May 18, 2014 @ 12:48 am
http://wermovers.org/
Comment by Valerie - May 07, 2014 @ 10:23 pm
http://www.teclis-usa.com
Comment by Vanessa - May 05, 2014 @ 7:56 am
http://www.agentsofdrive.com
Comment by Brianna - April 30, 2014 @ 11:29 pm
http://www.agentsofdrive.com
Comment by Rosaria - April 30, 2014 @ 1:46 am
http://www.chargify.biz
Comment by Rosalina - April 29, 2014 @ 4:38 pm
http://wermovers.org/Movers/Search_By_Zip/WA.php
Comment by Phillis - April 29, 2014 @ 5:44 am
http://www.mydebate.org
Comment by Sarah - April 28, 2014 @ 10:27 am
http://www.dayonelog.com
Comment by Ada - April 28, 2014 @ 10:06 am
http://nhhprl.org/x.php?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fwww.skiathosholidayvilla.com%2Ften-good-reasons-to-choose-a-villa-holiday-rental-in-skiathos-next-summer%2F%3Eweb+page%3C%2Fa%3E
Comment by Joycelyn - April 25, 2014 @ 2:46 am
https://docs.google.com/document/d/1KP_-IdH4k0X0yePBJo2acVLqpJU4ovsuiYTwtoyM5gw/edit?pli=1
Comment by Lien - April 12, 2014 @ 4:08 pm
http://www.lepetitfumeur.fr/8-cigarettes-electroniques
Comment by Alejandra - April 04, 2014 @ 9:13 pm
http://www.29110.univ-brest.fr/mediawiki/index.php/Utilisateur:HildaVangpsrj
Comment by Felipa - March 30, 2014 @ 6:55 am
http://www.youtube.com/watch?v=QOxRy4KoaAc
Comment by Astrid - March 30, 2014 @ 12:04 am
http://www.bynets.org/w/index.php?title=Motorbike_Proceeding_Made_Easy_Along_With_A_Strong_Transportation_Provider
Comment by Alda - March 19, 2014 @ 1:06 pm
https://silverlight.com/info.phtml?a%5B%5D=%3Ca+href%3Dhttp%3A%2F%2Fdiscountbobber.com%3Ecomplete+bobber+kits%3C%2Fa%3E
Comment by Kathi - March 16, 2014 @ 5:05 am
http://freegameshut.com/profile/lincolnlay
Comment by Josefina - March 13, 2014 @ 6:49 am
http://ingunwetrust.com
Comment by Wendi - March 12, 2014 @ 7:52 am
http://dbp.Idebate.org/ro/index.php/Utilizator:LinwoodHann
Comment by Morris - March 09, 2014 @ 7:19 am
https://bobberkits.jux.com
Comment by Jeremy - March 03, 2014 @ 6:58 pm
http://ingunwetrust.com
Comment by Lourdes - March 01, 2014 @ 10:21 pm
http://www.amarkonline.com/buy-real-instagram-followers/
Comment by Ashley - March 01, 2014 @ 6:21 am
http://pinterest.com/greekvilla/
Comment by Elouise - February 23, 2014 @ 10:44 pm
http://fryzurywlosy.wordpress.com/
Comment by Domenic - February 19, 2014 @ 3:10 am
http://americanshortfiction.org/cls/index.html
Comment by Maxine - February 09, 2014 @ 12:22 am
http://americanshortfiction.org/cls/index.html
Comment by Armando - February 06, 2014 @ 11:34 pm
http://commerciallightingideas.com/commercial-lighting-ideas-for-home-and-office/commercial-lighting-ideas/commercial-exterior-light-fixtures/
Comment by Kassandra - February 05, 2014 @ 3:08 am
http://americanshortfiction.org/cls/index.html
Comment by Buford - January 31, 2014 @ 12:45 am
http://www.youtube.com/watch?v=VJQ0pXQz37o
Comment by Kathrin - January 18, 2014 @ 8:47 pm
http://nmeanebraska.org/
Comment by Denis - January 15, 2014 @ 12:46 am
http://hongkong-rx.com/phrase/buy-flagyl-malaysia//
Comment by Darren - January 07, 2014 @ 11:53 pm
Hey Dude nice example

I have also found a good example

Camera Photo Capture And Show Captured Photo On Activity
Comment by Android Example - October 19, 2013 @ 7:30 am
Em menos de 1 minuto você estará assistindo TV de graça www.tvdigitalnopc.com.br
Comment by Adriana s - May 09, 2012 @ 10:13 pm
I'm quite pelased with the information in this one. TY!
Comment by Carlinda - January 28, 2012 @ 1:05 pm
That’s not just logic. That’s rellay sensible.
Comment by Kiona - May 06, 2011 @ 9:12 pm
Sure would be nice if you put an email on your website or respond to twitter comments.

Your example above is nice but is incorrect, unless you expect everyone with an HTC type phone to ONLY use thumbnail sized images.
To fix the issue properly you have to scan the media after the intent has completed.
Comment by pr0cs - January 20, 2011 @ 10:50 am
Great article but I'm sort of stuck. I don't have an HTC device but I want to support images in my app from their device.
Your code works but unfortunately the bitmap saved is only a thumbnail image. Is there any way to cross reference (from the intent data returned perhaps?) where the REAL camera image was saved so I could use/load it?
Comment by pr0cs - January 19, 2011 @ 12:07 pm
What if we could move the image to the desired location, after theHTC UI camera app captures it?
Comment by Michalis Giannakidis - July 25, 2010 @ 11:44 am
This was very helpful!

Thanks a lot!
Comment by geo - May 15, 2010 @ 12:54 pm

Name (required)
Email (will not be published) (required)
Website

captcha