I'm trying to have a cool little animation for my logo when it first appears on my Android App screen.
I have completely no idea how I would implement this idea though, OpenGL, Make a video and import it into an activity, other options?
Here is what I would like to accomplish:
Step 1: Start the bottom line of the triangle
Step 2: Start going up and back down and connect
Step 3: Have my custom logo fade into the triangle
Am I going out of my way trying to learn how to do this, or am I better off just having my logo show up as an image?
Generally, there are two options:
You could do this programmatically. Use a time-based state machine to draw the triangle. If you're using an engine for android (andengine, libdgdx), there are abstractions to help you with the "infrastructure" code.
You could make up an animated model in a 3D modeling program, and export an animated mesh or a sequence of images.
Best just show an image for now, and put your time into the app itself.
Easiest to just create a GIF for me in this situation.
Related
I need to develop an app to design a watch, as a beginner to android, i'm in need of two suggestion,
1) How to arrange the tick (for each hour in a watch) circularly?
2) Am i go with custom layout to arrange the ticks and labels? or use the same logic inside a method itself?
I hope the question is clear, Thanks in advance.
Joy Rex
Reading your question ther very first thing came in my mind is
GaudgeView
You may need to customize it for second and minute hand. But you will have lot more clear idea with this widget to start with.
Its extends the View class and works on Canvas.
He has provided some customizations options too.
How to arrange the tick (for each hour in a watch) circularly?
I would recommend using an image for that because it would be easy and faster in rendering it on the canvas rather than drawing each tick on the canvas, you can create the image in Photoshop or your favorite editing tool.
Am i go with custom layout to arrange the ticks and labels? or use the same logic inside a method itself?
Yes you need custom layout, if you are planning to implement animation of the big and small hand of the clock you can can again create an image for small and big hand and draw it in canvas and for animating you can use the matrix.postRotate from the Matrix class to rotate the arms of the clock each second,minute,hours.
Is there any way to create a 360 degree object view from photos? I have a set of 71 photos of a single car viewed from different angles. I want to combine them and be able to rotate the car when touching the screen seeing it from different angles.
I've done researching but I couldn't find anything done in android. One example is found here
This example is made with Jquery. What I need is to implement it directly inside an android app. How can I do this?
Edit1: Until now I managed to create an animation between images in this way:
The problem is that the animation starts on click and works by itself. I want to be able to move the car from left to right and right to left when keeping the finger pressed and moving to right or left. How can I do that so I can see the car from the angle I want?
I just tested that Jquery plugin page on my device and it seems to work alright. So you could still presumeably use that plugin to make some html content that you could then load into a WebView. That would give the rotation thing inside of your application.
If you don't want to use html/javascript to do it you'll have to use an ImageView with a TouchListener attached to it that handles the drag events by swapping to the next image at the appropriate interval.
Or probably somehow with Canvas, though I am not as familiar with that, I would knot how to describe what you'd need to do to make it work this way.
After hours of trying to accomplish this task I stopped using the Drawable animation method because at point I was loading the images the app would of crashed because was out of memory.
Instead I found another way to do it which I use it right now. Example
I changed the .html with the images I need and the layout I want then I implement it inside my app using a webview. Is working pretty well.
I am building a virtual store with the effect same like this
enter link description here
The user can freely rotate the image from left to right and top to bottom or vice versa. I suppose to use sprite 2D to implement that animation. There are some tutorials I found but because Im pretty new about graphic programming so could anyone point me to the correct way that approach my expected performance. Thanks a lot.
The easiest way is to use the Canvas API in Android. Here is an example of how to use it with sprites.
I won't create wallpaper-application but have one problem.
Please tell me how add ImageView or another element in android wallpaper-application to create frame animation?
I can't say for sure that live wallpapers can't use activities, but If you want to have an animation, you can always draw your objects on a Canvas or using OpenGL. For detailed example, see this:
http://www.pushing-pixels.org/2010/02/01/live-wallpapers-with-android-sdk-2-1.html
I have in mind one simple application, but I would like to add some animations, transitions and so on. What technologies should I use besides Android SDK?
Concrete example: I have an activity with an animated background in constant loop (some waves, fancy shadows and graphics - maybe do it in Flash and import is or...?) and I have a big TextView in front. When user taps on screen - text explodes or burns or something like that and new text reappear. If I click on some button it also provides some fancy animation.
Should I use AndEngine or...?
I would recommend you use libgdx: http://code.google.com/p/libgdx/
It has a bit of a learning curve, but its really flexibel