I am a beginner at android app development. I have an idea of an app, but I first need to set my bearings straight. So instead of confusing you with the complexities of the app, I just want to ask a question. Obviously, I do not expect anyone to write me the entire code, instead just to guide me to the right path by indicating which methods, classes or keywords to look for.
I want to know how to create several instances of the same image. I am planning on having a toolbar with all the tools that you can select and then a workspace where you will be putting those tools. Ever played a tower defense games, you know how you have a toolbar with selection of towers to choose from and then you simply drag and drop them on the map? something like that. Please also guide me on which layout would best suit this type of application.
I understand the question is too broad, but any kind of help to get me started would immensely help.
For a game, you don't want to use native View objects. Here's a guide on Android game development.
Here is a simple example of a Sprite based game for Android.
I personally think that you are going the wrong way here. Just like if you wanted to build a house you wouldn't start from building the roof, first you need to get a book (I would recommend the Busy coders guide to android development) or start reading (or watching on youtube) a tutorial and just start learning to code in android. Get better at it and in some time you will understand better on what and how you can do with the platform. There are tons of stuff for you to learn before you will be able to do even simple stuff, but believe me learning android is very exciting and the feeling you get when developing an app should be what drives you forward. Hope this helps.
Related
I'm struggling to understand how am I meant to interact with the "graph" and "calculator" stuff from the mediapipe library. More specifically, I'd like to write some Android code that uses landmarks from the holistic (pose + hands in my case) solution, with the final goal of writing a flutter application that compiles both for Android and iOS.
I've managed to build a few of the sample apps (thanks to docker), and I think I roughly understand what the graphs do. However, I don't understand how to interact with them from within the code. The Hello World! for Android tutorial doesn't really explain this. There are examples that include this type of behaviour (e.g. here), but I don't really know where is all the required information coming from (e.g. how would I find out the right functions and string constants to get holistic landmarks?)
For example, in Python I could get data via something like holistic.process(image).pose_landmarks, and then compute e.g. position or angle of hips. And as far as I can see there are some similar Android API-s available, although not for all solutions - including holistic. So what if I don't want to wait for the API-s development, and want to use the graphs instead? That part is not so clear.
As a bonus, please do feel free to drop any links which further explain/document the "graph" and "calculator" stuff I've mentioned earlier, as I've not used anything like this before and find it a little difficult to google.
Thanks.
I've realised there are docs available: https://google.github.io/mediapipe/framework_concepts/framework_concepts.html
Not sure how I've missed this...
I am a student working on a senior project. It will be a very simple android app to organize karaoke. We are using Flutter for the front-end work.
My education has been in Java, but this is my first time working with Dart/Flutter, let alone on a smartphone app. I have gone through Get Started (https://flutter.io/get-started/), as well as 2-3 step-by-step youtube tutorials that help you build very simple apps from scratch. These have been helpful, but I'm still having trouble wrapping my head around the organization of a Flutter app. All tutorials say "everything is a widget", as if that should make things simple. And maybe it does in the end. But I end up with so many widgets, and I am getting confused about what widget should be inside what other widget and why.
Take a look at this picture (in the middle of the picture I have the widget-tree on display). I have a stack, two columns, scaffold, container, etc. Do I really need all of those? Is this normal for a simple login page?
What helped you get a grip on Flutter? Or maybe it is app development, rather, that I am having trouble understanding. Regardless, I am getting a bit discouraged. Any advice? Maybe there is a particular tutorial that helped you a lot?
Thank you for any help.
I like to learn by downloading and running examples from the developers (like these ones in their GitHub repo).
One thing I struggled with at first too from the whole "everything is a widget" idea was figuring out how to handle state / data changes appropriately. If you're struggling with that, this Google I/O video does a great job showing how you can better architect an app in regard to handling state in a reactive way. A bit more advanced, but from beginning to end they go from their opinion on the worst way to handle state changes to their recommended way(s).
I am looking to start writing apps for mobile devices. I know a little about this subjec, and I am proficient in both java and python. However, before jumping into creating apps I wanted to get the community's input on a question I have not yet found the answer to:
How/Where should I begin?
I understand this question is fairly general/basic for a community that focuses on solving/debugging complex programs, but if there is a recommended tutorial (or specific platform) that will help a beginner(such as myself), it would greatly reduce the frustration and amount of monotonous questions asked on this forum and others.
Regards
Coursera is offering 3 courses all using android development which started last week. That would be an excellent starting point for anyone:
https://www.coursera.org/specialization/mobilecloudcomputing/2
How/Where should I begin?
I don't know about you, but I often learn by example more than reading. You mentioned that you're proficient in java so thats a great start. After you understand the Android SDK it's really only the UI good practices you need to learn. So here's my suggestion.
Start off with something super simple. Let's say, create your own version of a calculator. Something that can add, subtract, multiply, and divide. This should be dirty, ugly, but works correctly.
After doing this, take a look at some other android calculators on the play store. Check out Simple Loan Calculator. I use this example because it offers a lot of android UI components. ViewPager, ActionBar, etc. Download this app, take a look at it, and try to mimic it. This should provide an idea on how to work with the android UI components.
What's next? After you have done these two apps you should be relatively ready to tackle your own project.
HTML apps are easy to port across multiple mobile platforms. I have set up an Android HTML template as a starting point. You can just import this project into Eclipse and take a look at that.
https://github.com/jakewp11/HTML5_Android_Template
Here is my experience for ios,
There are three things that I consider as pillars
Objective C
Memory managment
Design patterns
The first one looks obvious but I'd stress on learning concepts like protocols, categories, extensions. As a beginner I thought that learning the syntax was enough, but time and again I had to jump back to the language concepts to understand what's going.
The memory managment , the most talked and confusing subject and now since we have automatic referenc counting to make things simpler and often new Dev skips learning memory concepts (I did it). So I suggest you to have an idea what actually happens under the hood of arc " the manual memory managment"
The design patters,
When I started off , to pass data and control , what I used to do was achieve every thing through the only design patten I knew (target action) . I lack the knowledge of design patters didn't how easily I could achive better results with less code.
Some resources:
Dev.apple.com
http://www.raywenderlich.com (one of my best tutorials are here, you can find one on design patterns)
http://rypress.com/tutorials/objective-c/
And yes , the sample projects at Dev.apple are the best tutors.
i am pretty good in android but have not developed any games yet, and have no idea where to kick off.
I have idea of Game in my mind, but i have no idea how to convert that idea into game.
The most big problem i am finding is building UI for that, as i can build backend for the game with my logic but how to interact with games-UI that i new to me and have not done before.
Is there any tool or some kind of help by which i can easily build UI comonents for a game and use them easily in my game creation.
i had read about libgdx for android but i am not sure as using that i have to write code to display even a single point/entity.
Is there any nice, easy and fast way to develop game UI
I have done starter RnD on google but still not much clear with GameUI creation.
Any kind of guidance is appreciated.
Thanks
Aj
What kind of game is it? 2d / 3d graphics? Or just text input (like a chance game or a quiz game?)
UI could mean many things. To some people it's just the menu overlays and other interfaces, like health bars and the like. To others UI is the entire rendering field. Please clarify your terminology in this regard.
If you want to avoid as much code as possible there are libraries that can help. Is there a way you can describe your game by analogy without giving away your secrets? Then we can better assist you.
The right place to ask would be in the gamedevs section of stackexchange, other than that it is a possible duplicate of / related to https://gamedev.stackexchange.com/questions/3401/how-do-i-get-started-making-android-games
I'm planning to develop a simple tic-tac-toe 3D game for android as a starting point (practical task to learn and do something useful), but devguid seems to be more of a reference than something with what I can get my hands on particular task. Can someone advice what should be investigated? (or maybe I'm searching for it incorrectly)
EDIT: I'm also considering other options on learning android development. (Though, the "practice while learning" approach is preferred).
EDIT:
My purpose: learn how to develop apps for android && create an app, which is fun and can be placed on android market
My initial "data": strong java + java ee, basic C/C++, willing to learn
Means to achieve purpose: devguide is more of a reference, and I need a solid start with lots of explanations. Need an advice here.
You see, to my mind there is no sense to read books and so on. First reading starting manuals from Google should definately help. When you are done with them you should jump into development. Of course, you will have a lot of questions, however there are lots of great manuals and tutorials all over the internet, so you will rarely have difficulties. If you even though have them, come here and we'll help =) Check out my devBlog
I did a simple tic tac toe for my first Android application and I was able to create a working game quite quickly using a table of image views. You just need to add clickHandler events onto the image views so they change image on click, and write a function checking whether the game is won after the click.
Try out several tutorials here, especially testing ones. Get your hands on Pro Android Games with reading devguide when some part of android development is unknown.
This will result in a rapid development (with a zero level starting point) and small learning curve of basic + in deep android development.