Categories: AndroidMobility

Tips to Quickly Get Started with Android Hello World!

The article is written for those curious ones (Java developers at all level) who want to quickly get started with Android programming. This is what I did and got started with few hiccups (in relation with starting ADB server) to get the hello world done.

  • Download right set of tool: Visited the android SDK download page where I got option to download appropriate libraries/tools based on whether I am using one of the existing supported IDE such as eclipse. Although, I am an experienced Java developer and use Eclipse, I rather went with downloading entire ADT bundle consisting of eclipse and SDK platform/tools.
  • Choosing System Type: While I downloading I needed to take care of System type (32-bit or 64-bit). Easiest way to find is to open windows explorer, and right click on “Computer” and check “System type” on the pop-up window. This is a very critical step as you may have to download the tool twice if you end up doing mistake.
  • Start ADB Server: Once downloaded, I opened a command prompt window and went to <root-directory>\adt-bundle-<version>\sdk\platform-tools. There, I started adb server by giving command adb start-server. ADB stands for Android Debug Bridge. If you do not do this, and start eclipse and run helloWorld android application, you may end up with error such as “The connection to adb is down, and a severe error has occured
  • Start Eclipse: Start Eclipse by going into <root-directory>\adt-bundle-<version>\eclipse and double-click on eclipse.
  • Hello World Application:  Create a new “Android Application” by choosing default options. For details, I read instructions from “creating an android project” page.
  • Run the HelloWorld App: Once done with android project creation, visited this page to follow the instructions to run the app on the emulator device and get to the following UI.

    android hello world

 

And, That’s it! Let me know if it worked for you.

Latest posts by Ajitesh Kumar (see all)
Ajitesh Kumar

I have been recently working in the area of Data analytics including Data Science and Machine Learning / Deep Learning. I am also passionate about different technologies including programming languages such as Java/JEE, Javascript, Python, R, Julia, etc, and technologies such as Blockchain, mobile computing, cloud-native technologies, application security, cloud computing platforms, big data, etc. I would love to connect with you on Linkedin. Check out my latest book titled as First Principles Thinking: Building winning products using first principles thinking.

View Comments

Share
Published by
Ajitesh Kumar
Tags: android

Recent Posts

What are AI Agents? How do they work?

Artificial Intelligence (AI) agents have started becoming an integral part of our lives. Imagine asking…

2 weeks ago

Agentic AI Design Patterns Examples

In the ever-evolving landscape of agentic AI workflows and applications, understanding and leveraging design patterns…

2 weeks ago

List of Agentic AI Resources, Papers, Courses

In this blog, I aim to provide a comprehensive list of valuable resources for learning…

2 weeks ago

Understanding FAR, FRR, and EER in Auth Systems

Have you ever wondered how systems determine whether to grant or deny access, and how…

3 weeks ago

Top 10 Gartner Technology Trends for 2025

What revolutionary technologies and industries will define the future of business in 2025? As we…

3 weeks ago

OpenAI GPT Models in 2024: What’s in it for Data Scientists

For data scientists and machine learning researchers, 2024 has been a landmark year in AI…

3 weeks ago