3

I am running Android on a Samsung Galaxy SIII Neo (Android KitKat 4.4.2). I would like the stock Camera application to launch a different application than the stock Gallery application when the small square icon in the upper-right hand corner of the camera screen is clicked. Presumably, the stock Gallery app is opened via an intent, and I would like to associate a different app with the intent used to open the stock Galley app from the Camera app. I tried going to Settings -> General -> Application manager -> ALL and for both the stock Camera app and the stock Gallery app it says that there are No defauts set.

The reason I would like to launch another app instead of the Gallery app from the Camera app is so that I can use an app capable of adding EXIF data (which would allow me to enter EXIF memos alongside any picture's EXIF data).

How can I accomplish this?

2

the answer is you can't ,because the "preview" button action is hard coded in the stock camera app as a link to the right activity in the stock gallery app it sends an intent with the path to the jpeg image to the stock gallery ,the link is not an intent that can be received by third party apps ,even if you try deleting the stock gallery app the preview button will have no action and in some phones your camera app will force close.

  • This is a bit dumb in my opinion. Why didn't the developers make the underlying intent behavior more general? Also, how hard would it be to download the code for the Camera app and modify that line that sends the intent. Is the Camera app distributed via a GPL license, and where can I find the code? Thanks. – John Sonderson Mar 13 '15 at 11:58
  • 1
    yes ,I never thought of that before but now I see that this is dumb ,for the source code it depends on your phone and witch Rom/firmware you're using ,usually camera app is not delivered under GPL license but there is exceptions (if using Cyanogen roms all apps are under apache 2.0 and the source codes are available ) – lord-ralf-adolf Mar 13 '15 at 12:01
  • 1
    You're welcome my friend there is two web sites of samsung's 1 / the open source project all open sourced stuff can be found here opensource.samsung.com 2 / the developers website developer.samsung.com you can use the contact form on the open source website or use the forum on the developers website – lord-ralf-adolf Mar 13 '15 at 16:53
  • 1
    I edited the last comment with the two links (I always tap "enter" which submits my comment before I want that :D sorry – lord-ralf-adolf Mar 13 '15 at 17:02
  • 1
    the source you found are kernel source code since it is under GPL V2 they have to put the sources public ,and some open source libraries ,submitting a feature request will take time if it was accepted (samsung is not realy that open to suggestions ) I advice the use of a third party app as a camera with the wanted option included in it or may be post a request on XDA forums may be some rom cooker will do the work for you or you can use apktool to decompile the camera apk and then made the changes you want to it. – lord-ralf-adolf Mar 13 '15 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.