Where to get detail description on understanding android - android

I found lots of books on android which give basic concept on android Example (calling Activity, Intent, service, broadcast receivers etc). But I want to know brief description on all these concept. in os level or in api level how does it work. Also how connection with wifi or 3g works in api level.
I want to know brief understanding on android. Can anyone suggest any tutorial or book to get detail understanding on android.
Thanks

Start with the Android Developer's Guide. http://developer.android.com/guide/index.html

I would recommend to buy a book. For me Professional Android 2 Application Development was really good. But probably now there is better (up to date) alternative.
Anyway I find reading books much easier starter than separate tutorials and articles.

If you want a really detailed view, just look at the source code.

Related

Android Source Code- writing custom services to startup at boot

I'm currently trying to learn how to write custom services and have them start up at boot, all in the Android Source code.
Could anyone point me to the right references (books, online articles, etc) that discuss this specific topic and as well as understanding AOSP/Android operating system in general?
To learn how to write a custom Service you can look at the docs here.
You'll want to learn about Activities and their Lifecycle in the docs here
And you'll want to learn about the Application fundamentals in the docs here
Once you have an idea of how everything works fundamentally, there are tons of tutorials on the internet that will show you how to code specific things. A simple Google search will find you all of that.
Hope this helps!

Starting point for app creating, where to start

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.

Android application design starting point

I have just starting learning Android development. I am familiar with the Java and Adobe Flex UI. I have basic design curiosity regarding the android development.
What could be the ideal design to develop the app. (Lets say, I have 4-6 different tab)
I have all the wire-frame available. which could be my starting point.
I wanted to use JSON and mongoDB for connectivity purpose ?
Is there any framework available for android development (MVC) ?
Generalized functionalists nice to have. eg. Email or updates for the application to notify.
I am currently going through the tutorial but thats not really helpful in terms of designing the whole application.
Please help me.
thanks,
I think you first just need to take some time and have a good read on Google's own sites.
http://developer.android.com/index.html
Another good place for tutorials is
http://www.vogella.com/articles/Android/
There is no ideal design. Your starting point, is the site above.
Communication between your app and a server is mostly done by JSON or XML. You can't directly access remote databases (Maybe you can with some tricks, but you don't want to.)
Android is a framework, and it is based on MVC.
No idea what you're even asking here.
Good luck and try to make any future questions a lot more specific to programming problems.

Book, tutorials or sources for creating rich/complex interface (android)

Pretty much the title. I'm new in android development. So, I'm interesting about developing rich application, but cannot find a good tutorials. I would be realy appreciated if someone guide me some resources for start.
Maybe there is some open source project where I can find helpful information?
Thank you
UPD1
Is there some guide from start to end where explained how to make an application such a twitter app? Or any other kind of complex and start to end described application?
I would recommend starting here. The Google UI guidelines. It explains the different API for creating UI elements and also gets into pros/cons about icons, menus, fonts and so on.
http://developer.android.com/design/index.html
http://appinventor.mit.edu/explore/sites/teach.appinventor.mit.edu/files/MIT%20App%20Inventor%20Development%20Overview_0.pdf
http://cs.usfca.edu/~wolber/appinventor/bookSplits/ch4NoTexting.pdf
These are some of the links that i found very useful for complex android app development.

Where to find Android Development Homework Problems

Ok so I am starting off with android development and I have found a bunch of useful tutorials so I am set there. What I am looking for is a resource that provides homework style problems to do and has the answers downloadable so I can check my solution against the "official" solution.
So for example instead of the notepad tutorial it would be: "Build an application that you can create, edit, delete notes, ...etc.". Ideally the "official" solution would have some explanation as to why they built it the way they did. (so a tutorial at the tail end)
Anyone know of any resources that provide their tutorials in this format?
Thanks.
Okay, here's one: build me an app that allows the user to make, modify, and store notes. The 'official' answer is the Notepad app in the 9th level of the api. (Note that this is different from the notepad tutorial).
The point is that asking questions is easy, the harder part is actually making a program that does the job. And #Roflecoptr is right, at this level it can be implemented very differently. But if you want that mindset, you can write your own 'homework' easily. Just think up a few things you want that are simple, build it, does it do what you want well? Then you pass.
Despite for very trivial problems I dont think this is possible, because there are way to much possible implementation possibilites so that you can't compare your solution to the "official" solution.
But why do you need something like that? If you want to learn to program on Android, you can just follow some tutorials you've already found and then modify them, adapt them to your needs. When you get more used to the development of Android apps you can just get some ideas on tutorials/android development sites and then implement your own solution. There is plenty of help available here on SO and on other development sites, which will help you if you really get stuck.
You could always go to the Android Samples page, and without looking at their implementations, do your own and compare. The samples page is here:
http://developer.android.com/resources/samples/index.html

Categories

Resources