top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Android: Regarding creating an alert box when trying to access camera

+2 votes
346 views

I want to create an alertbox whenever any app creates an camera object. But I am not able to access to activity in frameworks/base/core/java/android/hardware/Camera.java to create an alertbox.

Could you help me out how can I capture activity related to camera in frameworks/base/core/java/android/hardware/Camera.java.

posted Nov 6, 2013 by Seema Siddique

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

When digital camera is connected to the android device. Gallery will launch automatically. Here what i need is to stop the auto launch of gallery when camera is connected to the device. Does any one know how to stop this?

+1 vote

Please give a work flow, java code is not necessary.

+1 vote

I want to define a new theme in framework, and override the alert dialog style. Please help...

+1 vote

We have an app that sync's its contacts with the native contacts app under a new account/content provider created by our app.

There are a few cases where we are unable to edit or update our app's contacts and receive errors like "Not editable from this app" (4.22) or "unable to edit from this app" (4.1.2)

I've cloned the git source for 4.22 contacts api and have added to my android project from Team - Share Project though i still don't understand how I can step through the native contacts code. I have found 2 places in the code where the above error is called, and I'm wanting to know which case we are hitting to better understand how to resolve the issue

...