Pages

Thursday, August 18, 2011

Starting With Android – Tutorial 1


We will be presenting series of tutorial which will help you to start with android.

Setup environment for Development

> Android provide its own SDK for development, it's totally java based, if you are good in Core java than you are good to start with Android Development

> First of all you need to set up an IDE(Integrated Development environment) for development, all tutorial we will be sharing are build using Eclipse IDE with Android Plugin installed.

> Setup steps are very well demonstrated on android platform

http://developer.android.com/sdk/installing.html

Terms to understand before we begin

> ADT -> Android Development Tools
> AVD -> Android Virtual Device - This is an emulator which you can configure as a model of
 	 actual device.

Understanding Basic Structure of Android Application. 
Below listed are basic folders which you will be using while developing android application
Structure of Android Application

Name of folder itself will tell you little about what that folder will going to contain.
Let's start with them one by one and see if what you thought is right or otherwise.

1) res -> This folder contains all the resources which will be used inside applications. There are different folders for different type of resources

  a) drawable -> This will contain all the images which you will be using in your application.

  b) layout -> This folder will contain xml files. These xml files actually define the layout of   different screens of our application. Android provides a facility to define your screen
design in xml.  We will discuss these files in our later tutorials in more details

  c) values -> This folder contains different files for different type of key value pairs, 
which you will be using in your application. These files help in moving various type of constants from java code to configurable xml files. These have various advantages also such as ii8n, re-usability and maintenance of constants  and many more to explore.
  • String
  • Dimensions
  • Colors etc.
     d) raw -> This folder will contain files other than images such as music files, video files and other supported files.

 2) src  -> This folder contain all your java code
 3) lib -> This folder contain all external api jars which you want to use in your applications
 4) gen -> This is also java folder which is automatically generated by android. It will create a R.java file which will have  mapping for all files under /res folder. You can read more about R file from
 5) AndroidManifest.xml  -> This is configurable file for android application, this files contains configurations such as
       a) Minimum SDK application will be running on
       b) Different Uses Permission Application required
       c) Starting Screen of application
       d) And many more to explore
I hope this tutorial will help you in starting with android. We will soon be releasing other tutorials of these series.
Please share your comments and ratings, these will help us in improving and reaching more and more people.
You can also mail us on info@iotasol.com, or follow us on twitter @iotasol
You can also visit our websites www.iotasol.com and www.iotadomains.com

18 comments:

  1. A full stack Python developer course covers backend development and frameworks.It focuses on real application building.Practice ensures mastery.This full stack Python developer course supports job readiness.It is career oriented.

    ReplyDelete
  2. Join OnlineITGuru to learn UI/UX design online. Create stunning interfaces, improve user experience, and build a strong portfolio for a digital design career.training ui ux

    ReplyDelete
  3. Learn Java online with OnlineITGuru. From basics to advanced topics, master coding, OOP, databases, and build professional applications for your career.learn java online

    ReplyDelete
  4. Master data modeling with OnlineITGuru. Design databases, create ER diagrams, apply normalization, and manage data efficiently for real-world applications.data modeling certification course

    ReplyDelete
  5. Learn DevOps online with OnlineITGuru. Implement CI/CD, automation, cloud deployment, and containerization to streamline software delivery and operations.devops training courses

    ReplyDelete
  6. EasyPayTax helps individuals and businesses file taxes quickly and accurately with expert guidance and simple online tools. income tax filing services in Hyderabad

    ReplyDelete
  7. "Enhance your career with salesforce developer course , designed to teach you Apex, Lightning, and Salesforce platform skills. Gain hands-on experience and become a certified Salesforce developer ready for real-world projects."

    ReplyDelete
  8. Boost your career with salesforce admin certification classes designed for beginners and professionals alike. Learn hands-on skills, real-world scenarios, and exam-focused strategies to become a certified Salesforce Administrator.

    ReplyDelete
  9. A python training program provides comprehensive programming knowledge for beginners and professionals. It covers core and advanced Python concepts. This python training focuses on hands-on assignments. It enhances coding confidence and efficiency. Students build real-world applications. It is career-focused.

    ReplyDelete
  10. Nice insights! training boomi
    helps professionals understand enterprise integration, API connectivity, and data transformation with practical learning and real-world examples.

    ReplyDelete
  11. AI training provides structured learning for individuals interested in building intelligent applications. It explains supervised and unsupervised learning, neural networks, and data modeling clearly. This ai training helps students gain practical coding experience through exercises and projects. Learners work on real-world AI applications. The training prepares learners for professional roles in artificial intelligence.

    ReplyDelete
  12. MuleSoft developer training is ideal for those who want to build APIs and integrations using Mule 4. It focuses on practical skills like message processing, data transformation, and API lifecycle management—essential for modern enterprise applications.mulesoft developer training

    ReplyDelete
  13. ServiceNow trainings are designed to cover everything from basic concepts to advanced modules like ITSM, ITOM, and HRSD. These trainings provide industry-relevant knowledge and help learners become job-ready in a short time.
    service now trainings

    ReplyDelete
  14. Great explanation! servicenow admin course is ideal for those who want to manage and configure the platform efficiently.servicenow admin course

    ReplyDelete
  15. Good content! MuleSoft Training India at OnlineITGuru stands out with its industry-oriented curriculum, experienced trainers, and strong placement assistance.MuleSoft Training India

    ReplyDelete
  16. Great article! OnlineITGuru offers updated MuleSoft training courses that align well with current industry needs.mulesoft training courses

    ReplyDelete
  17. Very informative post about ServiceNow trainings. It shows how both theory and hands-on practice are important for learning.service now trainings

    ReplyDelete
  18. These servicenow classes seem easy to follow and well-designed for beginners entering the IT field.
    servicenow classes

    ReplyDelete