How can I get the full-size image from the camera? This method gives
me a 256x192 pixels image.

On Aug 21, 2:52 pm, "jagtap.jj" <[email protected]> wrote:
> Refer this
> Intent i = new Intent("android.media.action.IMAGE_CAPTURE");
>
>         try{
>                 startActivityForResult(i, TAKEPICTURE_ACTIVITY);
>
>         }catch(ActivityNotFoundException e){
>                 Toast.makeText(this, "Application not available",
> Toast.LENGTH_SHORT).show();
>                 Log.e(TAG, "Error in taking picture");
>         }
>
> �...@override
>     protected void onActivityResult(int requestCode, int resultCode,
> Intent intent) {
>         super.onActivityResult(requestCode, resultCode, intent);
>
>       if (requestCode == TAKEPICTURE_ACTIVITY){
>                 if (resultCode == RESULT_OK) {
>
>                                 Bundle extras = intent.getExtras();
>                                 Bitmap bitmap = (Bitmap) extras.get("data") ;
>              }
>   }
>
> }
>
> in the bitmap  u will get the picture taken from camera.
>
> On Aug 20, 5:26 am, dualboot <[email protected]> wrote:
>
>
>
> > How do I pass an Intent from my application to the Camera application
> > to bring it to the foreground?
>
> > TIA.

--~--~---------~--~----~------------~-------~--~----~
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