Remove Camera App and Use SnapPhoto by adb? - G1 Android Development

What i was thinking if we could remove the camera app and replace it with Snapphoto to make it the default camera?
Please tell me if this is possible and if the button for the camera on the side of the phone if we can make it be used to activate the SnapPhoto App?
Thanks
-David

davidhooper4 said:
What i was thinking if we could remove the camera app and replace it with Snapphoto to make it the default camera?
Please tell me if this is possible and if the button for the camera on the side of the phone if we can make it be used to activate the SnapPhoto App?
Thanks
-David
Click to expand...
Click to collapse
If i had to guess yes you can.
Since Snap gives you the option to be set as default.
MOD EDIT: removed instructions
Might wanna wait till someone with more expertise confirms or directs you to correction.

Would you still be able to update SnapPhoto from the Market if you did this?

thanx for the adb code
im going to try it out right now

ok it works find i just made a mistake.
Thanks mikey1022!!

amgupt01 said:
Would you still be able to update SnapPhoto from the Market if you did this?
Click to expand...
Click to collapse
Yeah just like normal

Found a problem.
i made SnapPhoto to the default camera, but when im going to attach to a message and i choose camera and i get unexpected error
any solution?

I remember reading somewhere on the forum if you delete the camera.apk, you wouldn't be able to change your wallpaper & you might lose your pictures app. Are you still able to change the wallpaper & browse your pics?

Sounds like you need to place Camera.apk back in

the Camera app is built in and can not be removed without consequence.
It controls more than just the camera
is there a reason you want to replace it? you can have both at the same time.

I would have to guess....space

Ill go back so dum of me but i didnt back up the apk. so should I just reflash my current blue star 5 theme?

ALWAYS BACKUP EVERYTHING...fyi

If you need I will upload both the apk and odex

why delete the original camera software? just set SnapPhoto as the default camera and it will open when you press the shutter button.
Menu > Settings > Set as default camera
works fine

neoobs, hey my pictures app went away so if you could upload that for me would that include the pictures app with the camera app or could you upload those both please!!!!!

We know that.....why? unless he tells use, we can guess.
It happend, its over, hopefully he learned something out of this
BACKUP.
Plus that/this is also how he/myself learn also.
Taking the easy road at times isn't always fun. Take what this forum is all about. Taking things to their limits one way or another.

davidhooper4 said:
neoobs, hey my pictures app went away so if you could upload that for me would that include the pictures app with the camera app or could you upload those both please!!!!!
Click to expand...
Click to collapse
What is your version? RC30?

yes sirr neoobs

here you go
http://rapidshare.com/files/185706261/camera.rar
and at that I close this thread.
FINAL CONCLUSION: DO NOT DELETE CAMERA.APK

Related

[Request] disable camera sound from camera settings

I ask you guys if someone is able to add in camera settings an option to disable the camera sound, it's not present in the stock app
the only way I found is to disable system volume via cVolume
anyone ? thx
deadpoux said:
I ask you guys if someone is able to add in camera settings an option to disable the camera sound, it's not present in the stock app
the only way I found is to disable system volume via cVolume
anyone ? thx
Click to expand...
Click to collapse
I just deleted the camera shutter sound file...
but please enable this feature...
AbsoluteDesignz said:
I just deleted the camera shutter sound file...
but please enable this feature...
Click to expand...
Click to collapse
Where's the file located?
+1 I hate that sound
/system/media/audio/ui/camera_click.ogg
if you want it to sound different, just replace it with a different file.
if you don't want to hear it, just rename it.
if you want an automated process to do it, just make a simple script that renames it back and forth between the proper name and anything else (remember to mount r/w)
i don't get why people want this as an option.. is there EVER a time when you actually want it to make the sound? just nuke it... why waste the space for a radio button or check-box?
*edit* also, @deadpoux ... it's not an option in the stock rom because they've been trying to make it a legal requirement in many places, including the US. Not sure if this has passed or not, but here's the first link I found about it. http://www.tgdaily.com/consumer-electronics-features/41212-camera-click-sound-could-become-legally-required
sorry in advance for being so noob, but.... how can I delete/rename the file?
Tried using terminal emulator on the phone, but get no permission message....
please advise.
thnks
adb remount
adb shell rm /system/media/audio/ui/camera_click.ogg
Should do the trick.
if you're not comfortable with using adb, just download "rootexplorer" and navigate to the directory then in the upper right corner, click the button to select "r/w" access (read/write) and then long click camera_click.ogg and delete or rename, etc...
then switch back to "r/o" (read only) when you're done.
I will mention if you use root explorer, be VERY careful, if you poke around too much, you may cause issues with your phone. I can't see anyone actually bricking their phone with it, but it would require a reflash at the very least. I'd recommend at least trying to understand adb basics.
thanks guys, I used adb with your suggestion and now the camera is silent!!
thanks again!
SilentSnap Camera App
ThereĀ“s an app for that now
SilentSnap Camera
What is the location for the focus sound?
Yaotl said:
What is the location for the focus sound?
Click to expand...
Click to collapse
\system\media\audio\ui\camera_click.ogg
rori~ said:
\system\media\audio\ui\camera_click.ogg
Click to expand...
Click to collapse
That's the actual picture taking sound. If you hold the trackball to focus, there is another sound before the picture is taken.
yeah, wasnt aware of this, right...donno where it is yet, sorry..
Yaotl said:
That's the actual picture taking sound. If you hold the trackball to focus, there is another sound before the picture is taken.
Click to expand...
Click to collapse
Isn't that just the sound of the "Volume Up/Down" sound? In that case i wouldn't remove that one :-/
Re: [request]disable camera sound from camera settings
no i think its another one.
i guess we could listen to them all the find the second sound......
Sent from my Nexus One using the XDA mobile application powered by Tapatalk
depending on what rom ur on
CM 5.0.5.3 has desire camera port and it has the shut shutter sound off in options
its a bit more difficult getting the CM 5.0.5.3 desire camera port to work on CM 5.0.6 and the app is obviously on the desire rom's, enom's official rom has the use for it as well
unzip & push this .ogg file to /system/media/audio/ui
Yaotl said:
That's the actual picture taking sound. If you hold the trackball to focus, there is another sound before the picture is taken.
Click to expand...
Click to collapse
Yes, this is very annoying.

[Request] Mod for Gmail app and Camera app

Hey, I was wondering if it was possible to mod the gmail app so that it allows you to download attachments directly from the app rather than just previews. Also for the Camera app when viewing pictures you have taken, is it possible to mod it so u can change the picture by swiping like in the gallery instead of using the stupid forward and backward arrows? Any devs wanna give it a shot?
The camera thing might be possible... the gmail thing... well, the gmail app is closed source & proprietary....
pretty sure froyo has direct download from gmail
anyone wanna take a crack at modding the camera to do this?
Zephyron said:
anyone wanna take a crack at modding the camera to do this?
Click to expand...
Click to collapse
haha i just checked the camera app and it does open the gallery so you can indeed swipe to go through your pictures. You should just wait for froyo
flybyme said:
haha i just checked the camera app and it does open the gallery so you can indeed swipe to go through your pictures. You should just wait for froyo
Click to expand...
Click to collapse
would you be so kind as to check if the gmail app allows direct download in froyo? thanks!
Zephyron said:
would you be so kind as to check if the gmail app allows direct download in froyo? thanks!
Click to expand...
Click to collapse
ok heres how it is: apk files emailed show "install"
picture show "download" and 'preview"
unknown doesnt allow anything i dont believe. The attachments are context based on whether you can download. Do you have specific file types you want me to check?
flybyme said:
ok heres how it is: apk files emailed show "install"
picture show "download" and 'preview"
unknown doesnt allow anything i dont believe. The attachments are context based on whether you can download. Do you have specific file types you want me to check?
Click to expand...
Click to collapse
nope, this is perfect! thank you so much!

[MOD] Take photos with the R button - Now on the market!

After reading a thread on here before about this is (which i cannot find again) I decided to get to work to make this work, and after a little bit of poking about i managed to get it to work!
The app is now on the market! either search for "xperia play camera" or you use this link https://market.android.com/details?id=seb.camera.mod&feature=search_result.
The instructions are now obsolete but im keeping them there for completeness.
Installation Insturctions
1. Backup the original camera application with a root application manager e.g. titanium backup
2. Then delete the original camera app
3. Reboot your phone
4. Install the .apk from below
If you have a previous version installed you do not need to delete the old one or reboot just install as you would any other app
Version history
v5 - fixed remaining issues this is the final version as of time of writing please report any issues.
v4 - fixed video mode and added non root version
v3 - pictures now taken on release of R1 and menu position fixed
v2 - Decreased menu size by about 40% and fixed minor graphical glitches with menus
v1 - Original release, has VERY large menus
Hope you guys like it!
Removed my old camera app with titanium backup, tried to install this one, got a message saying 'application not installed'.
Clyzm said:
Removed my old camera app with titanium backup, tried to install this one, got a message saying 'application not installed'.
Click to expand...
Click to collapse
That's odd that's the issue i was getting before i removed the camera app fully, make sure you have unknown sources enabled and i used antek app manager to remove it so manbe give that a go. Ill look into it.
I will defo be trying this!!
Clyzm said:
Removed my old camera app with titanium backup, tried to install this one, got a message saying 'application not installed'.
Click to expand...
Click to collapse
Same thing happened to me. Just reboot your phone after you remove the app and the install should work, worked for me
Zoop57 said:
After reading a thread on here before about this is (which i cannot find again) I decided to get to work to make this work, and after a little bit of poking about i managed to get it to work!
Currently the shutter button on the screen remains highlighted until you tap the screen, not a big issue but its one I didn't have time to resolve, maybe later.
To install the app (.apk attached) you need to remove the one that came with the phone and then install this one, I would recommend backing up the original first too.
Hope you guys like it!
Click to expand...
Click to collapse
Did you update app without telling us? I dont get the highlighted shutter button after I take a pic. Also the menu options are huge! Anyway to fix that?
emann56 said:
Did you update app without telling us? I dont get the highlighted shutter button after I take a pic. Also the menu options are huge! Anyway to fix that?
Click to expand...
Click to collapse
Oh god yeah I didnt notice that I basicly downloaded the latest source code for the camera app from the android git and edited the code involving shutter buttons, when I get a chance ill have a look why the fonts so big. Xxx
Sent from my R800i using XDA App
emann56 said:
Same thing happened to me. Just reboot your phone after you remove the app and the install should work, worked for me
Click to expand...
Click to collapse
Yep, this worked perfectly. Thanks!
Sent from my R800a using XDA App
Thanks! Good job!!!
Cheers mate working fine. Backed up org. camera apk, then deleted it with titanium, rebooted and installed modded version without any issues
Regards Dousan...
Works like a charm ! thanks
Now going to update the original post with v2 that fixes the graphical glitches with the on screen hud. The pop-up menus have been decreased in size but still remain larger than the insanely small ones the original menu had. This version can be installed over the top of v1 like a normal app with no fuss.
good job !!
but how can i move libs to system files?
Great app! Works like a charm. Thanks for the great work.
My suggestion: I don't know what everyone thinks about this, but would it be possible to make it so that the app only focuses pressing down but doesn't take the actual photo until you release your finger (it would kind of mirror the shutter button on the screen).
Some advantages that would come from this would be being able to focus and then reframe, as well as timing shots better.
Thx bud works so much better now...I really disliked touching the screen to take pic.
liaoip said:
Would it be possible to make it so that the app only focuses pressing down but doesn't take the actual photo.
Click to expand...
Click to collapse
Agree with this.
Also, r trigger doesn't seem to work in video mode.
Excellent mod though, thumbs up.
I guess its time for v3 that shouldnt be hard to do and I shall try fix the video mode too.
Sent from my R800i using XDA App
Sounds good to me with R button pushed=focus and R button released=snap picture
Good work on the app mate, looking forward to a v3
Regards Dousan...
Good job but a few issues...
1. Is it me or so images taken this way seem to be blurrier than when taken with the stock camera app?
2. Why is there a gap between the menu bar, and the portion with the shutter button and the camera mode selector?
3. It seems to me that the menu, when clicked on it, seems as if the options are very blurry?
Nhialor
Also, remove the on screen shutter button.
You see, you help people, do a good job & they expect you to perform miracles!

Flashing JB Camera app

I am on Stock ICS but my camera app is very slow and autofocus is also not working properly. Also, the gallery app is very slow and really takes time to zoom the pictures (Picture viewing app like QuickPic works really fast).
I just want to know that if I flash JB(4.2) Camera app, will it work better. I want to know that whether it will replace the default Camera app or will work as a separate application ? If it doesn't work properly how can I remove it?
Link for JB 4.2 Camera and Gallery app http://forum.xda-developers.com/showthread.php?t=1965895
Any help would be appreciated.
androiddecoded said:
I am on Stock ICS but my camera app is very slow and autofocus is also not working properly. Also, the gallery app is very slow and really takes time to zoom the pictures (Picture viewing app like QuickPic works really fast).
I just want to know that if I flash JB(4.2) Camera app, will it work better. I want to know that whether it will replace the default Camera app or will work as a separate application ? If it doesn't work properly how can I remove it?
Link for JB 4.2 Camera and Gallery app http://forum.xda-developers.com/showthread.php?t=1965895
Any help would be appreciated.
Click to expand...
Click to collapse
Yeah it will work fine, youve to be rooted though.
It will work like a separate application and you can remove the app by removing the apk files and lib files /system/app and system/lib resp. We'll get into details if you don't feel like having it, first see if u like it.
Edit: BTW, the photosphere mode won't work for our phone since our phone doesn't have a gyroscope.
If auto focus and stock gallery are a problem, there's always the RazrM camera app in this link http://forum.xda-developers.com/showthread.php?p=32286710
It has multi shot and shutter tone toggle which the 4.2 is currently missing. Also you can link the gallery from the camera as quickpic and autofocus is as good as any moto camera app.
anikadam said:
Yeah it will work fine, youve to be rooted though.
It will work like a separate application and you can remove the app by removing the apk files and lib files /system/app and system/lib resp. We'll get into details if you don't feel like having it, first see if u like it.
If auto focus and stock gallery are a problem, there's always the RazrM camera app in this link http://forum.xda-developers.com/showthread.php?p=32286710
It has multi shot and shutter tone toggle which the 4.2 is currently missing. Also you can link the gallery from the camera as quickpic.
Click to expand...
Click to collapse
Thanks for the reply. Well then I will try RazrM Camera App first. And can you tell how I can link gallery from the camera as quickpic?
androiddecoded said:
Thanks for the reply. Well then I will try RazrM Camera App first. And can you tell how I can link gallery from the camera as quickpic?
Click to expand...
Click to collapse
When you click on the gallery icon on top right of the camera screen.. it'll ask you to select a default application to open photos.
anikadam said:
When you click on the gallery icon on top right of the camera screen.. it'll ask you to select a default application to open photos.
Click to expand...
Click to collapse
Can you tell me any widget to directly toggle between 2G to 3G? Its built in CM and some samsung phones. I didn't wanted to start a separate thread so asked the question here.
androiddecoded said:
Can you tell me any widget to directly toggle between 2G to 3G? Its built in CM and some samsung phones. I didn't wanted to start a separate thread so asked the question here.
Click to expand...
Click to collapse
Download and use this app.it'll let you choose.
Sent from my MB865 using xda premium
androiddecoded said:
Can you tell me any widget to directly toggle between 2G to 3G? Its built in CM and some samsung phones. I didn't wanted to start a separate thread so asked the question here.
Click to expand...
Click to collapse
Theres no widget to directly toggle 2g/3g, the max you can do is get to the Mobile Network Settings page and select the desired network
i use 2G-3G On Off widget by curvefish from play store.. gets the work done..
are you able to select 2g or 3g network from Settings/Mobile Networks/Select Network ? if not then heres a mod to change that
http://forum.xda-developers.com/showpost.php?p=22900657&postcount=11
OR
http://forum.xda-developers.com/showthread.php?t=1386383

Default Gallery App Change

Hi
Seems like Google Photo's is hard coded to be the default picture viewer.
If you install something else you are not prompted to choose the new default as you would expect.
Disabling google photo's and trying to force new default doesn't work either.
Perhaps with future ROM?
Anything anyone achieved without root etc. till now? Thanks.
Reorienting back and recent keys seems like a no go either, what do people do to get round that?
Thanks for any tips already.
technotika said:
Hi
Seems like Google Photo's is hard coded to be the default picture viewer.
If you install something else you are not prompted to choose the new default as you would expect.
Disabling google photo's and trying to force new default doesn't work either.
Perhaps with future ROM?
Anything anyone achieved without root etc. till now? Thanks.
Reorienting back and recent keys seems like a no go either, what do people do to get round that?
Thanks for any tips already.
Click to expand...
Click to collapse
For remapping the buttons the app from Flar2 works.
https://play.google.com/store/apps/details?id=flar2.homebutton
technotika said:
Hi
Seems like Google Photo's is hard coded to be the default picture viewer.
If you install something else you are not prompted to choose the new default as you would expect.
Disabling google photo's and trying to force new default doesn't work either.
Perhaps with future ROM?
Anything anyone achieved without root etc. till now? Thanks.
Reorienting back and recent keys seems like a no go either, what do people do to get round that?
Thanks for any tips already.
Click to expand...
Click to collapse
Hmm...
If I tap on an image file I get a choice :
jhill110 said:
Hmm...
If I tap on an image file I get a choice :
Click to expand...
Click to collapse
try from within the camera - take pic - review it - only allowed Google Photo's, for me at least..?
technotika said:
try from within the camera - take pic - review it - only allowed Google Photo's, for me at least..?
Click to expand...
Click to collapse
Tryna different camera. Counterintuitive? Maybe. Probably. Definitely. But you will get the option that you want.
But this has ALWAYS been the case with HTC. I have installed the HTC camera app on other phones, and it was imperative to have the HTC Gallery app to be able to review the photos after they are taken. I know that it's a different gallery app that we are taking about, but I think have the Camera App is the real issue here. The app defines the default photos app.
I may be wrong, but that's something that I discovered a while back.
technotika said:
Hi
Seems like Google Photo's is hard coded to be the default picture viewer.
If you install something else you are not prompted to choose the new default as you would expect.
Disabling google photo's and trying to force new default doesn't work either.
Perhaps with future ROM?
Anything anyone achieved without root etc. till now? Thanks.
Reorienting back and recent keys seems like a no go either, what do people do to get round that?
Thanks for any tips already.
Click to expand...
Click to collapse
You could use a custom rom like leedroid, there you can define your favorite app for pictures and it will launch from the camera.
And you can use custom roms without root.
diamond09 said:
You could use a custom rom like leedroid, there you can define your favorite app for pictures and it will launch from the camera.
And you can use custom roms without root.
Click to expand...
Click to collapse
Still need to unlock the bootloader. I'm sure you know that...but there are still some newbies to the scene.
AarSyl said:
Still need to unlock the bootloader. I'm sure you know that...but there are still some newbies to the scene.
Click to expand...
Click to collapse
Sure I know about that, it was just a hint to the right direction.
There are some very good guides for it.
What if you sideload the old Gallery app?
If you want back the old HTC Apps try here
https://forum.xda-developers.com/an...blinkfeed-plugins-devices-08-03-2015-t3049438
I tested it on my shiny new U11
Still no way to change the gallery app when you open photos from camera? Google photos is driving me nuts and I dont want to use it
NeoDJW said:
Still no way to change the gallery app when you open photos from camera? Google photos is driving me nuts and I dont want to use it
Click to expand...
Click to collapse
Switch to QuickPic
I cant, already tried that.
NeoDJW said:
Still no way to change the gallery app when you open photos from camera? Google photos is driving me nuts and I dont want to use it
Click to expand...
Click to collapse
install htc album from apk mirror, then disable the google photos app. It should default to htc album then.
It should but it doesn't, and I don't know why... When I disable google photos and install htc gallery nothing hapens when I try to open photos from camera.
Any fix for this yet?
Would love to see a fix too!
I got around all the little issues with Photos by disabling that app.
Then got "QuickPic" from Google Play and made it Gallery app in it's settings.
Aggravation instantly gone. Works fine without giving an argument about everything.
haasgo said:
Would love to see a fix too!
Click to expand...
Click to collapse
on our rom you can pick any gallery app as preview album in the camera app.
I've tried many apps as I've never really used Google photos before and had no luck with any. But I've started to like it now. Especially since they added opening straight to albums in the settings.

Categories

Resources