Is it possible to do a biometric authentication without the BiometricDialog?
I mean it seems to be done by some apps (Revolut and other financial apps).
Right now I'm using this library: https://github.com/pwittchen/RxBiometric
to handle the dialog and preconditions but I'm open to drop it.
My idea is to have a screen with an icon/label on the middle and to wait until the user touches the sensor, without any dialog.
All I can find around the web is using BiometricDialog.
P.S. using kotlin but I'm open to java solutions as well
As Micheal suggested in the comment, the old FingerprintManager did the trick. It's deprecated but seems to work just fine.
Related
I was wondering if anyone had a relatively simple solution for us.
We created an app to be used by our clients on android devices that we give them.
We would like the client to only be able to use our app and have limited access to everything else (i.e. settings, email etc.) What is the best way to achieve this without using 3rd party apps.
Thank you in advance!
This may not help but the L preview has a task locking feature included that may be of some insight, I'm not aware of how it functions as yet
Task locking
The L Developer Preview introduces a new task locking API that lets you temporarily restrict users from leaving your app or being interrupted by notifications. This could be used, for example, if you are developing an education app to support high stakes assessment requirements on Android. Once your app activates this mode, users will not be able to see notifications, access other apps, or return to the Home screen, until your app exits the mode.
http://developer.android.com/preview/api-overview.html
Hope this helped
Suppress the Title Bar & Make Your App a Launcher
Root Your Tablet
Modify System Files and Settings to hide the soft keys
On the next link you can find the complete solution for the Nexus 7 (2012)
http://thebitplague.wordpress.com/2013/04/05/kiosk-mode-on-the-nexus-7/
simple Answer is:
Lock Install button with modify system settings.
Create your own customized-ROM and apply your requirement to that ROM.
more info, visit XDADavelopers
I'm working on a project and I want to implement qr-code scanner in it.
I tried to look for an in-app solution but i didn't find anything relevant so i decided to use a common bar-code scanner to launch an url.
When the user tries to open this link, I want Android to show him a chooser dialog where he can choose to open that link using my application.
I saw a lot of answer to a question like this, but i didn't find anyting about implementing this thing in a no-native android application.
The application is made in html5+javascript+php and all the answers i found spoke abount intent and so on...there is a way to implement the same feature using html5?
Thank you,
Christian
here is the perfect link -
http://devgirl.org/2013/09/17/how-to-write-a-phonegap-3-0-plugin-for-android/
Even I am new to cordova and found many difficulties while designing my 1st plugin.
and be careful cordova 3.0 and later version of cordova has huge difference with the earlier version.
best
Well, I'm kinda new to mobile app development, but I have a fair amount of experience with Java. I stumbled upon CodeNameOne and thought I'd try to make an app based on "It's Learning". Unfortunately this site won't let me get straight to the logon page without going through the main portal first. So here's my question:
Is there any way (in CodeNameOne) to automate navigation on the web in the background and get information from the site, such as login and the newsfeed, then send data from the app and to the web page?
(Something like the way HtmlUnit works is what I'm looking for)
You can do some of that work using ConnectionRequest to simulate user interaction but that would probably be fragile as Andrew mentioned. The main issue is that they might change the site structure and your HtmlUnit code would break.
What we do when faced with such a situation is create a server that abstracts the "scraping" behind a set of clearly defined REST API's. That way if the site design changes we just update the server to match the change and all the clients out there will work as usual without requiring an update.
Naturally there is always a possibility of the site blocking you or even blocking your server IP address/range so Andrews advice of actually talking to the guys is sound advice.
I was thinking to build up an app to manage the notifications. I gave a look to the Notification Manager but i didn't find anything that could help me. I'd like to get all the notifications (that are in the notification bar). Have you got any idea? Thanks, regards.
I don't believe there's any possibility to do such thing using the public API. There are strict restrictions to what an app can access, for obvious security reasons. Each app is handled as a different user by the OS, so it has access only to public data and to the data owned by that app.
If you need this for a private project, you may consider modifying the android source code. I can't give you many details on how to do it, but I would start by looking at com.android.server.NotificationManagerService (source code here).
I know this in general is beyond the scope of SO, but I am looking for some basic yes/no info to see if it is even feasible to proceed... I am thinking about building and Android 'note-taking/annotation' app that runs 'over' other installed Android apps, such as the web browser for example.
Essentially, while the user is browsing, my app would be running in the bg as a service, and then they could activate it which would then essentially intercept user inputs and translate those on a transparent canvas over the web browser into lines, shapes, etc. The user could then take a screen-cap of their marking with the underlying web page, which would be stored to the sd card.
This is a very good idea and a great question, but sadly, I do not believe it is possible.
The way Android is designed only one Activity can have focus at a time, while a Service could run in the background, the user would not be able to interact with it. The user can only interact with the currently active Activity.
Again, love the idea, but it is sadly not supported.
You might be able to achieve this with the WindowManager service. You can then use that to call addView() with a view of type TYPE_SYSTEM_ALERT, or possibly TYPE_SYSTEM_OVERLAY (but see the notes in the documentation about taking input focus).
I haven't tried it myself, but I've seen several apps (often dictionary apps that translate whatever words you tap on) that do overlays, and they always seem to require the SYSTEM_ALERT_WINDOW permission.