Sreekanth Karumanaghat
Sreekanth Karumanaghat

Reputation: 3403

Customise the android camera

Can I customize the android camera which is to be called from the application in any way? Customize means to add any text in the UI, make buttons with custom backgrounds etc.

Upvotes: 0

Views: 340

Answers (2)

Alexander
Alexander

Reputation: 48262

You can create your own layout with a dedicated SurfaceView which will ouput the camera preview, with a button which will toggle recording on/off and with any extra UI you need.

I believe, CommonsWare, the author of the other, and much better, answer, has written a great book which, among, other things has a great example of controlling camera http://commonsware.com/Android/ there is a chapter on Camera

Upvotes: 1

CommonsWare
CommonsWare

Reputation: 1006704

You can write your own camera app.

You can download the Android source code, modify the AOSP camera app, build a ROM mod containing your revised AOSP camera app, and install that ROM mod on other devices.

You are welcome to modify any other camera app that is open source.

You are welcome to license the source code to another camera app from parties willing to sell you such a license, then modify and distribute that app, subject to the terms of that license.

Your app cannot attack other apps -- a camera app or otherwise -- to "add any text in the UI, make buttons with custom backgrounds etc.".

Upvotes: 4

Related Questions