highcharts android click points? - android

Is this possible? If it isn't I'll be implementing another chart library this weekend, I haven't been able to get it going yet, but just want to check before wasting 10+ hours!
Thanks!

Found out through pain that the only version of Highcharts which supports point touch in Android is 1.26, so use that if you need this functionality, seems to work fine

Related

What is the best way to measure performance time of android app?

I tested two ways of query processing time.
The first one is currentTimeMillis().
The second one is startMethodTracingSampling.
I got different result times of using two of them.
I wanna know which is the best way to measure.
Thanks to you.
Please help me.
The "best" way is to use the tools provided by Google called the Performance Profiler Tools. They are built into android studio and let you profile your app performance and show other interesting information without you having to add any code.
See https://developer.android.com/studio/profile/index.html

Build a simple Android 360 videos playback app with gyroscope

I'm trying for almost a week now to find a way to build an Android app that can simply play a 360 video and to be navigated using the gyroscope sensor, No luck till now.
I just need some help to find a way to build this app using Android Studio.
Also I tried "Panframe" and I couldn't really get something out of it. Don't know if it so hard or complicated or whatever.
Thanks for your help in advance guys.
Google has introduced this VR View. It might help.
Learn more-https://developers.google.com/cardboard/vrview
Check out MD360Player4Android. This does what you want. It rotates the 360 video on Motion as well as touch basis.
Maybe this sample game from google might be a good starting point
Here is a api documentation for android if you need it.

Building Android Loading Dialog Box with AIR

I am starting to develop android applications using AS3.
As much as I've searched I did not find how to make android loading box using AIR!
It seems there is no way to do so!
Can anybody help me in this regard please?!
I kindly beg you to search more and more. Your topic is a rare and helpful one I also appreciate that but I think you just need to increase your Googling Abilities :D
I guess I know what you were searching for so I just searched about your topic and the result is exactly what you need I am sure.
You know,, you can not access android device-specific libraries and features with AS3 for these are not available in the built-in AS3 classes. There are some air extensions provided to help us the air developers who want to make Android or iOS apps though.
Am I clear enough? if not go to this link please. Here you can learn more and even use some extensions in your projects if necessary: http://www.adobe.com/devnet/air/native-extensions-for-air.html
And a happy link for you and your topic:
http://www.myappsnippet.com/loading-dialog-air-extension
Just tell me if this is what you wanted. I'll be happy!
This is fairly standard and has been covered here a few times. Like this for example.
as3 loading screen
or this ROC tutorial
as3 preloader
U basically calculate the current percentage in a progress event and change a bar's width or scale accordingly.

ubermusic pivot control on android?

I was wondering if anyone is able to tell me how they were able to make the windows UI in the apps UberMusic? I know it's exactly like the windows phone 7 interface and I was wanted to implement that .. anyone know where i could get a tutorial or some source code to look at?
Their re-creating the controls that Silverlight has accessible to the android phone, or using a web based HTML 5.0.
I'm going to go with web based HTML 5.0 as it would be easiest and also cross platformed at a time.
Hope that helps! :)

android multitouch image zooming?

I'm displaying an image on full screen now i want to zoom it in or out.
Any one guide on how I can implement multi touch image zooming?
I am using the 2.1 sdk version.
There is the possibility to use a webview to display a local file. The Webview has integrated multitouch zooming. Have a look at my question regarding this topic.
I have a working implementation for 2.1+
WebView solution caused problems for me on 4.0.x (lot's of weird white spaces appearing)
https://github.com/jasonpolites/gesture-imageview
Might be useful for someone...
A recent post on the Android Developers Blog includes an example that does exactly what you ask. Unfortunately, it relies upon ScaleGestureDetecter which makes its first appearance in Froyo.
Have you tried using the intent "android.intent.action.VIEW" and letting the phone's built in image viewer display your image? It will probably use multi-touch controls if the phone supports it.
http://developer.android.com/reference/android/content/Intent.html#ACTION_VIEW
Regarding gesture-imageview lib:
https://github.com/jasonpolites/gesture-imageview
it's in fact useful, but unfortunatelly it has some bugs, like:
https://github.com/jasonpolites/gesture-imageview/issues/37
Anyway, good lib to try. It solved my usecase.

Categories

Resources