azzam223 Active Member Licensed User Longtime User Jan 8, 2021 #1 hello how i can make my app to capture end user after enter device wrong password 2 times i want my app to linked with device password to how many user enter wrong password
hello how i can make my app to capture end user after enter device wrong password 2 times i want my app to linked with device password to how many user enter wrong password
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2021 #2 Check this library: https://www.b4x.com/android/forum/threads/device-administrator-library.19208/#content Upvote 0
Check this library: https://www.b4x.com/android/forum/threads/device-administrator-library.19208/#content
azzam223 Active Member Licensed User Longtime User Jan 10, 2021 #3 when i try to start capture with camera when the screen lock i get this message B4X: (Exception) java.lang.Exception: java.lang.RuntimeException: takePicture failed Upvote 0
when i try to start capture with camera when the screen lock i get this message B4X: (Exception) java.lang.Exception: java.lang.RuntimeException: takePicture failed
Erel B4X founder Staff member Licensed User Longtime User Jan 10, 2021 #4 I don't see any relation between the last two posts and the question in the first post. Upvote 0
azzam223 Active Member Licensed User Longtime User Jan 10, 2021 #5 i am very sorry erel for that i want to know how to fix takePicture problem in last post please Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Jan 11, 2021 #6 I now understand. I'm not sure that you will be able to accomplish it. I don't see any event that is raised when the user fails to log-in. About the camera, you do need to start an activity. Use this to show it above the lock screen: https://www.b4x.com/android/forum/threads/unlock-password-locked-screen.14870/post-84636 You can start an activity, take a picture and then close it. Upvote 0
I now understand. I'm not sure that you will be able to accomplish it. I don't see any event that is raised when the user fails to log-in. About the camera, you do need to start an activity. Use this to show it above the lock screen: https://www.b4x.com/android/forum/threads/unlock-password-locked-screen.14870/post-84636 You can start an activity, take a picture and then close it.
azzam223 Active Member Licensed User Longtime User Jan 11, 2021 #7 i did what you say show the activity above the screen lock but the camera also failed to capture is there any permission prevent the camera to capture Upvote 0
i did what you say show the activity above the screen lock but the camera also failed to capture is there any permission prevent the camera to capture
Erel B4X founder Staff member Licensed User Longtime User Jan 12, 2021 #8 Not enough information for us to help you. Upvote 0
azzam223 Active Member Licensed User Longtime User Jan 12, 2021 #9 I mean, I showed the activity above the screen lock, but when I pressed the capture button, i get also same message B4X: (Exception) java.lang.Exception: java.lang.RuntimeException: takePicture failed Upvote 0
I mean, I showed the activity above the screen lock, but when I pressed the capture button, i get also same message B4X: (Exception) java.lang.Exception: java.lang.RuntimeException: takePicture failed
A Alex_197 Well-Known Member Licensed User Longtime User Jan 12, 2021 #10 azzam223 said: hello how i can make my app to capture end user after enter device wrong password 2 times i want my app to linked with device password to how many user enter wrong password Click to expand... what if you use a counter and if count>2 then ...? If user entered credentials he must click on a button? Right? So when he click the button we have event. Upvote 0
azzam223 said: hello how i can make my app to capture end user after enter device wrong password 2 times i want my app to linked with device password to how many user enter wrong password Click to expand... what if you use a counter and if count>2 then ...? If user entered credentials he must click on a button? Right? So when he click the button we have event.
azzam223 Active Member Licensed User Longtime User Jan 12, 2021 #11 Alex_197 said: what if you use a counter and if count>2 then ...? If user entered credentials he must click on a button? Right? So when he click the button we have event. Click to expand... hi alex i don't want a counter the counter is easy but i want to know how to capture camera when the activity above screen lock because when i try to capture the camera the capture failed Upvote 0
Alex_197 said: what if you use a counter and if count>2 then ...? If user entered credentials he must click on a button? Right? So when he click the button we have event. Click to expand... hi alex i don't want a counter the counter is easy but i want to know how to capture camera when the activity above screen lock because when i try to capture the camera the capture failed