This question already has answers here:
Taking picture from camera without preview
(9 answers)
Closed 5 years ago.
Can we run camera on android without a display screen? How to bypass permission required for Camera on API 23+ ? I am beginner here.
There's extensive examples here:
https://developer.android.com/training/permissions/requesting.html
To sum up, it's more similar to iOS now. You ask for permission when it's required. I doubt that you can "bypass" the check though. If your app needs the camera, it has to ask for it. If it doesn't need the camera, don't ask for it.
And remember to tell the user why you need the permission.
Related
This question already has answers here:
Listen to volume buttons in background service?
(14 answers)
Closed 5 years ago.
I am making an application and I want to make app in such a way that user directly open that by using volume key, suppose user click twice the volume+ or volume- buttom and the app will directly open without home screen or without any interuption.
I want to add this functionality using the code in Android Studio. If anyone know how to add this, please help...
What you are asking for is not App/Code nor Android Studio related but device related, If the Original Equipment Manufacturer will allow a device to have a shortcut button it could be possible to achieve that on those devices.
Cheers.
This question already has answers here:
Overlay image to make tutorial in Android app
(4 answers)
Closed 8 years ago.
I am developing an App for which I want to create a help screen like one which comes when we setup an Android Device for the very first time.
Something like these:
There are two libraries you can use to achieve this effect which are:
ShowcaseView
Robodemo
Try going through their samples and read about how to use them on their respective pages. If you still need any help, do let me know.
This question already has answers here:
How to set mobile system time and date in android?
(6 answers)
Closed 8 years ago.
Well I searched quit a lot on the new, and I found no good answer for that, unless your phone is rooted.
I am pretty sure you can do this in bash codes, but I have no idea where even to read about that.
I want to make an app with 2 buttons.
1st button will change the date of my phone 1 day forword
2nd button will change the hour of my phone 1 hour backword.
I want that the button will change the clock in the settings of phone
thank you all:)
Impossible for non-system apps that don't have a special permission.
Check out this question
This question already has an answer here:
Android Listener for Wrong Lock-pattern
(1 answer)
Closed 9 years ago.
I want to develop an Android App that will perform some action when a user enter invalid pattern lock or pin code while unlocking the mobile. I don't know much about it. Any body can guide me?
Create a DeviceAdminReceiver set to handle the ACTION_PASSWORD_FAILED events, which your receiver would handle in onPasswordFailed(). You can read more about the device admin APIs at: http://developer.android.com/guide/topics/admin/device-admin.html
Edited:
I think it is possible, but the screen lock runs on it's own sandbox environment.
These links may help you.
Android Listener for Wrong Lock-pattern
Android pattern input in application
Check it out.
This question already has answers here:
How to programmatically take a screenshot on Android?
(26 answers)
Closed 10 years ago.
i trying to do an application to take screenshot for android tablet every 1 second and view the image in desktop application. i got a help to do it but it takes the screenshot for my app only . what i need is to take screenshot even the user minimize the application so in the desktop application it will keep tracking what the user is doing on the tablet.
appreciate your help.
Thanks.
You can check android-screenshot-library, which should work without a root access; however it still have some limitations
Also AndroSS is another option for Tegra-based Android phones