Facebook Lite Clone – Part 1: Project Setup, App Naming, and Package Structure (Java + XML)

Welcome to Part 1 of this exciting tutorial series where we build a complete Facebook Lite Clone App using Java and XML. Whether you're using AIDE on your phone or Android Studio on your PC, this series will guide you step-by-step to build a fully functional social media app.

πŸ’» Which IDE Should You Use?

If you're on a mobile phone:

If you're on a PC or laptop:

βœ… Both options are fully supported in this tutorial. The code and explanations work on both!

βš™οΈ Step 1: Project Setup

A. In Android Studio

  1. Open Android Studio and click "New Project".
  2. Select Empty Activity as your template.
  3. App Name: Facebook Lite Clone
  4. Package Name: com.codevertex.facebookliteclone
  5. Language: Java
  6. Minimum SDK: API 21 – Android 5.0 (Lollipop)

B. In AIDE

  1. Open AIDE and tap "Create New Project".
  2. Select "Android App (Java/XML)".
  3. App Name: Facebook Lite Clone
  4. Package Name: com.codevertex.facebookliteclone
  5. Template: Empty Activity

πŸ“ Understanding the Project Structure

When the project is created, you’ll see a few default files. Here’s what they do:

File Purpose
AndroidManifest.xml Defines app structure: package, permissions, and activities.
MainActivity.java Starting point for app logic written in Java.
activity_main.xml Controls the layout/design of the home screen.

πŸ”Ž What is a Package Name?

A package name is a unique identifier for your app. It’s also used to upload to the Play Store.

Example: com.codevertex.facebookliteclone

πŸ†š Java vs. Kotlin β€” Why Java?

We're using Java for this project because:

🎬 Visual Demo – Watch the Tutorial

πŸš€ What’s Next?

In Part 2, we’ll begin designing the user interface using activity_main.xml. We’ll add text views, buttons, and images to start shaping our Facebook Lite UI.

Make sure to subscribe to our YouTube channel @codeverix for updates!

πŸ’¬ Have Questions?

Leave a comment below or message me directly on YouTube. I'm here to help!

Keep coding, keep learning. βœ“βœ“βœ“βœ“βœ“