Android :: Motorola Droid - JPEG Files Not Standard?
Apr 14, 2010
I manage a project where users upload JPEG images for processing. Generally the images are taken with Nikon cameras, but recently one user took images with a Droid and the client software did not recognize the Droid JPEG images for upload. The client software developer said it's because they read images written in the standard JPEG file interchange format (JFIF), and Droid JPEGs are not in this format. Why, and can this be corrected?
Can I have sub-folders to hold my drawable resources. For example can I store an image in, say, 'res/drawable/content/images/myimage.jpg' and then find that resource via a call to: id = context.getResources().getIdentifier("com.mycompany.myprog:drawable/ content/images/myimage", null, null); I have tried this and it doesn't seem to be working (but I may have something wrong). Is it supposed to work or do all the resources need to be in the root drawable folder? Also, are jpeg files supported and drawable resources?
1.myJpegFile = new File("images/jpegImage.jpg"); 2.output = new BufferedOutputStream(new FileOutputStream(myJpegFile)); 3.encoder = JPEGCodec.createJPEGEncoder(output); 4.encoder.encode(myJpegImage); Please could you give me the equivalent code for line no. 3 and 4 in Android?
I have done alot of looking around and notice that it like the other droids have a custom skin, but not terribly different from the standard. My husband has the Samsung moment which has the standard skin and I really like it. I am wondering if there a way to use the standard skin, and if so am I missing anything by doing it?
There are two parts, the circular disc that sticks to the glass and then the actual holder which suctions against the disc. Do y'all leave the holder attached at all times? Even when you get out of the car? Or do you take it on and off as you use it? I'm just wondering how secure that disc is to the glass.
I installed a custom bootlogo a while back, but my phone is giving me hardware trouble (keyboard and audio jack) so I will have to eventually have it replaced.I was wondering if anyone had the original "M" bootlogo, or could direct me to where I can find it.
With the recent short battery life issues occuring since the OTA, my phone is lucky to make it a day with minimal use. I am taking a trip in about two weeks to vegas and plan on using my phone heavily there for pictures and what not, so I wanted to pick up a spare battery to take with me. VZW online store is sold out of the standard D1 batteries currently but has D2 in stock and it shows the same stock part number. However the D2, according to the description uses 1420maH where as the D1 uses 1400maH. This is greek to me. I remember reading a post recently where the extended battery for the D2 was working well with the D1 and I was just curious if anyone knows if the same will apply for the standard battery.
I will be getting one of these on the 15th and was wondering if it uses standard micro usb. Went to best buy and the demo model looked a little different, I have plenty of chargers and was hoping they work.
Im assuming the answer is yes, but wanted to order a longer Micro USB cord to replace the one that came with it. Way to short and makes connecting a pain. Just wanted to confirm a standard cord will do the job. Coming from a Windows Mobile Palm its a huge upgrade.
I just recently got the X and love it, but within my contacts, there are a ton of numbers I don't recognize... only when I start scrolling do they go away.. any help? Is there an app that is better than the standard contact lists?
Been an increasing amount of talk lately about Froyo (2.2) and how it will have flash and all that jazz. I use a non-rooted, standard ROM Droid, and I'm wondering how well it will handle all of these improvements. I assume the newer android devices with their gHz processors will do fine, but how do you think us Droid users will fair? And don't just say it can handle it. I know it will work, but how well is my question?
just venting, but i am sick of the standard "task killer" response for any problem with the droid. i have all of 4 apps installed outside of the default apps my droid comes with. i am on droid number 3 due to poor mic performance and horrible sound. my wife is on droid number 4 due to mic just cutting out in the beginning of every call. service at the store and on the phone is ridiculously bad. if you have any problem, their standard response is to make it your fault for downloading apps. on a smartphone. argh. and, by the by, i have run my phone vanilla (only default apps) and run into same problem for every call.
I got my DX almost two weeks ago, and immediately ordered the Motorola Car Dock. When you dock it, and it goes into car dock mode, it has a "My Location" button, which takes you to a google map with some overlayed buttons (some kind of skin, essentially). You can select "Nav" on that screen, but it does not take you to the Google Nav app, instead it opens up a dialog box, where you can enter your destination. Then it will work like Google Nav. It really stinks that if you return to the cardock home screen, to change your music or something, when you come back to the My Location> Nav, you will have to re-enter your destination.
Another huge frustration from the lack of integration with the Google Nav app, is when you use the standard Google Nav App (like set a destination, before you leave the house), and then get in the car and enter car dock mode, you can not access your current Nav through car dock mode. You can still get back to it, but you have to exit "car dock mode", and open the Google Nav App. Anyone have any solutions to this? If it were possible, the simplest thing would be to remove the "My Location" button and replace it with a shortcut to the Google Nav App. It does not appear that you can change any of the preset buttons. There is one button that you can set, but I have it set for Pandora, since I use it frequently.
I uninstalled Handcent SMS and it wont default to the standard icon for the Default SMS that comes with android. Keeps showing the Black Smiley face even though I changed it to the standard icon before I uninstalled it.
Instead of the default apps (such as gmail or text messaging), I use k-9 mail and handcent and as such, have gmail set to not receive email, and text messaging to not use notifications. Is there any way to have LP show unread mail or messages with non-standard apps? If so, how?
Is there a way to post a picture I downloaded as a backround without having to crop it to droids standard ratio? If I didn't have to do that the pictureslooks like it'd be the perfect kind to move over with each og the 3 scrreens
Since the Droid is a micro-USB connection, I am assuming that we do not have to purchase the over-priced Motorola/VZW accessories? All that is necessary is standard car/wall adapter that accepts USB input. Then, any micr-USB cable will suffice. A quick look at different sites has the chargers for ~$10 and a micro-USB cable is only ~$3.
I uploaded about 50 pictures from iPhoto (using a Mac) just to see what they looked like and then later formatted the Droid's SD card, so the pictures were no longer there.
Now, if I mount the Droid via USB and view the file structure there is a folder named /albumthumbs which contains 50 files, presumably for the 50 pictures a had on the SD card.
To me, these file, unless linking to actual photos stored on the SD card, take up extra space in the phone's memory (not worried about the SD card). I wonder if I can safely delete them (just the files...not the folder)?
so i made a wonderful discovery this weekend that my phone will take a charge from my CD deck in my car that has a USB jack. my concern is, that it may end up damaging the phone somehow and i was beyond paranoid. does anyone know if it is a safe thing to do? Does the USB standard have a standard power output?
I am confused on how to implement image processing algorithm on JPEG data.I have set P.setpicturesize (640,480) so the camera.takepicture (null,null,Imagecapture callbck) returns the image data. Void onPictureTaken(byte data, Camera Camera) returns JPEG data, but(x = data.length), the value of x is less than 640*480 bytes.Please kindly let me know how can I start editing pixel information of the image and image comparison algorithms.
I am developing an app in which i need the image in TIFF format.But in android u can convert your bitmap/image to only JPEG/png image. is there a way to convert JPEG/png file to TIFF format or is there any jar available to do so.
I am trying to save a bitmap in a JPEG format, and i can see that the image is always stored with a lower quality even if i give the compression level as 100, however for PNG it is working fine. Similarly during Media.insert() or getContentResolver().insert() the image is stored with a lesser quality, I can see in that the compression level is 50 in the Media.java, however I tried to create my own method for the same function with quality 100.