General :: Using Phone Camera As A Scanner
Sep 10, 2013Will using the phone camera as a scanner damage it at all? Everything is electronic unlike dSLR which has shutter count failure.
View 1 RepliesWill using the phone camera as a scanner damage it at all? Everything is electronic unlike dSLR which has shutter count failure.
View 1 RepliesWhen I run the following line of code:
MediaScannerConnection scanner = new MediaScannerConnection( this, null );
scanner.connect();
scanner.scanFile( szFinalFileName, null ); //<---crash here
I get a crash and this message in the console window:
09-26 14:47:44.074: ERROR/MediaScannerService(10288): Failed to delete file /data/data/com.android.providers.media/pause_scan
does anyone have any ideas why this isnt working and what i can do to fix it?
I just wondering if I wanted to display a barcode on my phone so that a scanner could scan it, ie like the reward cards apps, how would I go about creating the barcode in a view.
View 5 Replies View RelatedSelf explanatory. The moment had a problem that seems to have been fixed. Anyone else having this issue.
View 20 Replies View RelatedWhat's the Best bar code scanner app (Free or Pay ) for the moment?
View 14 Replies View Relatedfind a Scanner app that will let me scan a page by literally *scanning* it with my camera, slowly sweeping the page. Similar to how you can take panoramic photos, and it stitches the images together behind the scenes. I want to use OCR to scan a page into text, but the I find the quality usually isn't good enough for accurate OCR.
View 4 Replies View RelatedAnd if yes, what is the name of the app/service that I have to freeze using Titanium Backuup?
I have a 8 GB SD Card with only about 550 MB free, and the stupid media service creates 500mb worth of thumbnails and cache. It re-creates it each time I delete the cache. I'm currently running MIUI Gingerbread 2.3.4. Back when I was running CyanogenMod 6.xx I used to simply freeze the Gallery app and that used to solve the issue, but I don't see the gallery app listed in Titanium on the MIUI ROM. Freezing the MIUI Gallery app didn't stop the thumbnail cache creation process.
Creating a .nomedia file in the respective folders isn't an option because I need my photographs (I have about 20k worth of family/spouse pics that I always carry around on my phone in addition to wallpapers etc.) to be visible in Quickpic / Fishbowl photo app etc.
I am experiencing massive battery drain from *wakelock*/mediaplayer while music playback.
For now, i have tried everything:
- full wipe
- music playback on fresh wiped rom
- formatting sdcard / internal storage
- disabling media server
- debugging with logcat
- ...
Currently, the mediaserver drains more power then any other process, including screen. The phone gets not hot, but warm while only playing music with screen off. That was not happening before, as i listen music daily.
After all, the problem is most likely caused by a corrupt file, but how can i locate this file ? I have 2300 mp3s on my phone, so testing every single one would be a bit complicated...
GT-I9100
Often your Media scanner can misbehave and eat lot of CPU, Battery un-wantedly.
I had been digging out how to fix it, and here are my solutions. Perhaps try al of them, it would definitely relieve your cpu and battery usage by large. Solution works on any Android version:
Solution 1. Clear media storage data
Settings > applications > Media Storage > clear data, force stop and reboot.
Solution 2. Remove unwanted media files Navigate to /sdcard/DCIM/.thumbnails and delete all files. Repeat for external sd card. On AOSP roms, Android gallery creates too many of thumbnails that later becomes problematic for media scanner.
Solution 3. Analyze and delete excessive media files Find out what files are causing media scanner to go mad. Use any sdcard analyst (I use ES file manager > menu > Sd card analyst) to determine which directory has lots of files/subdirectories inside it. Any directory having >1000 files/folders is an alarmingly high number. Get rid of them (if you can).
Solution 4. Probe and delete bad/damaged media If you're sure you've tried above solutions and still encountering battery drain, its time to dig deeper with developer tools. Pre-requisite: You must be rooted, and have android developer tools (adb) setup. With ADB tools installed, enter shell and acquire su permissions
Code:
adb shell
su
Then run top (linux task manager) to see which process is eating cpu. You can filter top results
Code:
top -grep media
this would give you a result like
Quote:
130|root@n7000:/ # top | grep media
1905 0 10% S 7 23080K 6168K bg media /system/bin/mediaserver
2808 0 40% S 3 3524K 740K media_rw /system/bin/sdcard
2825 0 9% S 19 255832K 43936K bg u0_a5 android.process.media
%age cpu shows media server is eating cpu and needs to be fixed. Run the following command to determine which file is it currently reading
Code:
lsof | grep media_rw
If the media service is stuck at a directory/file for a long time, you know it's a damaged media file, you should get rid of it.
Once you get rid of such files, Its guaranteed media server would finish scanning soon enough.
Solution 5: Format SD cards If nothing works (or you're too lazy of trying solution 4): Take backup and format Internal, external sd card and copy only selective files/folders that you need. Problems would go away for sure.
Solution 6: Disable Media scanner If your Droid is against you and it just won't tame, its time to disable the media scanner. You can do this from adb shell
Code:
pm disable com.android.providers.media/com.android.providers.media.MediaScannerReceiver All Solutions with full detail: Fix Android Media server scanner SDcard CPU, Battery drain
Have a brand new HTC One X+ (AT&T). Having an issue where after boot and sometimes all of the sudden during the day, the phone gets hot and battery level drops l like ton of bricks. Using Android Task Manager App and enabling monitor of system processes and selecting realtime monitor, I've traced the problems to "android.process.media". This appears to be something to do with Android scanning the device for media files (audio/video/etc) and creating some sort of database. I also usually see the "Music Enhancer" process which has to do with Beats Audio according to HTC (but I have Beats turned off.)
I've seen old threads of people with same problem and in some cases it had to do with a "corrupted" media file and they had to remove all media files and/or factory reset their device. I just spent an entire weekend customizing this device! Plus, how the heck do you prevent yourself from copying the corrupted file over if it was a corrupted mp3 or something?
I'm pretty sure my issue stems from the fact I used my media manager (Media Monkey) to sync over 2,800 audio files to the device. My collection is of high bitrate quality, about 16GB worth of music. I'm pretty sure this is what it is choking on. What I'm not sure of is if the Media Scan the Android device is performing is just a "normal check" for changes/addition/deletions to any of the media files. This of course would take a lot of time and CPU if it has to scan 2,800 files every reboot or periodically. It seems launching Google Play sometimes starts it too as I also sometimes see Google Play Service:Music or something like that (even though I don't stream any of my audio from Google Play.)
I would like to use an old deactivated phone as a wireless camera, not over WiFi, but something like AdHoc(I think).
Where my deactivated (old) phone can broadcast a wifi network that my other phone will be able to connect and view the cam's video.
Something like: Old Phone(No internet/service) makes a WiFi AP that Another Phone can connect to and view the video the Old Phone is streaming.
I've found tons of IP cams which use an existing wireless network, but I want the old phone to be used as the wireless router.
I used to have a problem with the media scanner making duplicate song entries, only one would play and the other was invalid. For some reason that went away and now it adds media once and never scans again, so if I add songs later they never get picked up to be shown in the music player or winamp etc.
I found these tips:
go to application manager> all application and search
-media storage,
-music player,
-gallery application
and just delete cache and data and restart. It will solve the problem a it force to re build data base
This works still but it is a complete PITA because it resets wallpapers, ringtones and all sorts of other things to default and I don't want to have to do this every time I add a song. How do I fix the media scanner, does it even have logs or something I can look at?
Galaxy Note i717 ICS 4.0.4.
AndroLib, Find all applications and games available in the Android Market for your Android Phone, HTC Dream, HTC Magic etc...
Cool site. You can browse the market from your computer, and use "barcode scanner" on phone to take you directly to the app you want.
I'm sure this will get moved, but I wanted to make sure the MOTO Droid users knew about it.
i have purchased the following phone as a present for someone (but from a different shop/site): MTK6516 K600A Android 2.2 OS Smart Phone TV WiFi 3.2 Inch Touch Screen Cellphone - Black
i'm not sure you will give support for such cheep phones, but i'm having a bit of a trouble with it... everything is working fine except the camera, video, sound recording and other features which require data storage. there are such types of error messages:
"please insert an sd card before using the camera" "your phone does not have an SD card inserted"
it does not come with an SD card and i haven't installed one yet, so when i go to "settings -> sd card and phone storage" it only shows the available "internal phone storage = 50MB"
is there a way to use/enable the internal phone storage for lets say - record some audio or make a couple of photos, instead of the non-existent SD card or does it really need one installed ?
it has 256MB RAM / 256MB ROM by specification.
I have a Moto Android, when it sleeps, if I hit the silver camera button on the lower right, it wakes up... Great, it makes it easier.But, I switched phones because my screen craked. We had an extra one when a family member bought an IPhone. But this phone does not wake up when I push this button. Same phone, same software, same OS. Why the difference?
View 3 Replies View RelatedIs there any way to start the camera app from the lock screen? Whenever I use the camera icon and swipe it over, it prompts me to enter my PIN number.
I just want to be able to take photos, without unlocking, iPhone style.
I find the camera sound very annoying on my phone, and even if it's on silent, it plays the camera sound. This is how to remove the camera sound.
1. Using a file explorer, I recommend es file explorer or root explorer, go to /system/media/audio/ui and there you will see 2 camera files.
2. Copy and Paste them into your sd card, then delete them from /system/media/audio/ui
3. This will keep your phone from making the camera noise.
i've been having some trouble lately with taking pictures on my front facing camera. I'm using the t-mobile variant of the samsung galaxy s3 (its actually from wind, but theyre the same). The last rom i had installed was cyanogenmod, and it was working fairly well, except every once in a while, when i took a picture or video from the front facing camera, the phone would crash immediately and reboot. I tested this with many different camera applications and they all had the same result. I decided that i would try a different rom to see if that was the issue, so i installed the latest version of Carbon. The problem persisted, and it even got worse. Now every time i take a photo using the front facing camera, the phone will crash and reboot instantly. I read around, and there appears to be some issues with snapchat and such, but i dont think that is my problem as this is occuring with every camera application i have. I have also checked out some other threads related to this issue, and some seem to have the same problem, with no real solution. Apparently a temporary fix seems to be clearing the application data, but even that doesn't work for me. If i could guess, i would say it has something to do with custom roms in general as i have seen no reports of a stock rom phone having this issue, or perhaps a gapps issue, but those are just some thoughts.
Some Info:
Model Number: SGH-T999
Android Version: 4.4.2
Carbon Version: CARBON-KK-NIGHTLY-20140316-0304
I'm looking for an app that can take the screenshot from the phone camera and stamp on it the gps coordinates and compass bearing with time and date like the picture that I've attached.
View 3 Replies View RelatedIs it possible to stream the video from an Android phones camera to a pc via usb or wifi in effect to give you a zoomable HD web cam? Of course to capture that video feed.
View 3 Replies View RelatedMy 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 RelatedI've tried a number of different Barcode Scanner apps with my Evo and have run into the same problem with all of them: they keep trying to auto focus and can't seem to capture the barcode. I don't know if this is a problem with the interface between the autofocus on the EVO 8.0 Megapix. camera and the applications or if it is something to do with my lighting; I'm using it indoors with comfortable incandescent lighting, but not bright task lighting and the camera shows the image as fairly red skewed, as if it is a lower light situation.
View 41 Replies View RelatedAny suggestions on the best Barcode Scanner for Desire?
View 19 Replies View RelatedI have Jot Not for iPhone which does a great job of scanning documents, white boards, etc. and putting them into a multiple page PDF.
View 8 Replies View Relatedif theres an app for this or anything in the works? My and i usually like to go mess around with some other dub owners around the island and he keeps the police scanner app out. its saved our butts a few times and would be awesome to have on my droid.
View 35 Replies View RelatedIs there a bar code scanner app that will really list stores that carry the item, price etc? i have tried 4 so far, non will. they search web sites. a friend who has an iphone says hers will do it, but didn't offer to demonstrate.
View 5 Replies View RelatedWhats this i hear of a bar code scanner? does it come out of the lens ? I have no idea what it is. I'm coming from an Lg Dare so can someone help this smartphone NOOB.
View 5 Replies View RelatedI'm having difficulty with scan life, maybe its like that for all of them? Whats the best most sure thing out there?
View 11 Replies View RelatedI would like to program or build a QR scanner for Android. However, I know nothing about programming so I would need a step by step instruction.
I have sucessfully used MIT App Inventor to make a QR scanner, however I want to add features. As far as I can see, I cannot output sourcecode in App Inventor, so I'm unable to edit the parts I want to.
Basically I want to change the filters and colours of an image before it gets sent to a QR reader. The QR reader could use live capture from a camera or just stills. I only need a proof of concept, so it does not need much else.
I'd probably get as far as installing Eclipse, and starting a project. But so far I have no idea what to do with source code, or how to add the feature I require.
DL 2 different scanners, barcode scanner and shopsavvy. Neither one works worth a darned. Have tried different items usually common ones i.e. a case of Mtn. Dew. It chokes and says it can't find a retailer. Seriously?! If it can't find even a simple case of pop which hundreds of retailers have, that's pathetic!! Has anyone found a real BC app that has actual products and works?
View 49 Replies View Related