tag:blogger.com,1999:blog-44986887762690456542024-03-13T13:32:01.199-07:00Android App Development TutorialAndroid Tutorial developer guide For BeginnersUnknownnoreply@blogger.comBlogger161100tag:blogger.com,1999:blog-4498688776269045654.post-20670150927737830082012-08-25T14:23:00.000-07:002012-08-25T14:23:46.763-07:00Must-Have Resources for Android app Development<div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<div style="direction: ltr; text-align: left;">
If you’re a newcomer to app development, Android needs your apps. You don’t have to pay large sums of money for a college class. All the resources you need are available at your fingertips. Here are a few useful resources to put you on the road to developing Android apps.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
The Android Developer Community</h3>
<div style="direction: ltr; text-align: left;">
With Android in its fourth version, there is a large developer community all over the world. It is now much easier to get solutions to problems, and find like-minded developers to share app ideas and exchange experiences. </div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
Here are some developer communities/sites that you can turn to for help if you run into problems while working with Android :</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
( <b><a href="http://www.stackoverflow.com/" rel="nofollow" target="_blank">Stack Overflow</a></b> ) — Stack Overflow is a collaboratively edited question and answer site for developers. If you have a question about Android, chances are someone at Stack Overflow is probably already discussing the same question and someone else had already provided the answer. Best of all, other developers can vote for the best answer so that you can know which are the answers that are trustworthy.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
- Is another site to add to your favorites as you begin to learn Android development. </div>
<div style="direction: ltr; text-align: left;">
- You’ll have questions about how to do specific things as you go and Stack Overflow can help you with those. Search other questions and answers or post your own.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<a href="http://lynda.com/" rel="nofollow" target="_blank"><b>Lynda.com</b></a> —This site provides tutorials on a variety of software applications, many centering on software development. Lynda.com offers a section featuring Android app development, with its session, “Android App Development with Essential Java Training” lasting more than seven hours. Access to Lynda.com is not free—subscriptions start at $25 a month—but the courses are taught by top professionals in their area. So you’ll learn Android development from an Android development expert.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<b>( <a href="http://developer.android.com/training/index.html" rel="nofollow" target="_blank">Google Android Training</a> ) </b>— Google has launched the Android Training site that contains a number of useful Classes grouped by topics. At the time of writing, the classes mostly contain useful code snippets that are very useful to Android developers once they have started with the basics. </div>
<div style="direction: ltr; text-align: left;">
Once you have learned the basics in this book, I strongly suggest you take a look at the classes.</div>
<div style="direction: ltr; text-align: left;">
Mobile Tuts+—If you’ve already learned Java for other programming languages and simply need to learn how Java applies to Android Development, Mobile Tuts+ can help. This online written tutorial is available completely free of charge, beginning with the tools you’ll need, a description of Java, and a description of object-oriented programming. Once you’ve gotten that background down, you’ll move on to learning how to work with arrays and the basics of string.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<b><a href="http://groups.google.com/group/android-discuss" rel="nofollow" target="_blank"> (Android Discuss)</a></b> — Android Discuss is a discussion group hosted by Google using the Google Groups service. Here, you Will be able to discuss the various aspects of Android programming. This group is monitored Closely by the Android team at Google, and so this is a good place to clarify your doubts and learn new tips and tricks.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<a href="http://www.youtube.com/playlist?list=PL34F010EEF9D45FB8" rel="nofollow" target="_blank">TheNewBoston</a>—This free YouTube video series on Android application development is free. For those who learn better through visual demonstration, watching someone walk you through the steps of installing the necessary software and using the various buttons and functions inside that software will likely be much more effective than book learning.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<b><a href="http://developer.android.com/guide/index.html" rel="nofollow" target="_blank">Android Developers Guide—</a></b>If you’re a more advanced developer, this free resource guide at the Android Developers site includes detailed information about the Android framework. The site also includes how-to videos and forums filled with other Android developers who can help you with any questions you have.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
Thanks to the wealth of information available on the web, you no longer have to invest in a college course to learn the basics of Android development. These resources allow you to learn at home, at your own pace, keeping the material to refer back to as you begin developing apps.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-79328611814579389202012-08-24T23:01:00.001-07:002012-08-24T23:36:13.335-07:00Samsung Owes Apple $1.04 billion for Patents<div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<div style="background-color: white; background-position: initial initial; background-repeat: initial initial; margin: 0cm 0cm 0.0001pt; vertical-align: baseline;">
</div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;">A federal jury in San Jose, Calif., has found Samsung guilty of infringing a number of Apple patents and said that the Korean electronics giant should pay more than $1 billion in damages</span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;"><br /></span></span></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI0etoodCR0tYzkvrcmJ4hiSahyR8BSMN8gk_SGgE2Bl2SUVtdOrd3zrZiWjhxBGwLGdQcylNZsrMIUHboi8rSrtluBREzQMkr3dRxtTlXCBsEgpyCiMejYrl1fdDwDPFDW8p76Nn7Fg/s1600/apple-vs-samsung-540x315.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Samsung Owes Apple $1.04 billion for Patents" border="0" height="186" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjI0etoodCR0tYzkvrcmJ4hiSahyR8BSMN8gk_SGgE2Bl2SUVtdOrd3zrZiWjhxBGwLGdQcylNZsrMIUHboi8rSrtluBREzQMkr3dRxtTlXCBsEgpyCiMejYrl1fdDwDPFDW8p76Nn7Fg/s320/apple-vs-samsung-540x315.png" title="Samsung Owes Apple $1.04 billion for Patents" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Samsung Owes Apple $1.04 billion for Patents</td></tr>
</tbody></table>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;"><br /></span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;"><br /></span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;">The jury’s verdict in the landmark case found Samsung products infringed on a number of Apple design and utility patents, though not for every phone and tablet that Apple had accused. The seven-man, two-woman jury also said that several Samsung phones diluted the value of the “trade dress,” or protected design, of Apple’s iPhone.</span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;"><br /></span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;">The verdict in the Apple-Samsung legal battle came in much sooner than expected and the news hasn't been good for Samsung. To pull out one of the most relevant details amid all the patents and trade dress claims, the jury has ordered Samsung to pay Apple $1,049,343,540.in damages. Yikes.</span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;"><br /></span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;">Apple was originally seeking an award of $2.45 billion from Samsung, but few thought it would get even remotely that much. However, even $1.05 billion is a very high number for damages. Many of Apple's patent and trade dress claims were found to be valid, and Samsung was ruled to have willfully infringed upon them in multiple cases.</span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;">With all of Apple's patents intact, and many Samsung phones apparently at fault, Samsung's legal team just had a really bad start to their weekend.</span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;"><br /></span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;">The verdict will no doubt send shockwaves through the smartphone community and raise question as to whether Apple will now go after other makers of other Android products as well. The company already has lawsuits in progress against HTC.</span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;"><br /></span></span></div>
<div style="background-color: white; direction: ltr; margin: 0cm 0cm 0.0001pt; text-align: left; vertical-align: baseline;">
<span style="color: #333333; font-family: Georgia, serif;"><span style="line-height: 19px;">The jury spent only approximately 21 hours in deliberation before returning its verdict, an extremely fast turnaround for such a complicated case. The verdict form that the jury was required to slog through was more than 20 pages long, and included upwards of 700 very specific questions.</span></span></div>
<div style="direction: ltr; line-height: 14.25pt; text-align: left;">
<br /></div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-49614903013402590722012-08-18T08:27:00.000-07:002012-08-18T08:27:51.627-07:00Professional Android Application Development book reviews<div dir="rtl" style="text-align: right;" trbidi="on">
<div dir="ltr" style="text-align: left;">
</div>
<h2 dir="ltr" style="text-align: left;">
Professional Android 4 Application Development (Wrox Professional Guides) </h2>
<h4 dir="ltr" style="text-align: left;">
Author review </h4>
<div dir="ltr" style="text-align: left;">
<b><i>Developers, build mobile Android apps using Android 4 </i></b></div>
<div dir="ltr" style="text-align: left;">
<b><i><br /></i></b></div>
<div dir="ltr" style="text-align: left;">
The fast-growing popularity of Android Smartphones and tablets creates a huge opportunities for developers. If you're an experienced developer, you can start creating robust mobile Android apps right away with this professional guide to Android 4 application development. Written by one of Google's lead Android developer advocates, this practical book walks you through a series of hands-on projects that illustrate the features of the Android SDK. That includes all the new APIs introduced in Android 3 and 4, including building for tablets, using the Action Bar, Wi-Fi Direct, NFC Beam, and more.</div>
<div dir="ltr" style="text-align: left;">
- Shows experienced developers how to create mobile applications for Android smartphones and tablets</div>
<div dir="ltr" style="text-align: left;">
- Revised and expanded to cover all the Android SDK releases including Android 4.0 (Ice Cream Sandwich), including all updated APIs, and the latest changes to the Android platform.</div>
<div dir="ltr" style="text-align: left;">
- Explains new and enhanced features such as drag and drop, fragments, the action bar, enhanced multitouch support, new environmental sensor support, major improvements to the animation framework, and a range of new communications techniques including NFC and Wi-Fi direct.</div>
<div dir="ltr" style="text-align: left;">
- Provides practical guidance on publishing and marketing your applications, best practices for user experience, and more</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<i>This book helps you learn to master the design, lifecycle, and UI of an Android app through practical exercises, which you can then use as a basis for developing your own Android apps.</i></div>
<div dir="ltr" style="text-align: left;">
<i> Professional Android 4 Application Development (Wrox Professional Guides) Reviews </i></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Some Customer reviews </h3>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>No1:</i></b> I come from a heavy background in web development, specifically PHP (call it a language or a mess, but it's my web programming language of choice). I've wanted to move into Android development for a while, but never really had an opportunity until recently (3 months ago) to produce something. Naturally, moving to Android development was rough at first for countless reasons, so I've bought books, read tutorials, blogs, watched countless Google I/O videos, and spent hours upon hours browsing the API. For the most part, I've found "here's how to do (insert random task here)." Rarely have tutorials come with the reason something is a best practice or why their way is better than another. Since this is the case for a lot of languages, I mostly accepted it and did my best to make sense of the content out there to build my first app.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
A great reference and more:</div>
<div dir="ltr" style="text-align: left;">
In the two days that I've had the book, I think I have saved at least 5-6 hours that would have been spent looking for solutions to problems that I felt comfortable implementing in my software. Not only does Reto explain how something is done, but more often then not I feel like I understand why something is done a particular way.. Which, to most developers is crucial to get an understanding of a platform. I would be comfortable saying, there's enough information out there for ANYONE to produce an Android application, but for non-Java programmers there are few resources that really solidify a better understanding of the platform or don't recommend a life-long dedication to Java before picking up the material. I'd feel comfortable recommending the book to anyone with a solid understanding of software development who was looking to get into Android programming.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
To be more specific than saying "a solid understanding of software development," I'd say it definitely helps to know some Java syntax, object-oriented programming and MVC practices going in.. Of course, the more the better. Without footing in those a lot of the information (not just in this book, but Android development in general) will be tough to grasp completely. After that, I'd say it's for just about anyone serious about Android Development who has more interest than just getting from A to B. Though it would certainly help anyone just looking to get from A to B.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>No2:</i></b> This is my second book on how to develop apps for Android. It's far more detailed than the other one I bought some months ago, and the extra detail (770 page book) makes it well worth the price. I have a long way to go, but every chapter covers the material in depth so I think this is 'the one'.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
My only criticism of the book is that unlike the superlative series of books by Murach, this one has no exercises for you to try and write code as you go. However, code is supplied by the publishers website and it loads into Eclipse for you to play with, and figure it out.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
It is updated to Android 4.0 (ICS) so is current at this time.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>No3: </i></b> This is a decent book if you're an intermediate Android programmer. However, if you are completely new to Android this isn't the book for you.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
The author depends too much on the downloaded code and does not give explanations on what is happening most of the time.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>Overall, the book is very POWERFULL but I recommend it for advanced user (Not for beginners) , so if you beginners check this book <a href="http://android-app-tutorial.blogspot.com/2012/08/Android-for-Programmers-book.html" target="_blank">Android for Programmers: Developer Series</a>then you can explore this book .</i></b></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>Level : advanced .</i></b></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
For more detail Professional Android 4 Application Development (Wrox Professional Guides)<a href="http://amzn.to/QaYeU1" rel="nofollow" target="_blank"> Download pdf visit this link</a> </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-56016783261604248552012-08-18T08:10:00.002-07:002012-08-18T08:11:21.356-07:00Android for Programmers: Developer Series book reviews<div dir="rtl" style="text-align: right;" trbidi="on">
<div dir="ltr" style="text-align: left;">
</div>
<h2 dir="ltr" style="text-align: left;">
Android for Programmers: An App-Driven Approach (Deitel Developer Series) </h2>
<h4 dir="ltr" style="text-align: left;">
Author review </h4>
<div dir="ltr" style="text-align: left;">
<b>The professional programmer’s Deitel® guide to Android™ smartphone and tablet app development and the Eclipse IDE with the Android Development Tools (ADT) plug-in</b></div>
<div dir="ltr" style="text-align: left;">
<b><br /></b></div>
<div dir="ltr" style="text-align: left;">
Billions of apps have been downloaded from Android Market! This book gives you everything you’ll need to start developing great Android apps quickly and getting them published on Android Market. The book uses an app-driven approach—each new technology is discussed in the context of 16 fully tested Android apps, complete with syntax coloring, code walk-throughs and sample outputs. Apps you’ll develop include:</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
- SpotOn Game</div>
<div dir="ltr" style="text-align: left;">
- Slideshow</div>
<div dir="ltr" style="text-align: left;">
- Flag Quiz</div>
<div dir="ltr" style="text-align: left;">
- Route Tracker</div>
<div dir="ltr" style="text-align: left;">
- Favorite Twitter® Searches</div>
<div dir="ltr" style="text-align: left;">
- Address Book</div>
<div dir="ltr" style="text-align: left;">
- Tip Calculator</div>
<div dir="ltr" style="text-align: left;">
- Doodlz</div>
<div dir="ltr" style="text-align: left;">
- Weather Viewer</div>
<div dir="ltr" style="text-align: left;">
- Cannon Game</div>
<div dir="ltr" style="text-align: left;">
- Voice Recorder</div>
<div dir="ltr" style="text-align: left;">
- Pizza Ordering </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b>Practical, example-rich coverage of:</b></div>
<div dir="ltr" style="text-align: left;">
- Smartphone and Tablet Apps, Android Development Tools (ADT) Plug-In for Eclipse</div>
<div dir="ltr" style="text-align: left;">
- Activities, Intents, Content Providers</div>
<div dir="ltr" style="text-align: left;">
- GUI Components, Menus, Toasts, Resource Files, Touch and Gesture Processing</div>
<div dir="ltr" style="text-align: left;">
- Tablet Apps, ActionBar and AppWidgets</div>
<div dir="ltr" style="text-align: left;">
- Tweened Animations, Property Animations</div>
<div dir="ltr" style="text-align: left;">
- Camera, Audio, Video, Graphics, OpenGL ES</div>
<div dir="ltr" style="text-align: left;">
- Gallery and Media Library Access</div>
<div dir="ltr" style="text-align: left;">
- SharedPreferences, Serialization, SQLite</div>
<div dir="ltr" style="text-align: left;">
- Handlers and Multithreading, Games</div>
<div dir="ltr" style="text-align: left;">
- Google Maps, GPS, Location Services, Sensors</div>
<div dir="ltr" style="text-align: left;">
- Internet-Enabled Apps, Web Services, Telephony, Bluetooth®</div>
<div dir="ltr" style="text-align: left;">
- Speech Synthesis and Recognition</div>
<div dir="ltr" style="text-align: left;">
- Android Market, Pricing, Monetization</div>
<div dir="ltr" style="text-align: left;">
Android for Programmers: An App-Driven Approach (Deitel Developer Series) Development Reviews </div>
<h4 dir="ltr" style="text-align: left;">
Some Customer reviews </h4>
<div dir="ltr" style="text-align: left;">
<b>No1:</b> I initially selected this book due to the multiple authors, hoping it would be more error free than other book I have read from single authors. So far that has been true, the more eyes in the review process really help not only catch errors but organize the material. Little things like all code snippets having line numbers and being high-lighted to follow the text really help. There are a good number of screen shots that make it easy to follow along with Eclipse on a windows or mac machine. I read so many posts on the internet saying Android has no GUI builder to layout widgets, and was very surprised, it wasn't until this book, I found out they are wrong. Adroid being what it is with Google behind it needs all the help with documentation and organization it can get. Google has that tendency to just leave it as-is, while their phD's make more hard to follow videos. The 16 apps they use as examples cover a nice range of UI, Services and libraries. The only negative is I'd prefer to not use Eclipse and would rather use my editor and a make file, but this isn't the authors faults, Android seems to be married to the ADT visual layout editor plugin and the ant build system. This book is for the rest of us that are normal C++ or C# or Java folks and can talk layman terms in getting the job done. The authors are to be commended for that alone! </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b>No2:</b> This book is well written and logically structured. It is not a book about Java programming, so you might want to look at other books if that is what you need. I found the app driven approach easier (and more interesting) than the standard online tutorials. The book also contains numerous links to helpful Android web sites. This is particularly useful for those who want to dig deeper into any topic.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b>No3: </b> I'm working my way through Android for Programmers (an App-Driven Approach) and it is by far the best (of the three I've purchased!) on Android development.The book presents the app/code and then goes through it allowing you to cut and paste more mundane tasks(variable declarations and GUI formatting) once you've mastered them and allows you to focus on the JAVA and techniques.</div>
<div dir="ltr" style="text-align: left;">
I don't have a ton of Java experience, but I found this extremely easy to pick up (if you know Ruby, C++, C# or other Object Oriented Languages, you can easily follow the Java).</div>
<div dir="ltr" style="text-align: left;">
One negative: The online chapters aren't done as of 3/17/2012; hopefully soon.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b>Overall, the book is very easy to follow with great examples but I recommend you to read this book first </b><a href="http://android-app-tutorial.blogspot.com/2012/08/Beginning-Android-Application-Development.html" target="_blank">Beginning Android 4 Application Development Reviews</a> <b> then this book .</b></div>
<div dir="ltr" style="text-align: left;">
<b><br /></b></div>
<div dir="ltr" style="text-align: left;">
<b>Level :</b> intermediate level so you must read the previous book before to begin this book . </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
For more detail Android for Programmers: An App-Driven Approach (Deitel Developer Series) <a href="http://amzn.to/NaWjP6" rel="nofollow" target="_blank">Download pdf visit this link</a> </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-84056777908379553332012-08-18T07:47:00.002-07:002012-08-18T08:34:45.936-07:00Beginning Android 4 Application Development book reviews<div dir="rtl" style="text-align: right;" trbidi="on">
<div dir="ltr" style="text-align: left;">
</div>
<h2 dir="ltr" style="text-align: left;">
Beginning Android 4 Application Development Reviews </h2>
<h3 dir="ltr" style="text-align: left;">
<span style="font-size: small; font-weight: normal;">In the last tutorial we know ho to </span><a href="http://android-app-tutorial.blogspot.com/2012/08/Running-app-virtual-device.html" style="font-size: medium; font-weight: normal;" target="_blank">Running Android virtual device</a><span style="font-size: small; font-weight: normal;"> and now its the time to explore some useful android book . </span>
</h3>
<h3 dir="ltr" style="text-align: left;">
Author review </h3>
<div dir="ltr" style="text-align: left;">
Understanding Android OS for both Smartphone and tablet programming </div>
<div dir="ltr" style="text-align: left;">
This fast-paced introduction to the newest release of Android OS gives aspiring mobile app developers what they need to know to program for today's hottest Android Smartphones and tablets. Android 4 OS is, for the first time, a single solution for both Smartphones and tablets, so if you master the information in this helpful guide, you'll be well on your way to successful development for both devices. From using activities and intents and creating rich user interfaces to working with SMS, messaging APIs, and the Android SDK, what you need is here.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
- Provides clear instructions backed by real-world programming examples</div>
<div dir="ltr" style="text-align: left;">
- Begins with the basics and covers everything Android 4 developers need to know for both Smartphones and tablets</div>
<div dir="ltr" style="text-align: left;">
- Explains how to customize activities and intents, create rich user interfaces, and manage data</div>
<div dir="ltr" style="text-align: left;">
- Helps you work with SMS and messaging APIs, the Android SDK, and using location-based services</div>
<div dir="ltr" style="text-align: left;">
- Details how to package and publish your applications to the Android Market</div>
<div dir="ltr" style="text-align: left;">
- Beginning Android 4 Application Development pares down the most essential steps you need to know so you can start creating Android applications today.</div>
<div dir="ltr" style="text-align: left;">
Beginning Android 4 Application Development Reviews </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Some Customer reviews </h3>
<div dir="ltr" style="text-align: left;">
<b>No1:</b> I picked this book up after completing my intro to computer science class where we learned Java, and thought it'd be good to learn to program for Android. I've been working on a small app of mine, and it's great to go through the book and add new features. Awesome book for reference as well.</div>
<div dir="ltr" style="text-align: left;">
I've found this book very easy to read through on the Kindle version when viewed on the PC, however I would not suggest copying and pasting the code. You won't learn it as well, and the formatting will be a nightmare.</div>
<div dir="ltr" style="text-align: left;">
I recommend this book to anyone with prior knowledge of Java looking to get into Android.</div>
<div dir="ltr" style="text-align: left;">
<b><br /></b></div>
<div dir="ltr" style="text-align: left;">
<b>No2:</b> I have developed software for 18 years but I am new to Android. I think this book is a great tool for someone that is already a developer and wants to jump into the Android platform. The book contains a wide variety of very practical examples with very good explanations. I can tell this author really thought through the content of the book. The result has been a fine compendium of the most important facets of Android development.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b>No3:</b> I just bought this book last week and start reading from chapter 1, 2, 3 and learned that this book is really easy to learn. I like the author's style that he provided the code first and explained how the code does step by step later. It is easy to follow. This book describes what the title says: Beginning Android 4. I am new to Android, but I am an experience java web developer, that helps me to focus android coding from this book and learn Android 4 very quickly. I love how the book layout with multi-color which makes the reader easy and enjoy reading.</div>
<div dir="ltr" style="text-align: left;">
If you a beginner, this book is for you. I will update more after finishing the book. </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b>My own review</b> about Beginning Android 4 Application Development Reviews is:</div>
<div dir="ltr" style="text-align: left;">
I recommend this book to anyone who has knowledge of Java and looking to get into Android and you can download sample chapters </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<div dir="ltr">
<a href="http://p2p.wrox.com/content/sites/default/files/users/21/file/Chapter%208%209781118087299-2.pdf" rel="nofollow" target="_blank">Beginning Android 4 Application Development Download pdf </a></div>
<div dir="ltr">
<br /></div>
<a href="http://amzn.to/S7wvtG" rel="nofollow" target="_blank">More details about this book Form <span style="text-align: right;">amazon</span></a></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-78763421375173230242012-08-18T06:06:00.001-07:002012-08-18T08:32:06.252-07:00Running Android virtual device - App Development Tutorial <div dir="rtl" style="text-align: right;" trbidi="on">
<div dir="ltr" style="text-align: left;">
</div>
<h2 style="direction: ltr; text-align: left;">
Running Your App on Android virtual device</h2>
<div dir="ltr" style="text-align: left;">
If you followed the previous tutorial <a href="http://android-app-tutorial.blogspot.com/2012/08/Build-your-own-app_18.html" target="_blank">Building your own Android App</a> to create an Android project, you have created your first Hello World Android application source files that allow you to immediately run the app on the Android virtual device.</div>
<h4 style="direction: ltr; text-align: left;">
How you run your app depends on two things:</h4>
<div dir="ltr" style="text-align: left;">
Whether you have a real Android-powered device and whether you’re using Eclipse. This tutorial shows you how to install and run your app on a real device and on the Android emulator (Android virtual device), and in both cases with either Eclipse or the command line tools.</div>
<div dir="ltr" style="text-align: left;">
Before you run your app, note the various files that make up an Android project in the Package Explorer in Eclipse. </div>
<h3 style="direction: ltr; text-align: left;">
Android project architecture </h3>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; float: right; margin-left: 1em; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSZDvx9ilknHRTYG6iWgTbcWt21UFkySSR8At8d9B3AbjHHosv402jhMG74H4wqWzJdc0gl8yP7Ru59L0ZWTdsXJdlND4vIn2PoU1ZhqQcrUYYHX0UZ2BKj5Z0OGI2qRpqgk1YlPijpA/s1600/directories+and+files+in+the+Android+project.jpg" imageanchor="1" style="clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto; text-align: center;"><img alt="android project architecture" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjSZDvx9ilknHRTYG6iWgTbcWt21UFkySSR8At8d9B3AbjHHosv402jhMG74H4wqWzJdc0gl8yP7Ru59L0ZWTdsXJdlND4vIn2PoU1ZhqQcrUYYHX0UZ2BKj5Z0OGI2qRpqgk1YlPijpA/s320/directories+and+files+in+the+Android+project.jpg" title="android project architecture" width="157" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">android project architecture</td></tr>
</tbody></table>
<div>
</div>
<h4 style="direction: ltr; text-align: left;">
The various folders and their files are as follows:</h4>
<div dir="ltr" style="text-align: left;">
<b><i>AndroidManifest.xml</i></b></div>
<div dir="ltr" style="text-align: left;">
The manifest file describes the fundamental characteristics of the app and defines each of its components.</div>
<div dir="ltr" style="text-align: left;">
For example all Activities and Services of the application must be declared in this file. It must also contain the required permissions for the application. For example if the application requires network access it must be specified.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>src/</i></b></div>
<div dir="ltr" style="text-align: left;">
Directory for your app's main source files. By default, it includes an Activity class that runs when your app is launched using the app icon.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>res/</i></b></div>
<div dir="ltr" style="text-align: left;">
Contains several sub-directories for app resources. res directory contains structured values which are known to the Android platform, the assets directory can be used to store any kind of data. You access this data via the AssetsManager which you can access the getAssets() method. AssetsManager allows to read an assets as InputStream with the open() method. </div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<b><i>drawable-hdpi/</i></b></div>
<div dir="ltr" style="text-align: left;">
Directory for drawable objects (such as bitmaps) that are designed for high-density (hdpi) screens. Other drawable directories contain assets designed for other screen densities.</div>
<div dir="ltr" style="text-align: left;">
<i><b><br /></b></i></div>
<div dir="ltr" style="text-align: left;">
<i><b>layout/</b></i></div>
<div dir="ltr" style="text-align: left;">
Directory for files that define your app's user interface.</div>
<div dir="ltr" style="text-align: left;">
<b><i><br /></i></b></div>
<div dir="ltr" style="text-align: left;">
<b><i>values/</i></b></div>
<div dir="ltr" style="text-align: left;">
Directory for other various XML files that contain a collection of resources, such as string and color definitions.</div>
<div dir="ltr" style="text-align: left;">
When you build and run the default Android app, the default Activity class starts and loads a layout file that says "Hello World." The result is nothing exciting, but it's important that you understand how to run your app before you start developing.</div>
<h3 style="direction: ltr; text-align: left;">
Run on the Android virtual device (Emulator)</h3>
<div dir="ltr" style="text-align: left;">
You are now ready to test your application on the Android emulator. Right-click the project name in Eclipse and select Run As -> Android Application .</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIYLMlPJwbFdX-o7GnV0SDR_M-4fJ0Ue_gwWoVXCTFVwHiK69-aBXOD-ixQIHSVHQueymD7zGtDxIY1BWG5JcLq9-UURWUxlvhtCyWC92nt9xzi88edF7T_H7T-QEYsu_2sEDpps9iSg/s1600/Run+on+the+Emulator.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Run on the Android virtual device (Emulator)" border="0" height="301" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgIYLMlPJwbFdX-o7GnV0SDR_M-4fJ0Ue_gwWoVXCTFVwHiK69-aBXOD-ixQIHSVHQueymD7zGtDxIY1BWG5JcLq9-UURWUxlvhtCyWC92nt9xzi88edF7T_H7T-QEYsu_2sEDpps9iSg/s320/Run+on+the+Emulator.jpg" title="Run on the Android virtual device (Emulator)" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><h3 style="text-align: left;">
Run on the Android virtual device (Emulator)</h3>
</td></tr>
</tbody></table>
<div dir="ltr" style="text-align: left;">
If you have not made any mistakes in the project, you should now be able to see the application installed and running on the Android virtual device (emulator).</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx6r1Yif11xuuBkt6quxzLSjVcmK2Bfce1KwRYBhqmUkA6ippcTKSeG_MCIAQCi6F5M6BdYwZxhkt1M0Tmrg6fYoCGVpXWn84-eSIgSuc5CasxrBd6-X4J_K0q7DumSCp-65a1-JohGw/s1600/Run+on+the+Emulator+first+application.jpg" imageanchor="1"><img alt="Run on the Android virtual device (Emulator) " border="0" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx6r1Yif11xuuBkt6quxzLSjVcmK2Bfce1KwRYBhqmUkA6ippcTKSeG_MCIAQCi6F5M6BdYwZxhkt1M0Tmrg6fYoCGVpXWn84-eSIgSuc5CasxrBd6-X4J_K0q7DumSCp-65a1-JohGw/s320/Run+on+the+Emulator+first+application.jpg" title="Run on the Android virtual device (Emulator) " width="320" /></a></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<h3 style="direction: ltr; text-align: left;">
Run on a Real Android Device</h3>
<div dir="ltr" style="text-align: left;">
If you have a real Android-powered device, here's how you can install and run your app . Visit this link from Google to know how to Run on a Real Android Device</div>
<div dir="ltr" style="text-align: left;">
<a href="http://developer.android.com/training/basics/firstapp/running-app.html" rel="nofollow" target="_blank">http://developer.android.com/training/basics/firstapp/running-app.html </a><br />
<br />
Now you can explore some resources and book for increase your knowledge , you can begin with beginner book : <a href="http://android-app-tutorial.blogspot.com/2012/08/Beginning-Android-Application-Development.html" target="_blank">Beginning Android 4 Application Development book reviews</a></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-39062725196400918532012-08-18T05:15:00.001-07:002012-08-18T05:30:36.087-07:00Create an Android Project & import samples with Eclipse<div dir="rtl" style="text-align: right;" trbidi="on">
<div style="direction: ltr;">
</div>
<h2 style="direction: ltr; text-align: left;">
Building your own Android App</h2>
<h3 style="direction: ltr; text-align: left;">
Welcome to Android Development Tutorial!</h3>
<div dir="ltr" style="text-align: left;">
This Tutorial teaches you how to build your own (first) Android app. You’ll learn how to create an Android project and how to import the Android app’s project into Eclipse.</div>
<div dir="ltr" style="text-align: left;">
Before you start this Tutorial, be sure you have your android development environment set up.</div>
<h3 style="direction: ltr; text-align: left;">
You need to:</h3>
<div dir="ltr" style="text-align: left;">
- Download the Android SDK.</div>
<div dir="ltr" style="text-align: left;">
- Install the ADT plugin for Eclipse (if you’ll use the Eclipse IDE (.</div>
<div dir="ltr" style="text-align: left;">
- Download the latest SDK tools and platforms using the SDK Manager.</div>
<div dir="ltr" style="text-align: left;">
We discuss these steps in previous tutorial <a href="http://android-app-tutorial.blogspot.com/2012/08/Android-sdk-tutorial-eclipse.html" target="_blank">Android SDK tools</a> and <a href="http://android-app-tutorial.blogspot.com/2012/08/ADT-plugin-for-eclipse.html" target="_blank">Installing Android ADT Plugin For Eclipse</a>, once you've finished the setup; you're ready to begin this tutorial.</div>
<div dir="ltr" style="text-align: left;">
This tutorial teaches you some fundamental concepts about Android development, so it's important that you follow each step.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<h3 style="direction: ltr; text-align: left;">
Creating Your First Android Application</h3>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
You’ve downloaded the SDK, installed Eclipse, and plugged in the plug-in. You are now ready to start programming for Android. Start by creating a new Android project and setting up your Eclipse run and debug configurations, as described in the following steps.</div>
<h4 style="direction: ltr; text-align: left;">
Creating a New Android Project</h4>
<div dir="ltr" style="text-align: left;">
To create a new Android project using the Android New Project Wizard, do the following:</div>
<div dir="ltr" style="text-align: left;">
- Select File -> New -> Project.</div>
<div dir="ltr" style="text-align: left;">
- Select the Android Project application type from the Android folder, and click next.</div>
<div dir="ltr" style="text-align: left;">
- In the wizard that appears, enter the details for your new project. On the first page, the Project Name is the name of your project file. You can also select the location your project should be saved.</div>
<div dir="ltr" style="text-align: left;">
The next step lets you select the build target for your application. The build target is the version of the Android framework SDK that you plan to develop with. In addition to the open sourced Android SDK libraries available as part of each platform release, Google offers a set of proprietary APIs that offer additional libraries (such as Maps). If you want to use these Google-specific APIs, you must select the Google APIs package corresponding to the platform release you want to target.</div>
<div dir="ltr" style="text-align: left;">
The final step allows you to specify the application properties. The Application Name is the friendly name for your application; the Package Name specifies its Java package; the Create Activity option lets you specify the name of a class that will be your initial Activity; and setting the Minimum SDK lets you specify the minimum version of the SDK that your application will run on.</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzKz5QTO9hL5QgEhiU44HEojxVYugLe9WZa0uBvTzgAcvq79RDfL48qpiWjs4h1vmvVvxTeVeCcmel3DzEsgtGra2zRChwVZimTOwDnUcyyA0z7LLf4bl4wrrHckRQk_XhkmAZu7CUKg/s1600/1_Creating+a+New+Android+Project.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Creating a New Android Project" border="0" height="294" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjzKz5QTO9hL5QgEhiU44HEojxVYugLe9WZa0uBvTzgAcvq79RDfL48qpiWjs4h1vmvVvxTeVeCcmel3DzEsgtGra2zRChwVZimTOwDnUcyyA0z7LLf4bl4wrrHckRQk_XhkmAZu7CUKg/s320/1_Creating+a+New+Android+Project.jpg" title="Creating a New Android Project" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;">Creating a New Android Project</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXk4_ZyY5gwvVRVKwwyztBJVpl31torWBucXFqppBTRZmG-SEnJZozu6G-w_S8D-GIGjPpGUpxkRDgHlJkzlP1CySqf97LnIfeJgR6cxR8cMjdc56_rrmT5vVD1KbIiNGH_PNkIivuSA/s1600/2_Creating+a+New+Android+Project.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Creating a New Android Project" border="0" height="218" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXk4_ZyY5gwvVRVKwwyztBJVpl31torWBucXFqppBTRZmG-SEnJZozu6G-w_S8D-GIGjPpGUpxkRDgHlJkzlP1CySqf97LnIfeJgR6cxR8cMjdc56_rrmT5vVD1KbIiNGH_PNkIivuSA/s320/2_Creating+a+New+Android+Project.jpg" title="Creating a New Android Project" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;">Creating a New Android Project</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfaycamJDr0MIisHKtc2ZP_8rez1QPZAVMP2ahHS9HK7zTfxs18Qm5HuLXhBEBsew3R5CVQr0tnH-Jm587ZbhwYEX13dlLO2l7TxxjN_zjb3LsMT_CMjZZJwJRRDyqWbAriJbjjW5kKg/s1600/3_Creating+a+New+Android+Project.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Creating a New Android Project" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhfaycamJDr0MIisHKtc2ZP_8rez1QPZAVMP2ahHS9HK7zTfxs18Qm5HuLXhBEBsew3R5CVQr0tnH-Jm587ZbhwYEX13dlLO2l7TxxjN_zjb3LsMT_CMjZZJwJRRDyqWbAriJbjjW5kKg/s320/3_Creating+a+New+Android+Project.jpg" title="Creating a New Android Project" width="293" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;">Creating a New Android Project</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI9GZGU4mRbuql_p5Off7XXLB63sK7zcZS49mUHSBnGmFAU11a8s2Bw67K4gJOMslmt-EgCU8t-5Fp1cTHwhi1vdaKllVgo6q41sQO4-wsp20iG_FwKjCj08a4sIeZTyoZM0VvNW8Omw/s1600/4_Creating+a+New+Android+Project.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Creating a New Android Project" border="0" height="285" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiI9GZGU4mRbuql_p5Off7XXLB63sK7zcZS49mUHSBnGmFAU11a8s2Bw67K4gJOMslmt-EgCU8t-5Fp1cTHwhi1vdaKllVgo6q41sQO4-wsp20iG_FwKjCj08a4sIeZTyoZM0VvNW8Omw/s320/4_Creating+a+New+Android+Project.jpg" title="Creating a New Android Project" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;">Creating a New Android Project</td></tr>
</tbody></table>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
</div>
<h3 style="direction: ltr; text-align: left;">
More details about android PROPERTIES</h3>
<div dir="ltr" style="text-align: left;">
<b><i>Project Name:</i></b> Provide any name of your choice here; I named it ‘Hello World’.</div>
<div dir="ltr" style="text-align: left;">
<b><i>Build Target:</i></b> This field asks you which version of Android do you want your App to target on. Check any one of your choice. Along with Target Name you can see the API Level (marked in the box) which is numbers representing the level of the Android API. This would be used to specify Min SDK Version field, which we’ll know in few seconds.</div>
<div dir="ltr" style="text-align: left;">
<b><i>Application Name:</i></b> This is a name which you’d want to give to your final Application. This would be displayed in the phone’s menu and also on title bar of App. You may provide any name of your choice. It's not a mandatory field.</div>
<div dir="ltr" style="text-align: left;">
<b><i>Package Name:</i></b> This gives a package structure to your App. If you are familiar to java you probably already related it to java package, which is absolutely correct. You may name it anything like ‘android.firstApp’ or ‘com.apps.android.firstApp’. The dots in the package name just provide a hierarchical structure to app. The package name must have at least two identifiers (dot separated). It's a required field.</div>
<div dir="ltr" style="text-align: left;">
<b><i>Create Activity:</i></b> We discuss Activities in this tutorial <a href="http://android-app-tutorial.blogspot.com/2012/08/Custom-UI-Application-Components.html" target="_blank">Android Application User Interface tutoril</a> , but for now I'd like you to know that every App’s function is treated as an activity in android, and you can give a name to your activity. You can have activities and sub-activities in your apps. Again, this is not a mandatory field. Note: It won't allow spaces in this field.</div>
<div dir="ltr" style="text-align: left;">
Min SDK Version: Do you remember, we came across this name while talking about ‘Build Target’. This field tells your app to put an extra check on the application that it is only focused on some minimum level of Build Target. This field takes in numeric value corresponding to the API Level of Build target. It would specify that if any target environment is below this Min SDK Version, then this application won't work. This ideally should be equal to the API Level value of the Build Target selected above by you. But this is not a Mandatory field, and so even if you give any other version, it would accept it with a warning message.</div>
<h3 style="direction: ltr; text-align: left;">
The Summary of android PROPERTIES</h3>
<div dir="ltr" style="text-align: left;">
<b><i>Project name:</i></b> The name of the project<span class="Apple-tab-span" style="white-space: pre;"> </span></div>
<div dir="ltr" style="text-align: left;">
<b><i>Application name:</i></b> A user-friendly name for your application</div>
<div dir="ltr" style="text-align: left;">
<b><i>Package name:</i></b> The name of the package. You should use a reverse domain name for this.</div>
<div dir="ltr" style="text-align: left;">
<b><i>Create Activity:</i></b> The name of the first activity in your application</div>
<div dir="ltr" style="text-align: left;">
<b><i>Min SDK Version:</i></b> The minimum version of the SDK that your project is targeting</div>
<h4 style="direction: ltr; text-align: left;">
Import the app’s Android project into Eclipse</h4>
<div dir="ltr" style="text-align: left;">
- Opening the Import Dialog then Select File -> Import… to open the Import dialog</div>
<div dir="ltr" style="text-align: left;">
- Importing your app’s project (sample code). In the Import dialog, expand the General node and select Existing Projects into Workspace, then click Next -> to proceed to the Import Projects step. Ensure that Select root directory is selected, and then click the Browse button. In the Browse for Folder dialog, locate the sample folder, select it and click OK. Click Finish to import the project into Eclipse. The project now appears in the Package Explorer window at the left side of the Eclipse window.</div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: left;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkGMUDwtTWnRwdVqgUfcrkXQgrfqZg8uILBViCAQTBZdO55igqcDbMsopZjL6gRHTZY7aXdhPq4R7W5y74-5ItdVRQhouYgMGLpd4a385ftfzBTPRk_F9WKrIdpiQInZXw75zN1AAufw/s1600/1_import+the+app%E2%80%99s+Android+project+into+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Import the app’s Android project into Eclipse" border="0" height="283" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjkGMUDwtTWnRwdVqgUfcrkXQgrfqZg8uILBViCAQTBZdO55igqcDbMsopZjL6gRHTZY7aXdhPq4R7W5y74-5ItdVRQhouYgMGLpd4a385ftfzBTPRk_F9WKrIdpiQInZXw75zN1AAufw/s320/1_import+the+app%E2%80%99s+Android+project+into+Eclipse.jpg" title="Import the app’s Android project into Eclipse" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px; text-align: center;">Import the app’s Android project into Eclipse</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJbUOC9WV8S_ISSg4ih9MyV8ks2JFOxTcpKO8wrzn6lUILmwo53Vid-xCE1_AwhkLtSeuou9VmC2TJlQScvMb4ApIPJrNBSiVrUs8KHqPTMtL8VZEjsLkc6_NRU2l_bWkIbdFUICQDlw/s1600/2_import+the+app%E2%80%99s+Android+project+into+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Import the app’s Android project into Eclipse" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJbUOC9WV8S_ISSg4ih9MyV8ks2JFOxTcpKO8wrzn6lUILmwo53Vid-xCE1_AwhkLtSeuou9VmC2TJlQScvMb4ApIPJrNBSiVrUs8KHqPTMtL8VZEjsLkc6_NRU2l_bWkIbdFUICQDlw/s320/2_import+the+app%E2%80%99s+Android+project+into+Eclipse.jpg" title="Import the app’s Android project into Eclipse" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;">Import the app’s Android project into Eclipse</td></tr>
</tbody></table>
<div dir="ltr" style="text-align: left;">
<br /></div>
<div dir="ltr" style="text-align: left;">
</div>
<div dir="ltr" style="text-align: left;">
<br /></div>
<br class="Apple-interchange-newline" /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-45981261361060105562012-08-16T07:48:00.002-07:002012-08-16T07:54:40.111-07:00Download And Installing Android ADT Plugin For Eclipse <div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<div style="direction: ltr; text-align: left;">
</div>
<h2 style="text-align: left;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; line-height: 115%;">Download
And Installing Android ADT Plugin For Eclipse</span></h2>
<div style="direction: ltr; text-align: left;">
Previous tutorial <a href="http://android-app-tutorial.blogspot.com/2012/08/Android-sdk-tutorial-eclipse.html" target="_blank">Android SDK tools</a> show you how to install android SDK tools and the Eclips IDE . Now I'm going to complete the steps. First I will show you how to download and install Android ADT Plugin For Eclipse, then how to update the Android ADT Plugin For Eclipse , and finally how to create avd .</div>
<h2 dir="ltr" style="text-align: left;">
Installing the ADT Plugin for Eclipse</h2>
<h3 dir="ltr" style="text-align: left;">
Android Development Tools (ADT)</h3>
<div style="direction: ltr; text-align: left;">
When Eclipse is launched, select Help -> Install New Software to install the Android Development Tools (ADT) plug-in for Eclipse.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSIVJdmJQeWE4vv_KPvPFyZ1rAuvO0xjhHXph6KRpSsl-HOaOAVbN4U73L5d7tvWB74YSE-ejVtOpmYIWxDtwrV-wl8HgfpLi2WfzKziCcLcB1x2coGIPgDlrC_bagUNDH7F5Vh_5mxw/s1600/1_Installing+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Installing the ADT Plugin for Eclipse " border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgSIVJdmJQeWE4vv_KPvPFyZ1rAuvO0xjhHXph6KRpSsl-HOaOAVbN4U73L5d7tvWB74YSE-ejVtOpmYIWxDtwrV-wl8HgfpLi2WfzKziCcLcB1x2coGIPgDlrC_bagUNDH7F5Vh_5mxw/s320/1_Installing+the+ADT+Plugin+for+Eclipse.jpg" title="Installing the ADT Plugin for Eclipse " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">ADT Plugin for Eclipse </td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
In the Install dialog that appears, specify <a href="https://dl-ssl.google.com/android/eclipse/" rel="nofollow" target="_blank">https://dl-ssl.google.com/android/eclipse/</a> and press Enter. After a while, you will see the Developer Tools' item appear in the middle of the window . Expand it to reveal its content: Android DDMS, Android Development Tools, Android Hierarchy Viewer, and Android Traceview. </div>
<div style="direction: ltr; text-align: left;">
Check all of them and click Next twice.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJXJfVkE8gHDnlJbzVIjScOYIvcpal-WGyFzI-HDUWyrM_G0SYaJMxGP5k4lYcao7A-DokbO1VG_2iLhhlNcCpEgcuFv8LMy7A9gMo1CK5Svd2UsB451G8JDd9gCx97fsc6RhOToKbJQ/s1600/2_Installing+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Installing the ADT Plugin" border="0" height="262" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJXJfVkE8gHDnlJbzVIjScOYIvcpal-WGyFzI-HDUWyrM_G0SYaJMxGP5k4lYcao7A-DokbO1VG_2iLhhlNcCpEgcuFv8LMy7A9gMo1CK5Svd2UsB451G8JDd9gCx97fsc6RhOToKbJQ/s320/2_Installing+the+ADT+Plugin+for+Eclipse.jpg" title="Installing the ADT Plugin" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Installing the ADT Plugin</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
You will be asked to review and accept the licenses. Check the “I accept the terms of the license agreements” option and click Finish. Once the installation is completed, you will be asked to restart Eclipse. Go ahead and restart Eclipse now. </div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiruJiN_Wb1qflilI-2rRToMUEt3LKDAaRW4UJbKdhLADrcbiHdrN0T1r-1R4BNH1sdQpHkghIC-9sByERU2Ii6u6F7qQq8Pz1kbDIn1F1PCUtB5_kK6z22jX8CYcNrB4ICKLD-6gzUSg/s1600/3_Installing+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Installing the ADT Plugin " border="0" height="241" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiruJiN_Wb1qflilI-2rRToMUEt3LKDAaRW4UJbKdhLADrcbiHdrN0T1r-1R4BNH1sdQpHkghIC-9sByERU2Ii6u6F7qQq8Pz1kbDIn1F1PCUtB5_kK6z22jX8CYcNrB4ICKLD-6gzUSg/s320/3_Installing+the+ADT+Plugin+for+Eclipse.jpg" title="Installing the ADT Plugin " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td class="tr-caption" style="font-size: 13px;">Installing the ADT Plugin</td></tr>
</tbody></table>
</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
When Eclipse is restarted, you are asked to configure your Android SDK. As the Android SDK has already been downloaded earlier In the previous tutorial <a href="http://android-app-tutorial.blogspot.com/2012/08/Android-sdk-tutorial-eclipse.html" target="_blank">Android SDK tools </a>, check the “Use existing SDKs” option and specify the directory where you have installed the Android SDK. Click Next. </div>
<div style="direction: ltr; text-align: left;">
After this step, you are asked to send your usage statistics to Google. Once you have selected your choice, click Finish.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<b>For more details about installing the ADT Plugin, go to</b></div>
<div style="direction: ltr; text-align: left;">
And carefully follow <b>developer.android.com/sdk/eclipse-adt.html</b></div>
<div style="direction: ltr; text-align: left;">
the instructions for downloading and installing the ADT Plugin. </div>
<div style="direction: ltr; text-align: left;">
<b>If you have any problems downloading the ADT, check out Google’s help at</b></div>
<div style="direction: ltr; text-align: left;">
<a href="http://developer.android.com/sdk/eclipse-adt.html#installing" target="_blank"> http://developer.android.com/sdk/eclipse-adt.html#installing</a></div>
<h2 dir="ltr" style="text-align: left;">
Updating the ADT Plugin for Eclipse</h2>
<div style="direction: ltr; text-align: left;">
In most cases, you can update your ADT plug-in simply as follows:</div>
<div style="direction: ltr; text-align: left;">
1. Navigate to Help -> Check for Updates.</div>
<div style="direction: ltr; text-align: left;">
2. If there are any ADT updates available, they will be presented. Simply select them and choose Install.</div>
<div style="direction: ltr; text-align: left;">
Sometimes a plug-in upgrade may be so significant that the dynamic update mechanism can’t be used. In those cases you may have to remove the previous plug-in completely before installing the newer version.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0MRXG5p73zT8ZLlV_GxZSwjDsEsIdxtFJQ_yzjCzIqXTsYqgmTryYa8xWL_KVlcYKb4B4NSux_tm2fviiJWsqqFn0xIUasIWosCTjgIMXZlX1OZ-BX3B3spy-Rik9qp3ueetXIZhQQA/s1600/1_Updating+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Updating the ADT Plugin for Eclipse " border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi0MRXG5p73zT8ZLlV_GxZSwjDsEsIdxtFJQ_yzjCzIqXTsYqgmTryYa8xWL_KVlcYKb4B4NSux_tm2fviiJWsqqFn0xIUasIWosCTjgIMXZlX1OZ-BX3B3spy-Rik9qp3ueetXIZhQQA/s320/1_Updating+the+ADT+Plugin+for+Eclipse.jpg" title="Updating the ADT Plugin for Eclipse " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Updating the ADT Plugin for Eclipse </td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF3t5F4vk72EYnaw-WxHVYWx5cCk6XsmqJTs6kx_OIPnoawq006igGULfrn1bbvEzUFU5g3YuxOINHPq140l-0KmygT4dXzMuTu0a00e4Jh3cluLUjv5Fny8IN1kfMlLm96Yg1jR0J4Q/s1600/2_Updating+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Updating the ADT Plugin for Eclipse " border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjF3t5F4vk72EYnaw-WxHVYWx5cCk6XsmqJTs6kx_OIPnoawq006igGULfrn1bbvEzUFU5g3YuxOINHPq140l-0KmygT4dXzMuTu0a00e4Jh3cluLUjv5Fny8IN1kfMlLm96Yg1jR0J4Q/s320/2_Updating+the+ADT+Plugin+for+Eclipse.jpg" title="Updating the ADT Plugin for Eclipse " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Updating the ADT Plugin for Eclipse </td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMMzenh0Ey6pM_B06hq-IXgyS0np9k1QYQKc1t60pFqcBtoqRz3w-sU2gDntedS0dYtnBFUqPxVoc1wyE9suzqKcC8fukKmjhjgyQoj5ol6plELykGGVC-vkMB_bUmxmM0hlbrw0dC9A/s1600/3_Updating+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Updating the ADT Plugin for Eclipse " border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMMzenh0Ey6pM_B06hq-IXgyS0np9k1QYQKc1t60pFqcBtoqRz3w-sU2gDntedS0dYtnBFUqPxVoc1wyE9suzqKcC8fukKmjhjgyQoj5ol6plELykGGVC-vkMB_bUmxmM0hlbrw0dC9A/s320/3_Updating+the+ADT+Plugin+for+Eclipse.jpg" title="Updating the ADT Plugin for Eclipse " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Updating the ADT Plugin for Eclipse </td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5q039fiW_NO6IoGLz4OmOj_67ng_JuCfxmTAZtykWQLWYBtU4toeMM4fFckDLoSkzU3UiHia4QZQkCWBjVF7fLYO-bT0zCWX4pjd6VAx7rgEGw_I74kYcBIJc7bhqUH-n0RDtUXRHbg/s1600/4_Updating+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Updating the ADT Plugin for Eclipse " border="0" height="228" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5q039fiW_NO6IoGLz4OmOj_67ng_JuCfxmTAZtykWQLWYBtU4toeMM4fFckDLoSkzU3UiHia4QZQkCWBjVF7fLYO-bT0zCWX4pjd6VAx7rgEGw_I74kYcBIJc7bhqUH-n0RDtUXRHbg/s320/4_Updating+the+ADT+Plugin+for+Eclipse.jpg" title="Updating the ADT Plugin for Eclipse " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Updating the ADT Plugin for Eclipse </td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-NfK86tAHPHA2pjlk3F7AxkvJmrtmvWg8LsO93FdjzBZHdcAiYkiTVFrkD711ihm__1DuyjRxRE9FTy4UbFZnHxgDw57iZpPxH-6EUnbuYWwodYnfhkEkCbnZRTPoNmx3vWke6K1ukw/s1600/5_Updating+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Updating the ADT Plugin for Eclipse " border="0" height="140" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-NfK86tAHPHA2pjlk3F7AxkvJmrtmvWg8LsO93FdjzBZHdcAiYkiTVFrkD711ihm__1DuyjRxRE9FTy4UbFZnHxgDw57iZpPxH-6EUnbuYWwodYnfhkEkCbnZRTPoNmx3vWke6K1ukw/s320/5_Updating+the+ADT+Plugin+for+Eclipse.jpg" title="Updating the ADT Plugin for Eclipse " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Updating the ADT Plugin for Eclipse </td></tr>
</tbody></table>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Iwhm-UqU2lufKtn7QkeJ9GBxlnKhH_ttieCDWXpTMpc0XGs-YShBriuOHya2c-7zqX1zbW7E9lyuACXErVe6RvD0RCkqIpvsPlZHvV7L6PFQvLJSzBr3pugj4INDQ6SHZ02ifrZVPg/s1600/6_Updating+the+ADT+Plugin+for+Eclipse.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Updating the ADT Plugin for Eclipse " border="0" height="91" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg3Iwhm-UqU2lufKtn7QkeJ9GBxlnKhH_ttieCDWXpTMpc0XGs-YShBriuOHya2c-7zqX1zbW7E9lyuACXErVe6RvD0RCkqIpvsPlZHvV7L6PFQvLJSzBr3pugj4INDQ6SHZ02ifrZVPg/s320/6_Updating+the+ADT+Plugin+for+Eclipse.jpg" title="Updating the ADT Plugin for Eclipse " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Updating the ADT Plugin for Eclipse </td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
</div>
<h2 dir="ltr" style="text-align: left;">
Creating Android Virtual Devices (AVDs) for Use in the Android Emulator</h2>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Creating Android Virtual Devices (AVDs)</h3>
<div style="direction: ltr; text-align: left;">
The Android emulator, included in the Android SDK, allows you to run Android apps in a simulated environment on your computer rather than on an actual Android device. Before running an app in the emulator, you must create an Android Virtual Device (AVD) which defines the characteristics of the device on which you want to test, including the screen size in pixels, the pixel density, the physical size of the screen, size of the SD card for data storage and more. If you want to test your apps for multiple Android devices, you can create separate AVDs that emulate each unique device. To do so, perform the following steps:</div>
<div style="direction: ltr; text-align: left;">
To create an AVD, From Eclipse select Window -> AVD Manager to display the Android Virtual Device Manager window .</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table cellpadding="0" cellspacing="0" class="tr-caption-container" style="direction: ltr; margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhILuugiWVcTbK0KcVHrVrjCrg757C3uOwz389nvd0WStlVvMcUhH6mHOS0HyBEy0XYB24O3ltng-KPOPpLD9YER6Jjli_RzhDw9IpCJ4Y1OtXjmaQUzgjpxZmasK1R7sckM_ZdCqeNgg/s1600/1_Creating+Android+Virtual+Devices+(AVDs).jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Creating Android Virtual Devices (AVDs) " border="0" height="223" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhILuugiWVcTbK0KcVHrVrjCrg757C3uOwz389nvd0WStlVvMcUhH6mHOS0HyBEy0XYB24O3ltng-KPOPpLD9YER6Jjli_RzhDw9IpCJ4Y1OtXjmaQUzgjpxZmasK1R7sckM_ZdCqeNgg/s320/1_Creating+Android+Virtual+Devices+(AVDs).jpg" title="Creating Android Virtual Devices (AVDs) " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="direction: ltr; text-align: center;">Creating Android Virtual Devices (AVDs) </td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
Click New… to display the Create new Android Virtual Device (AVD) window, then configure the optionsas shown and click Create AVD. </div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinMxCaJ5TEEYlYnMKUt55tCog5Yj-47Vf5Hrh9MVoIZ_Iob95k1fqS1IaqLHQYTwxY7SzOQ10oXNpADTkEbjlot6ucEMtRr79Zx7ExceszrKaiCmboh-OfrscAURMiSl03kI5O2ZVb3w/s1600/2_Creating+Android+Virtual+Devices+(AVDs).jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Create new Android Virtual Device" border="0" height="225" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinMxCaJ5TEEYlYnMKUt55tCog5Yj-47Vf5Hrh9MVoIZ_Iob95k1fqS1IaqLHQYTwxY7SzOQ10oXNpADTkEbjlot6ucEMtRr79Zx7ExceszrKaiCmboh-OfrscAURMiSl03kI5O2ZVb3w/s320/2_Creating+Android+Virtual+Devices+(AVDs).jpg" title="Create new Android Virtual Device" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: left;">Create new Android Virtual Device</span>
</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
Each AVD you create has many other options specified in its config.ini. You can modify this file as described at </div>
<div style="direction: ltr; text-align: left;">
<b>developer.android.com/guide/developing/devices/managing-avds.html</b></div>
<div style="direction: ltr; text-align: left;">
To more precisely match the hardware configuration of your device.</div>
<div style="direction: ltr; text-align: left;">
It is preferable to create a few AVDs with different API levels and hardware configurations so that your application can be tested on different versions of the Android OS. </div>
<div style="direction: ltr; text-align: left;">
Once your ADV has been created, it is time to test it. Select the AVD that you want to test and click the Start… button. The Launch Options dialog will appear. If you have a small monitor, it is recommended that you check the “Scale display to real size” option so that you can set the emulator to a smaller size. Click the Launch button to start the emulator.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXh5ntVtmZJon6dQWaNBYMLBTBySq3R5clH5ty2I4lFsNGqtXyBN1AiKjx2c9q3h5MGvjlHO6ZXpnK4G9wxL3TJDgtuMi_tLhx4H0ObcCDKGoXNI4TnT-h3UUzfm6FQfSGzl2CWEbjVw/s1600/4_Creating+Android+Virtual+Devices+(AVDs).jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="AVDs with different API levels " border="0" height="233" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXh5ntVtmZJon6dQWaNBYMLBTBySq3R5clH5ty2I4lFsNGqtXyBN1AiKjx2c9q3h5MGvjlHO6ZXpnK4G9wxL3TJDgtuMi_tLhx4H0ObcCDKGoXNI4TnT-h3UUzfm6FQfSGzl2CWEbjVw/s320/4_Creating+Android+Virtual+Devices+(AVDs).jpg" title="AVDs with different API levels " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: left;">AVDs with different API levels </span>
</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<b><i>Now all tools are ready and you will be able to learn how to write your first Android application!</i></b></div>
<div style="direction: ltr; text-align: left;">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-13100868630710290482012-08-16T07:15:00.003-07:002012-08-18T05:29:46.734-07:00Download & Installing Android SDK tools - Eclipse Tutorial<div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<h2 dir="ltr" style="text-align: left;">
<span style="font-family: "Times New Roman","serif"; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-bidi-language: AR-SA; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin;">Android SDK tools and Eclipse Tutorial</span></h2>
<div style="direction: ltr; text-align: left;">
In the previous tutorial we know To develop Android apps you need a Windows®, Linux or Mac OS X system <a href="http://android-app-tutorial.blogspot.com/2012/08/Android-developer-tools-development.html" target="_blank">Android Developer Tools</a> . Now I'm going to download and install Android SDK tools & eclipse tools that required for developing the first app with android.</div>
<h3 dir="ltr" style="text-align: left;">
Installing the Java Development Kit (JDK)</h3>
<div style="direction: ltr; text-align: left;">
Android requires the Java Development Kit (JDK) version 5 or 6 (JDK 5 or JDK 6). We used JDK 6. To download the JDK for Linux or Windows, go to</div>
<div style="direction: ltr; text-align: left;">
<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" rel="nofollow" target="_blank">www.oracle.com/technetwork/java/javase/downloads/index.html </a></div>
<div style="direction: ltr; text-align: left;">
You need only the JDK. Be sure to follow the installation instructions at</div>
<div style="direction: ltr; text-align: left;">
<a href="http://www.oracle.com/technetwork/java/javase/index-137561.html" rel="nofollow" target="_blank">www.oracle.com/technetwork/java/javase/index-137561.html </a></div>
<div style="direction: ltr; text-align: left;">
Recent versions of Mac OS X come with Java SE 6. Be sure to get the latest version by using the Apple menu feature to check for software updates.</div>
<h2 dir="ltr" style="text-align: left;">
Android SDK</h2>
<h4 dir="ltr" style="text-align: left;">
Download android sdk</h4>
<div style="direction: ltr; text-align: left;">
You can download the Android SDK tools from <a href="http://developer.android.com/sdk/index.html" rel="nofollow" target="_blank">developer.android.com/sdk/index.html</a></div>
<div style="direction: ltr; text-align: left;">
Click the link for your platform. Windows, Mac OS X or Linux to download the SDK’s archive file. Once you’ve downloaded the archive, simply extract its contents to a directory of your choice on your computer. Google recommends that you download the installer_r20.0.3-windows.exe <a href="http://dl.google.com/android/installer_r20.0.3-windows.exe" rel="nofollow" target="_blank">http://dl.google.com/android/installer_r20.0.3-windows.exe</a> file instead and use it to set up the tools for you automatically. The following steps walk you through the installation process using this approach.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdpcdyDcJ3bdNmtVNsF_CRvlQxqiUsbD10Q9NsnfCdUhJ0QEoIE2iq2YNKRVi6UANAveg2nEIubhj7d6n97FxzNc8tDhxcerx-o4y92sFl_FrBgYpsGE-giGSu_6g-DuKUw1XIBtCWjA/s1600/0_Installing+the+Android+SDK+Tools.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Download android sdk" border="0" height="253" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhdpcdyDcJ3bdNmtVNsF_CRvlQxqiUsbD10Q9NsnfCdUhJ0QEoIE2iq2YNKRVi6UANAveg2nEIubhj7d6n97FxzNc8tDhxcerx-o4y92sFl_FrBgYpsGE-giGSu_6g-DuKUw1XIBtCWjA/s400/0_Installing+the+Android+SDK+Tools.jpg" title="Download android sdk" width="400" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Download Android SDK</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Installing the Android SDK Tools</h3>
<div style="direction: ltr; text-align: left;">
When you have downloaded the installer_r20.0.3-windows.exe file, double-click it to start the installation of the Android tools. In the welcome screen of the Setup Wizard, click Next to continue If your computer does not have Java installed, you will see the error dialog shown in the picture .</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFQpjQ3frKJN57SPNTHV1cATN182U_PaznHGWcDqF-fDin8s-8Ij29pyJlXIaSbKeRPeeJ60NG_Ge9FT7SnGkLY52lCfX_cdWuq9kEsTXjaIFVrda1qDlUrBLixKKntN8ymbXEKwvVsw/s1600/1_Installing+the+Android+SDK+Tools.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Installing the Android SDK Tools " border="0" height="247" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhFQpjQ3frKJN57SPNTHV1cATN182U_PaznHGWcDqF-fDin8s-8Ij29pyJlXIaSbKeRPeeJ60NG_Ge9FT7SnGkLY52lCfX_cdWuq9kEsTXjaIFVrda1qDlUrBLixKKntN8ymbXEKwvVsw/s320/1_Installing+the+Android+SDK+Tools.jpg" title="Installing the Android SDK Tools " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Installing the
Android SDK Tools<br />
<h1 style="direction: ltr; text-align: left; unicode-bidi: embed;">
<o:p></o:p></h1>
<span style="text-align: left;"> </span></td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<b>Note : to avoid this error you must Installing the Java Development Kit (JDK) .</b></div>
<div style="direction: ltr; text-align: left;">
You will be asked to provide a destination folder to install the Android SDK tools. Enter a destination path and click Next.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT7cBjvzYnDXA7tga4Z9-2Q6I16hYLKgNV7Jb7TGMMHu5STQVZtwjnwcKkMJ_vK4mqALuNrwv9k2bcFrz3iUuwfLG4m9BDQK8v-ulhlAKNjqgmGPk8g6i7LEu395RNZUczUiufUXzeEA/s1600/2_Installing+the+Android+SDK+Tools.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Installing the Android SDK Tools " border="0" height="242" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjT7cBjvzYnDXA7tga4Z9-2Q6I16hYLKgNV7Jb7TGMMHu5STQVZtwjnwcKkMJ_vK4mqALuNrwv9k2bcFrz3iUuwfLG4m9BDQK8v-ulhlAKNjqgmGPk8g6i7LEu395RNZUczUiufUXzeEA/s320/2_Installing+the+Android+SDK+Tools.jpg" title="Installing the Android SDK Tools " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Installing the Android SDK Tools</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
When the setup is done, check the “Start SDK Manager (to download system images, etc.)” option and click Finish. This will start the SDK Manager.</div>
<div style="direction: ltr; text-align: left;">
<b>Note : to avoid any problem though installation runs the SDK Manger as administrator .</b></div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUh4c5JBxrJEmK5lMoHHJGQV13y331NX4oVgEtZj_QpP2t9vMXsKjK4Mni57j1xiCw8OI_T5dbrre0KsOb_QmD3A-WzVqDzI6Bnxd1KYW-oPxXaMChygZJqhP-1HG0dMrNrWtBKgaa1w/s1600/3_Installing+the+Android+SDK+Tools.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Installing the Android SDK Tools " border="0" height="245" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUh4c5JBxrJEmK5lMoHHJGQV13y331NX4oVgEtZj_QpP2t9vMXsKjK4Mni57j1xiCw8OI_T5dbrre0KsOb_QmD3A-WzVqDzI6Bnxd1KYW-oPxXaMChygZJqhP-1HG0dMrNrWtBKgaa1w/s320/3_Installing+the+Android+SDK+Tools.jpg" title="Installing the Android SDK Tools " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Installing the Android SDK Tools</td></tr>
</tbody></table>
<h2 dir="ltr" style="text-align: left;">
Configuring the Android SDK Manager</h2>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
The Android SDK Manager manages the various versions of the Android SDK currently installed on your computer. When it is launched, you will see a list of items and whether or not they are currently installed on your computer. </div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqxcqlQpkaAYqxxuRd1j30W1W9SUT79leATfuVUSu2mm272jw2HvjTzHijh0DXAbKAQjcJx-MM7R6sBIHfN0la6xNCoek0vu3gQC18YuQZAE0c9Xkf4YQlIwl-vuuwsgsH1ofBjvWd2w/s1600/4_Installing+the+Android+SDK+Tools.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Android SDK Manager" border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqxcqlQpkaAYqxxuRd1j30W1W9SUT79leATfuVUSu2mm272jw2HvjTzHijh0DXAbKAQjcJx-MM7R6sBIHfN0la6xNCoek0vu3gQC18YuQZAE0c9Xkf4YQlIwl-vuuwsgsH1ofBjvWd2w/s320/4_Installing+the+Android+SDK+Tools.jpg" title="Android SDK Manager" width="311" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Android SDK Manager</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
Check the relevant tools, documentation, and platforms you need for your project. Once you have selected the items you want, click the Install button to download them. Because it takes a while to download from Google’s server, it is a good idea to download only what you need immediately, and download the rest when you have more time.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<b>NOTE For a start, you should at least select the latest Android 4.0 SDK platform and the Extras. </b></div>
<div style="direction: ltr; text-align: left;">
<b><br /></b></div>
<div style="direction: ltr; text-align: left;">
Each version of the Android OS is identified by an API level number. For example, Android 2.3.3 is level 10 (API 10), while Android 3.0 is level 11 (API 11), and so on. For each level, two platforms are available. For example, level 14 offers the following:</div>
<div style="direction: ltr; text-align: left;">
- SDK Platform</div>
<div style="direction: ltr; text-align: left;">
- Google APIs by Google Inc.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
The key difference between the two is that the Google APIs platform contains additional APIs provided by Google (such as the Google Maps library). Therefore, if the application you are writing requires Google Maps, you need to create an AVD using the Google APIs platform .</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
You will be asked to choose the packages to install. Check the Accept All options and click Install.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<br />
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Xzjz5mntu4hreq-u3W0k34Um0WZQGs2gaIeGj2LxnwjGWjDmIVR7L4zhSR2O43Heyi3AiRXI3nJh8LaLV4ZmMtj-Ri8kxJn5_kp3PB7ZP4o97pDXwY0q-NajVKHQrQeoDuCCbu8oQA/s1600/5_Installing+the+Android+SDK+Tools.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Configuring the Android SDK Manager " border="0" height="160" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3Xzjz5mntu4hreq-u3W0k34Um0WZQGs2gaIeGj2LxnwjGWjDmIVR7L4zhSR2O43Heyi3AiRXI3nJh8LaLV4ZmMtj-Ri8kxJn5_kp3PB7ZP4o97pDXwY0q-NajVKHQrQeoDuCCbu8oQA/s320/5_Installing+the+Android+SDK+Tools.jpg" title="Configuring the Android SDK Manager " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;">Configuring the Android SDK Manager</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: left;">
The SDK Manager will proceed to download the packages that you have selected. The installation takes some time, so be patient. When all the packages are installed, you will be asked to restart the ADB (Android Debug Bridge). Click Yes.</div>
<h2 dir="ltr" style="text-align: left;">
Installing the Eclipse IDE </h2>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
Eclipse is the recommended integrated development environment (IDE) for Android development, though it’s possible to use other IDEs, text editors and command-line tools. To download the Eclipse IDE for Java Developers, go to <a href="http://www.eclipse.org/downloads/" rel="nofollow" target="_blank">www.eclipse.org/downloads/</a> .</div>
<div style="direction: ltr; text-align: left;">
This page will allow you to download the latest version of Eclipse and you will see the latest version. To use another version, click the Older Versions' link above the list of downloads. Select the appropriate version for your operating system (Windows, Mac or Linux). To install Eclipse, you simply extract the archive’s contents to your hard drive. </div>
<div style="direction: ltr; text-align: left;">
On our Windows 7 system, we extracted the contents to C:\Eclipse. </div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<b>For more Eclipse installation information, see <a href="http://wiki.eclipse.org/FAQ_Where_do_I_get_and_install_Eclipse%3F" rel="nofollow" target="_blank">http://wiki.eclipse.org/FAQ_Where_do_I_get_and_install_Eclipse%3F </a></b></div>
<div style="direction: ltr; text-align: left;">
Note: when you download the example code from some site you need to configure Eclipse to use JDKX (x like 6 or 7) by performing the following steps:</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
1. Locate the Eclipse folder on your system and double click the Eclipse icon (eclipse.exe) to open Eclipse.</div>
<div style="direction: ltr; text-align: left;">
2. When the Workspace Launcher window appears, click OK.</div>
<div style="direction: ltr; text-align: left;">
3. Select Window > Preferences to display the Preferences window.</div>
<div style="direction: ltr; text-align: left;">
4. Expand the Java node and select the Compiler node. Under JDK Compliance, set Compiler compliance level to x.x(x.x like 1.6 or 1.7 etc ).</div>
<div style="direction: ltr; text-align: left;">
5. Close Eclipse.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
<b><i> Continue to part 2 of tools that required for developing the first app with android .</i></b><br />
<a href="http://android-app-tutorial.blogspot.com/2012/08/ADT-plugin-for-eclipse.html" target="_blank"> Installing Android ADT Plugin For Eclipse</a>
</div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-48485562976072336152012-08-15T12:06:00.000-07:002012-08-16T07:17:37.245-07:00Build Your Own App With Android Developer Tools<div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<div style="direction: ltr; text-align: left;">
Now that you know what Android is <a href="http://android-app-tutorial.blogspot.com/2012/08/android-developer-applications-guide.html" target="_blank">What is Android?</a> and what its feature set contains, <a href="http://android-app-tutorial.blogspot.com/2012/08/Android-Platforms-vs-iosFordevloper.html" target="_blank">Android Feature</a> you are probably anxious to get your hands dirty and start writing some applications! </div>
<div style="direction: ltr; text-align: left;">
,however Before Build your own app , All you need to start Build your own Android applications is a copy of these android tools Android SDK and the Java Development Kit (JDK). </div>
<div style="direction: ltr; text-align: left;">
Unless you’re a masochist, you’ll probably want a Java integrated development environment (IDE) - Eclipse tools( app creation software) particularly well supported to make development a little bit less painful.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
In this article I will focus on an overview about the required Android developer tools and SDKs . in the next article we will learn how to setup and use these tools <a href="http://android-app-tutorial.blogspot.com/2012/08/Android-sdk-tutorial-eclipse.html" target="_blank">Installing Android SDK tools</a>.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
For Android development, you can use Android development tools on Mac, a Windows PC, or a Linux machine. All the tools needed are free and can be downloaded from the Web. Most of the examples provided in this blog should work fine with the Android emulator. For this blog, I am using a Windows 7 computer to demonstrate all the code samples. If you are using a Mac or Linux computer, the screenshots should look similar; some minor differences may be present, but you should be able to follow along without problems. </div>
<h3 dir="ltr" style="text-align: left;">
Let us explore the Android development tools !</h3>
<h4 dir="ltr" style="text-align: left;">
Android application development tools</h4>
<h4 dir="ltr" style="text-align: left;">
JAVA JDK </h4>
<div style="direction: ltr; text-align: left;">
If your computer does not have the JDK installed, you should start by downloading it from oracle website . </div>
<div style="direction: ltr; text-align: left;">
- The Android SDK makes use of the Java SE Development Kit (JDK).</div>
<div style="direction: ltr; text-align: left;">
- jdk is the base tools for Android development tools</div>
<div style="direction: ltr; text-align: left;">
<a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">For more details visit this link .</a> </div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h4 dir="ltr" style="text-align: left;">
ANDROID SDK</h4>
<div style="direction: ltr; text-align: left;">
The first and most important piece of software you need to know about it is the Android SDK. The Android Software Development Kit (SDK) contains the necessary tools to create, compile and package Android application. Most of these tools are command line based.<br />
<br /></div>
<div style="direction: ltr; text-align: left;">
The Android SDK contains a debugger, libraries, an emulator, documentation, sample code, and tutorials.</div>
<div style="direction: ltr; text-align: left;">
- The Android SDK also provides an Android device emulator, so that Android applications can be tested without a real Android phone. </div>
<div style="direction: ltr; text-align: left;">
- You can create Android virtual devices (AVD) via the Android SDK manger, which run in this emulator.</div>
<div style="direction: ltr; text-align: left;">
- The Android SDK contains the Android debug bridge (adb) tool which allows to connect to a virtual or real Android device.</div>
<div style="direction: ltr; text-align: left;">
For more details about the Android SDK and Android development tools download <a href="http://developer.android.com/sdk/index.html" target="_blank">visit this link</a> </div>
<h4 dir="ltr" style="text-align: left;">
Eclipse RESOURCE EDITORS</h4>
<div style="direction: ltr; text-align: left;">
Eclips is the integrated development environment (IDE) for developing your Android applications. In the case of Android, the recommended IDE is Eclipse, a multi-language software development environment featuring an extensible plug-in system. </div>
<div style="direction: ltr; text-align: left;">
For Android development, you should download the Eclipse IDE for Java EE Developers </div>
<div style="direction: ltr; text-align: left;">
( <a href="http://www.eclipse.org/downloads/" target="_blank">www.eclipse.org/downloads/</a> ). </div>
<h4 dir="ltr" style="text-align: left;">
ADT - ANDROID DEVELOPMENT TOOLS</h4>
<div style="direction: ltr; text-align: left;">
Google provides the Android Development Tools (ADT) to develop Android applications with Eclipse. ADT is a set of components (plug-ins) which extend the Eclipse IDE with Android development capabilities.</div>
<div style="direction: ltr; text-align: left;">
ADT contains all required functionalities to create, compile, debug and deploy Android applications from the Eclipse IDE. ADT also allows to create and start AVDs.</div>
<h4 dir="ltr" style="text-align: left;">
DALVIK VIRTUAL MACHINE</h4>
<div style="direction: ltr; text-align: left;">
The Android system uses a special virtual machine, i.e. The Dalvik Virtual Machine to run Java based applications. Dalvik uses an own bytecode format which is different from Java bytecode.</div>
<div style="direction: ltr; text-align: left;">
Therefore you cannot directly run Java class files on Android, they need to get converted in the Dalvik bytecode format.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h4 dir="ltr" style="text-align: left;">
HOW TO DEVELOP ANDROID APPLICATIONS</h4>
<div style="direction: ltr; text-align: left;">
To learn How to build an android app . first let explore code . Android code is written using Java syntax, and the core Android libraries include most of the features from the core Java APIs. Before you can run your projects, you must translate them into Dalvik bytecode. As a result, you get the familiarity of Java syntax while your applications gain the advantage of running on a VM optimized for mobile devices.</div>
<div style="direction: ltr; text-align: left;">
- The Java source files are converted to Java class files by the Java compiler.</div>
<div style="direction: ltr; text-align: left;">
- The Android SDK contains a tool called dx which converts Java class files into a .Dex (Dalvik Executable) file. </div>
<div style="direction: ltr; text-align: left;">
- All class files of one application are placed in one compressed .Dex file. During this conversion process redundant information in the class files are optimized in the .dex file. For example if the same String is found in different class files, the .dex file contains only once reference of this String. These dex files are therefore much smaller in size than the corresponding class files.</div>
<div style="direction: ltr; text-align: left;">
- The .dex file and the resources of an Android project, e.g. the images and XML files, are packed into an .apk (Android Package) file. The program aapt (Android Asset Packaging Tool) performs this packaging.</div>
<div style="direction: ltr; text-align: left;">
The resulting .apk file contains all necessary data to run the Android application and can be deployed to an Android device via the adb tool. The Android Development Tools (ADT) perform these steps transparently to the user.</div>
<div style="direction: ltr; text-align: left;">
If you use the ADT tooling you press a button the whole Android application (.apk file) will be created and deployed.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-5897416363647469892012-08-11T00:58:00.002-07:002012-08-18T08:38:42.838-07:00Best & Most Popular Android Devices For Developer<div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<h2 dir="ltr" style="text-align: left;">
What are the best android devices for developers ?</h2>
<div style="direction: ltr; text-align: justify;">
Android Devices For developer is optional steps but some development process will not available in the emulator, so we need the android devices. So let explore the top popular android device category .</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
Many developers ask What is the best android devices fro developer, in terms of ease of development, debugging features , Samsung or Htc or other !! ?</div>
<div style="direction: ltr; text-align: justify;">
Before we discuss the android developer devices let know more details about android devices that available in the market .</div>
<h3 dir="ltr" style="text-align: left;">
Android Devices in the Market .</h3>
<div style="direction: ltr; text-align: justify;">
Android device companies like htc, Samsung provide us a different shapes and sizes of Android devices . Most popular android devices can be categorized into the following:</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
- Smartphones </div>
<div style="direction: ltr; text-align: justify;">
- Tablets</div>
<div style="direction: ltr; text-align: justify;">
- E-reader devices</div>
<div style="direction: ltr; text-align: justify;">
- Netbooks</div>
<div style="direction: ltr; text-align: justify;">
- MP4 players</div>
<div style="direction: ltr; text-align: justify;">
- Internet TVs</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
Most popular android devices in the market that run Android OS is Samsung Galaxy S II, the Motorola Atrix 4G, and the HTC EVO 4G Smartphones, etc see the picture below.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwUf7_fTxnnU16ChBS-fNHzwCWXCCf1hkIXXcT0F1croqoPSRmzOCIAu-xUky1fTElaUtaOcfgXym9IW3FZCnug8wtDM2NthtzQhv3OsgzWhRSfaWKd45XpChPcgfXGiMfMAJFPyngkg/s1600/Samsung+Galaxy+S+II.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="top & most android devices" border="0" height="157" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwUf7_fTxnnU16ChBS-fNHzwCWXCCf1hkIXXcT0F1croqoPSRmzOCIAu-xUky1fTElaUtaOcfgXym9IW3FZCnug8wtDM2NthtzQhv3OsgzWhRSfaWKd45XpChPcgfXGiMfMAJFPyngkg/s320/Samsung+Galaxy+S+II.jpg" title="top & most android devices" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: justify;">Samsung Galaxy S II</span>
</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
Another popular category of devices that manufacturers are rushing out is the tablet . Tablets typically come in two sizes: seven inches and ten inches, measured diagonally. The images below show the Samsung Galaxy Tab 10.1 and the Asus Eee Pad Transformer TF101, both 10.1-inch tablets. Both the Samsung Galaxy 10.1 and the Asus Eee Pad Transfer TF101 run on Android 3.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0ocGUVu_IOjbR-vAsJqlso-eFPYV-GBxfKYkhOX72nTBdi6xNydgH837hSkijdRRdIC1qn6ns8aKIi_g5xl8CZwqvNOxQa8PSI85D-M44_FAdjhHcveQLNcPXqQmfB0S_Wsg0Gy7DIA/s1600/Tablets+Android+devices.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Tablets Android devices" border="0" height="115" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh0ocGUVu_IOjbR-vAsJqlso-eFPYV-GBxfKYkhOX72nTBdi6xNydgH837hSkijdRRdIC1qn6ns8aKIi_g5xl8CZwqvNOxQa8PSI85D-M44_FAdjhHcveQLNcPXqQmfB0S_Wsg0Gy7DIA/s320/Tablets+Android+devices.jpg" title="Tablets Android devices" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-EG; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Samsung Galaxy 10.1 and
the Asus Eee Pad Transfer TF101</span></td></tr>
</tbody></table>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
Besides Smartphones and tablets, Android is also beginning to appear in dedicated devices, such as e-book readers. The images below show the Barnes and Noble’s NOOK Color and Amazon’s Kindle Fire , both of which are color e-book readers running the Android OS.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRNl9UPhxUQCH1WoLmhbOSyGM2i8DCqeLJ-02X8df7n7EdSsH2IazERbEhoSIU55KhuVRGoiVTG_Vg2_vD6shlL_0XHkb78l6GKBKngJJNdVaZehACl_Sg6PkYYzoDg_MWTG7llx4wZw/s1600/e-book+readers.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="e-book readers Android devices " border="0" height="176" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRNl9UPhxUQCH1WoLmhbOSyGM2i8DCqeLJ-02X8df7n7EdSsH2IazERbEhoSIU55KhuVRGoiVTG_Vg2_vD6shlL_0XHkb78l6GKBKngJJNdVaZehACl_Sg6PkYYzoDg_MWTG7llx4wZw/s320/e-book+readers.jpg" title="e-book readers Android devices " width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><span style="font-size: small; text-align: justify;">Noble’s NOOK Color & Amazon’s Kindle Fire</span>
</td></tr>
</tbody></table>
<div style="direction: ltr; text-align: justify;">
In addition to these popular mobile devices, Android is also slowly finding its way into your living room. People of Lava, a Swedish company, has developed an Android-based TV, called the Scandinavia Android TV see the image below.</div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixGUQFdOCbtgnym15rxpaepkQZDz32BcP3brYrrzzuF_8S8es_2pyU_mQ7BoWN1cHXg5HEe5s5iudnoVJHXDvEg8GzHp2btEpLNvqcS9-cwGyUdgoCZp6Q0DEivjN3j6GM6iZpwKZZYg/s1600/Scandinavia+Android+TV.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt=" Scandinavia Android TV devices" border="0" height="136" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixGUQFdOCbtgnym15rxpaepkQZDz32BcP3brYrrzzuF_8S8es_2pyU_mQ7BoWN1cHXg5HEe5s5iudnoVJHXDvEg8GzHp2btEpLNvqcS9-cwGyUdgoCZp6Q0DEivjN3j6GM6iZpwKZZYg/s320/Scandinavia+Android+TV.jpg" title=" Scandinavia Android TV devices" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"> Scandinavia Android TV </td></tr>
</tbody></table>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
Google has also ventured into a proprietary smart TV platform based on Android and codeveloped with companies such as Intel, Sony, and Logitech. Figure 1-6 shows Sony’s Google TV.</div>
<div style="direction: ltr; text-align: justify;">
Now google lunch android 4.xx , the Samsung Galaxy Nexus is one of the devices running on Android 4.0.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuJedMHdzNI3msDsRypJbUfiZs5-PgSL7rOqPUWEXnzuTSq1xsaya_9qUWbuZIsIf0WfvGQyMJQKTEHBcMmQ2RJTJdwXBQRgg8OmnF3-99NNB0OBrMdR1252Cp1vvcp3AHix16yWHoew/s1600/Samsung+Galaxy+Nexus.jpg" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt=" Samsung Galaxy Nexus android devices" border="0" height="266" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiuJedMHdzNI3msDsRypJbUfiZs5-PgSL7rOqPUWEXnzuTSq1xsaya_9qUWbuZIsIf0WfvGQyMJQKTEHBcMmQ2RJTJdwXBQRgg8OmnF3-99NNB0OBrMdR1252Cp1vvcp3AHix16yWHoew/s320/Samsung+Galaxy+Nexus.jpg" title=" Samsung Galaxy Nexus android devices" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"> Samsung Galaxy Nexus android </td></tr>
</tbody></table>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
At the end of this article and In my opinion Nexus One or any phone that is using the Google experience meaning that the manufacturer did not put a custom user - interface on the phone , so I recommend this device for developer also check this link for more details.<br />
<br />
<br />
<a href="http://amzn.to/QaYSRz" rel="nofollow" target="_blank">Google Nexus 7 Tablet - 8GB </a><br />
<br />
<a href="http://amzn.to/QaZ435" rel="nofollow" target="_blank">Google Nexus 7 Tablet (16 GB) </a><br />
</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<a href="http://en.wikipedia.org/wiki/Android_Dev_Phone" rel="nofollow" target="_blank">http://en.wikipedia.org/wiki/Android_Dev_Phone</a>
</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<a href="http://www.android.com/devices/?locale=en_US&s7e=" rel="nofollow" target="_blank">http://www.android.com/devices/?locale=en_US&s7e=</a>
</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
</div>
<h1 itemprop="name" style="background-color: white; border: 0px; font-family: 'Trebuchet MS', 'Liberation Sans', 'DejaVu Sans', sans-serif; font-size: 23px; line-height: 1.3; margin: 0px 0px 7px; padding: 0px; text-align: left; vertical-align: baseline;">
<a class="question-hyperlink" href="http://stackoverflow.com/questions/2133296/best-phone-for-developing-android-software" rel="nofollow" style="background-color: transparent; border: 0px; color: black; cursor: pointer; margin: 0px; padding: 0px; vertical-align: baseline;" target="_blank">Best phone for developing Android software</a> </h1>
<br />
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-87435671370381019582012-08-10T22:43:00.001-07:002012-08-12T06:32:30.062-07:00Android Architecture For System Application Software Stack<div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<h2 dir="ltr" style="text-align: left;">
Android Software Stack & Native Application Architecture</h2>
<h3 dir="ltr" style="text-align: left;">
NATIVE Android APPLICATIONS </h3>
<div style="direction: ltr; text-align: justify;">
Before diving into the Android architecture we begin with the native application then we will explore the Android architecture which called Android software stack . Android devices typically come with a suite of preinstalled applications like :- </div>
<div style="direction: ltr; text-align: justify;">
- An e-mail client</div>
<div style="direction: ltr; text-align: justify;">
- An SMS management application</div>
<div style="direction: ltr; text-align: justify;">
- A full PIM (personal information management) suite, including a calendar and contacts list</div>
<div style="direction: ltr; text-align: justify;">
- A WebKit-based web browser</div>
<div style="direction: ltr; text-align: justify;">
- A music player and picture gallery</div>
<div style="direction: ltr; text-align: justify;">
- A camera and video recording application</div>
<div style="direction: ltr; text-align: justify;">
- A calculator</div>
<div style="direction: ltr; text-align: justify;">
- A home screen</div>
<div style="direction: ltr; text-align: justify;">
- An alarm clock</div>
<div style="direction: ltr; text-align: justify;">
Android devices also ship with the following proprietary Google mobile applications:</div>
<div style="direction: ltr; text-align: justify;">
- The Google Play Store for downloading third-party Android applications</div>
<div style="direction: ltr; text-align: justify;">
- A fully featured mobile Google Maps application, including Street View, driving directions, and turn-by-turn navigation, satellite views, and traffic conditions</div>
<div style="direction: ltr; text-align: justify;">
- The Gmail email client</div>
<div style="direction: ltr; text-align: justify;">
- The Google Talk instant-messaging client</div>
<div style="direction: ltr; text-align: justify;">
- The YouTube video player</div>
<div style="direction: ltr; text-align: justify;">
OEMs company can customize the user interface and the applications bundled with each Android device. Several OEMs have done this, including HTC with Sense, Motorola with MotoBlur, and Samsung with TouchWiz.</div>
<div style="direction: ltr; text-align: justify;">
The look and feel of the user interface may vary, but your applications will function in the same way across all compatible Android devices.</div>
<h3 dir="ltr" style="text-align: left;">
Android Software Stack</h3>
<div style="direction: ltr; text-align: justify;">
The Android software stack is, put simply, a Linux kernel and a collection of C/C++ libraries exposed through an application framework that provides services for, and management of, the run time and applications. The Android software stack is composed of the elements shown in Figure .</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td style="text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjftEH_4uZ4ZLinda-UVpgwPnJ282lYUEaoToK6tJfZr3dPc0yeMEDd96kP0kGyVoLImXi_MYVOE7cKfs0Tmtkk7kBhriM7X33RN17OhjckSidtK9S2aRVata7cYh53nLD5l-FOqZ6iZw/s1600/646px-Diagram_android.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Android architecture for system application - software stack" border="0" height="297" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjftEH_4uZ4ZLinda-UVpgwPnJ282lYUEaoToK6tJfZr3dPc0yeMEDd96kP0kGyVoLImXi_MYVOE7cKfs0Tmtkk7kBhriM7X33RN17OhjckSidtK9S2aRVata7cYh53nLD5l-FOqZ6iZw/s320/646px-Diagram_android.png" title="Android architecture for system application - software stack" width="320" /></a></td></tr>
<tr><td class="tr-caption" style="text-align: center;"><b><span style="font-family: "Calibri","sans-serif"; font-size: 11.0pt; line-height: 115%; mso-ansi-language: EN-US; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: Arial; mso-bidi-language: AR-SA; mso-bidi-theme-font: minor-bidi; mso-fareast-font-family: Calibri; mso-fareast-language: EN-US; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">Android architecture</span></b><span style="text-align: justify;"> </span></td></tr>
</tbody></table>
<div style="direction: ltr; text-align: justify;">
<b>Linux kernel</b> — Core services (including hardware drivers, process and memory management, security, network, and power management) are handled by a Linux 2.6 kernel. </div>
<div style="direction: ltr; text-align: justify;">
The kernel also provides an abstraction layer between the hardware and the remainder of the android architecture stack.</div>
<div style="direction: ltr; text-align: justify;">
<b>Libraries </b>— Running on top of the kernel, Android includes various C/C++ core libraries such as libc and SSL, as well as the following:</div>
<div style="direction: ltr; text-align: justify;">
- A media library for playback of audio and video media</div>
<div style="direction: ltr; text-align: justify;">
- A surface manager to provide display management</div>
<div style="direction: ltr; text-align: justify;">
Graphics libraries that include SGL and OpenGL for 2D and 3D graphics</div>
<div style="direction: ltr; text-align: justify;">
SQLite for native database support</div>
<div style="direction: ltr; text-align: justify;">
SSL and WebKit for integrated web browser and Internet security</div>
<div style="direction: ltr; text-align: justify;">
<b>Android run time</b> — The run time is what makes an Android phone an Android phone rather than a mobile Linux implementation. Including the core libraries and the Dalvik VM, the Android run time is the engine that powers your applications and, along with the libraries, forms the basis for the application framework.</div>
<div style="direction: ltr; text-align: justify;">
<b>Core libraries</b> — Although most Android application development is written using the Java language, Dalvik is not a Java VM. The core Android libraries provide most of the functionality available in the core Java libraries, as well as the Android-specific libraries.</div>
<div style="direction: ltr; text-align: justify;">
<b>Dalvik VM</b> — Dalvik is a register-based Virtual Machine that’s been optimized to ensure that a device can run multiple instances efficiently. It relies on the Linux kernel for threading and low-level memory management.</div>
<div style="direction: ltr; text-align: justify;">
<b>Application framework</b> — The application framework provides the classes used to create Android applications. It also provides a generic abstraction for hardware access and manages the user interface and application resources.</div>
<div style="direction: ltr; text-align: justify;">
<b>Application layer</b> — All applications, both native and third-party, are built on the application layer by means of the same API libraries. The application layer runs within the Android run time, using the classes and services made available from the application framework.</div>
<h4 dir="ltr" style="text-align: left;">
The Dalvik Virtual Machine</h4>
<div style="direction: ltr; text-align: justify;">
One of the key elements of
android architecture is the Dalvik VM. Rather than using a traditional Java VM such as Java ME, Android uses its own custom VM designed to ensure that multiple instances run efficiently on a single device.</div>
<div style="direction: ltr; text-align: justify;">
The Dalvik VM uses the device’s underlying Linux kernel to handle low-level functionality, including security, threading, and process and memory management. It’s also possible to write C/C++ applications that run closer to the underlying Linux OS. Although you can do this, in most cases there’s no reason you should need to.</div>
<div style="direction: ltr; text-align: justify;">
If the speed and efficiency of C/C++ is required for your application, Android provides a native development kit (NDK). The NDK is designed to enable you to create C++ libraries using the libc and libm libraries, along with native access to OpenGL. (but This Blog focuses exclusively on writing applications that run within Dalvik using the SDK; NDK development is not within the scope of this blog. If your inclinations run toward NDK development, exploring the Linux kernel and C/C++ underbelly of Android, modifying Dalvik, or otherwise tinkering with things under the hood, check out the Android Internals <a href="http://groups.google.com/group/android-internals" rel="nofollow" target="_blank">Google Group</a> .)</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
All Android hardware and system service access is managed using Dalvik as a middle tier. By using a VM to host application execution, developers have an abstraction layer that ensures they should never have to worry about a particular hardware implementation.</div>
<div style="direction: ltr; text-align: justify;">
The Dalvik VM executes Dalvik executable files, a format optimized to ensure minimal memory footprint. You create .dex executables by transforming Java language compiled classes using the tools supplied within the SDK.</div>
<div style="direction: ltr; text-align: justify;">
- The android system uses a special virtual machine, Dalvik Virtual Machine to run Java based applications. </div>
<div style="direction: ltr; text-align: justify;">
- Dalvik uses an own bytecode format which is different from Java bytecode.</div>
<div style="direction: ltr; text-align: justify;">
- You cannot directly run Java class files on Android, they need to get converted in the Dalvik bytecode format.</div>
<h4 dir="ltr" style="text-align: left;">
Android Application Architecture</h4>
<div style="direction: ltr; text-align: left;">
we discuses
<span style="text-align: justify;">android application architecture</span> with more details in the following article : </div>
<div style="direction: ltr; text-align: justify;">
<a href="http://android-app-tutorial.blogspot.com/2012/08/Custom-UI-Application-Components.html" target="_blank">Android Application User Interface And Custom GUI Components</a></div>
<h4 dir="ltr" style="text-align: left;">
Android Libraries</h4>
<div style="direction: ltr; text-align: justify;">
Android architecture offers a number of APIs for developing your applications. Rather than list them all here, <a href="http://developer.android.com/reference/packages.html" rel="nofollow" target="_blank">check out the documentation</a> , which gives a complete list of packages included in the Android SDK.</div>
<div style="direction: ltr; text-align: justify;">
Android and android architecture is intended to target a wide range of mobile hardware, so be aware that the suitability and implementation of some of the advanced or optional APIs may vary depending on the host device.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-50171724785893420912012-08-10T08:40:00.000-07:002012-08-12T06:33:28.375-07:00Android Application User Interface & Custom GUI Components<div dir="rtl" style="text-align: right;" trbidi="on">
<br />
<h2 dir="ltr" style="text-align: left;">
Android user interface (UI and GUI) components</h2>
<div style="direction: ltr; text-align: justify;">
The following gives a short overview of the most important user interface Android components groups</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<table align="center" cellpadding="0" cellspacing="0" class="tr-caption-container" style="margin-left: auto; margin-right: auto; text-align: center;"><tbody>
<tr><td><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQcV7xkKuMPLgvZn2w3bzXQ0aJGYDzTkqdWSSCZ6TiMgq-ftCiSIQKxQvRzV_YPzMe-HC-ks4Xa-GNJiYVncfxzqDijolgkh4VExIh2OFKZbcQFQ-Kktmnfq0HO7SjtAL8jIiWpw6cTQ/s1600/componentsOfAndroid.png" imageanchor="1" style="margin-left: auto; margin-right: auto;"><img alt="Android Application User Interface And Custom GUI Components " border="0" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQcV7xkKuMPLgvZn2w3bzXQ0aJGYDzTkqdWSSCZ6TiMgq-ftCiSIQKxQvRzV_YPzMe-HC-ks4Xa-GNJiYVncfxzqDijolgkh4VExIh2OFKZbcQFQ-Kktmnfq0HO7SjtAL8jIiWpw6cTQ/s400/componentsOfAndroid.png" title="Android Application User Interface And Custom GUI Components " width="400" /></a></td></tr>
<tr><td class="tr-caption" style="font-size: 13px;"><b>android Components</b></td></tr>
</tbody></table>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Activity</h3>
<div style="direction: ltr; text-align: justify;">
An Activity represents the presentation layer of an Android application. A simplified description is that an Activity represents a screen in your Android application. Compared to desktop development, Activities are equivalent to Forms. </div>
<div style="direction: ltr; text-align: justify;">
- Activity is Your application’s presentation layer.</div>
<div style="direction: ltr; text-align: justify;">
- An Android application can have several Activities.</div>
<div style="direction: ltr; text-align: justify;">
- An activity provides a user interface for a single screen in your application .</div>
<div style="direction: ltr; text-align: justify;">
- Activities can move into the background and then be resumed with their state restored .</div>
<div style="direction: ltr; text-align: justify;">
- You’ll learn more about Activities later in coming articles.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Views and ViewGroups .</h3>
<div style="direction: ltr; text-align: justify;">
An activity contains views and ViewGroups. A view is a widget that has an appearance on screen. </div>
<div style="direction: ltr; text-align: justify;">
Examples of views (GUI graphical user interface components) are buttons, labels, and text boxes. A view derives from the base class android.view.View . Views have attributes which can be used to configure their appearance and behavior.</div>
<div style="direction: ltr; text-align: justify;">
A ViewGroup is a special view that can contain other views (called children.) The view group is the base class for layouts and views containers. This class also defines the ViewGroup.LayoutParams class which serves as the base class for layout parameters .</div>
<div style="direction: ltr; text-align: justify;">
- A ViewGroup is responsible for arranging other Views.</div>
<div style="direction: ltr; text-align: justify;">
- ViewGroups can be nested to create complex layouts. You should not nested ViewGroups too deeply as this has a negative impact on the performance.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Intents</h3>
<div style="direction: ltr; text-align: justify;">
A powerful application message passing framework. Intents are used extensively throughout Android. You can use Intents to start and stop Activities and Services, to broadcast messages system-wide or to an explicit Activity, Service, or Broadcast Receiver, or to request an action be performed on a particular piece of data.</div>
<div style="direction: ltr; text-align: justify;">
- Intents are asynchronous messages which allow the application to request functionality from other components of the Android system.</div>
<div style="direction: ltr; text-align: justify;">
- Intent example is the application can call a component directly (explicit Intent) or ask the Android system to evaluate registered components based on the Intent data ) implicit Intents ). </div>
<div style="direction: ltr; text-align: justify;">
- For example the application could implement sharing of data via an Intent and all components which allow sharing of data would be available for the user to select. Applications register themselves to an Intent via an IntentFilter.</div>
<div style="direction: ltr; text-align: justify;">
- Intents allow to combine loosely coupled components to perform certain tasks.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Services</h3>
<div style="direction: ltr; text-align: justify;">
The invisible workers of your application. Service components run without a UI, updating your data sources and Activities, triggering Notifications, and broadcasting Intents. </div>
<div style="direction: ltr; text-align: justify;">
They’re used to perform long running tasks, or those that require no user interaction (such as network lookups or tasks that need to continue even when your application’s Activities aren’t active or visible.) </div>
<div style="direction: ltr; text-align: justify;">
- Services perform background tasks without providing a user interface. </div>
<div style="direction: ltr; text-align: justify;">
- They can notify the user via the notification framework in Android.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
ContentProvider</h3>
<div style="direction: ltr; text-align: justify;">
Shareable persistent data storage. Content Providers manage and persist application data and typically interact with SQL databases. They’re also the preferred means to share data across application boundaries. You can configure your application’s Content Providers to allow access from other applications, and you can access the Content Providers exposed by others. </div>
<div style="direction: ltr; text-align: justify;">
- Android devices include several native Content Providers that expose useful databases such as the media store and contacts. </div>
<div style="direction: ltr; text-align: justify;">
- Your application can share data with other applications.</div>
<div style="direction: ltr; text-align: justify;">
- Android contains an SQLite database which is frequently used in conjunction with a ContentProvider. </div>
<div style="direction: ltr; text-align: justify;">
- The SQLite database would store the data, which would be accessed via the ContentProvider.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
BroadcastReceiver</h3>
<div style="direction: ltr; text-align: justify;">
Intent listeners. Broadcast Receivers enable your application to listen for Intents that match the criteria you specify. Broadcast Receivers start your application to react to any received Intent, making them perfect for creating event-driven applications.</div>
<div style="direction: ltr; text-align: justify;">
- BroadcastReceiver registered to receive system messages and Intents. </div>
<div style="direction: ltr; text-align: justify;">
- BroadcastReceiver will get notified by the Android system, if the specified situation happens. </div>
<div style="direction: ltr; text-align: justify;">
- BroadcastReceiver could get called once the Android system completed some event .</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
HomeScreenWidgets</h3>
<div style="direction: ltr; text-align: justify;">
Visual application components that are typically added to the device home screen. </div>
<div style="direction: ltr; text-align: justify;">
A special variation of a Broadcast Receiver, widgets enable you to create dynamic, interactive application components for users to embed on their home screens.</div>
<div style="direction: ltr; text-align: justify;">
- Widgets are interactive components which are primarily used on the Android home screen.</div>
<div style="direction: ltr; text-align: justify;">
- They typically display some kind of data and allow the user to perform actions via them. --- - For example a Widget could display a short summary of new emails and if the user selects an email, it could start the email application with the selected email.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Notifications </h3>
<div style="direction: ltr; text-align: justify;">
Notifications enable you to alert users to application events without stealing focus or interrupting their current Activity.</div>
<div style="direction: ltr; text-align: justify;">
They’re the preferred technique for getting a user’s attention when your application is not visible or active, particularly from within a Service or Broadcast Receiver. For example, when a device receives a text message or an email, the messaging and Gmail applications use Notifications to alert you by flashing lights, playing sounds, displaying icons, and scrolling a text summary. You can trigger </div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: left;">
Other Android user interface (UI and GUI) components </h3>
<div style="direction: ltr; text-align: justify;">
Android provides many more components but the list above describes the most important ones. Other Android components are Live Folders and Live Wallpapers . Live Folders display data on the home screen without launching the corresponding application while Live Wallpapers allow to create animated backgrounds.</div>
<h3 dir="ltr" style="text-align: left;">
Android custom components</h3>
<div style="direction: ltr; text-align: justify;">
Android offers a sophisticated and powerful componentized model for building your UI, based on the fundamental layout classes: View and ViewGroup.</div>
<div style="direction: ltr; text-align: justify;">
For more details about android custom components check this article : <a href="http://developer.android.com/guide/topics/ui/custom-components.html" rel="nofollow" target="_blank">Android custom components</a></div>
<div style="direction: ltr; text-align: justify;">
<br class="Apple-interchange-newline" /></div>
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-84216756504147916232012-08-06T05:58:00.002-07:002012-08-12T06:22:03.093-07:00Android Vs Other Platforms & Feature For Android Users.<div dir="rtl" style="text-align: right;" trbidi="on">
<div style="direction: ltr;">
</div>
<div style="text-align: left;">
<a href="http://phandroid.s3.amazonaws.com/wp-content/uploads/2012/02/iOS-VS-Android.jpeg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img alt="android vs ios platforms" border="0" height="103" src="http://phandroid.s3.amazonaws.com/wp-content/uploads/2012/02/iOS-VS-Android.jpeg" title="" width="200" /></a></div>
<div style="direction: ltr; text-align: left;">
In the previous article (<b><a href="http://android-app-tutorial.blogspot.com/2012/08/Developing-Android-for-developer.html" target="_blank">Why Developing For Android Mobile Devices? Marketer, Developer Perspective.</a></b>) we discuss why DEVELOP FOR ANDROID also why develop of general mobile platforms from the developer perspective, in this article we will continue explain why you must develop for android from user perspective and why android different from other platforms and finally will explained the major difference between j2me and IOS and compare them with an android platform.</div>
<div style="direction: ltr; text-align: left;">
First of all let us explore the feature that android provide for the end user.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h3 style="text-align: left;">
For end users - android user perspective </h3>
<div style="direction: ltr; text-align: left;">
- No license fee</div>
<div style="direction: ltr; text-align: left;">
- More than 30K application in the market with 61% are free apps</div>
<div style="direction: ltr; text-align: left;">
- Supported by dozens of hardware manufacturers</div>
<div style="direction: ltr; text-align: left;">
- Low price smart-phone devices</div>
<div style="direction: ltr; text-align: left;">
- Abilities to integrate with Google’s services</div>
<div style="direction: ltr; text-align: left;">
- Android Takes Lead in US Smartphone Market</div>
<div style="direction: ltr; text-align: left;">
- In January 2011, 31.2% of smartphone market, (7.1% in 2010), 30.4% Blackberry, and 24.7% iPhone</div>
<div style="direction: ltr; text-align: left;">
<a href="http://www.comscoredatamine.com/2011/03/android-takes-lead-in-u-s-smartphone-market/" target="_blank">For More Details see This article </a></div>
<h3 style="text-align: left;">
What Android Has That Other Platforms Don’t Have</h3>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
Many of the features listed in the previous article (<b><a href="http://android-app-tutorial.blogspot.com/2012/08/android-developer-applications-guide.html" target="_blank">what is android? Developer applications guide</a></b>), such as 3D graphics and native database support, are also available in other native mobile SDKs, as well as becoming available on mobile browsers. </div>
<div style="direction: ltr; text-align: left;">
The following non comprehensive list details some of the features available on Android that may not be available on all modern mobile development platforms:</div>
<div style="direction: ltr; text-align: left;">
- Google Maps applications </div>
<div style="direction: ltr; text-align: left;">
The Map View lets you display, manipulate, and annotate a Google Map within your Activities to build map-based applications.</div>
<div style="direction: ltr; text-align: left;">
- Background services and applications </div>
<div style="direction: ltr; text-align: left;">
You can create applications based on an event-driven model, working silently while other applications are being used or while your mobile sits ignored until it rings, flashes, or vibrates to get your attention. </div>
<div style="direction: ltr; text-align: left;">
Android provides the same opportunities for all applications and developers.</div>
<div style="direction: ltr; text-align: left;">
- Shared data and inter-process communication </div>
<div style="direction: ltr; text-align: left;">
Using Intents and Content Providers, Android lets your applications exchange messages, perform processing, and share data between other application. </div>
<div style="direction: ltr; text-align: left;">
- All applications are created equal </div>
<div style="direction: ltr; text-align: left;">
Android doesn’t differentiate between native applications and those developed by third parties. This gives consumers unprecedented power to change the look and feel of their devices by letting them completely replace every native application with a third-party alternative that has access to the same underlying data and hardware.</div>
<div style="direction: ltr; text-align: left;">
- Wi-Fi Direct and Android Beam</div>
<div style="direction: ltr; text-align: left;">
Using these innovative new inter-device communication APIs, you can include features such as instant media sharing and streaming. </div>
<div style="direction: ltr; text-align: left;">
- Home-screen Widgets, Live Wallpaper, and the quick search box </div>
<div style="direction: ltr; text-align: left;">
Using Widgets and Live Wallpaper, you can create windows into your application from the phone’s home screen. </div>
<div style="direction: ltr; text-align: left;">
The quick search box lets you integrate search results from your application directly into the phone’s search functionality.</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h3 style="text-align: left;">
Android vs. J2ME</h3>
<div style="direction: ltr; text-align: left;">
- Multiple device configurations</div>
<div style="direction: ltr; text-align: left;">
- J2ME has 2 classes of micro devices</div>
<div style="direction: ltr; text-align: left;">
- Android offers only one</div>
<div style="direction: ltr; text-align: left;">
- Ease of understanding</div>
<div style="direction: ltr; text-align: left;">
- J2ME has multiple UI model (MIDlets, Xlets, AWT, Swing …)</div>
<div style="direction: ltr; text-align: left;">
- Android support for only one, so it would be more easier to understandthan J2ME</div>
<div style="direction: ltr; text-align: left;">
- Responsiveness</div>
<div style="direction: ltr; text-align: left;">
- Dalvik VM vs. JVM</div>
<div style="direction: ltr; text-align: left;">
- Dalvik VM vs. KVM</div>
<div style="direction: ltr; text-align: left;">
- Java compatibility</div>
<div style="direction: ltr; text-align: left;">
- Android runs .dex bytecode</div>
<div style="direction: ltr; text-align: left;">
- Runtime interpretation of Java bytecode is not possible</div>
<div style="direction: ltr; text-align: left;">
- Adoption</div>
<div style="direction: ltr; text-align: left;">
- Most of mobile phone support for J2ME</div>
<div style="direction: ltr; text-align: left;">
- But uniformity, cost, ease of development in Android are the reasons for java developer to program for it</div>
<div style="direction: ltr; text-align: left;">
- Java SE support</div>
<div style="direction: ltr; text-align: left;">
- Android support for J2SE more complete than J2ME CDC (except AWT & Swing)</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
<h3 style="text-align: left;">
Apple vs. Android</h3>
<div style="direction: ltr; text-align: left;">
<br /></div>
<div style="direction: ltr; text-align: left;">
- Games 52.2% of app sales in 2010</div>
<div style="direction: ltr; text-align: left;">
- 350K apps in iStore, 130K in Android market - 294K in may .</div>
<div style="direction: ltr; text-align: left;">
- Android easiest to write for Tools plus getting published</div>
<div style="direction: ltr; text-align: left;">
- Fragmented hardware</div>
<div style="text-align: left;">
<br /></div>
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-59768422362712060592012-08-06T03:49:00.000-07:002012-08-06T06:32:10.878-07:00Why Developing For Android Mobile Devices? Marketer, Developer Perspective.<div dir="rtl" style="text-align: right;" trbidi="on">
<div style="text-align: left;">
</div>
<div dir="ltr" style="text-align: left;">
<h2 style="text-align: left;">
WHY DEVELOP FOR MOBILE?</h2>
</div>
<div style="direction: ltr; text-align: left;">
In market terms, the development of modern mobile Smartphones multifunction devices including a phone but featuring a full featured web browser, cameras, media players, WI-Fi, and location-based services have fundamentally changed the way people interact with their mobile devices and access the Internet which increasing the development trends for Developing Android Mobile application for a lot of devices.<br />
<br /></div>
<div style="direction: ltr; text-align: left;">
- More than 3 billion mobile phone users around the worldwide and many developers.</div>
<div style="direction: ltr; text-align: left;">
- 2009 marked the year that more people accessed the Internet for the first time from a mobile phone rather than a PC.</div>
<div style="direction: ltr; text-align: left;">
- Access the Internet by mobile phone like android and IOS devices will increase than using personal computers.</div>
<div style="direction: ltr; text-align: left;">
- High-speed mobile data and WI-Fi hotspots, has created a huge opportunity for advanced mobile applications.</div>
<div style="direction: ltr; text-align: left;">
- Smartphone applications have changed the way people use their phones. This gives you, the application developer a unique opportunity to create dynamic, compelling new applications that become a vital part of people’s lives.</div>
<div style="direction: ltr; text-align: left;">
<h3 style="text-align: left;">
WHY DEVELOP FOR ANDROID?</h3>
</div>
<div style="direction: ltr; text-align: left;">
The first question that every developer is asking himself, before learning, or take training about new technology or spending a time to search a resources is why develop for Android? Why Android platforms and not any other platforms? I'm going to show you the answer of this question into those reasons in this Blog.</div>
<h3 dir="ltr" style="text-align: left;">
From Developer perspective </h3>
<h4 style="direction: ltr; text-align: left;">
ANDROID MARKET SHARE</h4>
<div style="direction: ltr; text-align: left;">
- The number of Android phones sold every day is larger than that of any other mobile phone operating system (at least in the United States and Europe). Moreover the number of Android phones sold in those regions keeps growing, so after applying some simplest math skills, it becomes evident that unless something extraordinary happens we can clearly say that Android is the platform that's going to have the most users in the future, maybe it will even become a standard for all phones. And that means that you will have more people who can buy or use your product also more developer for Android OS. </div>
<div style="direction: ltr; text-align: left;">
- Android represents a clean break, a mobile framework based on the reality of modern mobile devices designed by developers, for developers.</div>
<div style="direction: ltr; text-align: left;">
- Simple, powerful, and open SDK which include all tools for the Android mobile developer.</div>
<div style="direction: ltr; text-align: left;">
- Licensing fees except Google market account 25$ for ever.</div>
<div style="direction: ltr; text-align: left;">
- Very good and excellent documentation.</div>
<div style="direction: ltr; text-align: left;">
- Huge developer community, Android represents an opportunity to create software that changes how and why people use their mobile phones.</div>
<div style="direction: ltr; text-align: left;">
- No certification is required to become an Android developer.</div>
<div style="direction: ltr; text-align: left;">
- Google Play provides free, up-front purchase, and in-app billing options for distribution and monetization of your applications.</div>
<div style="direction: ltr; text-align: left;">
- There is no approval process for application distribution. Developers have total control over their brands.</div>
<div style="direction: ltr; text-align: left;">
- More than 850,000 new Android devices are activated daily, with many studies showing the largest proportion of new Smartphone sales belonging to Android devices.</div>
<div style="direction: ltr; text-align: left;">
As of March 2012, Google Play (formerly Android Market) has expanded its support for application sales to 131 countries, supporting more than 10 billion installs at a growth rate of 1 billion downloads per month.</div>
<h4 dir="ltr" style="text-align: left;">
- JAVA PROGRAMMING LANGUAGE </h4>
<div style="direction: ltr; text-align: left;">
Apple products, like the iPhone, use Objective C (all developer talk is complicated language when compares it with other common language) that was invented by Apple. However if you want to develop apps for Android the only thing that you need to know is Java and Android API for Java. Unlike Objective C, Java is a very powerful programming language that has been around for 15 years and thus has millions of pages of articles about it, tutorials, books, courses, learning materials, also very powerful integrated with oracle products etc. As well as a lot of professionals who have experience working with Java and a lot of libraries and other kinds of enhancements. And besides that - the experience that you get from programming for Android you might also use in a lot of other fields.</div>
<div style="direction: ltr; text-align: left;">
Remember : Java is the android programming language which needs it to build our applications .</div>
<h4 dir="ltr" style="text-align: left;">
Publishing the app to the Market (Google play ) .</h4>
<div style="direction: ltr; text-align: left;">
Google offers the Google Play service in which programmers can offer their Android application to Android users. Google phones include the Google Play application which allows installing applications.</div>
<div style="direction: ltr; text-align: left;">
Google Play also offers an update service, e.g. If android developer uploads a new version of his application to Google Play, this service will notify existing users that an update is available and allow to install it.</div>
<div style="direction: ltr; text-align: left;">
Google Play used to be called Android Market.</div>
<div style="direction: ltr; text-align: left;">
To be able to publish the app on the google play you need the following</div>
<div style="direction: ltr; text-align: left;">
- Requires Google Developer Account</div>
<div style="direction: ltr; text-align: left;">
- $25 fee</div>
<div style="direction: ltr; text-align: left;">
- Link to a Merchant Account</div>
<div style="direction: ltr; text-align: left;">
- Google Checkout</div>
<div style="direction: ltr; text-align: left;">
- Link to your checking account</div>
<div style="direction: ltr; text-align: left;">
- Google gets 30% you get 70% .</div>
<div style="direction: ltr; text-align: left;">
<br /></div>
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-4498688776269045654.post-4022508382853990132012-08-04T09:20:00.000-07:002012-08-06T04:03:04.452-07:00What is Android? Developer Applications Guide<div dir="rtl" style="text-align: right;" trbidi="on">
<h2 dir="ltr" style="text-align: left;">
<span style="font-size: large;">How to develop Android applications ? First You need What is Android?</span></h2>
<h4 dir="ltr" style="text-align: left;">
Google’s Andy Rubin describes Android as: </h4>
<div style="direction: ltr; text-align: justify;">
The first truly open and comprehensive platform for mobile devices, all of the software to run a mobile phone but without the proprietary obstacles that have hindered mobile innovation.</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h4 dir="ltr" style="text-align: justify;">
What I need For developing Android Application? </h4>
<div dir="ltr" style="text-align: left;">
<div class="MsoBodyText" style="text-align: left; unicode-bidi: embed;">
<b><span style="font-family: Georgia, Times New Roman, serif;">To develop Android applications </span><span style="font-family: Georgia, Times New Roman, serif;"> you needs the following thing :</span><o:p></o:p></b></div>
<div class="MsoBodyText" style="text-align: left; unicode-bidi: embed;">
<b><span style="font-family: Georgia, Times New Roman, serif;"><br /></span></b></div>
</div>
<div dir="ltr" style="text-align: justify;">
First of All , you must Know a Few about Android operating system which is based on Linux with a Java programming interface. [ So You must Know Java Programming To write the Android App] .</div>
<div style="direction: ltr; text-align: justify;">
All Android applications written in Java and converted to the Dalvik executable .dex</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
Second : you need (Android SDK) Software Development Kit .</div>
<div style="direction: ltr; text-align: justify;">
The SDK provides all necessary tools to develop Android applications also The Android SDK provides you the API libraries and developer tools necessary to build, test, and debug apps for Android.</div>
<div style="direction: ltr; text-align: justify;">
We will discuss all tools later step by step which we needed to develop application , but now just keep in mind you need know Java [ if you not java developer , don't worry about it ] and install The SDK .</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h3 dir="ltr" style="text-align: justify;">
Features of Android</h3>
<h4 dir="ltr" style="text-align: justify;">
Storage</h4>
<div style="direction: ltr; text-align: justify;">
Uses SQLite, a lightweight relational database, for data storage</div>
<h4 dir="ltr" style="text-align: justify;">
Connectivity</h4>
<div style="direction: ltr; text-align: justify;">
Supports GSM/EDGE, IDEN, CDMA, EV-DO, UMTS, Bluetooth includes A2DP and AVRCP, WiFi, LTE, and WiMAX</div>
<h4 dir="ltr" style="text-align: justify;">
Messaging</h4>
<div style="direction: ltr; text-align: justify;">
Supports both SMS and MMS</div>
<h4 dir="ltr" style="text-align: justify;">
Web browser</h4>
<div style="direction: ltr; text-align: justify;">
Based on the open-source WebKit, together with Chrome’s V8 JavaScript engine</div>
<h4 dir="ltr" style="text-align: justify;">
Media support</h4>
<div style="direction: ltr; text-align: justify;">
Includes support for the following media: H.263, H.264 (in 3GP or MP4</div>
<div style="direction: ltr; text-align: justify;">
Container), MPEG-4 SP, AMR, AMR-WB (in 3GP container), AAC, HE-AAC (in</div>
<div style="direction: ltr; text-align: justify;">
MP4 or 3GP container), MP3, MIDI, Ogg Vorbis, WAV, JPEG, PNG, GIF, and</div>
<div style="direction: ltr; text-align: justify;">
BMP)</div>
<h4 dir="ltr" style="text-align: justify;">
Hardware support</h4>
<div style="direction: ltr; text-align: justify;">
Accelerometer Sensor, Camera, Digital Compass, Proximity Sensor, and GPS</div>
<div style="direction: ltr; text-align: justify;">
Multi-touch</div>
<div style="direction: ltr; text-align: justify;">
Supports multi-touch screens</div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<h4 dir="ltr" style="text-align: justify;">
Multitasking</h4>
<div style="direction: ltr; text-align: justify;">
Supports multi-tasking applications</div>
<h4 dir="ltr" style="text-align: justify;">
Flash support</h4>
<div style="direction: ltr; text-align: justify;">
Android 2.3 supports Flash 10.1</div>
<h4 dir="ltr" style="text-align: justify;">
Tethering</h4>
<div style="direction: ltr; text-align: justify;">
Supports sharing of Internet connections as a wired/wireless hotspot</div>
<h3 dir="ltr" style="text-align: justify;">
Security</h3>
<div style="direction: ltr; text-align: justify;">
Android is a multi-process system, in which each application (and parts of the system) runs in its own process. Most security between applications and the system is enforced at the process level through standard Linux facilities, such as user and group IDs that are assigned to applications. On the other word the Android system will create a unique user and group ID for every Android application. Each application file is private to this generated user, e.g. other applications cannot access these files. </div>
<div style="direction: ltr; text-align: justify;">
<br /></div>
<div style="direction: ltr; text-align: justify;">
Additional finer-grained security features are provided through a "permission" mechanism that enforces restrictions on the specific operations that a particular process can perform, and per-URI permissions for granting ad-hoc access to specific pieces of data.</div>
<div style="direction: ltr; text-align: justify;">
<br />
<h2>
The Android market</h2>
</div>
<h3 dir="ltr" style="text-align: justify;">
Google Play - Android Market .</h3>
<div style="direction: ltr; text-align: justify;">
Google offers the Google Play service in which programmers (Android Developer) can offer their Android application to Android users. Google phones include the Google Play application which allows to install applications.</div>
<div style="direction: ltr; text-align: justify;">
Google Play also offers an update service, e.g. if a programmer (Android Developer) uploads a new version of his application to Google Play, this service will notify existing users that an update is available and allow to install it. </div>
<h4 dir="ltr" style="text-align: justify;">
Other Feature For <span style="text-align: left;">Android Market</span></h4>
<div style="text-align: justify;">
<span style="text-align: left;"></span><br />
<div style="direction: ltr; text-align: left;">
- Google Market - Part of GMS Apps .</div>
<span style="text-align: left;"></span><br />
<div style="direction: ltr; text-align: left;">
- 3party apps submitted to Google, approved and distributed through the market.</div>
<span style="text-align: left;"></span><br />
<div style="direction: ltr; text-align: left;">
- Both Free and Paid apps.</div>
<span style="text-align: left;"></span><br />
<div style="direction: ltr;">
<span style="text-align: left;">- Apps now limited to 50 MB; updates possible through Market Monetization through ads available.</span></div>
<span style="text-align: left;">
</span><br />
<div style="direction: ltr;">
<span style="text-align: left;">- Available in many countries, not all countries have support for paid apps.</span></div>
<span style="text-align: left;">
</span><br />
<div style="direction: ltr;">
<span style="text-align: left;">- Other Marketplace applications available – Amazon has announced its own Android Marketplace.</span></div>
<span style="text-align: left;">
</span><br />
<div style="direction: ltr;">
<span style="text-align: left;">- App searches filtered based on Manifest file - eg. if a device does not have trackball, apps using trackball will be filtered out.</span></div>
<span style="text-align: left;">
</span><br />
<div style="direction: ltr;">
<span style="text-align: left;">- Every app publishes a list of components the app will access and permissions need to be granted before installation. </span></div>
<span style="text-align: left;">
<div style="direction: ltr;">
- Apps installed on device and SD card - SD Card from Froyo.</div>
<h3 dir="ltr">
<span style="text-align: justify;">Future possibilities :</span></h3>
<div>
<span style="text-align: justify;"></span><br />
<div style="direction: ltr;">
<span style="text-align: justify;">- Google Android Sales to Overtake iPhone in 2012</span></div>
<span style="text-align: justify;"></span><br />
<div style="direction: ltr;">
<span style="text-align: justify;">- The OHA is committed to making their vision a reality: to deploy the Android platform for every mobile operator, handset manufacturers and developers to build innovative devices</span></div>
<span style="text-align: justify;"></span><br />
<div style="direction: ltr;">
<span style="text-align: justify;">- Intel doesn’t want to lose ownership of the notebook market, so they need to prepare for anything, including Android</span></div>
<span style="text-align: justify;"></span><br />
<div style="direction: ltr;">
<span style="text-align: justify;">- Fujitsu launched an initiative to offer consulting and engineering expertise to help run Android on embedded hardware, which aside from cell phones, mobile internet devices, and portable media players, could include GPS devices, thin-client computers and set-top boxes.</span></div>
<span style="text-align: justify;">
</span><br />
<div style="direction: ltr;">
<span style="text-align: justify;">- More Android devices are coming and some will push the envelope even further .</span></div>
<span style="text-align: justify;">
</span><br />
<div style="direction: ltr;">
<span style="text-align: justify;"><br class="Apple-interchange-newline" /></span></div>
<span style="text-align: justify;">
</span></div>
</span></div>
</div>
Unknownnoreply@blogger.com0