Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/SaadAhmed1122/Kids_learnig_App/llms.txt

Use this file to discover all available pages before exploring further.

The Kids Learning App organises its game library into four distinct categories so children can quickly find the type of game they want to play. Each category has its own dedicated Activity (Racing, Action, Cards, Classic) that presents a grid of game tiles. Tapping any tile passes the game’s URL to GameLoader via the WEB_PASSING Intent extra, which opens the game inside a full-screen WebView.

How Categories Work

The Category Activity is reachable from the bottom navigation bar in GameMainAct. From there, players drill into a genre-specific screen. Every category Activity follows the same pattern:
1

User taps a category

GameMainAct’s bottom nav starts the Category Activity.
2

User selects a game tile

The category Activity (e.g., Racing.java) creates an Intent targeting GameLoader and attaches the game URL as the WEB_PASSING string extra.
3

GameLoader renders the game

GameLoader reads the URL from getIntent().getStringExtra("WEB_PASSING") and calls web.loadUrl(webAddress) inside a JavaScript-enabled WebView.
All category Activities share the same GameLoader destination. The only difference between tiles is the URL string passed as WEB_PASSING.

Racing

The Racing category (Racing.java) contains six high-speed games sourced from Famobi. Layout IDs r_item1r_item6 map to the following titles:
IDGame
r_item1Moto X3M
r_item2Highway Rider Extreme
r_item3Don’t Crash
r_item4Racing Cars
r_item5Truck Trials
r_item6Race Right

Action

The Action category (Action.java) serves six fast-paced games hosted on topgames.com. Layout IDs a_item1a_item6 map to:
IDGame
a_item1Jail Breaker
a_item2Shortcut Run
a_item3Epic Race 3D
a_item4Halloween Magic Tiles
a_item5Light It Up Online
a_item6Block City Wars

Cards

The Cards category (Cards.java) offers four classic card games from Famobi. Layout IDs crd_item1crd_item4 map to:
IDGame
crd_item1Duo Cards
crd_item2Gin Rummy Plus
crd_item3Crossover 21
crd_item4Solitaire Classic Easter

Classic

The Classic category (Classic.java) brings timeless favourites from Famobi and Google. Layout IDs c_item1c_item6 map to:
IDGame
c_item1Pac-Man
c_item2Bubble Woods
c_item3Cannon Balls 3D
c_item4Color Shape
c_item5Knife Rain
c_item63D Chess
Adding a new game to any category only requires adding a new tile view in the category layout XML and wiring its OnClickListener to start GameLoader with the desired URL — no backend changes needed.

Category Navigation Flow

GameMainAct (bottom nav)
    └── Category Activity
            ├── Racing.java    → GameLoader (WEB_PASSING = racing URL)
            ├── Action.java    → GameLoader (WEB_PASSING = action URL)
            ├── Cards.java     → GameLoader (WEB_PASSING = cards URL)
            └── Classic.java   → GameLoader (WEB_PASSING = classic URL)
The Category Activity itself is a navigation hub — the genre-specific Activities (Racing, Action, Cards, Classic) are launched from within it. Users reach it through the Category icon in GameMainAct’s bottom navigation bar.

Build docs developers (and LLMs) love