Skip to content

adityaraj178/Tap2Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

E-commerce Brand Launcher

An Android app that eliminates repetitive brand selection on e-commerce (Myntra) by providing a convenient interface with pre-selected favorite brands.

Features

  • Simple Inputs: Gender dropdown, Product category dropdown, Brand checkboxes
  • Pre-Selected Brands: All your favorite brands pre-checked and ready
  • Custom Brand Addition: Add any brand not in the default list
  • Quick Actions: Select All / Clear All buttons for fast brand management
  • Smart URL Building: Automatically constructs Myntra URLs with proper filters
  • Dual Launch Mode: Opens Myntra app if installed, otherwise opens in browser

Installation

Option 1: Build from Source

  1. Open this project in Android Studio
  2. Connect your Android device or start an emulator
  3. Click "Run" or use ./gradlew installDebug

Option 2: Install APK Directly

adb install app/build/outputs/apk/debug/app-debug.apk

Usage

  1. Select Gender: Choose from Men, Women, Boys, or Girls
  2. Select Category: Pick product type (T-shirts, Shirts, Shoes, Jeans, etc.)
  3. Select Brands: All 34 brands are pre-selected. Uncheck any you don't want
  4. Add Custom: Type any brand name and click "Add" to include it
  5. Search: Click "Search on Myntra" to launch with all filters applied

Customization

Modifying Default Brands

Edit app/src/main/java/com/myntra/brandlauncher/BrandConfig.java:

public static final List<String> FAVORITE_BRANDS = Arrays.asList(
    "ADIDAS", "YOUR_BRAND", "ANOTHER_BRAND"
);

Adding Product Categories

public static final List<Category> CATEGORIES = Arrays.asList(
    new Category("T-Shirts", "tshirts"),
    new Category("Your Category", "category-slug")
);

Finding Exact Brand Names

  1. Visit Myntra website
  2. Search for any product
  3. Check the brand filter section
  4. Use the exact spelling and case shown there

How It Works

The app constructs Myntra URLs in this format:

https://www.myntra.com/{category}?f=Brand:{brands}::Gender:{gender}

Launch Priority:

  1. Tries to open Myntra Android app (if installed)
  2. Falls back to default browser if app not available
  3. Shows error message if neither works

Requirements

  • Android 5.0 (API 21) or higher
  • Internet connection
  • Myntra app installed (recommended for best experience)

Technical Details

  • Language: Java 17
  • Min SDK: 21 (Android 5.0 Lollipop)
  • Target SDK: 33 (Android 13)
  • UI: Programmatically built with native Android widgets (Spinners, CheckBoxes, Buttons)
  • Dependencies: Material Components 1.9.0
  • Deep Linking: Uses Android Intents with package-specific and generic fallbacks

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages