Android Kitkat allows only swipe on 360 image - android

I am trying to implement 360 image for android in my application. I was successful in viewing the 360 image in my app using this tutorial https://developers.google.com/vr/android/get-started#start_your_own_project. After that I have to cases with phones running on different android APIs:
I was running the app in a phone which is running API 19(Kitkat). I can only swipe the 360 image to view the other areas of the image.
I implement the app in my other phone which is running on Lollipop, the image rotates along with the movement of my phone and there is no swipe option in it.
So, my query is:
Is there a way to toggle between these two options of swiping the 360 image manually and automatically rotating the 360 image along with the movement of my phone or having both options of viewing the image in one screen?

It shouldn't be possible yet, based on currently available documentation. Depending on the device, the SDK allows you to swipe the image with your finger or rotate the view using the gyroscope, but not both.
ORIGINAL
Did you use the VR view? Based on this post you can supposedly only do click and drag on a computer (browser), not Android.
Did you use a WebView for your swiping functionality?

Related

How to make 360° video from Android device?

In iphone there is one app which gives access to both camera at same time. And iphone has launched hardware (lens) which easily install one both cameras at same time... When user click on record button... iPhone records 180+180 view from both the side and convert into 360° view. So is there any similar app for Android ??
It may make easy for people to shoot 360° view

Navigation through 360 photos on mobile

This may sound silly, but I need a solution for this problem. I want to create an indoor virtual offline navigation using 360 photos, and being able to click on arrows to navigate through the pictures.
My problem is, I want to find a way to link various 360 photos to create the sense of navigating (e.g. going from a room to another), but only using the phone camera to create the 360 photos.
I saw this on Google street view application. I am able to create 360 photos but i cannot navigate inside them as shown in Google examples.
Any ideas please?
Look at out this library its render video and image both to 360 you can also move to navigate picture and video while using touch functionality.

Positioning of device towards a target like Panorama images app in Android

I hope most of you have used the Panorama Image option in Camera app. They ask/force the user to move the device in one direction e.g. if you take 1st image then you move to 2nd image and then it will show you a TARGET BOX and when you reach that box the image is captured again and so on.
Panorama Images Example in Samsung Galaxy s2
I am interested to know that how can we achieve this functionality so that we can set target for user to move the device towards a certain direction. Which sensors can help to achieve this functionality and factors are involved?
Just a simple example is that we make a simple game in which we get an arrow towards the Target Box and when we get that target box in focus we get some score etc.
Please guide me on this, thanks.

Developing comic book

I am hoping to develop an android application which would contain comic books for viewing. Google Play has a Marvel Comics application that I would like to emulate since I like that type effect in my application. However, I'm having trouble starting
The effect is when the user double taps on comic part, only that part of image scales to fit the screen. The other areas on the image can be seen using a swiping effect, but it remains zoomed in. Once the user is finished with viewing the zoomed in image, another double tap will return the user to the original screen.
Are there any good links for me to look at? What is this feature called?
I would look at this - Is there a built in API for handling pinch-zoom functionality in Android - which covers the zoom API,
And this - How to detect doubletap on a View? - which covers double tapping on a view
Finally I used HTML5 for doing this type of animation. and its works perfectly in all device.

Android DIV image changed, when clicked on the page

If you open any popup image in the Android browser, then click in any place on the page, the image is being changed (colors/sharpness/whatever - I can't define precisely, since I'm not an artist).
To see this effect, open a site with a popup image, which is implemented as a div with absolute positioning (say, http://highslide.com/ -- the first site I've googled). The site should be open in the Android browser (I've tried Android emulator from Eclipse ADT plugin and Kindle Fire). Click on any preview to popup the image, then tap on the page (keep you finger on the screen) and look at the image the same time.
My question: what this effect is about and how to eliminate it? Why don't I see it neither on PC nor on Mobile Safari? I have the same effect with my web-app, where it looks ugly and seems to be slowing a form, so I want to get rid of it.
A figure:
I've enlarged a portions of two shots, made before tapping on the arrow point, and after, and inserted them on top to show what I'm talking about.
Regards,
There's nothing wrong with your web app or your web page, this is simply a performance feature of Android. You can see this on the homescreen when you scroll and it happens in any application that scrolls.
When you tap, it signals to Android that you might potentially start scrolling. To prepare for this, it uses a compressed version of the images to make scrolling smoother.
You don't see this on your PC because your PC has no problem scrolling through a web page with tons of images at full resolution. As to why you don't see it on mobile safari, I don't know enough about the platform to say.
If every image on the page has the same physical size as specified in HTML/CSS, this effect disappears. That's why I observed this in popups: their inner images usually are resized.
I have mixed feelings. Kinda satisfaction for finding it after all and hatred to Android developers for programming this feature.

Categories

Resources