How can I add advanced animations to my mobile app? - android

I would like to add "advanced" animations to my mobile apps. Something like this one:
(I have slowed down the animation to 30% to make the effects more visible)
I am working both with iOS 10+ and Android. However, for now iOS is more important to me so let concentrate on this.
Creating the first part of the example animation (fading in book, envelope, etc.) using basic UIAnimations would be possible but already quite difficult (e.g. the parallax effect of the shadows). I have now Idea how to create the second part with the paper stacks.
Sure, this could also be done using UIAnimations but it would be insanely complex, wouln'd it?
So, how to get such animations into an app?
Are there any tools, formats, etc. to create such animations outside of Xcode and to import them? I only know GIF to animate images but this a quite old and limited format.
The app I found these animations in seems to control them very precisely. For example it controls when an animation starts. Additionally the animations looks great on different devices in different sizes and resolutions.
How to do this?

You can create the animation from "After Effects" and run it through Lottie.
Lottie renders "After Effects" animations natively on Android and iOS, Web, and React Native
You can refer this tutorial for more info.

Related

Animate After Effects animations natively in Android

We have a team that will create AE animations (including parallax, sound effects etc.) and I need to play those animations on Android as exactly they are, triggering them by swipe. For Android and AE first thing comes into mind is Lottie, that I've tried for small stuff. But what we need is more advanced and complex.
Only thing that I need to do is taking the AE animation and play them on Android.
Maybe it's possible with Unity, but as I've never worked with Unity, it's out of my knowledge how to do it.
Any kind of help is appreciated.
There is no way you can do complex animation on android using After Effects still you can go to Unity Documentation and search Android Animation to know more. Unity Documentation Android Animation

Android visual animation on screen touch

I am coding a game in android and i want to play a kind of animation when user touch the screen. I know that there is probably tutorials to do this. But i don't really know what is the name of this effect so i don't know what to search.So all my searches were vain.The effect is like the one you could see in this image(image ) in Magic Tiles 3.
Thank you.
I would suggest you to switch to unity :) Native Android is not really made for that kind of stuff.. More constructive answer:
Quick googling showed couple of particle libraries, for example check this
Running particle like animations natively is not really a recommended way to go since since you will be running around 10-15 animations in a loop (which will have a really hard impact on your apps performance). If you still want to go this way, it would be the best to create animated drawable or use lottie animated image views and set as your layout background

Technologies needed for developing Android apps with Rich Graphics

A newbie question.
I am a newcomer to Java/Android (even UI development) .
My test apps look a little drab even though they do what the intend to do (with respect to app functionality).
Apart from Java, what are other technology needed for graphic rich app (oval 3d buttons etc).
PS: I did a lil research on this before coming here and found most of the questions were asked with respect to game development.But I am not interested in game development though.
In my history of making nice looking apps it usually all comes down to positioning the buttons and other things nicely and making custom images for buttons. If you want to simplify some things try using LIBGDX's UI tools. They allow a somewhat simplified way to load in custom images and scale/position them according to screen size.

Fake iOS UI Tools

I am trying to put together a fake UI for an iOS and Android device without actually creating all that tedious UI work. Is there a way to mockup the UI from the images somehow? We have the Photoshop designs and mockups so far.
Are there any tools? I've checked Titanium and ForgedUI. While its a fairly simple concept I still think its an overkill to create all that. for instance I have to slice my PSD for the buttons. Plus the data feed has to come from a URL etc.
I just want something similar to Balsamiq Mockups linked screens one to another for an actual demo of a bunch of screens. We want to test the navigation, the fonts and the product concept while development is getting the product ready.
Thanks in advance!
The easiest way would be to use HTML. If you already have Photoshop mockups, you can simply export those to (retina quality) PNG images and add some image maps for navigation. If you add this site to your homescreen, you will have a pixel-perfect preview without Safari's navigation bar.
However, iOS apps depend heavily on animations. If you're going for a native UI anyway, you should consider creating a "real" UI prototype, using actual UIControl elements. While this is more work, it allows for much better UI evaluation.
For wireframing, a couple of options:
For high-fidelity mockups, I would do it in Interface Builder and storyboard, like JustSid recommended. Just don't do the tedious work of hooking up the UI elements.
You could look at tools like Adobe Proto. I've never tried it, but it seems like it might be an option.
For my super-quick, low-fidelity mockups (e.g. digital equivalent of the "back of the envelope" mockups), I personally use my iPad, a stylus, and a drawing package like Sketchbook Pro (use whatever drawing package you want, but I like one with layers). I also put blank device images on my iPad, too.
So, I open up my drawing package on my iPad, start a new drawing using a picture of an iPhone device as the starting point, drop on a new layer (so I can draw on a layer and either hide or discard that layer to instantly get back to the image of the blank device image), and just draw what I want my UI to look like on this new layer. This works great for brainstorming sessions. There's no automatic bridge from this conceptual, low-fidelity mockup to an actual Xcode storyboard, but I can draw a user interface mockup in seconds. I do this not only for brainstorming with designers, but also for fleshing out my own conceptual ideas, myself, too.

Slide images the screen. Do I really need to write my own "game engine" or use someone elses?

I'm thinking about writing a pretty basic game, which mostly involves sliding images around on the screen when tapped. So tap an image and it slides to one side. Doesn't seem like Android Animations will help me here since those don't actually move the images, just makes it appear moved.
So even though this seems like pretty basic functionality, it seems like I have to write a game loop,etc and implement my own code to handle the "animation" (including some acceleration/deceleration), etc. Not hugely hard or anything, but just seems like overkill. Also using a 3rd party game engine also seems like overkill, just in the time it would take to learn that, and so on.
Am I off base here?
If anyone has any suggestions that might get me pointed in the right direction (links, etc) that would be great. Is there a good way to use Android Animation functionality in this case that I am missing?
If you are developing for Honeycomb, it may be as easy with animations. With Honeycomb, there is a whole new strategy to animation. Check out the blog. The premises is that any property or value can be animated, and that includes the view's actual position (and not just look like it moved).
I have built a couple of games using AndEngine (http://andengine.org) I would recommend it for making games for android. And since it is all written in java, it is relativiely easy to integrate it with layouts and other activities.

Categories

Resources