Pages

Tuesday, August 28, 2012

Getting Started with Android App Development

The beauty of Android development is that you are not restricted to any particular development environment. You can use any operating systems and any IDE you like. But since we will be writing Java code, Eclipse is a natural choice.

All you need are these 4 things

- Java SDK 6
- Eclipse IDE
- Android SDK
- Eclipse ADT plugin
- git (optional but recommended)

Get Java SDK


If you don't have Java SDK, getting it is simple. Download it from
http://www.java.com/getjava

Download Eclipse IDE


Download Eclipse Classic from http://www.eclipse.org/downloads/
If you are using Mac or Linux, and not sure if you are running 64bit or 32bit machine, inside Terminal run this command
$ uname -a
The output will tell you which eclipse binary you should download. Unzip and you have Eclipse.

Download Android SDK & Tools


Next step is to download Android SDK from
https://developer.android.com/sdk/index.html
Unzip the file you just downloaded. You should see android-sdk-mac folder. Copy it to a location where you want to download all other Android Development tools. Using terminal, navigate to tools folder inside android-sdk-mac and run android program
~/dev/android-dev/android-sdk-macosx/tools $ ./android  
This opens up Android SDK Manager. It shows you all installed components, the updates and also lists all available versions of Android SDK. This is where you will select what you need to download that includes, plain SDK, sample code, SDK source code, system images, Google APIs and also vendor specific components. If that's too much to take in, make sure you select for both Android 4.1 and Android 4.0.3
  • Documentation from Android SDK
  • SDK platform
  • Samples for SDK
  • ARM EABI system image
And under Tools category, select
  • Android SDK Tools
  • Android SDK platform-tools
And click install packages, next Accept all and let it finish.

The final step is to install Eclipse ADT plugin which makes Android development tools (mode on that later) part of the IDE for easy access. 

Download the ADT Plugin


  1. Start Eclipse, then select Help > Install New Software.
  2. Click Add, in the top-right corner.
  3. In the Add Repository dialog that appears, enter "ADT Plugin" for the Name and the following URL for the Location:
    https://dl-ssl.google.com/android/eclipse/
  4. Click OK.
    If you have trouble acquiring the plugin, try using "http" in the Location URL, instead of "https" (https is preferred for security reasons).
  5. In the Available Software dialog, select the checkbox next to Developer Tools and click Next.
  6. In the next window, you'll see a list of the tools to be downloaded. Click Next.
  7. Read and accept the license agreements, then click Finish.
    If you get a security warning saying that the authenticity or validity of the software can't be established, click OK.
  8. When the installation completes, restart Eclipse.

Configure the ADT Plugin


After you've installed ADT and restarted Eclipse, you must specify the location of your Android SDK directory:
  1. Select Window > Preferences... to open the Preferences panel (on Mac OS X, select Eclipse > Preferences).
  2. Select Android from the left panel.
  3. You may see a dialog asking whether you want to send usage statistics to Google. If so, make your choice and clickProceed.
  4. For the SDK Location in the main panel, click Browse... and locate your downloaded Android SDK directory (such asandroid-sdk-windows).
  5. Click Apply, then OK.

Install Git


Git is an open source version control system. It works best for small projects as well as massive projects like Android platform itself. It will help you maintain different versions of your source code. In case you would like to download the Android source code, you will require git. It's very easy install.
Download it from below site and install it using package manager.
http://git-scm.com/

We will talk s more about git once we start developing actual applications. 

Next, we will talk about some Android Development Tools and will run our first Android app.


44 comments:

  1. Really nice blog thanks for sharing post.

    Companies that are providing development services have a pool of talented developers and programmers. This pool is created by hiring dedicated android application developers and professional programmers. When companies have these developers with them, they offer clients to develop applications for them, either from on-site or off-site location.

    All your comment for Android Development are welcome.

    Thanks in advance.

    ReplyDelete
  2. Organizations that are offering growth services have a share of skilled designers and developers. This share is designed by choosing devoted android operating system program designers and professional developers. When companies have these designers with them, they offer customers to create programs for them, either from on-site or off-site place.
    So Thanks..

    ReplyDelete
  3. Thanks for such a great information..
    Your blog is such a very informative blog.

    ReplyDelete
  4. This is great and useful blog. This is very helpful information. Thanks for sharing this.

    ReplyDelete
  5. I agree with most of your points, but a few need to be discussed further, I will hold a small talk with my partners and maybe I will look for you some suggestion soon..

    ReplyDelete
  6. This comment has been removed by the author.

    ReplyDelete
  7. I am a new user for App Development , I have read your post and I learn some good tips from your blog, thank you for posting good information like this .

    ReplyDelete
  8. Nice it seems to be good post... It will get readers engagement on the article since readers engagement plays an vital role in every

    blog.. i am expecting more updated posts from your hands.
    Mobile App Development Company
    Mobile App Development Company in India
    Mobile App Development Companies

    ReplyDelete
  9. Unfortunately android development is now competitive


    Documentation from Android SDK
    SDK platform
    Samples for SDK
    ARM EABI system image
    helps but you need to be excellent in development to achieve results.

    ReplyDelete
  10. Nutrix Slim Keto : In daily life, we have a tendency to observed that people were getting overweight after trying onerous with varied diet plans and exercise, however someday they're not getting favorable results. For you to lose a pound every week, you merely want to form a calorie deficit of regarding 500 calories per day by controlling your diet and increasing your amount of exercises.

    Visit Us : https://www.healthysuppreviews.com/nutrix-slim-keto/

    ReplyDelete
  11. the cracks of the principal tough ringing of the intervertebral round. The round leave commence to get expanded and module go beyond the main vertebrae. In most cases, at this travelling, neither the spinal cord nor the brass roots are affected, so you won't observation any openhearted of symptom. • Developing plate intense - In this form, the relevant which can be found wrong the set passes through the tough slip in the plate and the aggressiveness roots are constrained. Here, you gift sign noticing the initial symptoms of a herniated disc. • Footloose fragments - At this present, a break of the set completely breaks and becomes a freeborn break traveling in the vertebral passageway, where it module squeeze the http://givinghealthylife.com/

    ReplyDelete

  12. https://apkchip.com Video games with other hostility, sexy start or insulting languages can be a bad affect on the gamer. It is always great to select the one with assume table and that is beneficial for you. If the gamer is your kid, then it is your trustworthiness to snap them a healthful one.

    ReplyDelete
  13. 1. What happens during surgery for hip peer?

    In this surgery, it takes most 2 hours to hearty it. The doc places the incision on the thighbone and hip and removes the gristle, the paper and the compromised white. The femoris in the bunk concept is replaced with an counterfeit element or impressible goal that in channelize testament appropriate patients to preserve their normal activities without anguish yet. There are galore other surgeries by age, metric and factors that are single to apiece uncomplaining.

    2. Who is the paw individual for hip compeer surgery?

    There are some reasons why grouping teach problems in their hips. The most unrefined among them are injuries, osteoarthritis or rheumatoid arthritis that can venture premature decay of the hip joints. A being's age is never considered real strategic in status of their eudaimonia when it comes to having hip compeer surgery. Recovered, in this process, the most palmy group are those who do not inactivity until the deterioration of the joints is too sophisticated.
    https://supplementforhelp.com/

    ReplyDelete
  14. structure are Automaton effort. Apiece use when formed carries galore antithetical files and folders within it, that defines its functionalities and resources, and in magnitude to run that app in wandering, one necessary to create an depository that contains all the necessities. This archive line is noted as Humanoid Programme APK, i.e. Golem accumulation kit. What does an APK belong of? APK is a nourished incase containing all the indispensable collection and files that is staleness to run an app on a Ambulatory Phone. It lie of · Germ inscribe used to delimitate App's functionalities, in widespread damage referred as classes.dex. · Manifest file, i.e. the record that specifies the 1. Permissions that utilization needs. 2. Its motion 3. Accumulation 4. Version codes 5. Signatures. 6. Certificates. 7. SHA-1 Permit. · Libs, is a directory containing compiled inscribe or jar files, utilised as deposit for applications. · Assets, it is a directory that has absolute files same fonts, frequency, texts etc. in it. · Resources same XML files that show the layout of assorted pages of the programme. · It also contains META-INF
    https://seekapk.info

    ReplyDelete
  15. Holistic Bliss Keto among these advantages are that you've a workout buddy, who may keep you motivated and keep you company while an individual used into the gym environment and exercising regularly, and discover save money because most gyms and trainers offer discounts however join or train having a friend.
    https://holisticblissketo.weebly.com/
    https://works.bepress.com/healthdiscreet/3

    https://symonds377.wixsite.com/healthdiscreet/post/holistic-bliss-keto-the-most-recent-keto-equation-is-here
    https://www.healthdiscreet.com/holistic-bliss-keto/

    ReplyDelete
  16. Keto Slim Max Prawda jest taka, ze czesc osób w sluzbie zdrowia ogóle nie zasluguje na pensje, ale na zadna ewaluacje czy oceny pracowników zwiazki sie nie zgadzaja - bo wiedza, ze ci kiepscy by odpadli a ci dobrzy dostali podwyzki. In 2002 Dr. Murphree sold his medical practice and now maintains a busy solo practice specializing in fibromyalgia, chronic fatigue syndrome, heart disease, mood disorders, and other chronic illnesses. They also respond to their environment, so Geary said habits such as regular exercise and a diet with fruits and vegetables, can promote healthy mitochondria.The underlying point of MyHealthEData is to encourage healthcare organizations to pursue interoperability of health data as a way of allowing patients more access to their records. From the tears brimming in Lucy's eyes to Nathaniel's smile, each expression adds to our understanding that there is no one face” for mental health problems. Also, insoluble fiber is filling which make apples an excellent weight control food for people who want to lose weight without feeling hungry. Co mniej wiecej oznacza ze ptasia grypa to bujda i nie róznila sie szczególnie od zwyklej grypy która jest co roku. Rick Scott, R-Fla., is set to introduce an amendment Thursday to protect health care coverage for people with preexisting conditions. According to a study carried out at Harvard Medical School, older adults who eat plenty of blueberries (and strawberries) are less likely to suffer from cognitive decline , compared with other people of their age who do not. http://www.garciniamarket.com/keto-slim-max/

    ReplyDelete
  17. Keto Slim Max For all the damage now being done to the English language there are some people who continue to care about its health. I podpisane, ze smieci dzieli sie na te palone w dzien i te palone w nocy. Now researchers at the University of Washington have created a novel system that can measure platelet function within two minutes and can help doctors determine which trauma patients might need a blood transfusion upon being admitted to a hospital. Jednak w korpo nie mam duzego wolumenu i jest duzo czasu na przegladanie smiesznych obrazków. W niektórych panstwach alkoholiczki sa zamykane specjalnych osrodkach na czas ciazy, w Polsce niestety nie. This will lead to failure, rather mix cooked and raw (by adding one raw food weekly) and take the change slowly. In the field of healthcare, almost €61 million of EU funds will help purchase new equipment for the University Hospital of Kraków, Malopolskie, benefitting over 3.3 million inhabitants. A plant-based diet is great for the maintenance of blood sugar levels, which balance your energy and minimize energy dips common to those who eat lots of processed foods, meats, dairy and sugar-laden foods.Our nation's more than 11,000 certified nurse-midwives (CNMs) and certified midwives (CMs) are key players in achieving 2 SDGs in particular: Ensure healthy lives and promote well-being for all at all ages (SDG 3) and Achieve gender equality and empower all women and girls (SDG 5). http://www.garciniamarket.com/keto-slim-max/

    ReplyDelete
  18. Vexgen keto diet Although there are many potential benefits of eating just two meals daily, not everyone agrees that it is the best strategy for health or weight loss. The consistent lack of fresh and nutritious food will surely suffer the physical body, and as well, the emotional and intellectual parts in turn, will reduce our time. Sesame seed oil, for example, is rich in healthy fats that suppress hunger and improve appetite control, making weight loss easier. Jezeli masz u nas konto - zaloguj sie , jezeli nie masz - zarejestruj sie W ostatecznosci mozesz dodac komentarz anonimowo, bez logowania. Exercise also lowers your blood pressure, which measures the force on your artery walls each time your heart beats. Paul Ryan Wis., favor repealing Obama's law, capping federal Medicaid spending and turning the program over to states to manage, which could result in as many as 44 million fewer people being covered , according to an Urban Institute analysis of a Ryan-authored plan Those without health insurance wou

    ReplyDelete
  19. Keto Blast is a nutritional supplement that promises an extraordinary weight-loss, optimal BHB solution, and greatly enhanced way of living within just thirty days.It has certainly become an incredibly in demand fat loss tool that may in a natural way kick individuals right into an instant weight loss mode. Right now, as all keto dieters understand, getting into ketosis as well as staying there could be a good deal of effort and willpower. Kindly Visit On Keto Blast Weight Loss Pills

    ReplyDelete
  20. Thank you for giving such a informative information.It will really helpfull article

    Thanks
    Cpa offers

    ReplyDelete
  21. Thanks for providing quality content. this help me alot. keep doing this great work.Thanks a lot for this awesome post.
    Keto BodyTone

    ReplyDelete
  22. aboutthemcat
    It also highlights that a ketogenic fast helps you to get over nutrient cravings, unsteady uptake habits and idea peckish every now and then. If pressurized, all of these advance metric red.

    Craving mechanism as a concept of symptom

    All ketogenic recipes are low-carb that better in suppressing the appetite. It alerts the spacing of hormones that may induction a want greeting. In this way, ketosis is a way that doesn't attain you undergo languorous, despite existence on diet. You can pore to your body signals and surmount enfeebled substance cravings.

    CLICK FOR MORE INFO>>>>http://givinghealthylife.com/ultra-keto-burn/

    ReplyDelete
  23. This post is so informative and makes a very nice image on the topic in my mind.
    Health + write for us

    ReplyDelete
  24. Ultra Keto Burn pills are weight loss supplement that functions as a ketogenic diet supplement. The ketogenic diet is an enthralling and distinctive technique. The body is drawn into ketosis structure in this technique. As a result, the body acquires less fat from suppers. This process also lets your body to put away fats that are burned by boost as fuel and that fuel is used to give you vitality. Visit On http://www.powerenrich.com/ultra-keto-burn-shark-tank-reviews-pills/
    ultra keto burn
    ultra keto burn reviews

    ReplyDelete
  25. nice and informative post you shared about android mobile application development

    Mobile app development is meant to develop applications that are accessed in mobile. Since all our website users are turning into mobile users, there are nearly 194 billion mobile app downloaders are found based on stats.

    Mobile App Development Company in Vadodara

    Mobile App Development Company in Vadodara

    ReplyDelete
  26. I have been in look for of some information about it almost three time. You served me a lot indeed and analyzing this your publish I have found many new and useful information about this topic.
    Home Improvement Write for us

    ReplyDelete
  27. It was very useful for me. Keep sharing such ideas in the future as well. This was actually what I was looking for, and I am glad to came here! Thanks for sharing such a information with us.
    Fitness "write for us"

    ReplyDelete
  28. In genuineness prosperous content and very helpful in sequence. I got it my elucidation from over here. I very much urge his/her workings with the constructive enlightening information. Thanks a lot………
    Beauty + write for us"

    ReplyDelete
  29. Hi! Nice blog. We are also offering you QuickBooks Customer Service Phone Number. If you need any help regarding QuickBooks issues, dial 1-855-756-1077 for instant help.

    ReplyDelete


  30. i'm now not going to go fishing on that one. I furnished multiple information into that here.

    i've been doing designated studies and i know what i'm speaking approximately. it is a few mythical bits of facts germane to Male Enhancement. it is pinnacle

    drawer how punks do element a easy proceeding like this.
    Read More- https://www.nutrahealthpro.com/magnum-xt/

    https://www.facebook.com/nutrahealthpro/posts/208407707665697

    https://twitter.com/nutrahealthpro/status/1352985357491564544

    https://nutrahealthpro1.blogspot.com/2020/08/magnum-xt-male-enhancement.html

    https://sites.google.com/view/magnum-xt-order-now/home

    https://in.pinterest.com/pin/596867756863616336

    https://www.youtube.com/watch?v=eQCU6w33JKc&feature=youtu.be

    https://www.instagram.com/p/CKZCO-Xlzbq/

    ReplyDelete


  31. these enthusiasts are the ones who take a look at out every Male Enhancement. Male Enhancement is much less fun like that. i've a terrific hypothesis what Male Enhancement is ready now. that could be a very humane technique.



    Read More- https://www.nutrahealthpro.com/magnum-xt/

    https://www.facebook.com/nutrahealthpro/posts/208407707665697

    https://twitter.com/nutrahealthpro/status/1352985357491564544

    https://nutrahealthpro1.blogspot.com/2020/08/magnum-xt-male-enhancement.html

    https://sites.google.com/view/magnum-xt-order-now/home

    https://in.pinterest.com/pin/596867756863616336

    https://www.youtube.com/watch?v=eQCU6w33JKc&feature=youtu.be

    https://www.instagram.com/p/CKZCO-Xlzbq/

    ReplyDelete
  32. Brilliant masterpiece being written here, made me pretty delighted while reading throughout those and made me enlighted with logice completely
    Home Decor "Write for us"

    ReplyDelete
  33. 'Excellent explanations shown here, would make me more notifiable in future need of this occurrence
    Home Improvement "Write for us"

    ReplyDelete
  34. Bit Binders began its operations into Software/Application Development in 2013. Based in New Delhi, India. We have addressed the growing enterprise software business needs, in less cost & time. We are a team of creative and experienced professionals providing a wide range of complex software and Web Application Development Services.

    ReplyDelete