As there is no official package of the latest OpenCV 3.0 beta available for Android, does anyone know whether it is possible to build OpenCV for Android? Or do we have to wait till an official package is released?
I found this SO Thread how to build the old version for Android, but i doubt that it will work so easily for Android, and to be honest i'm not so familiar with CMAKE etc. to try it myself quickly.
Building OpenCV for Android from trunk
Related
I cannot make the sample (Facedetection) coming with the OpenCV4Android work in Android Studio.
Is there a tutorial for facedetection that would address the users of Android Studio?
Because it does not work to import the Eclipse project that is attached to the library as sample.
I am sure it's because of the NDK dependency, but I cannot seem to get it to work. I installed the NDK, added it to the Path, still no change.
Better yet, is there any way of avoiding the use of the NDK in a facedetection application?
I would appreciate any help in making this work in the Android Studio
I've just uploaded to github a simple sample using OPENCV libraries. Everything is setup already to get it to run really quick. My AndroidStudio is 2.0 Preview 2 (released 5 days ago). Hope isn't too late or at least others may find it useful for quick troubleshooting during installation.
Best.
Is there anyone who knows when NDK will be added to android studio? Of course there are some ways to add NDK to android studio but they are not official.
EDIT : NDK support in Android-Studio will be available in version 1.3. The preview is now available as an update patch on the canary channel.
Here is the annoucement
Here is the canonical feature request regarding ndk support in Android Studio:
https://code.google.com/p/android/issues/detail?id=55331
The "roadmap" for android tools mention that the NDK integration is currently planned after gradle 1.0... and gradle-plugin for Android 1.0 is out now.
As far as I know Google never communicates any release date for this feature (and it has never been a Google's habit to communicate a release date for anything either)
To answer your question : "so far, nobody knows."
I'm trying to develop application's Android platform, so far I have programmed in PHP / MySQL, VB.Net, C #, and I have extensive knowledge and experience in this area, I decided to go in developing applications for Android (some of my clients have requirements for such applications). Programming for android I choose android studio (perhaps my decision is wrong), I use the latest version of Android studio (0.2.10) and I install all the SDK and ADT (following the tutorials I googled) and it works.
But currently I am suffering with the installation of AndEngine to Android Studio and compile in AndEngine in Android Studio
I'm trying to add the latest version of AndEngine from github again following tutorials (I googled for it)
Does anyone have any instructions on how to use AndEngine Android Studio 0.2.10, because everything I googled is for older versions of Android studios and i can't get andengine.jar file (which i need ) that can later be used in the studio as Android library
Excuse my bad English (if)
Here is a sample project I used to get AndEngine working in Android Studio.
https://github.com/janebabra/TowerofHanoiProject
All you have to do is add the andengine.jar to your own project and reference it in the project and the Gradle build config.
Hope that helps
I wonder if there is any difference between using the Android Studio, Google offer to use, and use the IntelliJ Base IDE, and install the Android plugin?
Would it effect the project and module handling?
Would it effect facets?
I've been using IntelliJ IDEA 12 for Android projects for a long time. Android studio has a lot of beneficial additional Android integration, such as:
Inline Lint API checks
Drawable and string previews
Better layout editor
Built in Gradle support
Better DDMS integration
But you can certainly just use the community edition of IntelliJ 12 for Android projects, and for production projects, I would say it's preferable at this time until Android Studio stabilizes. Also, I believe IntelliJ 13 will essentially include all of the Android functionality that Android Studio does, from what I've heard.
This is useful FAQs about Android Studio vs Android Plugin in IntelliJ IDEA.
It is clear to me that
The EAP (Early Access Preview) of IntelliJ IDEA 13, which includes all of the Android Studio features except for the redesigned new project wizard and the App Engine cloud endpoints integration, is available now.
http://blog.jetbrains.com/idea/2013/05/intellij-idea-and-android-studio-faq/
As of today, Android studio actually functions, so I guess this would be my immediate solution. plus I'm not even sure the Android plugin would support all the features as Android studio will, and that there would not be any conflicts... better safe then sorry.
I've started learning Scala, and I... I think I'm in love. I've only coded small test snippets so far, but since I currently working in Android development, what I really want to do is try my hand at writing Android applications in Scala.
I've found articles and questions on the matter, but mostly referring to older versions of the three tools (Android SDK/Scala/Eclipse), so the general question is:
Is anybody coding Android apps in Scala right now, with the latest SDK, Scala 2.9 and Eclipse Indigo? How viable is it?
And, in particular:
How's the interaction/integration between Scala's features and the Android library?
What's the state of the Scala plugin for Eclipse? I've read all the features you'd expect are there, but I'd like to know first-hand stories, specially about the debugger.
How well does the build process (scala to java to dalvik, ant, proguard, etc.) automate?
Thanks!
We are using Scala heavily to test our Android code - you can read a writeup of how we're doing so here. We use Ant or SBT to compile - there's an excellent SBT plugin for Android development.
Having said all of that, I'm not sure that I would recommend Scala for production Android development. In particular Scala 2.9.x is basically unusable as there is no good way to get the libraries to work on Android. You can read about the issue here.
It's a real pity, as Android development would benefit considerably from Scala if we could get it working properly.
Solution found here to use the latest Android SDK, with Eclipse 3.7.2 and Scala 2.9 :
https://stackoverflow.com/a/11084146/1287856
It completely handles the android library
You can make Android Library out of scala projects as usual
The build process is completely automated, including proguard-ing and exporting the project with the regulard Android tools.
I started to implement the android application (a twitter client) from the book "Learning Android" with Scala 2.9.0-1 a while ago.
In my opinion you can use it. I had only one problem with the parameter list at AsyncTask (see this link, problem #3).
If you want to checkout out the project, you can find it here.
This video from ScalaDays 2011 may be hepful:
Scala on Android: Real-world Experience at Bump Technologies by Michael Galpin
EDIT:
If you really really want to run Scala code on Android (and not really make an app, but for yourself), then I have an easier solution. It depends on if your phone supports the procedure. In summary the steps are:
Install Ubuntu on your device (as described here). This will not affect the Android installation.
Boot Ubuntu, install JDK, Scala, etc, copy your Scala jars and run from there.