开发者

Looking for Android dashboard-like widget library [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.

Closed 8 years ago.

Improve this question

I would like to build an Android app showing a dashboard w开发者_运维问答ith many different graphical indicators. Have you already used a library containing these items? Can anyone help me in this?

Thanks in advance and greetings c.


One approach you could take is to create your gauges and dashboard using CSS, HTML, and JavaScript which would be stored locally in your application's assets folder. You can then use a WebView to display them.

WebView.addJavaScriptInterface [(link)][1] will allow you to pass data between your Android Java code and the JavaScript dashboard.

The reason I suggest this is that I think you will find more options for the graphical indicators if you look for JavaScript/HTML/CSS based ones. Here are a couple examples:

  • http://techoctave.com/c7/posts/17-jquery-dashboard-gauges-using-raphael-xhtml-and-css
  • http://www.netzgesta.de/gauge/

If this is done well, the user would not be able to tell that your UI is not made with native widgets. If you decide to go down this path, you may also want to consider using a framework like PhoneGap to help with the Java <-> JavaScript communications.

[1]: http://developer.android.com/reference/android/webkit/WebView.html#addJavascriptInterface(java.lang.Object, java.lang.String)


Android has a Widget API allowing developers to create widgets that sit on the home screen and present the user with information. Are you looking for information on how to code a widget or are you looking to just download them?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜