Related
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
Hey guys,
After realizing how fantastic the tab is after switching to 182 dpi I figured I'd fix up some of the apps to fit better.
Thanks to Xan from this thread for the quick tool and batch script to make the changes.
These apks are from Overcome 1.6.3 and should work on other dpi settings as well.
Instructions, push the new files to /system/app after mounting the system rw, or using root explorer..
*Edit May 4th* I've attached an updated Email.apk as well
Disclaimer:The Standard disclaimer applies, I'm not responsible if this causes boot loops, any other issues with your Tab, or giant meteors to crash into your car.Backup the files you are replacing first.
So u did rename framework-res to 1.apk and twframwork to 2.apk.. decompiling phone & contacts worked for me. Give me a howl if it didn't work and ill zip up mine and send it..
oh im editing overcome145 - not tested 163
just a friendly tip, might be a idea to use frameworks from a stock 2.2.1 rom instead from a moddified rom, might be a glitch there..
yup, sure did.
*edit* think I've got it now, I compiled the new apktool and started fresh..
Can you post screen shots
I tried, but ddms doesn't capture them correctly. The change makes the apps pretty much look exactly like they do at 240dpi.
can you change the email app too please? when i go into the landscape 2 pane mode, the left pane doesnot appear correctly.
thanks
Yeah for sure. Ill have a look and fix it tomorrow..
Sent from my tab
coolkat said:
can you change the email app too please? when i go into the landscape 2 pane mode, the left pane doesnot appear correctly.
thanks
Click to expand...
Click to collapse
Added to original post.
Does this mean u corrected the popup incall dialer by doing adjustments to Contacts,apk?
see my ex. pic
[img=http://img847.imageshack.us/img847/4445/dscf5500.th.jpg]
[img=http://img848.imageshack.us/img848/3275/dscf5499u.th.jpg]
[img=http://img195.imageshack.us/img195/7884/dscf5498s.th.jpg]
Im still fiddling with this, so please tell me i can stop
Thanks.
Noticed that the statusbar disappears in the email app, when i go into landscape.
How about modifying the camera app?
I didnt find the stock launcher too bad. Had to switch it though, after i changed density. Is that modifyable too?
Would be nice.
SGT OVC 1.6.4
Email fc I'm on overcome 1.4.7 hope this helps
Mr. mssmison is only adjusting for overcome16x, mixing 2.2 with 2.2.1 will probably give errors..
biopsin said:
Mr. mssmison is only adjusting for overcome16x, mixing 2.2 with 2.2.1 will probably give errors..
Click to expand...
Click to collapse
not Mr... just mssmison Yeah that's exactly right. This would only work on 2.2.1 base roms.
biopsin said:
Does this mean u corrected the popup incall dialer by doing adjustments to Contacts,apk?
see my ex. pic
[img=http://img847.imageshack.us/img847/4445/dscf5500.th.jpg]
[img=http://img848.imageshack.us/img848/3275/dscf5499u.th.jpg]
[img=http://img195.imageshack.us/img195/7884/dscf5498s.th.jpg]
Im still fiddling with this, so please tell me i can stop
Click to expand...
Click to collapse
It never bothered me enough to fix, but it should be easy enough. I'll give it a shot for you.
{Diemex} said:
Thanks.
Noticed that the statusbar disappears in the email app, when i go into landscape.
How about modifying the camera app?
I didnt find the stock launcher too bad. Had to switch it though, after i changed density. Is that modifyable too?
Would be nice.
SGT OVC 1.6.4
Click to expand...
Click to collapse
I might look at the camera app, but isn't the only thing that's off the preview button box around the image?
mssmison said:
not Mr... just mssmison
Click to expand...
Click to collapse
Sorry i allways go polite when smoking
I'll give it a shot for you.
Click to expand...
Click to collapse
not for me...for the community
Tnx man
mssmison said:
I might look at the camera app, but isn't the only thing that's off the preview button box around the image?
Click to expand...
Click to collapse
Yep but maybe you could also get it to work on lower densities
SGT OVC 1.6.4
Phone might be a tough one, any time I adjust the xml's at all it just crashes out the phone app when you end a call, thereby restarting the modem.. Best temp fix I can think of is to adjust the png for the end call button to be transparent on the right hand side.
I'll keep plugging away at it though.
Noticed it too, tested just changing background to black, and it would behave the same, fc on inn or out going.??
mssmison said:
Phone might be a tough one, any time I adjust the xml's at all it just crashes out the phone app when you end a call, thereby restarting the modem.. Best temp fix I can think of is to adjust the png for the end call button to be transparent on the right hand side.
I'll keep plugging away at it though.
Click to expand...
Click to collapse
off topic what xml editor are you using? every editor i use to open xml just crashes
i use notepad++ mini version.
http://notepad-plus-plus.org/release/5.9
Does anyone know how to fix this app problem out there? I used the spare parts app to make apps load to fit the screen size of the tablet.
Now i am having problems with apps staying in portrait mode and will not change to landscape.
Sent from my Xoom using XDA App
The change that you made was to disable compatibility mode within spare parts. Try re-enabling it.
My feeling is, however, that certain phone-optimized apps lock the orientation to portrait. This is annoying, but sadly there's nothing (that I know of) that can be done.
willverduzco said:
The change that you made was to disable compatibility mode within spare parts. Try re-enabling it.
My feeling is, however, that certain phone-optimized apps lock the orientation to portrait. This is annoying, but sadly there's nothing (that I know of) that can be done.
Click to expand...
Click to collapse
Decompile the apk modify the manifest and layout XML files and then recompile it (in a nutshell).
Legal issues aside, that's what you do or write email to the developer and ask them to take away the force to portrait in their layout XML files.
Many apps I have installed that are not honeycomb versions, while still working have some odd behaviours. The most common is that some launch in portrait mode even when docked and either don't rotate to landscape or only part of the app on certain screens will be viewable in landscape. When not docked it's not an issue as i can rotate the screen but it makes these apps unusable with the keyboard dock connected. Any ideas on how to force landscape mode?
Some examples are medscape, yahoo sportacular.....
Sent from my Transformer TF101 using Tapatalk
Well, if it makes you feel better (probably not), there are some Honeycomb "optimized" apps that do the same thing (I'm looking at you, Nook store). Not sure if there is a way to force landscape barring a code edit.
Why Portrait...... The Market only opens and stays in Landscape.
Beards said:
Why Portrait...... The Market only opens and stays in Landscape.
Click to expand...
Click to collapse
Ahh, so it wasn't only mine.
Very annoying behavior. Makes me stop buying apps.
Kumabjorn said:
Ahh, so it wasn't only mine.
Very annoying behavior. Makes me stop buying apps.
Click to expand...
Click to collapse
Yes honeycomb market is landscape only but the apps I refer to keep starting to rotate to landscape then switch to portrait so unviewable when docked as writing is sideways
I believe it is dependent on the app. I installed a volume manager to automatically mute when I'm in class and it only runs in portrait. I am pretty sure that when designing apps, developers have to decide where elements go in both portrait and landscape orientation and if they design only for one, then that's all you get.
Also, why DID they make the market landscape only? That's so dumb. Probably a topic for another thread though.
In many cases it'd work fine in landscape if the developers just would have configured it to allow it. A lot of apps could take the first step towards being "honeycomb optimized" with a one line configuration change. Some might need some additional graphics or layout tweaks, but a lot of the time it will scale things just fine in landscape.
And yes, I think it's just as silly that the Market is forced to landscape. But the Honeycomb market sucks in many other ways too (can't write reviews? Seriously???)
bkrodgers said:
In many cases it'd work fine in landscape if the developers just would have configured it to allow it. A lot of apps could take the first step towards being "honeycomb optimized" with a one line configuration change. Some might need some additional graphics or layout tweaks, but a lot of the time it will scale things just fine in landscape.
And yes, I think it's just as silly that the Market is forced to landscape. But the Honeycomb market sucks in many other ways too (can't write reviews? Seriously???)
Click to expand...
Click to collapse
There is a simple fix for this that i have used on many apps. Does not work for all, so YMMV.
Grab an app calle APKEdit.
Get the apk off your device.
Load it in apkedit.
Go to the details tab and click on browse.
Find the AndroidManifext.xml file and edit in notepad.
Replace "portrait" with "sensor" or "landscape" and save
then click apply in apkedit.
Uninstall your app and install the new APK.
Should work.
gottahavit said:
There is a simple fix for this that i have used on many apps. Does not work for all, so YMMV.
Grab an app calle APKEdit.
Get the apk off your device.
Load it in apkedit.
Go to the details tab and click on browse.
Find the AndroidManifext.xml file and edit in notepad.
Replace "portrait" with "sensor" or "landscape" and save
then click apply in apkedit.
Uninstall your app and install the new APK.
Should work.
Click to expand...
Click to collapse
True, but you can't update from the market anymore. And unless you are rooted and use Titanium, you can't preserve data if the app doesn't have a sync or import/export feature.
bkrodgers said:
True, but you can't update from the market anymore. And unless you are rooted and use Titanium, you can't preserve data if the app doesn't have a sync or import/export feature.
Click to expand...
Click to collapse
you are correct, but if the app doesn't work well in one layout or another that you want it's a minor inconvenicence to check the market once in a while and only update when something significant changes. then reapplh this fix. yes thd devs should be pushed go fix this. this is just how i deal with it, if you are uncomfortable with it then definitely dont do it and just send feedback to the dev.
Hi there, I've about had it with the stock camera app automatically boosting brightness when it's launched. It's a nice feature when you're outside, but if you're inside it's way too bright. It makes scenes look brighter than they really are, causing under-exposed photographs. And it's super distracting in a dark room. I've spent a few hours looking through the APK and can't find a setting that would be controlling this auto-brightness behavior. But I'm not an experienced Android dev.
Almost all other camera apps have a toggle for this, but not the S7's.
I also spent a couple weeks fooling with Tasker to disable auto-brightness when the app is launched, the re-enable when exiting. The problem is the display brightness level is not consistent when AB is toggled off and sometimes the screen is way too dark or way too bright. Example:
1. Inside, display at 20% brightness.2. Launch camera app, Tasker disables auto-brightness, display stays at 20%.3. Exit camera app, Taske enables auto-brightness, display still at 20%.4. Go outside, display increases to 75% brightness.[here's where it gets whacky]
5. Launch camera app, Tasker disables auto-brightness, display drops to 20%.It's like the OS remembers the last manual brightness setting for an app. If there were a way in Tasker to freeze the brightness level before display auto-brightness, that'd be ideal. But I can't figure that out.
So, I'm requesting help from a developer(s) to find a solution. Either a foolproof Tasker recipe, or a modification to the camera app itself. Solution found. Read thread.
If you want payment for your efforts (assuming you find a solution), I'm happy to do that! :good:
Optimistically bumping this thread. It sucks that Samsung's closed-off everything has chased away so many devs from this device.
Ignore
Look in this file.
Camera.smali - For auto brightness change - 0x78 (120) to 0x1.
120 is the lower limit where brightness override kicks in.
I found the actual pictures the S7 takes are bright anyway so if the viewfinder is dull the actual image is brighter anyway. So I've left mine.
Just disable auto brightness when dark viewfinder is needed. It works even on the lowest level when auto brightness is disabled.
zeroprobe said:
Look in this file.
Camera.smali - For auto brightness change - 0x78 (120) to 0x1.
120 is the lower limit where brightness override kicks in.
I found the actual pictures the S7 takes are bright anyway so if the viewfinder is dull the actual image is brighter anyway. So I've left mine.
Click to expand...
Click to collapse
AWESOME. Where/How can I find this file to edit? I couldn't find it packaged in the APK but maybe I missed it...
mrmattolsen said:
AWESOME. Where/How can I find this file to edit? I couldn't find it packaged in the APK but maybe I missed it...
Click to expand...
Click to collapse
Make sure you have decompiled the APK. Good tool is AndroidMultiTool.
Might need to also copy the latest apktool to AndroidMultiTools Program Files directory.
zeroprobe said:
Make sure you have decompiled the APK. Good tool is AndroidMultiTool.
Might need to also copy the latest apktool to AndroidMultiTools Program Files directory.
Click to expand...
Click to collapse
I've tried this, but decompiling the APK does not reveal any smali files. What am I doing wrong? I tried checking "Use Baksmali" but get this error:
The system cannot find the path specified.
Exception in thread "main" org.jf.dexlib2.DexFileFactory$DexFileNotFound: zip file SamsungCamera5.apk does not contain a classes.dex file
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:94)
at org.jf.dexlib2.DexFileFactory.loadDexFile(DexFileFactory.java:78)
at org.jf.baksmali.main.main(main.java:292)
Click to expand...
Click to collapse
mrmattolsen said:
I've tried this, but decompiling the APK does not reveal any smali files. What am I doing wrong? I tried checking "Use Baksmali" but get this error:
Click to expand...
Click to collapse
Are you decompiling your own Camera? This is probably an odexed rom.
The Camera needs to be deodexed, alternatively you can use my modded camera.apk here which should decompile.
http://forum.xda-developers.com/galaxy-s7/themes/zero-camera-mod-v1-0-increased-bitrates-t3439176
zeroprobe said:
Are you decompiling your own Camera? This is probably an odexed rom.
The Camera needs to be deodexed, alternatively you can use my modded camera.apk here which should decompile.
http://forum.xda-developers.com/galaxy-s7/themes/zero-camera-mod-v1-0-increased-bitrates-t3439176
Click to expand...
Click to collapse
Thanks so much. I used that apk, decompiled, found the smali file and made the edit. I recompiled and planned to use it to install your bitrate mod. However, I cannot rename the SamsungCamera5.odex or its folder -- access denied. Am I stuck? I've replaced the apk with the modded one, but I can't rename the odex. Can't replace media_profiles.xml either -- access denied too.
mrmattolsen said:
Thanks so much. I used that apk, decompiled, found the smali file and made the edit. I recompiled and planned to use it to install your bitrate mod. However, I cannot rename the SamsungCamera5.odex or its folder -- access denied. Am I stuck? I've replaced the apk with the modded one, but I can't rename the odex.[/Q
Do you use ES file explorer, you need to enable root explorer then click root explorer and set /system to rw mount
Click to expand...
Click to collapse
zeroprobe said:
mrmattolsen said:
Thanks so much. I used that apk, decompiled, found the smali file and made the edit. I recompiled and planned to use it to install your bitrate mod. However, I cannot rename the SamsungCamera5.odex or its folder -- access denied. Am I stuck? I've replaced the apk with the modded one, but I can't rename the odex.[/Q
Do you use ES file explorer, you need to enable root explorer then click root explorer and set /system to rw mount
Click to expand...
Click to collapse
I was using Solid Explorer. Could access some files. For example, was able to replace the camera apk, but other was denied. Tried ES too and can't enable Root Explorer. I'm not rooted, so am I screwed?
-edit- I take that back. Can't replace the camera apk either. Bummer. I guess that's that.
Click to expand...
Click to collapse
mrmattolsen said:
zeroprobe said:
I was using Solid Explorer. Could access some files. For example, was able to replace the camera apk, but other was denied. Tried ES too and can't enable Root Explorer. I'm not rooted, so am I screwed?
Click to expand...
Click to collapse
Yes you need to be rooted to change camera. I doubt the camera.apk has been replaced as you are not rooted. The only other way is to flash through custom recovery example TWRP
Click to expand...
Click to collapse
zeroprobe said:
mrmattolsen said:
Yes you need to be rooted to change camera. I doubt the camera.apk has been replaced as you are not rooted. The only other way is to flash through custom recovery example TWRP
Click to expand...
Click to collapse
Dang it. My hopes and dreams crushed. Thanks for you help anyways.
I guess I need to revisit the Tasker recipe...
Click to expand...
Click to collapse
Alright @zeroprobe, I rooted and used your instructions to modify the app. Works like a charm! Brightness now stays the same as my screen brightness. And now indoor photos are a million times better. I appreciate your help very, very, much. Sending a little PayPal love your way. Thank you for help!
mrmattolsen said:
Alright @zeroprobe, I rooted and used your instructions to modify the app. Works like a charm! Brightness now stays the same as my screen brightness. And now indoor photos are a million times better. I appreciate your help very, very, much. Sending a little PayPal love your way. Thank you for help!
Click to expand...
Click to collapse
Thanks a lot, appreciated !
Hi there!
The brightness issue with the camera app annoys me as well but unfortunately I have no rooted phone.
But is it possible that someone (e.g. @mrmattolsen) can send me the modified camera apk I can install? (my camera app version is 5.0.88) Will it work that way? ... and of course I would also send some appreciation via PayPal for your effort
best regards, Tom