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 with 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?
Related
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 5 years ago.
Improve this question
I want to implement screen sharing functionality in my app like we use team viewer.
I search a lot for third party tool.
One tool i have worked is opentok(Tolkblox). But it want give exact facility like Team viewer and its sample example is also not work like a screen shring should be.
I don't find any third party tool for this requirement.
If anyone any idea regarding this then please reply for the same.
Screen capturing and sharing in Android 5.0
You have the possibility with Android 5.0 to use the android.media.projection for screen sharing. But I don't know if this fits your needs.
Android 5.0 lets you add screen capturing and screen sharing capabilities to your app with the new android.media.projection APIs. This functionality is useful, for example, if you want to enable screen sharing in a video conferencing app. For more see this.
Team Viewer SDK
You can also use the SDK from TeamViewer. As far as I know, with this you can also remotely control the other device.
I hope I did understand your question right and this helps you a bit.
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 2 years ago.
Improve this question
I would like to know if there is some other alternative or propper way for developing the UI of an android app. I know that XML is used, and also why - but are there any other methods even if they are not very efficient?
You are welcome to create your UI by creating Java objects directly and stitching them together into their parent-child relationships, including the layout managers needed to control things like sizing and positioning.
And, given that, you are welcome to invent your own means of defining an UI (parse some JSON, use a random number generator, etc.), as in the end it is all just Java objects.
If you are developing games, there are some game frameworks like Cocos2d-x or Unity that have their own ways to display content on the screen. They can also be useful for apps that require some kind of 3D visualization (Unity for example can embedded in a native app).
Other than that, the alternative to XML is to create views programatically in Java, and manage the view hierarchy by yourself. You can mix both, which is especially useful when you want to create content dynamically based on some data you fetch at runtime.
One framework that seems promising, is Flutter. You need to know Dart language, however, it's easy to catch.
BTW, Flutter is a cross platform framework and you can use it for both Android and iOS development.
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 4 years ago.
Improve this question
This might sound like a duplicate question but trust me its not.
I have an Android app. It contains WebView to display webpages. Now I am planning to go live with the app on ios too. Now having two different codes and maintaining them is a difficult task.
Is there a way I can develop app in both the platforms with minimum maintenance issues. With minimum maintenance I mean more reusable code that can be use on both the platforms.
I have heard that it can be done using Chromium Project but am unable to find supporting docs for the same on internet.
Any suggestions?? or reference materials??
For what I know there is no way you could use your Java code and the XML files (including your WebView) in IOS application. the language/platform are different.
What you could do is to develop a web application that looks as a mobile application for example using JQueryMobile and the export it using the already suggested PhoneGap framework to any platform you would like.
You should try one of the several frameworks out there, being PhoneGap (http://phonegap.com) an interesting option.
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 7 years ago.
Improve this question
I am new with Android UI and I am looking for some resources about best practices to design a UI (examples of UI elements, tutorials, etc.)
I've been looking in Google or http://developer.android.com/resources/tutorials but there is nothing helpful at all.
Can anyone provide me some resources/links ?
There is actually a nice web which explains the most usable UI Design patters used by many apps already: http://www.androidpatterns.com/
If you have no experience with Android UI but you know a little Java already, maybe this is something for you:
SimpleUi ( https://github.com/bitstars/SimpleUi )
The generated UI (code below):
The complete code to create this Android UI:
I use it in real applications, not only for fast prototyping or dialogs and its well tested over the years. The concept is based on the model view control principle and for most common scenarios there are ready to use components which automatically look correct on any device. I don't say it should be used for any UI (e.g. listviews should be done by hand) but for most usecases this should be quite handy ;) Oh and feel free to fork it and improve it further if you want
UI Patterns, shown on the Twitter app, but they're common on Android in general:
http://android-developers.blogspot.com/2010/05/twitter-for-android-closer-look-at.html
http://www.androiduipatterns.com/
Depending which pattern you want to implement, there are open source projects/samples out there, i.e. for the Quick Contact Bar, etc.
Check anddev.. normally there are nice examples of UI elements. Also some nice tutorials at mobiforge 1 and 2.
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 5 years ago.
Improve this question
I am writing and publishing my apps on android and would like to provide help document (manual) to users of my apps. I've seen apps open up external web pages as their help, or use html view to open local html documents. Are these the ways we are supposed to deliver manual to our users?
Are these the ways we are supposed to
deliver manual to our users?
You can do whatever you want:
Use WebView directly for local content
Use Browser directly for remote content (e.g., Web site of documentation)
Publish your manual in EPUB and load it into one of the available EPUB readers, if the user has one installed
Publish your manual in PDF and load it into one of the available PDF readers, if the user has one installed
Use VideoView directly for local (or remote) "screencast" style instructions
and so on.
However, there is no built-in dedicated "help framework" in Android. If you wish to make a name for yourself in the world of Android, consider writing one.
Or, consider writing your apps so there is no need for help content. Obviously, not always possible, especially for highly targeted apps, but you can certainly eliminate a lot of help material with a correctly designed application.