Does anyone know how to play .mp4 video as live wallpaper?
I searched a lot, but couldn't find the solution. I just found this one but I am not getting any idea from it.
Please help me if you have any idea regarding this concept.
After spending 3 days finally I run this project in eclipse.
I am sharing the steps as it may help others:
Firstly, the most important thing is that Your project path and ndk path should not contain spaces else you will have problems following these steps. I also faced problems with it so please remove the spaces, if any.
For example :-
android ndk/Live wallpaper
replace it with
androidndk/Livewallpaper
Following are steps :-
1) Install NDK from Android NDK page
(I used Ubuntu OS)
2) Install plugins for NDK ( https://dl-sl.google.com/android/eclipse/ )
3) Open your terminal and go to your project directory path
For Example :- /yourprojectname$
4) Now from your project directory path write Your Android NDk path
For Example :-
/home/rainc/android_setup/android-ndk-r8d/ndk-build
And Press Enter. This will give you a .so file which means the library file has been generated..
You have done it successfully. If you are getting error(s) here then the installation and the other steps might be having error(s).
Following links helped me in my research:
First
Second
Third
And also thanks to Lazy Ninja for helping me.
You are up on a good challenge, unless you are familiar with android ndk. There is the library ffmpeg which will save you some time.
A tutorial on Video Live Wallpaper here.Go through part 1 -4.
And here is a link of the project code.
Hope it will help you get started.
Related
Hello I am trying to learn a little bit of facebook-sdk for android but no luck.
I will post some screenshots so you easy understand what is my problem.
1st step I am adding the SDk to my project
2nd step I import Classes but i get an error
And when I am going back to android tab I see this
Really need help. I tried Many times to follow the steps from FB Guide in case I forgot something but didnt helped... Thank you in Advanced.(I am new to this hope you will understand)
Your "Jar mismatch" problem comes into picture because of the Facebook SDK itself has android support v4 jar as well as your project also same jar file.
To solve this problem..
Go to your project's properties -> Java Build Path -> Order and Export :
Now remove the Tick-Mark from Android Private Libraries.
make sure that you had already used facebook SDK's private library (tick-marked)
And then after clean your work space..
It will always help me..
Hope this will help you to solve your problem.
I followed the direction of this page
http://sourceforge.net/p/jmrtd/code/1490/tree/trunk/androidclient/
and when I executed the last command ant -f build_jar_deps.xml
I faced the following error,
[exec] svn: E170000: URL 'https://scuba.svn.sourceforge.net/svnroot/scuba/s
cuba_sc_indep' doesn't exist
I visited the above link and I see page not found error
What is the problem ?
I know I'm a bit late with reply, but if anybody is still interested in JMRTD Android app, I have developed a new project from scratch:
https://github.com/tananaev/passport-reader
It's a standard Gradle project, so it's very easy to build from command line or Android Studio. All third party libraries, including JMRTD, are downloaded automatically from Maven.
You have to download the jarjar1.3.jar and change the path.
I have been trying for last 2 days to compile a helloworld project for android. It had been giving different errors so far but I found my way through using the different questions asked here by users or at stackoverflow. But now, I have searched everywhere and couldn't find a proper solution anywhere.
When I try to run the build_native.sh in cygwin, it starts compiling but in the libgame.so shared library, it gives an error with exit code 1. Other guys have been getting this type of errors but none of their solution work for me.
I have checked the android.mk and the references are the correct.
Every way I tried has failed. I need serious help :(
Thanks a lot :)
P.S I am using windows8 (64 bit).
I didn't set up the paths in the main.c file. It needed to be pointed to the right folder (classes) Unfortunately no article or tutorial mentioned it, managed it by trial and error.
I want to make business card scanner application in android. I have these all dependence module
1) windows xp
2) cygwin (compiler)
3) eclipse
4) android-ndk
5) android-emulator
Now , the main problem is with the help of android ndk and cygwin when I compile ocr project . It gives me error like this :
ld.exe : cannot find -ljpeg
plz help me to solve it. .I think i am very near to complete project. any help great appreciate. thanks.
Your problem is that libjpeg doesn't seem to be installed in your cygwin environment. You should either add it from the cygwin installer or compile/install from sources. You can get source code here: http://sourceforge.net/projects/libjpeg/files/libjpeg/6b/jpegsr6.zip - and compile/install it following the instructions in the install.doc file in the zip file. After that you should be able to compile your project.
First of all, I would like to mention my requirements:
I have been working on an ANDROID Application since a couple of months. I need the code of OCR (Optical Character Recognition) in order to link that to my app through CYGWIN, JNI, NDK. I found that TESSERACT OCR is the only open source code available. I have downloaded the code of Tesseract OCR-3.00 from the following link:
http://code.google.com/p/tesseract-ocr/wiki/ReadMe
I successfully compiled the code in CYGWIN environment as per the steps mentioned in the "INSTALL" file present in the downloaded file. Finally all the MAKE files are generated. In order to use this code in my app, I need the ".so" file, which will be generated through CYGWIN..
Now, the problem am facing is:
I have imported the complete code Tesseract OCR into my Android app code in ECLIPSE as per the steps mentioned in the following link:
http://mindtherobot.com/blog/452/android-beginners-ndk-setup-step-by-step/
I had followed the procedure as mentioned in the above link..but importing the code of TESSERACT OCR is as tough as a hell when compared to the example given in the above link.
The final step where the ".so" is to be created is not working in the case of OCR..The error as shown in the following image![enter image description here][1]
SUGGESTIONS:
Plz suggest me the clear explaination on how to proceed with the next steps....plz plz..someone, plz do take some time to give clear explaination..
Thanks & Regards
when I tried working with Tesseract, I was not able to get it working with Windows and Cygwin. Even I used the same references as you did. Then after I tried compiling the 'tesseract-android-tools'. And it was not working either. After that I used a MAC with the native C environment for compilation and it worked. Maybe you Google after 'tesseract-android-tools' and you'll get a lot of help.
Hope it helps a bit for further progress.
Regards