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
I need a manual for developing UI on Flutter.
Not a syntax of Dart or api docs... Something that describes common principles, like hierarchy, core elements and how they interact with each other, and so on.
On android you have activities, which contains ViewGroup and View, which interact with intents, which stacks when you open new, which pops from stack when closed. For UI you combine Layouts, which contains other Layouts, and ..., which containts simple Views. I need something as described but for Flutter.
Here's a few good resources you can check out:
For basic Flutter widget architecture, the getting started tutorial on flutter.io is useful.
Google's Youtube playlist for Flutter has some good starting points.
For handling data and state, there's the reactive architecture I/O video with an accompanying post.
Brian Egan's architecture samples isa great resource.
There are getting started guides for both Android devs and iOS devs.
And the Flutter Cookbook is a great place to see how to implement common mobile patterns.
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
As a beginner it is very hard to understand what are these things
Is there any resource which can give a grasp knowledge of things in easy language?
In simple words:
For a long time Google didn't give any indication to developers on how they should write (architecture wise) their apps. But last year they've released a set of libraries that guide developers on how to structure their code by structuring the app in clear layers and reinforcing good practices. That's what they call architecture components.
LifeCycle, LiveData, ViewModel and Room are the main classes in these libraries. They go well with a MVVM architecture and if you apply them correctly (according to Google) your app will be easy to maintain and test.
As for resources, you can check the Google I/O release talk and the documentation. You can also find many online tutorials to get you started.
If you know nothing of android development it will be hard to understand the use of these components so I would advise you to study more about the SDK and then go back to these components. Note as well that you need to know about Reactive Extensions for android and java/kotlin too because these libraries rely a lot on them.
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
Is there a framework out there that allows for the same UI code to give a web app, an iOS app (preferably native), and and Android app (preferably native)? I know there is Angular 2 with Ionic 2 but the mobile apps made this don't look as native as I'd like. Are there any other options that accomplish this?
I'm not looking to only reuse business logic between the different apps, but reuse the actual UI code too to minimize doubling up of coding effort. As I understand this would rule out React Native because UI code for the web apps and mobile apps will be separate.
Thanks! :)
Have you tried Firebase? http://firebase.google.com You have most of your backend needs covered and the web is full of examples for native iOS, Android and web (Angular or other)
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.