Hello,
I'm working on a app that can activate the devices camera using root that way there is no preview of the camera and no other apps open. Does anyone know a command to take a picture using runtime.exec and saving it to the root of the sdcard?
thanks,
nathan
natehome said:
Hello,
I'm working on a app that can activate the devices camera using root that way there is no preview of the camera and no other apps open. Does anyone know a command to take a picture using runtime.exec and saving it to the root of the sdcard?
thanks,
nathan
Click to expand...
Click to collapse
Why don't you use the normal API?
I do not think that there is a command for the camera.
nikwen said:
Why don't you use the normal API?
I do not think that there is a command for the camera.
Click to expand...
Click to collapse
because i want to be able to take a picture even when the screen is off or the phone has another app running.
natehome said:
because i want to be able to take a picture even when the screen is off or the phone has another app running.
Click to expand...
Click to collapse
Can't you do it in a service? (You need the proper permission in the manifest.)
For sure you cannot do it as root from the terminal.
Related
Hey Guys!
Is there a way to disable the nasty camera sound? I searched some time but didn't found anything helpful about it.
Maybe there is a chance to delete the soundfile?
Thanks in advantage...
linulli
Do you have root access? If so, you can push an empty file over top the sound file, that's what I did. Otherwise, nope - you are stuck with the sound. I will attach my empty file, here are some instructions (assuming knowledge of ADB).
adb remount
adb push camera_click.ogg /system/media/audio/ui/camera_click.ogg
That should do it.
Tanks a lot! Thats exacly what I need.
I have root access an will try it as soon as I reach my data cable.
When you are in the camera app hit menu>settings and uncheck shutter sound.
Dharkaron said:
When you are in the camera app hit menu>settings and uncheck shutter sound.
Click to expand...
Click to collapse
What version of the camera you using? That option does not exist on mine.
daveid said:
What version of the camera you using? That option does not exist on mine.
Click to expand...
Click to collapse
+1 on that one. haha
Dharkaron said:
When you are in the camera app hit menu>settings and uncheck shutter sound.
Click to expand...
Click to collapse
Yah, i dun see that either and I'm using what ever camera came with CyanogenMod 3.2 (i think thats what i'm using)..Is it a 3rd party app that has that feature or the stock camera from a different Rom like rogers or ion or something?
Dharkaron said:
When you are in the camera app hit menu>settings and uncheck shutter sound.
Click to expand...
Click to collapse
Please hook up your phone to DDMS and screen shot so we all can see WTH your doing since we can't.
daveid said:
adb remount
adb push camera_click.ogg /system/media/audio/ui/camera_click.ogg
That should do it.
Click to expand...
Click to collapse
Thanks again! Just tried it, and: The noise is gone.
So its 100% working..!
edit: There is no way doing this without the datacable and the developer machine, right?
is there any video recording app for android(x10)??
Whats wrong with default one ?
lildic said:
is there any video recording app for android(x10)??
Click to expand...
Click to collapse
Open the Camera app, click the "Video" icon.
damirbusic said:
Whats wrong with default one ?
Click to expand...
Click to collapse
it sucked always.any other video recording apps??
iead1 said:
Open the Camera app, click the "Video" icon.
Click to expand...
Click to collapse
LOL i know.
i would like to know to,.....
i dont think x10 supports portrait video mode,...... coz when i upload it,..... it flips it around,.....
lildic said:
LOL i know.
Click to expand...
Click to collapse
Well, in my defense, you were incredibly vague in your original question...
You're looking for alternative video recording apps?
Another video related question....
Regardless of what app I'm using, I always have like a 15sec limit on video...how can I change the recording limit? Also, where is the option to change the saving location?
I am using a 32gb sd card, so I should have plenty of space. I'm still kind of new to Android, so these two things could be an easy fix and I just don't know how to do it.. Thank for any help.
Maybe you are on MMS setting, tap on upper left icon and change resolution from MMS to WVGA. It records always on microSD card, you cannot change that.
You nailed it, it was set on mms.. I figured it was something simple. Thanks for you help!
Sent via Swype via rooted Xperia X10a via XDA app.
Anyone know of a slow motion video capture app? would be quite nice touch...
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
fagalto said:
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
Click to expand...
Click to collapse
:victory: Thank you so much. Needed this for my motoactv to work on my jobs computer. Will give it a try as soon as i can.
fagalto said:
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
Click to expand...
Click to collapse
Excellent job! What did you use to make the app, if I may ask? Eclipse?
ClearD said:
Excellent job! What did you use to make the app, if I may ask? Eclipse?
Click to expand...
Click to collapse
Yup. Eclipse
Any chance you could add a second function, for
Code:
adb shell start adbd
Or maybe even one for
Code:
adb reboot recovery
Sent using XDA-funded carrier pigeons
ClearD said:
Any chance you could add a second function, for
Code:
adb shell start adbd
Or maybe even one for
Code:
adb reboot recovery
Sent using XDA-funded carrier pigeons
Click to expand...
Click to collapse
All done,apk reuploaded
fagalto said:
All done,apk reuploaded
Click to expand...
Click to collapse
I wish I could thank you more than once!! That's awesome!
Sent using XDA-funded carrier pigeons
My question has been solve thanks again this watch is still sick
Sent from my SGH-T889 using xda premium
Well, it looks awesome, but only runs once? I stopped adb, and the app disappeared from the app drawer... app manager says it's still there, but I went to clear data, and an error popped up saying that the application no longer exists. Any ideas?
EDIT: Disregard, I reinstalled and now it works fine! Must have been a root issue, because it only did it the very first time, before it was granted root. Every time after, it was just fine. Thank you!!!
Also, one question. Can we use this in Roms for the device, assuming we give you proper credit? We've been waiting on something like this for a long time, my friend.
I installed on my note 2 looks solid gotta try on actv later
Sent from my SGH-T889 using xda premium
ClearD said:
Well, it looks awesome, but only runs once? I stopped adb, and the app disappeared from the app drawer... app manager says it's still there, but I went to clear data, and an error popped up saying that the application no longer exists. Any ideas?
EDIT: Disregard, I reinstalled and now it works fine! Must have been a root issue, because it only did it the very first time, before it was granted root. Every time after, it was just fine. Thank you!!!
Also, one question. Can we use this in Roms for the device, assuming we give you proper credit? We've been waiting on something like this for a long time, my friend.
Click to expand...
Click to collapse
It will be an honour
Forgot to report back. The application works perfectly with my Actv. The previous version didn't launch on my actv at first. However this new version works fantastic. Thanks again, I'm very greatful.
This is a brilliant little app, would it be possible to add Wifi ADB and Normal(USB) ADB to make it the complete solution? I use GScript right now for these tasks, having it in the ADB manager would be perfect
fagalto said:
I needed app to put rooted motoactv in mass storage mode without pc - in case i'll need it immediately to use as portable memory anywhere.
App i've written does the job and nothing else
Maybe some of you will find it usefull:fingers-crossed:
Click to expand...
Click to collapse
well darn u beat me to it lol i was just in the middle of making one, guess ill just throw mine away since yours seems to work better =S lol
So does this enable host mode or would this require hardware the ACTV doesn't have? Awesome work regardless.
Auto start adb manager?
Is there an adb command to set my Motoactv to automatically start with the device? I'm rooted, using the stock interface, and just want it to easily go back to USB mode by default. Thanks.
I flashed on my Nexus 4 Google's factory images, yeah, the animations are cool and pretty fast but Google makes me have to use Google+ for example.
I don't use it and don't need it, but If I uninstall Google+ I can't use Photos, and It is the only gallery app on the device..
What can I do?
I just want the old Gallery...
So you are saying that android L sucks just because of that?
there re plenty of gallery. quickpic is good.
Sent from my XT1033 using XDA Free mobile app
@Wassupdog: Install QuickPic, for exmaple, and live happily ever after.
So you can download another gallery app, then uninstall it (may need root explorer)!
Hope I can help you!
Wassupdog said:
I flashed on my Nexus 4 Google's factory images, yeah, the animations are cool and pretty fast but Google makes me have to use Google+ for example.
I don't use it and don't need it, but If I uninstall Google+ I can't use Photos, and It is the only gallery app on the device..
What can I do?
I just want the old Gallery...
Click to expand...
Click to collapse
you can go back to kitkat anytime... no one forced you to install lollipop factory image..
The Zel said:
So you are saying that android L sucks just because of that?
Click to expand...
Click to collapse
Pretty much.
In my opinion, the whole concept of Android is not be tied to 1 thing only, do whatever you want.
And that's really annoying when Google makes you keep an app that you don't need just because it is tied to another app.
thestory101 said:
there re plenty of gallery. quickpic is good.
Sent from my XT1033 using XDA Free mobile app
Click to expand...
Click to collapse
Thanks, I really preferece Google's gallery, is it possible to somehow install it?
orangek3nny said:
@Wassupdog: Install QuickPic, for exmaple, and live happily ever after.
Click to expand...
Click to collapse
Thanks, I really preferece Google's gallery, is it possible to somehow install it?
henry0504 said:
So you can download another gallery app, then uninstall it (may need root explorer)!
Hope I can help you!
Click to expand...
Click to collapse
Thanks.
rv0000s said:
you can go back to kitkat anytime... no one forced you to install lollipop factory image..
Click to expand...
Click to collapse
Well, battery life does.
Wassupdog said:
Thanks, I really preferece Google's gallery, is it possible to somehow install it?
Click to expand...
Click to collapse
You mean the AOSP version, not G+ Photos? Keep an eye out for an apk, or flash one of the AOSP versions of loli. Though I'm not sure if Gallery is present there, but I assume it is.
Wait to CM12
Wassupdog said:
I flashed on my Nexus 4 Google's factory images, yeah, the animations are cool and pretty fast but Google makes me have to use Google+ for example.
I don't use it and don't need it, but If I uninstall Google+ I can't use Photos, and It is the only gallery app on the device..
What can I do?
I just want the old Gallery...
Click to expand...
Click to collapse
Dont click on Google+? It doesnt force you to do anything with it. Yeah I suppose its annoying if you cant uninstall it but just ignore it and problem solved?
Here's the AOSP Gallery you wanted: https://www.sendspace.com/file/cyym47
Make a folder named GalleryGoogle under /system/app and paste the .apk inside the folder you created. Set the permissions accordingly and reboot(if you're not sure about permissions, check the other folders and .APKs' permissions using Root Explorer). If it doesn't work, you need to do something with the lib files.
i kinda see his point. the first thing i always do when i flash a new rom or in this case stock image is get root, get a app like "root uninstaller" and start deleting all preloaded apps that i don't want like google+ and earth and newsstand, etc. i like a clean OS with just what i want and it doesn't hurt that doing so also free up more ram and system storage
but now i can't do that AS MUCH as i want cuz some apps are link like google+ and photo. Until i find a good 3rd party app that looks good with the OS to replace some linked apps i'm stuck like this
We already have a thread in place for 5.0 discussion: http://forum.xda-developers.com/nexus-4/general/android-5-0-discussions-rumors-t2780976
Closed.
hey there!
Does anybody now if it's possible to change the default app used by camera why hitting thumbnails?
Actually i've set another app as default picture app and it works, but it still open them with google photos from camera.
Thanks for your help and ideas!
JS
anipiot said:
hey there!
Does anybody now if it's possible to change the default app used by camera why hitting thumbnails?
Actually i've set another app as default picture app and it works, but it still open them with google photos from camera.
Thanks for your help and ideas!
JS
Click to expand...
Click to collapse
Try to disable Google Photos app in settings.
bariz143 said:
Try to disable Google Photos app in settings.
Click to expand...
Click to collapse
Sorry, i did tried that, it just dont do nothing now.
anipiot said:
Sorry, i did tried that, it just dont do nothing now.
Click to expand...
Click to collapse
Thats weird. Whats the name of the photo app you want to use?