Android :: Insert Image / Gallery Application "Camera Pictures"
May 3, 2010
I am adding a bmp file to the media store using the line below. I then go to the gallery application and it shows the image, but shows it under "Camera Pictures". Is there a way to change this to its own group, perhaps to its own group? Do I need a custom content provider for this.
View 2 Replies
May 7, 2010
Why can't Gallery see my camera pictures?
COnnects to Picasa and my SD Card fine but it cannot see my camera pictures.
View 1 Replies
View Related
May 25, 2010
Anyone else have this problem? I take a photo and its not there and takes opening and closing the gallery a few times. Sometimes I have to take another photo and then they both show up. Is this a bug with 2.1 or is there a fix for this?
View 28 Replies
View Related
Jan 7, 2010
I've been trying to write an application that uses the Camera App to take a picture. So far, the only thing I've been able to get back successfully is a tiny bitmap picture. I've found several other posts related to this topic that have code that is reported to work, but it does not work for me. I'm hoping someone can steer me in the right direction. Below is the code I am using currently, but it causes the application to blow up.
private void takePicture(final int x, final int y, String description) {
// create a file on the SD card
File file = new File(Environment.getExternalStorageDirectory(),
"tmp_" + String.valueOf(System.currentTimeMillis()) + ".jpg");
// Create the URI that tells the camera where to put the picture.
mOutputFileUri = Uri.fromFile(file);
statusLine.setText("URI => " + mOutputFileUri);
mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE)
.putExtra(MediaStore.EXTRA_OUTPUT, mOutputFileUri)
.putExtra(PIC_X, x) // x coordinate of square
.putExtra(PIC_Y, y) // y coordinate of square
.putExtra(PIC_DESCRIP,description)
.putExtra("return-data", true) ;
startActivityForResult(mIntent, PIC_FROM_CAMERA);
}
Ultimately, I want to be able to get the picture back and do two things with it: create a 64x64 icon that is displayed by the Android application, and upload the picture to a web application. I'm running this on the emulator using Android 2.0
View 3 Replies
View Related
Oct 10, 2009
I am a android developer, I stuck into a problem, how to read really big images with Android API, I am wondering how native Gallery (Camera application) is reading bigger images so fast. can any Android Engineer here direct me to the piece of code that android engineer used to draw bigger images.
View 3 Replies
View Related
Mar 26, 2009
I worked on N95 mobile, my goal is to capture image for every 2 min and send the image data to server without user help. I am done with image capturing manually but I am unable to capture image automatically could you please suggest me. I am getting certification message pop up. Is there any way to start my application automatically. I am messed with code signature and manufacturer agreement with Nokia. So I have decided to change the platform to Android mobiles. Could you please let me can I able to implement the above application in android mobiles android platform.
View 9 Replies
View Related
Aug 20, 2009
I am trying to implement Camera application in android,and i got some code from net to create a Live Camera through WebCam.Upto this no problem.Now i have to capture the images when click the button, and i displayed the captured images in the Dialog window.Without any exception the program is running but the captured image is not displayed,some default image is displayed.
My code is.
CODE:.........
I have no idea from where this default image is coming.
View 3 Replies
View Related
Jun 22, 2009
I want user to take picture using camera application. Then send the image to my application through "share". Does anyone knows how to do that?
View 2 Replies
View Related
Jan 30, 2010
I am trying to open an image / picture in the Gallery built-in app from inside my application. I have a URI of the picture (the picture is located on the SD card).
View 3 Replies
View Related
Mar 15, 2010
I've written an app, thats loading images either using the android gallery app or by taking a photo using the cam. When I now load an image using the gallery, everything is fine. When the code is being executed a second time (for loading another image), the application crashes.
try { Uri data = intent.getData();
ContentResolver cr = this.getContentResolver();
Bitmap mBitmap = null;
mBitmap = Media.getBitmap(cr, data);
imageView.setImageBitmap(mBitmap);
} catch(Exception e){ showToast(this, "Failed loading image from gallery");
return;
}
The code crashes at the line:
mBimap = Media.getBitmap(cr, data);
Everything is initialized, there are no null values etc. The strange thing is: no exception is thrown, I don't get into the catch block to determine whats going wrong. Am I not allowed to "re-use" the content resolver? Do I have to free it after the first usage or something like this?
View 2 Replies
View Related
Jul 31, 2010
I am writing an app to capture the camera preview frames and convert it to bitmap in Android.
Here is my code:...........
After I start preview, the callback got called with data, but the bitmap is null.
What did I do wrong when convert the byte array to BitMap?
View 2 Replies
View Related
Oct 30, 2010
I've got an app that accepts images from the image gallery (via share menu). My app starts, and I do this:
Bundle bundle = getIntent().getExtras();
Object obj = bundle.get("android.intent.extra.STREAM");
While debugging, Eclipse is reporting the object obj is of type 'Uri@StringUri' (???) and inside it somewhere is the string 'content:
//media/external/images/media/992'.
Anybody know what type of object obj is so I can typecast it? And what's the string about? IE, how do I get to the image data?
View 1 Replies
View Related
Jan 31, 2010
I save an image to the sd card and it doesn't appear in the Gallery application until I pull off the sd card and return it back. Seems like the Gallery application has some cache that isn't updated on file save. Actually, I also want to open the just-saved image in Gallery application and have no success with that.
View 5 Replies
View Related
Mar 4, 2010
I have to insert, at runtime, an image in an ImageView. I haven't it in local, but i can get it from an URL.
View 4 Replies
View Related
Nov 2, 2010
i am implementing puzzle game application in this application create one button in click the button display original image of the puzzle .original image display in dialog box then click ok return in to actual page how can implemented.
View 2 Replies
View Related
Aug 5, 2010
As asked, is it possible? Here's part of my code. I don't know how to change it.
CODE:............
And yes, the error toast came up!
View 1 Replies
View Related
Apr 26, 2010
I'm having some trouble getting pictures inside a tablelayout...actually, each I have 2 columns and when i put a picture in a cell of the table, it's completely streched and disproportionnated...I can't find how to make it stay it's original inside the cell and let the rest of the space filled by white background for instance....
XML is like that :
CODE:.................
View 2 Replies
View Related
Jun 15, 2010
I need to insert 2 images and 2 buttons.action required is that whn i click on th first button corresponding image should be displayed.same action required for other button also but second image should be displayed.
View 3 Replies
View Related
Jun 20, 2010
So from what I can tell Media.insert Image is locked to heavy compression on all images. This includes when passing in the path to a photo in the filesystem. As a test I used a 3000x2000 pixel jpg which had been previously saved at maximum quality and was ~6MB. After passing the path to Media.insert Image, the resultant copy (still 3000x2000) is 623KB. I passed in another copy of the 3000x2000 image, this one compressed down to 393KB. After Media.insert Image, the image filesize is 492KB. I'm wondering if there's a way to specify the compression when images are saved by insert Image. I'm also wondering why this is recompressing jpgs, rather than simply copying them into DCIM. A side-effect of opening and re-compressing these images is that it imposes a rather low VM cap on what insert Image can handle. I'm getting out-of-memory errors when trying to pass the path of a 10 megapixel image.
View 5 Replies
View Related
Sep 26, 2010
I want to add frame to image with title and subtitle. The thing that I want to do is as follows : There are number of styled frames available and user selects any picture from the phone memory or takes a picture from camera, now on selecting any frame that picture should be in that frame. Also below that frame there should be title and subtitle of the image.
I hope I have made it clear of what I want to know.
View 1 Replies
View Related
May 11, 2010
I am playing around with the Gallery widget.I would like to know how can we get the position of the image on focus in the gallery. For example having several pictures in my gallery, if I tap my finger to the right, pictures will come and go until it stop to one. How one can get the position of this one picture that is currently on focus ?I don't know if I was clear enough, if there is anything you want me to add do not hesitate.
View 2 Replies
View Related
Dec 6, 2009
My camera stopped working. When I click my camera application I get the message "The application camera (process com.android.camera) has stopped unexpectedly. Please try again". It's just a blank screen?
View 3 Replies
View Related
Jul 28, 2010
Look what Im doing. Im getting a SMS message and breaking word by word using the StringTokenizer class.I've done this, but when I try to insert the word in the content provider, the application stops, and the emulator says the application stoped unexpectadly.
I don't know what to do anymore, I've tryied everything you can think about, but i didn't found the answer.
Please Help Me! Check my two classes.
SMS.java Class:
CODE:.....
View 1 Replies
View Related
Apr 12, 2010
Can someone tell me how to save my pictures to my sd card? the ones I take with the camera.
View 1 Replies
View Related
Nov 11, 2010
Is there a good way to add new image resources(from SD card) to a gallery widget at runtime?
View 1 Replies
View Related
Oct 6, 2010
I'm working on my new project but I can't figure out how to add a text under my Gallery.
I have 3 pictures, if I slide on picture 2 I can see under picture 1 and 3 the correct description but it doesn't appear the description under the selected picture (in this case the number 2).
This is my code...
View 2 Replies
View Related
Jun 12, 2010
I am new to android, I have learned how to display drawable pic in gallery,
and display a url pic use ImageView. Now I dont know how to display online pictures in gallery. Should I use listview or not? In addtion, I want to know how to get pictures urls from flickrs with given userid
View 1 Replies
View Related
Sep 12, 2010
I have two "download" folders on the SD card. When I mount the card, I only see one folder, so I see only one set of pictures. In the gallery, I can access the other download folder and see the pictures, but when I navigate to what seems to be that very folder, I only see a bunch of apk files. how to "export" the folders from that download folder?
View 1 Replies
View Related
Sep 13, 2010
I can't seem to use my hdmi out for anything but videos and youtube is it possible to do a slidshow of your pics also?
View 10 Replies
View Related
Apr 13, 2010
I am new on android and building an application which uses webservice to collect user information in XML. I also get path for a small jpeg picture of each user. (Currently there are about 200 users) I am parsing the XML and storing the information in SQLiteDatabase. Pictures are stored as blob and able to retrieve them.
I display names of users on listview with images as well. But is this a good solution for storing pictures in SQLite Database ? or should consider storing it in file system ? Which is suitable in terms of performance , as well as memory and any other pro and cons on Android.
Also like to know which is best performing XML parser for Android ?
My purpose is only to parse xml files which I get through web services and sort out the data to store in storage. And lastly my memory goes off easily when I load all images to display in list view after making thumbnails of each (which is obvious).
Was wondering is there any library/framework/app available which dynamically loads images as and when required (when that list item is on display) something like Gallery program ?
View 1 Replies
View Related