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?

1 Answer 1

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.

10
  • 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. Commented Mar 13, 2015 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 ) Commented Mar 13, 2015 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 Commented Mar 13, 2015 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 Commented Mar 13, 2015 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. Commented Mar 13, 2015 at 17:41

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .