Android Studio / Android App

So I’ve had a quick play with Xcode and Swift on the Mac, and that got me thinking about Android. Android apps are built more on Java rather than C, and I’ve dabbled with Java in the past so lets see what I can do.

 

android_studio_1

I downloaded Android Studio 3 from https://developer.android.com/ and installed it on my Mac. I fired up an ran the studio with the default settings, creating a “test” application.

android_studio_2.png

android_studio_3.png

On my Mac (a basic MacBook from 2016) the app creation process took a few minutes.

android_studio_4.png

The default settings include a quick “Hello World” application and Android Studio (just like Xcode) allows you to test an app on a virtual / simulated device – in my case a virtual Pixel 2.

Screen Shot 2018-04-09 at 20.46.20.png

After a bit of investigation I knocked up a small app that displays geektechstuff.com:

geektechstuff.com_android.png

The app is made up of 3 libraries:

  • activity_main.xml
  • AndroidManifest.xml
  • MainActivity.java

The 2 .xml files are eXtensible Markup Language files, and the .java file is a Java file.

Screen Shot 2018-04-11 at 19.49.35Screen Shot 2018-04-11 at 19.49.24Screen Shot 2018-04-11 at 19.49.16

 

 

One thought on “Android Studio / Android App

Comments are closed.