Wednesday, February 27, 2013

Android Application Programming Basics

Android Application Programming Basics
Today I’m going to share a few of my notes about Android Application programming basics. Recently I’ve been trying to learn how to program Android applications. This post is not directly related to CAD but I will hopefully one day be creating some Android applications for CAD users.

Android Programming Acronyms
  • SDK = software development kit
  • DP = density pixels
  • IDE = Integrated Development Environment
  • UI = User Interface

Android apps are written in Java. I think it’s much harder to learn than writing macros for CATIA V5. When you write a macro, you can type up the code in a simple text editor and it is read top to bottom like a book. When writing code for Android applications, code must be inserted into at least three different locations within the Eclipse IDE software.

Pages or screens in Android apps are known as Activities. An Intent is a communicator with another application and you use it to change screens. To create a new activity right click on package: New>Class. Give it a name and set Super class as Activity, which will be a java file. Each activity needs a layout file (.xml) created by going to New>Android xml. Name it file_name.xml. Xml is a way to organize information with structure (as opposed to just using a text file). The xml file is used to organize the layout and properties of all the text, input boxes, buttons, images, etc. Buttons use a method called OnClickListener.

Alright, that might have sounded confusing to you, especially if you’ve never programmed before, so I’m going to leave it at that for now. Would you like to learn more about Android application programming? Please let me know and I will write more detailed posts. I’ve recently created two Android applications and they are available in the Google Play store for Free here.

In your opinion, what are the best CAD apps out there?


  1. Your article is informative. Thanks for give this nice presentation article. Your information is really worthy.

  2. Excellent post on iOS mobile apps development!!! The future of mobile application development is on positive note. You can make most it by having in-depth knowledge on mobile application development platform and other stunning features. IOS Course in Chennai

  3. Your blog is really useful for me. Thanks for sharing this useful blog..Suppose if anyone interested to learn Android Training in Chennai please visit fita academy which offers best Android Course in Chennai at reasonable cost.

  4. Unix Training

    Thanks for sharing this informative blog. Suppose if anyone interested to learn Unix Training in Chennai, Please visit Fita Academy located at Chennai, Velachery.


    Unix Training Institutes in Chennai

  5. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing. Android training in chennai | Android training chennai |Android course in chennai

  6. This Information very helpful for the beginners.In this each step have a wonderful explaination.I would study and known about the application.thanks for giving wonderful information. Phonegap training in chennai | Phonegap training chennai | Phonegap course in chennai | Phonegap course chennai

  7. I agree with your post. Android software development kit makes the application development process lot simpler and effective. You can create best performing android application with ease. Android Training Institutes in Chennai | Best Android Training in Chennai

  8. Excellent post. Android is an open source operating system used for tablet computers and smartphones. If your are interested to develop creative mobile applications then you must learn about android OS. Its helpful for you.

    Android Training in Chennai

  9. The information you have given here are most worthy for me. I have implemented in my training program as well, thanks for sharing.

    Mobile Application Development Training in Chennai

  10. The knowledge of technology you have been sharing thorough this post is very much helpful to develop new idea. here by i also want to share this.
    Digital Marketing Training in Chennai

    Digital Marketing Training in Bangalore

    digital marketing training in tambaram

    digital marketing training in annanagar

  11. Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
    full stack developer training in annanagar

    full stack developer training in tambaram

    full stack developer training in velachery

  12. Great thoughts you got there, believe I may possibly try just some of it throughout my daily life.
    python training institute in chennai
    python training in Bangalore
    python training in pune

  13. Excellant post!!!. The strategy you have posted on this technology helped me to get into the next level and had lot of information in it.
    Blueprism training in tambaram

    Blueprism training in annanagar

    Blueprism training in velachery

  14. I have been meaning to write something like this on my website and you have given me an idea. Cheers.

    java training in jayanagar | java training in electronic city

    java training in chennai | java training in USA

  15. Thank you for an additional great post. Exactly where else could anybody get that kind of facts in this kind of a ideal way of writing? I have a presentation next week, and I’m around the appear for this kind of data.
    angularjs-Training in sholinganallur

    angularjs-Training in velachery

    angularjs Training in bangalore

    angularjs Training in bangalore

    angularjs Training in btm

  16. Great Article… I love to read your articles because your writing style is too good, its is very very helpful for all of us. Do check Six Sigma Training in Bangalore | Six Sigma Training in Dubai & Get trained by an expert who will enrich you with the latest trends.


I'd love to hear from you!