using dll library in android application [closed] - java

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a dll C# Libraries and want to use it through my android app, I managed to run it through java but it didn't work through android, the way I used and the Exception raised is described here, but I found through searching that this way won't work with android, also I found a lot of questions about that issue but didn't got any suitable answer (e.g here, here, ...etc), So, I just want a clear answer, can I or can't? and if I can using any work around, How ?

Dynamic-link library (also written unhyphenated), or DLL, is Microsoft's implementation of the shared library concept in the Microsoft Windows
Android is a mobile operating system (OS) based on the Linux kernel and currently developed by Google.
So no, you cant. Teoretically in some kind of VM, still - no.

Related

Windows Hello API [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I would like to use Windows Hello Face and Fingerprint API in my web application.
The websites I found show C# coding but my web application is developed in Java.
How do I integrate Windows Hello Face and Fingerprint API in my Java web application?
I also wonder, but I have find out, that Windows Hello is based on Intel solution Real Sense https://github.com/IntelRealSense/librealsense also for Linux. I dont see, that they have Java API, but I would say, that java native wrapper can be created for library. There is also documentation https://software.intel.com/sites/products/realsense/person/developer_guide.html#3.2.3_Person_Recognition. I have not tried it yet, but I think, it can be good point of start.
this also may help us to get stuff working https://software.intel.com/en-us/articles/code-sample-facial-recognition-using-intel-realsense-sdk

Pascal request from Android [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 years ago.
Improve this question
I'm developing an application for manage security alarms and I have to work with the alarms API, an old code written in C#. The requests for disarm, arm...the alarms have to be done in Pascal (STDCALL) and I don't know how combine Android and Pascal.
Can anyone help me?
A lot of thanks.
The only way I know to execute Pascal code in Android is to compile a Free Pascal/Delphi shared library(.so) and access its interface through JNA/JNI. Of which two JNA seems to be the far less difficult option:
https://github.com/java-native-access/jna
You can't use Android's NDK tools to build such a native library as it is only C/C++. So you need to use an external compiler.

How to make a searchIndex in android with java [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I try make an android app with java and have a problem with searchIndex
I just don't know ho to make it right
I already used lucene in C# but I want to know if I could use it in java.
Yes there is also a library of Lucene in java and you can use it in android applications.
But there is a native full text search feature called FTS and and also new version FTS4 in SQLite , which you can use in android easily and it has a better performance and response time since its running natively and so much faster because uses less memory than java Lucene impelementation.
You can see a sample here : http://www.mysamplecode.com/2011/11/android-searchview-using-sqlite-fts3.html
and also full documentation here : http://www.sqlite.org/fts3.html

Checking System requirements for the application in java [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am building an application using java and oracle database. I want to confirm all the required software is installed and working properly on each time the user open the application and show the missing software/configuration error to the user and option to close the application.Is there any way.
You probably can't from a pure Java perspective, nor should you. That is really a job for your installation process. Every native platform you deploy to is going to have a different way of installing software and a different place to put it. If you really want to do this because you are doing your instillation with Java (and love writing more complicated code) you will need to leverage something like JNI or JNA to ask the underlying operating system what is installed. This is fairly simple on Windows and OS X, however, it's going to be next to impossible on most Linux's due to the differences in each package manager.

What is the hook to detect if a file or a folder was updated? [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I am looking for the right "Hook" on Mac OS X, Linux and Windows to detect when a folder and/or file gets updated.
I am using JAVA and Object-C for the MAC.
Thanks in advance.
Also if you have any tips to go on doing this, will be truly appreciated.
Thanks in advance.
On Linux you should look at inotify
I'm not aware of any Java library that does this stuff - especially not cross platform.
On Windows the Win32 API offers such functionality though with the ReadDirectoryChanges or FindFirstChangeNotification function.
Writing a small c wrapper that's called per JNI seems not too hard - the problem is probably finding out how to implement the basic featureset that can be supported by all three platforms.

Categories

Resources