Skip to content

Commit

Permalink
Android selfie LP review
Browse files Browse the repository at this point in the history
  • Loading branch information
pareenaverma committed Dec 23, 2024
1 parent 453cdda commit 3686393
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Scaffold a new Android project
title: Create a new Android project
weight: 2

### FIXED, DO NOT MODIFY
Expand All @@ -26,12 +26,12 @@ Before you proceed to coding, here are some tips that might come handy:

## Create a new Android project

1. Navigate to **File > New > New Project...**.
1. Navigate to File > New > New Project....

2. Select **Empty Views Activity** in **Phone and Tablet** galary as shown below, then click **Next**.
2. Select Empty Views Activity in the Phone and Tablet gallery as shown below, then click Next.
![Empty Views Activity](images/2/empty%20project.png)

3. Proceed with a cool project name and default configurations as shown below. Make sure that **Language** is set to **Kotlin**, and that **Build configuration language** is set to **Kotlin DSL**.
3. Enter a project name and use the default configurations as shown below. Make sure that Language is set to Kotlin, and that Build configuration language is set to Kotlin DSL.
![Project configuration](images/2/project%20config.png)

### Introduce CameraX dependencies
Expand Down Expand Up @@ -194,4 +194,4 @@ private fun bindCameraUseCases() {
}
```

In the next chapter, we will build and run the app to make sure the camera works well.
In the next section, you will build and run the app to make sure the camera works well.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ However, silently failing without notifying the user is not a good practice for

{{% /notice %}}

## Completed sample code on GitHub
## Entire sample code on GitHub

If you run into any difficulties completing this learning path, you can check out the [complete sample code](https://github.com/hanyin-arm/sample-android-selfie-app-using-mediapipe-multimodality) and import it into Android Studio.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,9 @@
---
title: Build a Hands-Free Selfie Android application with MediaPipe

draft: true
cascade:
draft: true

minutes_to_complete: 120

who_is_this_for: This is an advanced topic for mobile application developers interested in learning how to build an Androi
d selfie app with MediaPipe, Kotlin flows and CameraX.
who_is_this_for: This is an advanced topic for mobile application developers interested in learning how to build an Android selfie application with MediaPipe, Kotlin flows and CameraX.

learning_objectives:
- Architect a modern Android app with a focus on the UI layer.
Expand All @@ -21,8 +16,7 @@ prerequisites:
- A development machine with [**Android Studio**](https://developer.android.com/studio) installed.
- A recent Arm powered Android phone (with **front camera**) and a USB data cable.
- Familiarity with Android development concepts.
- Basic knowledge of Kotlin programming language, such as [coroutines](https://kotlinlang.org/docs/coroutines-overview
.html) and [flows](https://kotlinlang.org/docs/flow.html).
- Basic knowledge of Kotlin programming language.

author_primary: Han Yin

Expand All @@ -46,7 +40,6 @@ operatingsystems:
# ================================================================================
weight: 1 # _index.md always has weight of 1 to order correctly
layout: "learningpathall" # All files under learning paths have this same wrapper
learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of lear
ning path content.
learning_path_main_page: "yes" # This should be surfaced when looking for related content. Only set for _index.md of learning path content.
---

0 comments on commit 3686393

Please sign in to comment.