Pages

Friday, September 6, 2013

Get start with Android apps development

Android is an open source operating system based on Linux kernel. It is found in millions of mobile devices such as Galaxy smart phones and tablets.
Android provides tools and libraries so that you can develop apps in mobile environment fast and easy. For example, Android SDK is a crucial tool that most Android developers use to write, debug, compile, and run the Android apps. Furthermore, this tool provides SDK download manager that allows you to download useful libraries, samples and more from the web. Android allows the developers to use a rich set of libraries such as libraries for creating apps interface, accessing files and databases, communicating with other devices and accessing the network resources, etc.
Android logo

The fundamental programming language used in Android apps development is Java. Therefore, programmers that have previous experience with Java programming language can learn apps development faster than people who are new to Java. If you are new to Java, you can check this tutorial to learn the basic things about Java. If you want to look for free Java programs source code, please check this java programs blog.

What will you need?

I am a Window user so i will talk about developing Android apps in Windows operating systems. Firstly you will have Java SE installed in your computer. You can visit its official website to download the file. If you already have the Java SE installed, skip this step and move to download Android SDK. To develop apps for Android in Window operating systems, you need to download the Android SDK from its official Android website. This website allows you to download Android SDK for 32-bit or 64-bit Window platform. The download package is a zip file that contains every things that you need to develop Android apps. Then  extract the all files and directories in the zip file to place in a directory that you like.

android tool placed in directory

In the directory that you placed the contents of the zip file, you will see three items as shown in the image above. The eclipse directory contains eclipse.exe file that you can double-click to open the eclipse program. You will create your Android projects with this program. The sdk directory contains samples, source code, and tools for Android development. The last item is a file called SDK manager.exe. It is used to open the Android SDK manager to download samples, source code, and tools for your projects.
In Windows, some people face a problem in launching the Android SDK manager. I faced too.
I spent more than an hour to solve this problem. If you have the same problem, the steps bellow can save your time:
1. Open the android.bat file in sdk directory

2. Look for this code:
rem Check we have a valid Java.exe in the path.
set java_exe=
call lib\find_java.bat
if not defined java_exe goto :EOF

3. Replace this code with the code below:
rem Check we have a valid Java.exe in the path.
set java_exe=C:\Windows\System32\java.exe
rem call lib\find_java.bat
if not defined java_exe goto :EOF

4 Look for this code:
rem Set SWT.Jar path based on current architecture (x86 or x86_64)
for /f %%a in ('%java_exe% -jar lib\archquery.jar') do set swt_path=lib\%%a

5. Replace this code with the code below:
rem Set SWT.Jar path based on current architecture (x86 or x86_64)
rem for /f %%a in ('%java_exe% -jar lib\archquery.jar') do set swt_path=lib\x86
set swt_path=lib\x86
If your Window is 64-bit, please change x86 to x86_64.

6. Finally, run the android.bat and SDK Manager again.

SDK Manager


Now every thing is fine. You can start developing apps for Android mobile devices.
If you have any problem, you are encouraged to leave comments. I will reply as soon as possible.

Thank you for reading this post.

Merge or Combine PDF, Txt, Images

32 comments:

  1. Thanks Teacher for create this blog.. I have some question Android is open source, how can i develop it with linux like: ubuntu, or other linux os..

    ReplyDelete
    Replies
    1. You will also need to install Eclipse and Android SDK tool to develop Android on Linux OS. There are some good tutorials on the web that can help you to start Android development on Linux.

      Delete
  2. This is an awesome distribute in regards to android working framework advancement! The individuals who need to see such will totally discover these preparation handy and gainful.
    Android App Developers // Window Phone App // Mobile Application Development

    ReplyDelete
  3. "I really appreciate your article. the post has excellent tips which are useful. this post is good in regards of both knowledge as well as information."!!
    ios app development services

    ReplyDelete
  4. What a great post! I enjoy reading each words of your article hotmail sign up

    ReplyDelete
  5. I like this blog because that gave me more information about Android Application Development. This helps me to develop Apps by myself.

    ReplyDelete
  6. What a great post! I enjoy reading each words of your article
    Android Stock Firmware

    ReplyDelete
  7. Best article! We will be linking to this great content on our website.
    Mi Home Apk

    ReplyDelete
  8. I like this blog because that gave me more information about
    Download Android USB Drivers

    ReplyDelete
  9. Good article! We will be linking to this great content on our website
    Driving Zone 2 Mod Apk

    ReplyDelete
  10. Thanks Teacher for create this blog.. I have some question Android is open source,
    Creative Destruction PC

    ReplyDelete
  11. great post! I enjoy reading each words of your article
    Run, sausage, run For PC

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

    ReplyDelete
  13. I have read so many content on the topic of the blogger lovers however this piece of writing is actually a nice paragraph, keep it up.
    Kids Toys

    ReplyDelete
  14. Last few years, most of the small business owners would like to share more information through android apps. For the main reasons, the usage of mobile app users is increasing rapidly. At the time, you have declared how to start an android app with the best features. Good effort.
    Mobile App Development Company in Madurai

    ReplyDelete
  15. Cloudi5 is the web design and android development company in coimbatore. Cloudi5 offer many services digital marketing, social media marketing, search engine marketing, website redesign, web design, landing page optimization, email marketing, etc,

    ReplyDelete
  16. Information about your Android can be helpful to every Android learners. All of your descriptions are aimed at meeting their need. Thank you so much for this post.
    Web Development Company in Madurai | Madurai Drop Taxi

    ReplyDelete
  17. Safe 24 Call Drivers In Madurai Madurai Acting Driver,Acting Driver Madurai 1027it https://123just.com/ad/66/safe-24-call-drivers-in-madurai

    ReplyDelete
  18. Your post is very interesting and informative. Golden Triangle Tour Package India is the best tour package to experience the historical and cultural things of India. This tour cover the three main cities of North India - Delhi, Agra and Jaipur. Thank you so much for sharing this really an amazing post.

    ReplyDelete