Android: 360 degree view of one object

Is there any way to create a 360 degree object view from photos? I have a set of 71 photos of one car, which is viewed from different angles. I want to combine them and be able to turn the car when I touch the screen, seeing it from different angles. I was doing research, but I could not find anything in the android. One example found here

This example is executed using jQuery. I need to implement it directly in an Android application. How can i do this?

Edit1: So far, I have managed to create animations between images in this way:

The problem is that the animation starts with a click and works on its own. I want you to be able to move the car from left to right and right to left, keeping your finger pressed and moving right or left. How can I do this so that I can see the car from the right angle?

+4
source share
2 answers

I just tested this jQuery page on my device and it seems to be working fine. That way, you can still use this plugin to create some html content that can then be loaded into a WebView. This will give rotation inside your application.

If you do not want to use html / javascript for this, you will have to use an ImageView with a TouchListener attached to it, which handles drag and drop events, switching to the next image at the appropriate interval.

Or perhaps somehow with Canvas, although I am not so familiar with this, I would like to describe what you need to do to make it work this way.

+2
source

After several hours of trying to complete this task, I stopped using the Drawable animation method, because at the time I was loading images that were damaged by the application due to lack of memory.

Instead, I found another way to do this, which I am using right now. Example

I changed the .html with the images I need and the layout I want, then I implement it inside my application using webview. Works good.

+1
source

All Articles