How to Make an Android App for Beginners



Start building Android apps at Treehouse with a free 7-Day Trial:

Twitter:
Instagram:
LinkedIn:
Facebook:

Android development can be a great way to turn your idea into reality or start a promising career as an app developer… and getting started is probably easier than you think.

These days Android Development is done with a tool called Android Studio. Android Studio is kind of like the Microsoft Word of writing Android apps; it helps organize our projects and gives us a user friendly way to create what we’re looking for.

In this video we’ll walk through installing Android Studio and then make an app. Don’t worry if you don’t have any experience with Android or even programming in general; as long as you follow along we’ll all end up at the same place.

Learn from over 1,000 videos created by our expert teachers on web design, coding, business, and much more. Treehouse teaches the in-demand technology skills you need to land your dream job.

47 Replies to “How to Make an Android App for Beginners”

  1. Joshua Paige

    Java Code:

    import android.support.v7.app.AppCompatActivity;

    import android.os.Bundle;

    import android.view.View;

    import android.widget.Button;

    import android.widget.SeekBar;

    import android.widget.TextView;

    public class MainActivity extends AppCompatActivity {

    @Override

    protected void onCreate(Bundle savedInstanceState) {

    super.onCreate(savedInstanceState);

    setContentView(R.layout.activity_main);

    Button rollButton = findViewById(R.id.rollButton);

    final TextView resultsTextView = findViewById(R.id.resultsTextView);

    final SeekBar seekBar = findViewById(R.id.seekBar);

    rollButton.setOnClickListener(new View.OnClickListener() {

    @Override

    public void onClick(View view) {

    int ran = (int)(Math.random()*seekBar.getProgress()+.1);

    resultsTextView.setText(""+ran);

    }

    });

    }

    }

  2. Gonzalo Nieto

    Hello, this was very helpful. I have a question, I can´t zoom in and out while on "Design" tab on "activty_main.xml" . I´ve searched through forums and the solution to change UI design to Darcula and then restarting doesn´t work for me…its so annoying. Does anybody have a solution for this? Thanks.

  3. Bill Westlund

    The link you provided is for TeamTreeHouse which is not Android Studio, I assume you get paid for every time someone pays for this service, however if you tell people the link is provided to download the free software that google provides for Android Studio, then you should provide the proper link. You are scamming people and that is just wrong, I hope you sleep well at night knowing that you are taking advantage of people that are looking for a way to make a little extra money to feed their families and instead get roped into paying for yet another service they can't afford.

Leave a Reply

Your email address will not be published. Required fields are marked *