O'Reilly logo

Learn ARCore - Fundamentals of Google ARCore by Micheal Lanham

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Exploring the code

Now, let's take a closer look at the main pieces of the app by digging into the source code. Follow the given steps to open the app's code in Android Studio:

  1. From the Project window, find and double-click on the HelloArActivity, as shown:
HelloArActivity shown in the Project window
  1. After the source is loaded, scroll through the code to the following section:
private void showLoadingMessage() { runOnUiThread(new Runnable() {  @Override  public void run() {   mLoadingMessageSnackbar = Snackbar.make(    HelloArActivity.this.findViewById(android.R.id.content),    "Searching for surfaces...",    Snackbar.LENGTH_INDEFINITE); mLoadingMessageSnackbar.getView().setBackgroundColor(0xbf323232); ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required