I followed the android developers camera example, that captures an image form camera and places it to the view. Not the problem I have is how to store that image path to my sqlite database and restore the imaage in other view.
Link to google dev - > http://developer.android.com/training/camera/index.html I tried this without success created a global string logo, and inside handleSmallCameraPhoto put this private void handleSmallCameraPhoto(Intent intent) { Bundle extras = intent.getExtras(); mImageBitmap = (Bitmap) extras.get("data"); ImagenViaje.setImageBitmap(mImageBitmap); ImagenViaje.setVisibility(View.VISIBLE); --> logo = extras.get("data").toString(); Then I stored logo on sqlite, and tried to restore it on my adapter this way String imagePath = c.getString(c.getColumnIndexOrThrow(MySQLiteHelper.COLUMN_LOGO_PATH)); Then ImageView item_image = (ImageView) v.findViewById(R.id.logo); item_image.setVisibility(ImageView.INVISIBLE); Bitmap bitmap = BitmapFactory.decodeFile(imagePath); item_image.setImageBitmap(bitmap); item_image.setVisibility(ImageView.VISIBLE); The problem is if I try to get the img path it is null ... so I have no idea how to do it. WIll really apreciate a working example on do this -- 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

