using a usb fingerprint scanner with monodroid - usb

I'd like to use monodroid to build an app that reads fingerprints from a USB device. Is there an SDK out there that I can use to do this?
If I used an existing fingerprint java SDK like http://www.neurotechnology.com/ , can it be mixed into a monodroid project? If I use the usb api in monodroid, will I be able to somehow use an existing driver to an external usb fingerprint device?

I doubt that there is an SDK written for Mono for Android for fingerprint biometrics. However you can mix Java with C#, so you are not out of luck.
So what you essentially can do is write a bunch of classes using the Fingerprint SDK you link to and compile and package it in a jar. If you are smart you also write a couple of helper classes in Java which does the heavy lifting, and the only thing you have to do is to bind it so that it can be invoked from Mono for Android.
More information on how to bind jars can be found in the Mono for Android documentation.

Related

Apache Cordova and bluetooth

Does Apache Cordova have the abilty to use the mobile device's bluetooth. I'm currently making an app on Android and it uses bluetooth but I would also like to make the same app on Apache Cordova and I can't find any type of documentation regarding using Apache Cordova and bluetooth.
Apache Cordova can make all platform APIs from iOS or Android available within a so called WebView. A WebView is basically rendering HTML, CSS and executing JavaScript. Platform APIs can be made available through plugins in Apache Cordova and inside the WebView can be used via JavaScript. You can either write your own plugin or use an existing one.
Android allows for Bluetooth classic and Bluetooth low energy. To my best knowledge iOS only has support for Bluetooth low energy. There are several plugins available for bluetooth support inside an Apache Cordova app, just use the plugin search on the Apache Cordova Website: https://cordova.apache.org/plugins/
Ranked by github stars you might use the following plugin for bluetooth le:
https://github.com/randdusing/cordova-plugin-bluetoothle
Or the following for bluetooth classic:
https://github.com/don/BluetoothSerial
#AdamV,
You'll have to use a plugin. Most anything you want to do on Phonegap requires a plugin.
My list (duplicate of Phonegap offical, list on page)
http://codesnippets.altervista.org/documentation/phonegap/plugins/list_of_plugins.html
The Cordova version:
http://plugins.cordova.io/#/search?search=bluetooth

Install and distribute dylib with program

I purchased a chilkat FTP2 license, and need to replace my existing code (taken from the Apple's SimpleFTPSample) with the one provided by this library.
How do I properly install it on my Mac and set my project up to distribute it with my App? Does every user need to install it on his Mac by himself or can it be packed with the App?
Every tutorial I found is quite complicated, I would need something simple as I am new to Xcode and Objective-C
EDIT:
Distribution is as downloadable App over my webpage.
Its for Mac OS X.
You can not distribute non-Apple dynamic libraries with iOS apps on the app store.
The reason every tutorial you find is complicated is because the only way to get Xcode to actually build an iOS app with a dynamic library involves some hacks and workarounds.

What does it mean to say that Java is native for Android and Objective-C is native for iOS?

By saying native code, we understand the code which is being executed by directly calling CPU or OS functions. Why do people say that Android went with Java, or Java is native for Android development when Java is being executed on VM? The same things you can for Objective-C and iOS. What is the reason people say that?
None of them are "native" to the OS. Both are languages, both get compiled.
objective C will get compiled to assembly, that can be directly run by a processor
java will get compiled to byte code that will be interpreted by a JVM (namely dalvik)
since Android 4.4, a new virtual machine appeared for Android : ART, it will get all bytecode compiled in assembly, but this is still experimental for now.
With Objective C you could argue that the language used to create apps is the same as the language to code the OS. For Android is would be more difficult to say so. The OS is build mostly in C, some parts in Java, but Android API themselves are also made of a mix of C and Java.
Android Native Library, allows you to implement parts of your app using native-code languages such as C and C++, allows you write native code. JAVA - is not native. On the byte-code level, Android doesn't use Java. The source is Java, but it doesn't use a JVM.
WHY JAVA? Android runs on many different hardware platforms. You would need to compile and optimize your native code for each of these different platforms!
Why does Android use Java?

Build Adobe Air with Java jar file for Android

I am not sure whether this question ever asked here or I am missing it ? Anyway, I think my problem is bit different. Here we go:
I have a library (authorization.jar) in Android. This communicates with other service for authorization things.
This library (authorization.jar) is used in many other Android applications.
Now we are moving to Adobe Air and we need to integrate that authorization.jar in Adobe Air and finally create the APK for Android.
We will publish APK only.
How is that possible ?
You can do this with AIR Native Extensions.
It is somewhat complex, but you can find a number of tutorials here: http://www.adobe.com/devnet/air/native-extensions-for-air.html

Reg:how to access the apis's of USB libaries in android

I am using android 2.2 version. I want to use the USB related API's in android application. but in android 2.2 version is not having the API's in the applicaition framework layer.It is available in 3.1 and newer version of android.
but in android source code i have seen libraries for USB (API 's in the format of .c and .h file).whether i can able to access the api in the application layer of the android. I want to use the USB device for example, Test CDC class.
For example : if i want to initalize the USB then i can able to call the USB_init() function which is in the USB.c.. Is this possible???? any one please help me.......
Regards
Ram