I'd like to merge pull from here https://github.com/Itseez/opencv/pull/1820 with opencv 2.4.7 for Android. I understand that the Library is included in project but pull from github has to be build somehow and put into my phone as new opencv manager, am i right? Could someone help with this task?
You need to download the sources of OpenCV, and then pull or cherry-pick those two changes on top of used branch. That is more a git related problem than OpenCV :)
On top of that, it looks like the change You are writing about is already merged into the main branch. If You download the sources and NOT checkout on 2.4.7 tag, You will have the slightly buggy, slightly unstable bleeding-edge version of OpenCV, with these changes.
Of course, after that You will need to build the library, but there is a good manual for that at library's web page.
As for building the Android version of OpenCV, here is a tutorial at the official wiki
Related
Hi im using Android Studio ver. 0.8.6 now i want to use andEngine, i know that i should download andengine.jar file and copy it to libs folder in my project, everything is all right, but i can find the andengine.jar GLES2 there are only files with 1st version, and the newest examples didn't work with it, can someone pls give me link to andengine.jar GLES2? or maybe im doing something wrong?
I'm taking examples from official site and there are a lot of errors one of them:
extends BaseExample
AndEngine GLES2 may be downloaded From Here
You can download AndEngine.jar file From Here
You can download other types of AndEngine.jar file From Here
Also here are some examples about AndEngine From Here
AndEngine GLES2 may be downloaded Alternatively From Here
https://github.com/nicolasgramlich/AndEngine/tree/GLES2-AnchorCenter Use this link to get the latest andengine also download the physics engine which is a separate jar.
or maybe im doing something wrong?
Yes. First of all, you should not be using JARs anymore. You should add AndEngine and any extension as an Android Library project (Eclipse terminology) or Module (Android studio terminology).
UPDATE: Since the Android Studio became the official IDE for Android, it is now recommended to use it. However AndEngine stopped being developed by its author and its populatity is on decline. Anyway see a related question to add the module/library project to your game.
As #sm4 pointed out it is recommended to simply clone the git repo. However, after cloning the repo you will experience errors in AIDE when compiling. See my question and answer to see why I think this happens and how to fix it.
For my Android app, I need the source code for uuidlib that I would like to build as a static library and link with my native code. Another post Include uuid.h into Android NDK project mentions that the source code is available in AOSP at external/e2fsprogs/lib/uuid/ directory.
I followed the instruction on AOSP page and did a "repo init" and a "repo sync." The synchronization is still going on for the past one hour.
I am wondering if there is a better way to obtain the source code for just the library I need and not download the entire 10G of repository on my machine.
If not, what do I need to do to get uuid after "repo sync" finishes? Regards.
I am wondering if there is a better way to obtain the source code for just the library I need and not download the entire 10G of repository on my machine.
Per the repository instructions:
git clone https://android.googlesource.com/platform/external/e2fsprogs
I've been looking for a finished/working ImageView on Android that has pinch/zoom behavior. Although there are code-snippets all over S.O. for this I want something a little more finished that I can just build and use.
GitHub, which I've never used before, seems to have candidates. As far as I can tell GitHub is a free, public project-hosting, source-control system, but I'm only interested in downloading and trying out projects on it, which can be done by the "Download Zip" button on it.
I recently tried a project called PhotoView but after getting it all imported into my Eclipse development environment I found it had dependencies on a higher API level than I was using or targeting.
Is there any way to avoid that in the future? I.e., is there any place on GitHub where the developers typically lists technical requirements like programming language, target development environment, compiler or SDK versions, etc, so before bothering to download a GitHub project I can guess whether it's even buildable in my environment?
Edit: In my browser I can see a brief revision history but it looks like it only goes back a few changes so the manifest or other key files aren't always visible. Is the only way to see the project files to download the ZIP file, unpack it and look at it in my development environment on my local PC?
Thanks in advance.
Is there any way to avoid that in the future?
Browse the source code. For example, the manifest file (for the component or a demo app) should indicate the android:minSdkVersion.
is there any place on GitHub where the developers typically lists technical requirements like programming language, target development environment, compiler or SDK versions, etc, so before bothering to download a GitHub project I can guess whether it's even buildable in my environment?
Yes. It's called the project README, and you were already there, most likely, as it is the "home page" of the repository. The amount of documentation any given developer will write for any given component will vary.
You are also welcome to file issues against the project, asking for more documentation on this sort of thing, but if and when that issue will be acted upon will also vary.
readme file in root of the project, and Wikipages of that repositories could help you find out additional information about that repository. But at the end, contributors are responsible to prepare this kind of information and some of them don't care. So, you can look for Android manifest file of the project and check the content in GitHub website before download and unzip it.
I'm looking for the android sources that are hosted on kernel.org (according to this site: http://source.android.com/source/downloading.html). However since kernel.org was hacked a few weeks ago, it is down. Is there a friendly fork of the sources somewhere (e.g. github) for me to clone?
There are indeed some parts available on github: https://github.com/android
But not everything I believe.
My starting point for getting it from github is here:
https://github.com/cellcortex/github_android
--- edit
pretty much gave up on using the half-complete github forks. Instead I chose to use http://www.cyanogenmod.com/ which has complete android OS sources on github.
I want to fork an Android project (a normal application) from the official repository. After I clone the project and import it into Eclipse, I still have loads of different missing references to some other projects that prevent me from even looking at the layout ressources (as it tells me to fix the Java errors first).
Is there a way to fix those references, without using repo or cloning the whole repository (with all its projects)? After all I’m only interested in a single standard application there.
If it is using anything that is not the official SDK, you'll have to fetch it to get it compile. You can import in Eclipse if you have the whole thing.
BTW, cloning the whole repository is worthed, because you can grep to search for things, even if you don't intend to compile it.
For changing an App that is based on the whole Android repo, you really have to have the whole repo with you. Then you can just change that App and make that App, for example using "make Email". That will only build the Email.apk and not the whole ROM.