How to apply different live effects to android Camera? - android

I want to develop a Camera 2 kind of application. So i just wanted to know how to apply live effects to android Camera .Is there any android library for that? plz help me to solve the issue.
thanks in advance....

What have you tried? I assume by live effects you mean shown on the preview.
You can try what the answer here suggested, but any sort of complicated filter implemented in java is going to slow things down. For good performance you'll probably have to write some native code to process the previews. The good news is, if you're writing NDK code you can make use of libraries like OpenCV to do the filtering for you.

Related

How to create Android Live 3D Wallpapers?

I was wondering how Android Live 3D wallpapers are created? what software is used? and how Developers make it interact with touch, swipe, etc... I hope someone help me how I can start ... Thanks
3d wallpapers are created in opengles. You can use libraries too . i am using Rajawali Library https://github.com/MasDennis/Rajawali . May be it will help u
Check out the Question/Answer live wallpaper with images
& for more about go to TheNewBostonAndroid for the Android video tutorials. Its very simple & easy to learn Android.

Building animation in Android app

I have done apps which uses only pictures and sound clips. What I want to do is to build an Android app which involves animation. I have seen many of the "Water effect" apps in play store, which has quite good animation effect. One of my them is "Koi Pond". I would like to do the similar kind of app for sand. The detailing of the animation should look good as we see and touch the real sand.
I'm new to animation stuff and have no idea about it. Can anyone please help me out with how to use the detailed animation for Android? I know that it is not possible only with java. Please refer me to any blogs/docs available on this stuff.
Thanx
For such effects (as used in Koi Pond) you will need several pixel shaders. To use it you will need to us OpenGL ES 2.0. I would recommend using a game engine like AndEngine for the basic setup and the shader usage. If you have no experience with shaders it won't be that easy!
I'm not sure if AndEngine is the best choice for that, but it is possible with it.
Check it out http://www.andengine.org/
There are also a couple of shader tutorials in the forum
At first for translate or some other simple animation you can use android native animation method , but for great things you can use , this , I think it's all you want ;)
Regards Hayk Nahapetyan

3D waving flag in Android (using cloth simulation)

My goal is to create a waving flag in Android using OpenGL but I don't have any clue on where to start.
Cloth modeling seems to make the neatest effect but I couldn't find any implementation for Android on the web.
I hope that someone would know some tutorials, resources etc. that could help me solve this problem.
If you know easier/other ways to create a decent looking waving flag, let me know. I'm open for everything.
Thanks in advance!
First result on google
http://code.google.com/p/waving-flag-android/
A good tutorial about cloth simulation is from Jesper Mosegaard http://cg.alexandra.dk/2009/06/02/mosegaards-cloth-simulation-coding-tutorial/
The pioneer work on cloth simulation is from Darwin 3D http://www.darwin3d.com/gdm1999.htm#gdm0599
A open source project in Google Code provides a variety of algorithms http://code.google.com/p/opencloth/
All these works are based on C/C++ which is the natural programming language for OpenGL. As you are working on an Android project, you have to rewrite the algorithms in Java. After you figure out the mechanism, you should be fine. Good luck!

How to use Flipboard effect on Android

I really like some effects in iPad. Especial flipboard, but I am an android developer at the moment, so I want to build an app which has the same effect. But I cannot find any source code about it on the Internet. On youtube I found a video I really like. Can someone help me?
Hey… Here is a quick guide for getting the clipboard effect on your Android phone. Just go through this tutorial for getting it. Hope it will be helpful to you.
http://openaphid.github.com/blog/2012/07/27/how-to-handle-touch-events-for-flip-animation/ there u go, but it is on opengl, and i'm not sure if it supports complex views as ListView. If you want to make one from the scratch i also recommend you this link. It is on Flex, but the principle is similar. http://oreilly.com/pub/a/javascript/archive/flashhacks.html?page=1

Wobble effect in android

I am trying to make an application in which I want to use wobble effect. It's same like the AndWobble2 apps. But I am not able to find how it should be exactly done. I found one library named Army Knife Library which is used for J2ME based mobiles. My question is can we use the same library for the adding the wobble effect to images or can we do this in opengl? Does anyone have any links or explanations to see how this is done? Thanks in advance.

Categories

Resources