Skip to content
  • Wednesday, 28 October 2026
  • 3:34 pm
  • Follow Us
TrendingBuzzz
  • Business
  • Fashion
  • Finance
  • Health
  • News
  • Sports
  • Technology
  • Travel
  • Entertainment
  • Education
  • Marketing
TRENDING NEWS
# MASTER DEVELOPMENT PROMPT — YOUR TRAVEL AI ## 1. ROLE AND OBJECTIVE Act as a senior Android application developer, UI/UX designer, AI integration engineer, Google Maps integration specialist, and QA engineer. Build a complete, functional, production-quality travel planning application named **Your Travel AI**. The application must help users discover famous cities, explore real tourist attractions, check locations and distances through Google Maps, estimate travel expenses, and generate personalized AI-powered travel itineraries that can be downloaded as professional PDF documents. Do not build just a UI prototype, static demo, or collection of non-functional screens. Implement working navigation, persistent data where appropriate, API integrations, validation, loading states, error handling, and real PDF generation. If an existing project is supplied, inspect and preserve its architecture, working features, application ID, signing configuration, and existing project files unless a change is explicitly necessary. Do not create a duplicate project or overwrite working functionality without justification. ## 2. APPLICATION IDENTITY - App name: Your Travel AI - App category: Travel and local discovery - Primary audience: Travellers, families, couples, solo travellers, and budget-conscious users. - Primary language: English. - Architecture: Maintainable, modular, production-ready. - Platform: Android. - Preferred native implementation: Kotlin, Jetpack Compose, Material 3, and a suitable MVVM architecture if building a native Android project. - If the existing project uses another established framework, retain it unless there is a compelling technical reason to migrate. Design a premium, modern travel experience. Use beautiful destination photography, clear typography, balanced spacing, rounded cards, elegant icons, subtle transitions, and intuitive navigation. Avoid generic template designs, clutter, excessive gradients, and unnecessary animations. The app must be responsive to different Android screen sizes and accessible to users with different accessibility needs. ## 3. FIRST LAUNCH AND LOCATION PERMISSION On the first launch, show an attractive welcome screen introducing Your Travel AI. Display a clear explanation: "Discover amazing destinations, explore real attractions, estimate your travel costs, and create personalized itineraries with AI." Request foreground location permission only when it is needed to show nearby destinations or location-based recommendations. Provide two clear actions: - Allow Location Access - Explore Without Location Requirements: - Request Android runtime permission properly. - Explain why location is requested before triggering the permission dialog. - Respect the user's decision if permission is denied. - Do not repeatedly force the permission dialog. - Provide a manual location and city search alternative. - If permission is denied, the application must remain fully usable. - If location is unavailable, show a useful fallback instead of a blank screen. - Handle approximate and precise location permissions appropriately. - Do not collect or continuously track background location. - Do not send or store precise coordinates unnecessarily. After onboarding, navigate to the main dashboard. ## 4. MAIN DASHBOARD Create a premium travel discovery dashboard. The dashboard should contain: A. Header - Your Travel AI branding and logo. - A location indicator showing the selected city or approximate current location when permission is available. - A searchable destination field. - A profile or settings entry where appropriate. B. Featured destination - A large, attractive destination image. - Destination name and region. - A short, factual description. - A "Explore Destination" action. C. Popular cities Show a curated collection of famous destinations using real city data. For the initial India-focused experience, include destinations such as: - Jaipur - Agra - Goa - Varanasi - Udaipur - Mumbai - Delhi - Bengaluru - Kochi - Manali - Srinagar - Rishikesh Allow the destination catalogue to expand to international destinations. Each city card must show: - Correct city name. - State, region, and country. - A photograph genuinely associated with the destination. - A short description. - An action to open its details page. Do not hardcode fake ratings, invented visitor counts, fabricated prices, or unsupported popularity rankings. D. Nearby destinations When location permission is granted, offer relevant nearby attractions and destinations using actual location data. Explain when results are approximate or based on a selected city. E. AI Trip Planner Display a prominent and visually distinctive card with this text: "Your next adventure starts here." "Tell us where you want to go, your budget, and how many days you have. Your AI travel assistant will create a personalized trip plan." Button: "Plan My Trip with AI" This button must open the functional AI trip-planning workflow. F. Navigation Provide a simple bottom navigation system with appropriate sections: - Home - Explore - My Trips - Settings Use consistent icons, selected states, and proper navigation behavior. Do not include dead-end navigation items. ## 5. CITY DETAILS AND DESTINATION EXPLORATION When a user selects a city, open a dedicated destination details screen. For example, selecting Jaipur should open a page titled "Jaipur, Rajasthan, India". The page must contain: 1. A genuine destination hero photograph. 2. City name, region, and country. 3. A factual introduction to the city. 4. Popular tourist attractions. 5. Historic monuments and cultural sites. 6. Nature attractions, parks, viewpoints, or beaches when relevant. 7. Food and local experiences where relevant. 8. Practical travel information. 9. Google Maps links. 10. An option to create an AI itinerary for the selected city. Each attraction card must include: - Correct attraction name. - A photograph of that exact attraction. - A short factual description. - Full or sufficiently precise address. - Latitude and longitude when supplied by the verified data provider. - Official website where available. - Opening hours when verified. - Current admission price when reliable information is available. - A clear indication if price information is unavailable or needs verification. - "View on Google Maps" action. - "Get Directions" action. Every city and attraction must use real place data. Do not invent tourist attractions, addresses, coordinates, official websites, opening hours, entry prices, or location links. Use a proper places provider such as Google Places API for place discovery and place details. Respect the provider's licensing, attribution, photo-display, storage, and caching requirements. If a location cannot be verified, do not present it as a confirmed place. ## 6. IMAGE ACCURACY — CRITICAL REQUIREMENT Correct destination photography is mandatory. The application must not display a random travel photograph and label it as a specific city or monument. Implement a reliable image association strategy. Preferred strategy: - Use Google Places photo references associated with the correct Place ID, where permitted. - Alternatively, use a reliable destination image provider that supplies verifiable image metadata and appropriate usage rights. - Store or retrieve the relationship between a location record and its corresponding image reference. - Use a verified city image for city cards. - Use a verified attraction image for attraction cards. - Ensure that every image is associated with the correct location record. Examples: - Hawa Mahal cards must show Hawa Mahal. - Taj Mahal cards must show the Taj Mahal. - Amber Fort cards must show Amber Fort. - Goa beach cards must show the beach identified by the actual location record. Never substitute an unrelated landmark image. If the correct image is unavailable: - Display a neutral, attractive placeholder. - Do not use a misleading image. - Allow the rest of the destination information to load. Include loading placeholders, error handling, image caching where permitted, appropriate image resizing, and fallback behavior. Do not embed a large collection of random stock image URLs in the code. ## 7. GOOGLE MAPS INTEGRATION Integrate Google Maps links throughout the application. Every verified city and attraction must have a working map action. Use Google Maps URLs with properly encoded destination names or verified coordinates. Examples of supported URL formats: Place search: https://www.google.com/maps/search/?api=1&query=Hawa+Mahal+Jaipur Directions: https://www.google.com/maps/dir/?api=1&origin=Jaipur&destination=Amber+Fort+Jaipur&travelmode=driving Generate links dynamically from verified destination records. Do not reuse these example destinations for unrelated locations. Required functionality: - Open a city in Google Maps. - Open an exact attraction in Google Maps. - Get directions between two places. - Let users inspect distances and estimated journey times. - Support suitable travel modes, including driving, walking, cycling, or public transit when available. - Allow users to switch from the app to Google Maps for navigation. - Handle cases where Google Maps is not installed by opening the web URL. - Encode destination names and coordinates safely. - Preserve the selected destination when returning to the app. Important technical distinction: A Google Maps URL opens Maps but does not itself return route distance or travel time to the application. For in-app distance and duration calculations, integrate Google Maps Routes API or another suitable licensed routing service. If API access is unavailable, show a Maps directions link and do not fabricate a distance. ## 8. AI TRIP PLANNER — COMPLETE FUNCTIONAL WORKFLOW When the user taps "Plan My Trip with AI", open a guided conversation or structured questionnaire. Collect the following information: A. Destination Ask: "Where would you like to travel?" Allow: - A single city. - Multiple cities. - A state or region. - A country. - A destination selected from the Explore section. Allow the user to search for and select real destinations. B. Duration and dates Ask: "How many days do you have for your trip?" Allow the user to enter the number of days and optionally select travel dates. C. Budget Ask: "What is your approximate total travel budget?" Allow: - A user-defined amount. - Currency selection where relevant. - A per-person or total-group budget. - Optional separate accommodation and transportation budgets. D. Travellers Ask for the number of adults and children when relevant. E. Travel preferences Allow users to select: - Family vacation. - Romantic getaway. - Solo trip. - Adventure. - Nature and wildlife. - Historical and cultural exploration. - Religious or spiritual travel. - Beaches. - Food and local experiences. - Relaxation. - A balanced itinerary. F. Transport and accommodation Ask optional questions about: - Starting location. - Preferred transport. - Accommodation category. - Whether the budget includes flights or long-distance transport. - Whether the user already has accommodation. Do not force users to answer every optional question. Validate essential inputs and display clear validation messages. If the user has selected a city before opening AI Trip Planner, automatically prefill that destination. If the user changes their destination or budget, allow them to edit the inputs before regenerating the plan. ## 9. AI ITINERARY GENERATION Generate an itinerary based on the user's actual selections. The AI must create a practical travel schedule rather than a generic list of attractions. The output should contain: A. Trip overview - Destination or destinations. - Trip duration. - Travel dates, if supplied. - Number of travellers. - Budget and currency. - Travel style. - Starting location, if supplied. B. Day-by-day itinerary For every day, include: - Day number and date when applicable. - Morning, afternoon, and evening activities. - Correct attraction names. - A short explanation of why each place is worth visiting. - Suggested arrival times and visit durations. - Actual addresses. - Matching verified images. - Google Maps links. - Route information to the next destination when available. - Estimated admission fees. - Meal suggestions and estimates. - Transport cost estimates. - A daily expense subtotal. C. Practical information - Opening hours and closure days when verified. - Reservation requirements where known. - Travel-time considerations. - Local transport options. - Weather or seasonal notes only when reliable current or date-relevant information is available. - Warnings when data needs verification. D. Budget summary Include a transparent breakdown of: - Attraction tickets. - Local transport. - Intercity transport. - Accommodation. - Food. - Other estimated expenses. - Optional contingency allowance. - Total estimated trip cost. - Estimated cost per person. Clearly distinguish: 1. Verified current prices. 2. Provider-supplied estimates. 3. AI-generated planning estimates. Do not label an estimate as an exact price. Never invent live ticket availability, hotel availability, current travel fares, opening hours, or official fees. If a reliable price cannot be obtained, label it "Price unavailable" or provide a clearly identified estimate with its basis. Make all assumptions explicit. The total budget should be checked against the user's budget. If the itinerary exceeds the budget, propose a more affordable alternative rather than silently ignoring the budget. ## 10. ITINERARY VALIDATION Before presenting the generated itinerary, validate it against the available structured location data. Requirements: - Confirm that each selected attraction exists in the destination database or verified places response. - Use correct location identifiers and coordinates. - Check whether the proposed order is geographically reasonable. - Use routing data for actual route distances and durations when available. - Avoid scheduling geographically distant attractions too closely together. - Account for attraction opening hours when verified. - Avoid duplicate attractions unless intentional. - Include realistic breaks and meal periods. - Avoid scheduling an attraction on a known closure day when reliable data is available. - Avoid inventing exact distances, journey durations, or fees. - Clearly indicate incomplete information. If a selected location cannot be verified, ask the user to select a verified alternative or explain that it could not be confirmed. AI must not independently manufacture Place IDs, photo references, map coordinates, or routing results. ## 11. PROFESSIONAL PDF EXPORT After generating the itinerary, display a prominent button: "Download Travel Plan PDF" Implement actual PDF generation. Do not substitute a screenshot, a plain-text file, or a button that does nothing. The PDF must include: 1. Professional cover page. 2. Your Travel AI branding. 3. Trip title and destination. 4. Travel dates and duration when provided. 5. Number of travellers. 6. Budget overview. 7. Daily itinerary. 8. Attraction descriptions. 9. Correct destination photographs when permitted for reuse. 10. Attraction addresses. 11. Clickable Google Maps links. 12. Route distances and journey durations when verified. 13. Daily expense breakdown. 14. Total estimated trip budget. 15. Important travel notes and verification warnings. 16. PDF generation date. PDF requirements: - A4 page size. - Readable typography. - Consistent headings and spacing. - Proper image scaling and aspect ratios. - No clipped text or overlapping elements. - Clickable URLs where supported. - Page numbers where appropriate. - Graceful handling of missing images. - Correct currency formatting. - Support for long itineraries spanning multiple pages. Provide actions for: - Download PDF. - Share PDF through Android's supported sharing mechanism. - Return to the itinerary. - Edit or regenerate the itinerary. Save the generated PDF to an appropriate user-accessible location using modern Android storage APIs and permissions. Do not request unnecessary storage permissions. Use a proper PDF generation library or native PDF facilities compatible with the selected architecture. ## 12. MY TRIPS Implement a My Trips screen. Users should be able to: - View previously generated itineraries. - Open a saved trip. - View trip details. - Regenerate a PDF if necessary. - Edit trip preferences. - Delete a saved trip after confirmation. Persist saved itinerary information appropriately so it survives normal application restarts. Use local persistence for saved trips where suitable. If a backend or account system is required, explain and implement the necessary architecture instead of pretending a server exists. Do not require users to sign in merely to browse destinations unless a genuine technical or business requirement exists. If accounts are implemented, provide proper authentication, secure storage, privacy controls, and deletion handling. ## 13. SETTINGS AND PRIVACY Provide a Settings screen containing relevant options: - Location permission status. - Manual location selection. - Preferred currency. - Theme selection, including system, light, and dark modes. - Units where relevant. - Privacy policy. - Terms of service. - App version. - Data deletion controls for stored user data. Follow Android permission and privacy requirements. Do not collect contacts, SMS, call logs, financial account credentials, or unrelated personal information. Do not claim that the app provides live prices or current availability unless the necessary real data source is connected. ## 14. TECHNICAL ARCHITECTURE AND API INTEGRATIONS Inspect the existing project and choose an architecture appropriate to it. For a native Kotlin Android implementation, use a maintainable structure such as: - UI: Jetpack Compose and Material 3. - Architecture: MVVM with clearly separated responsibilities. - Networking: Retrofit or a suitable supported HTTP client. - Asynchronous operations: Kotlin coroutines and Flow. - Local persistence: Room or DataStore as appropriate. - Image loading: a suitable image-loading library. - Navigation: a supported Android navigation solution. - PDF export: Android PDF facilities or a reliable PDF library. - AI: a supported Gemini model/API integration. - Places: Google Places API. - Routes: Google Maps Routes API or a suitable alternative. - Location: Android location APIs with foreground permission. - Configuration: secure environment-specific configuration. Do not add unnecessary dependencies. Use actual API integrations wherever the functionality requires external data. A. AI integration Use a supported Gemini API integration to generate structured itinerary proposals. Requirements: - Prefer structured JSON output validated against an application-defined schema. - Validate all AI-generated fields before rendering. - Separate AI planning from verified location and pricing retrieval. - Use a backend proxy for production API calls when appropriate to protect credentials and enforce quotas. - Do not embed privileged server secrets in the Android application. - Handle quota exhaustion, network failures, malformed responses, timeouts, and service errors. - Do not assume an API key works simply because it is present in the project. - Verify model availability and billing configuration before deployment. B. Google APIs Use Google Places for verified place discovery and place details. Use Routes API for in-app route distances and durations when required. Use Maps URLs for opening Google Maps externally. Restrict API keys appropriately. Separate client-restricted keys from server-side credentials. Never place unrestricted privileged credentials in source code or a public repository. Do not hardcode secrets into Gradle files committed to version control. C. Real data versus demo data If API credentials have not been supplied: - Build the application architecture and setup instructions. - Implement clear configuration placeholders. - Include useful sample data only where necessary for development. - Label all sample or mock data clearly in development mode. - Do not claim that live integrations are working. - Do not silently replace failed live requests with fabricated real-world results. ## 15. LOADING, EMPTY AND ERROR STATES Implement complete handling for: - Slow internet. - No internet connection. - GPS disabled. - Permission denied. - Location service failures. - Empty destination search. - No nearby results. - Missing attraction photographs. - Missing price information. - API errors. - AI generation failures. - Invalid AI responses. - PDF generation failures. - Insufficient storage. - Missing or invalid API configuration. Show useful messages and recovery actions. Never leave a blank screen or an infinite loading indicator. Do not discard user-entered trip information after a temporary error. ## 16. SECURITY AND PRIVACY - Never expose privileged API credentials. - Validate all external API responses. - Validate generated itineraries before displaying or exporting them. - Do not trust AI-generated URLs or identifiers without verification. - Avoid logging sensitive user information. - Use HTTPS for external network requests. - Store only information necessary for the requested functionality. - Follow applicable Google API policies and photo attribution requirements. - Provide a privacy policy that accurately reflects the actual implementation. - Request permissions only when needed. - Do not claim security, privacy, or compliance features that have not been implemented. ## 17. UI/UX ACCEPTANCE CRITERIA The final app must have: - A premium welcome screen. - Functional location permission handling. - A polished destination discovery dashboard. - Searchable popular cities. - City details with accurate destination images. - Verified attraction records. - Google Maps links for cities and attractions. - Route and distance integration where configured. - A complete AI trip questionnaire. - Personalized itinerary generation. - Realistic, transparently estimated budgets. - Day-by-day schedules. - Functional PDF generation and download. - A My Trips section. - Settings and privacy information. - Working navigation. - Persistent saved trips. - Complete loading and error states. - No placeholder buttons in the production build. Every button, card, navigation item, and interactive control must perform its stated function. ## 18. BUILD, TESTING AND QUALITY ASSURANCE Before declaring the project complete: 1. Inspect the complete project structure. 2. Resolve dependency and Gradle configuration issues. 3. Verify AndroidManifest.xml permissions and configuration. 4. Verify API configuration and failure handling. 5. Build the application using the correct project toolchain. 6. Resolve compilation errors. 7. Fix relevant warnings and runtime issues. 8. Test onboarding and location denial. 9. Test manual city search. 10. Test city and attraction navigation. 11. Test Maps URL construction and opening. 12. Test route calculations when API credentials are available. 13. Test AI generation with valid and invalid responses. 14. Test budget calculations. 15. Test missing or unavailable pricing. 16. Test PDF creation, opening, sharing, and downloading. 17. Test saved trips across application restarts. 18. Test offline and API failure states. 19. Check small and large screen layouts. 20. Check that no unrelated images are attached to destinations. 21. Check that no fake live data is presented as verified information. Add unit tests for critical business logic, including budget calculations, input validation, itinerary validation, and PDF-related data preparation. Add UI or integration tests for the most important user journeys where practical. Do not report a successful build or test unless it was actually executed and verified. ## 19. GOOGLE PLAY RELEASE READINESS Prepare the project for a future Google Play release. Verify: - Correct application ID. - Valid versionCode and versionName. - Appropriate target SDK. - Correct application permissions. - Release build configuration. - App signing readiness. - No exposed secrets. - No development-only mock data in the production experience. - Accurate privacy disclosures. - Appropriate attribution for third-party data and images. - No broken primary user journeys. - No unresolved compilation errors. Do not change an existing package name or signing identity without explicit authorization. If release signing credentials, API keys, or required privacy information are missing, identify the missing requirements rather than inventing them. ## 20. FINAL DELIVERABLES Deliver the following: 1. Complete working application source code. 2. All required project and Gradle configuration files. 3. Functional dashboard and destination browsing. 4. Functional AI trip-planning workflow. 5. Google Maps and routing integrations. 6. Verified place and image association logic. 7. Transparent travel budget calculations. 8. Working PDF generation and download. 9. Persistent My Trips functionality. 10. Error handling and validation. 11. Tests for critical functionality. 12. Setup instructions for all external APIs. 13. A list of credentials and configuration values the developer must supply. 14. A list of features tested successfully and features still requiring external setup. 15. A release-readiness checklist. 16. A working Android build artifact if the environment supports building it. Prioritize a functional, verifiable, maintainable implementation over decorative features. Do not stop after generating a plan, wireframe, or sample screen. Continue implementing, building, testing, and fixing the project to the extent supported by the available environment. If a required service cannot be accessed, implement its integration boundary and report the exact configuration or external setup needed. Never fabricate successful integrations, real prices, locations, images, distances, or test results. The final result must be a reliable travel companion called **Your Travel AI**, helping users discover places, plan realistic trips, understand estimated costs, navigate through Google Maps, and download professional travel itineraries.
Top 10 ABDM Integration Platforms in India
IPL 2027 Auction Date, Start Date and Players List
IPL 2027 Auction Date, Start Date and Players List
Upcoming Electric SUVs Under ₹15 Lakh in India
Upcoming Electric SUVs Under ₹15 Lakh in India
AI Workflow Automation: 10 Business Processes You Can Automate
AI Workflow Automation: 10 Business Processes You Can Automate
Akka Netflix Series: Trailer, Cast, Story and Release Date
Akka Netflix Series: Trailer, Cast, Story and Release Date
# MASTER DEVELOPMENT PROMPT — YOUR TRAVEL AI ## 1. ROLE AND OBJECTIVE Act as a senior Android application developer, UI/UX designer, AI integration engineer, Google Maps integration specialist, and QA engineer. Build a complete, functional, production-quality travel planning application named **Your Travel AI**. The application must help users discover famous cities, explore real tourist attractions, check locations and distances through Google Maps, estimate travel expenses, and generate personalized AI-powered travel itineraries that can be downloaded as professional PDF documents. Do not build just a UI prototype, static demo, or collection of non-functional screens. Implement working navigation, persistent data where appropriate, API integrations, validation, loading states, error handling, and real PDF generation. If an existing project is supplied, inspect and preserve its architecture, working features, application ID, signing configuration, and existing project files unless a change is explicitly necessary. Do not create a duplicate project or overwrite working functionality without justification. ## 2. APPLICATION IDENTITY - App name: Your Travel AI - App category: Travel and local discovery - Primary audience: Travellers, families, couples, solo travellers, and budget-conscious users. - Primary language: English. - Architecture: Maintainable, modular, production-ready. - Platform: Android. - Preferred native implementation: Kotlin, Jetpack Compose, Material 3, and a suitable MVVM architecture if building a native Android project. - If the existing project uses another established framework, retain it unless there is a compelling technical reason to migrate. Design a premium, modern travel experience. Use beautiful destination photography, clear typography, balanced spacing, rounded cards, elegant icons, subtle transitions, and intuitive navigation. Avoid generic template designs, clutter, excessive gradients, and unnecessary animations. The app must be responsive to different Android screen sizes and accessible to users with different accessibility needs. ## 3. FIRST LAUNCH AND LOCATION PERMISSION On the first launch, show an attractive welcome screen introducing Your Travel AI. Display a clear explanation: "Discover amazing destinations, explore real attractions, estimate your travel costs, and create personalized itineraries with AI." Request foreground location permission only when it is needed to show nearby destinations or location-based recommendations. Provide two clear actions: - Allow Location Access - Explore Without Location Requirements: - Request Android runtime permission properly. - Explain why location is requested before triggering the permission dialog. - Respect the user's decision if permission is denied. - Do not repeatedly force the permission dialog. - Provide a manual location and city search alternative. - If permission is denied, the application must remain fully usable. - If location is unavailable, show a useful fallback instead of a blank screen. - Handle approximate and precise location permissions appropriately. - Do not collect or continuously track background location. - Do not send or store precise coordinates unnecessarily. After onboarding, navigate to the main dashboard. ## 4. MAIN DASHBOARD Create a premium travel discovery dashboard. The dashboard should contain: A. Header - Your Travel AI branding and logo. - A location indicator showing the selected city or approximate current location when permission is available. - A searchable destination field. - A profile or settings entry where appropriate. B. Featured destination - A large, attractive destination image. - Destination name and region. - A short, factual description. - A "Explore Destination" action. C. Popular cities Show a curated collection of famous destinations using real city data. For the initial India-focused experience, include destinations such as: - Jaipur - Agra - Goa - Varanasi - Udaipur - Mumbai - Delhi - Bengaluru - Kochi - Manali - Srinagar - Rishikesh Allow the destination catalogue to expand to international destinations. Each city card must show: - Correct city name. - State, region, and country. - A photograph genuinely associated with the destination. - A short description. - An action to open its details page. Do not hardcode fake ratings, invented visitor counts, fabricated prices, or unsupported popularity rankings. D. Nearby destinations When location permission is granted, offer relevant nearby attractions and destinations using actual location data. Explain when results are approximate or based on a selected city. E. AI Trip Planner Display a prominent and visually distinctive card with this text: "Your next adventure starts here." "Tell us where you want to go, your budget, and how many days you have. Your AI travel assistant will create a personalized trip plan." Button: "Plan My Trip with AI" This button must open the functional AI trip-planning workflow. F. Navigation Provide a simple bottom navigation system with appropriate sections: - Home - Explore - My Trips - Settings Use consistent icons, selected states, and proper navigation behavior. Do not include dead-end navigation items. ## 5. CITY DETAILS AND DESTINATION EXPLORATION When a user selects a city, open a dedicated destination details screen. For example, selecting Jaipur should open a page titled "Jaipur, Rajasthan, India". The page must contain: 1. A genuine destination hero photograph. 2. City name, region, and country. 3. A factual introduction to the city. 4. Popular tourist attractions. 5. Historic monuments and cultural sites. 6. Nature attractions, parks, viewpoints, or beaches when relevant. 7. Food and local experiences where relevant. 8. Practical travel information. 9. Google Maps links. 10. An option to create an AI itinerary for the selected city. Each attraction card must include: - Correct attraction name. - A photograph of that exact attraction. - A short factual description. - Full or sufficiently precise address. - Latitude and longitude when supplied by the verified data provider. - Official website where available. - Opening hours when verified. - Current admission price when reliable information is available. - A clear indication if price information is unavailable or needs verification. - "View on Google Maps" action. - "Get Directions" action. Every city and attraction must use real place data. Do not invent tourist attractions, addresses, coordinates, official websites, opening hours, entry prices, or location links. Use a proper places provider such as Google Places API for place discovery and place details. Respect the provider's licensing, attribution, photo-display, storage, and caching requirements. If a location cannot be verified, do not present it as a confirmed place. ## 6. IMAGE ACCURACY — CRITICAL REQUIREMENT Correct destination photography is mandatory. The application must not display a random travel photograph and label it as a specific city or monument. Implement a reliable image association strategy. Preferred strategy: - Use Google Places photo references associated with the correct Place ID, where permitted. - Alternatively, use a reliable destination image provider that supplies verifiable image metadata and appropriate usage rights. - Store or retrieve the relationship between a location record and its corresponding image reference. - Use a verified city image for city cards. - Use a verified attraction image for attraction cards. - Ensure that every image is associated with the correct location record. Examples: - Hawa Mahal cards must show Hawa Mahal. - Taj Mahal cards must show the Taj Mahal. - Amber Fort cards must show Amber Fort. - Goa beach cards must show the beach identified by the actual location record. Never substitute an unrelated landmark image. If the correct image is unavailable: - Display a neutral, attractive placeholder. - Do not use a misleading image. - Allow the rest of the destination information to load. Include loading placeholders, error handling, image caching where permitted, appropriate image resizing, and fallback behavior. Do not embed a large collection of random stock image URLs in the code. ## 7. GOOGLE MAPS INTEGRATION Integrate Google Maps links throughout the application. Every verified city and attraction must have a working map action. Use Google Maps URLs with properly encoded destination names or verified coordinates. Examples of supported URL formats: Place search: https://www.google.com/maps/search/?api=1&query=Hawa+Mahal+Jaipur Directions: https://www.google.com/maps/dir/?api=1&origin=Jaipur&destination=Amber+Fort+Jaipur&travelmode=driving Generate links dynamically from verified destination records. Do not reuse these example destinations for unrelated locations. Required functionality: - Open a city in Google Maps. - Open an exact attraction in Google Maps. - Get directions between two places. - Let users inspect distances and estimated journey times. - Support suitable travel modes, including driving, walking, cycling, or public transit when available. - Allow users to switch from the app to Google Maps for navigation. - Handle cases where Google Maps is not installed by opening the web URL. - Encode destination names and coordinates safely. - Preserve the selected destination when returning to the app. Important technical distinction: A Google Maps URL opens Maps but does not itself return route distance or travel time to the application. For in-app distance and duration calculations, integrate Google Maps Routes API or another suitable licensed routing service. If API access is unavailable, show a Maps directions link and do not fabricate a distance. ## 8. AI TRIP PLANNER — COMPLETE FUNCTIONAL WORKFLOW When the user taps "Plan My Trip with AI", open a guided conversation or structured questionnaire. Collect the following information: A. Destination Ask: "Where would you like to travel?" Allow: - A single city. - Multiple cities. - A state or region. - A country. - A destination selected from the Explore section. Allow the user to search for and select real destinations. B. Duration and dates Ask: "How many days do you have for your trip?" Allow the user to enter the number of days and optionally select travel dates. C. Budget Ask: "What is your approximate total travel budget?" Allow: - A user-defined amount. - Currency selection where relevant. - A per-person or total-group budget. - Optional separate accommodation and transportation budgets. D. Travellers Ask for the number of adults and children when relevant. E. Travel preferences Allow users to select: - Family vacation. - Romantic getaway. - Solo trip. - Adventure. - Nature and wildlife. - Historical and cultural exploration. - Religious or spiritual travel. - Beaches. - Food and local experiences. - Relaxation. - A balanced itinerary. F. Transport and accommodation Ask optional questions about: - Starting location. - Preferred transport. - Accommodation category. - Whether the budget includes flights or long-distance transport. - Whether the user already has accommodation. Do not force users to answer every optional question. Validate essential inputs and display clear validation messages. If the user has selected a city before opening AI Trip Planner, automatically prefill that destination. If the user changes their destination or budget, allow them to edit the inputs before regenerating the plan. ## 9. AI ITINERARY GENERATION Generate an itinerary based on the user's actual selections. The AI must create a practical travel schedule rather than a generic list of attractions. The output should contain: A. Trip overview - Destination or destinations. - Trip duration. - Travel dates, if supplied. - Number of travellers. - Budget and currency. - Travel style. - Starting location, if supplied. B. Day-by-day itinerary For every day, include: - Day number and date when applicable. - Morning, afternoon, and evening activities. - Correct attraction names. - A short explanation of why each place is worth visiting. - Suggested arrival times and visit durations. - Actual addresses. - Matching verified images. - Google Maps links. - Route information to the next destination when available. - Estimated admission fees. - Meal suggestions and estimates. - Transport cost estimates. - A daily expense subtotal. C. Practical information - Opening hours and closure days when verified. - Reservation requirements where known. - Travel-time considerations. - Local transport options. - Weather or seasonal notes only when reliable current or date-relevant information is available. - Warnings when data needs verification. D. Budget summary Include a transparent breakdown of: - Attraction tickets. - Local transport. - Intercity transport. - Accommodation. - Food. - Other estimated expenses. - Optional contingency allowance. - Total estimated trip cost. - Estimated cost per person. Clearly distinguish: 1. Verified current prices. 2. Provider-supplied estimates. 3. AI-generated planning estimates. Do not label an estimate as an exact price. Never invent live ticket availability, hotel availability, current travel fares, opening hours, or official fees. If a reliable price cannot be obtained, label it "Price unavailable" or provide a clearly identified estimate with its basis. Make all assumptions explicit. The total budget should be checked against the user's budget. If the itinerary exceeds the budget, propose a more affordable alternative rather than silently ignoring the budget. ## 10. ITINERARY VALIDATION Before presenting the generated itinerary, validate it against the available structured location data. Requirements: - Confirm that each selected attraction exists in the destination database or verified places response. - Use correct location identifiers and coordinates. - Check whether the proposed order is geographically reasonable. - Use routing data for actual route distances and durations when available. - Avoid scheduling geographically distant attractions too closely together. - Account for attraction opening hours when verified. - Avoid duplicate attractions unless intentional. - Include realistic breaks and meal periods. - Avoid scheduling an attraction on a known closure day when reliable data is available. - Avoid inventing exact distances, journey durations, or fees. - Clearly indicate incomplete information. If a selected location cannot be verified, ask the user to select a verified alternative or explain that it could not be confirmed. AI must not independently manufacture Place IDs, photo references, map coordinates, or routing results. ## 11. PROFESSIONAL PDF EXPORT After generating the itinerary, display a prominent button: "Download Travel Plan PDF" Implement actual PDF generation. Do not substitute a screenshot, a plain-text file, or a button that does nothing. The PDF must include: 1. Professional cover page. 2. Your Travel AI branding. 3. Trip title and destination. 4. Travel dates and duration when provided. 5. Number of travellers. 6. Budget overview. 7. Daily itinerary. 8. Attraction descriptions. 9. Correct destination photographs when permitted for reuse. 10. Attraction addresses. 11. Clickable Google Maps links. 12. Route distances and journey durations when verified. 13. Daily expense breakdown. 14. Total estimated trip budget. 15. Important travel notes and verification warnings. 16. PDF generation date. PDF requirements: - A4 page size. - Readable typography. - Consistent headings and spacing. - Proper image scaling and aspect ratios. - No clipped text or overlapping elements. - Clickable URLs where supported. - Page numbers where appropriate. - Graceful handling of missing images. - Correct currency formatting. - Support for long itineraries spanning multiple pages. Provide actions for: - Download PDF. - Share PDF through Android's supported sharing mechanism. - Return to the itinerary. - Edit or regenerate the itinerary. Save the generated PDF to an appropriate user-accessible location using modern Android storage APIs and permissions. Do not request unnecessary storage permissions. Use a proper PDF generation library or native PDF facilities compatible with the selected architecture. ## 12. MY TRIPS Implement a My Trips screen. Users should be able to: - View previously generated itineraries. - Open a saved trip. - View trip details. - Regenerate a PDF if necessary. - Edit trip preferences. - Delete a saved trip after confirmation. Persist saved itinerary information appropriately so it survives normal application restarts. Use local persistence for saved trips where suitable. If a backend or account system is required, explain and implement the necessary architecture instead of pretending a server exists. Do not require users to sign in merely to browse destinations unless a genuine technical or business requirement exists. If accounts are implemented, provide proper authentication, secure storage, privacy controls, and deletion handling. ## 13. SETTINGS AND PRIVACY Provide a Settings screen containing relevant options: - Location permission status. - Manual location selection. - Preferred currency. - Theme selection, including system, light, and dark modes. - Units where relevant. - Privacy policy. - Terms of service. - App version. - Data deletion controls for stored user data. Follow Android permission and privacy requirements. Do not collect contacts, SMS, call logs, financial account credentials, or unrelated personal information. Do not claim that the app provides live prices or current availability unless the necessary real data source is connected. ## 14. TECHNICAL ARCHITECTURE AND API INTEGRATIONS Inspect the existing project and choose an architecture appropriate to it. For a native Kotlin Android implementation, use a maintainable structure such as: - UI: Jetpack Compose and Material 3. - Architecture: MVVM with clearly separated responsibilities. - Networking: Retrofit or a suitable supported HTTP client. - Asynchronous operations: Kotlin coroutines and Flow. - Local persistence: Room or DataStore as appropriate. - Image loading: a suitable image-loading library. - Navigation: a supported Android navigation solution. - PDF export: Android PDF facilities or a reliable PDF library. - AI: a supported Gemini model/API integration. - Places: Google Places API. - Routes: Google Maps Routes API or a suitable alternative. - Location: Android location APIs with foreground permission. - Configuration: secure environment-specific configuration. Do not add unnecessary dependencies. Use actual API integrations wherever the functionality requires external data. A. AI integration Use a supported Gemini API integration to generate structured itinerary proposals. Requirements: - Prefer structured JSON output validated against an application-defined schema. - Validate all AI-generated fields before rendering. - Separate AI planning from verified location and pricing retrieval. - Use a backend proxy for production API calls when appropriate to protect credentials and enforce quotas. - Do not embed privileged server secrets in the Android application. - Handle quota exhaustion, network failures, malformed responses, timeouts, and service errors. - Do not assume an API key works simply because it is present in the project. - Verify model availability and billing configuration before deployment. B. Google APIs Use Google Places for verified place discovery and place details. Use Routes API for in-app route distances and durations when required. Use Maps URLs for opening Google Maps externally. Restrict API keys appropriately. Separate client-restricted keys from server-side credentials. Never place unrestricted privileged credentials in source code or a public repository. Do not hardcode secrets into Gradle files committed to version control. C. Real data versus demo data If API credentials have not been supplied: - Build the application architecture and setup instructions. - Implement clear configuration placeholders. - Include useful sample data only where necessary for development. - Label all sample or mock data clearly in development mode. - Do not claim that live integrations are working. - Do not silently replace failed live requests with fabricated real-world results. ## 15. LOADING, EMPTY AND ERROR STATES Implement complete handling for: - Slow internet. - No internet connection. - GPS disabled. - Permission denied. - Location service failures. - Empty destination search. - No nearby results. - Missing attraction photographs. - Missing price information. - API errors. - AI generation failures. - Invalid AI responses. - PDF generation failures. - Insufficient storage. - Missing or invalid API configuration. Show useful messages and recovery actions. Never leave a blank screen or an infinite loading indicator. Do not discard user-entered trip information after a temporary error. ## 16. SECURITY AND PRIVACY - Never expose privileged API credentials. - Validate all external API responses. - Validate generated itineraries before displaying or exporting them. - Do not trust AI-generated URLs or identifiers without verification. - Avoid logging sensitive user information. - Use HTTPS for external network requests. - Store only information necessary for the requested functionality. - Follow applicable Google API policies and photo attribution requirements. - Provide a privacy policy that accurately reflects the actual implementation. - Request permissions only when needed. - Do not claim security, privacy, or compliance features that have not been implemented. ## 17. UI/UX ACCEPTANCE CRITERIA The final app must have: - A premium welcome screen. - Functional location permission handling. - A polished destination discovery dashboard. - Searchable popular cities. - City details with accurate destination images. - Verified attraction records. - Google Maps links for cities and attractions. - Route and distance integration where configured. - A complete AI trip questionnaire. - Personalized itinerary generation. - Realistic, transparently estimated budgets. - Day-by-day schedules. - Functional PDF generation and download. - A My Trips section. - Settings and privacy information. - Working navigation. - Persistent saved trips. - Complete loading and error states. - No placeholder buttons in the production build. Every button, card, navigation item, and interactive control must perform its stated function. ## 18. BUILD, TESTING AND QUALITY ASSURANCE Before declaring the project complete: 1. Inspect the complete project structure. 2. Resolve dependency and Gradle configuration issues. 3. Verify AndroidManifest.xml permissions and configuration. 4. Verify API configuration and failure handling. 5. Build the application using the correct project toolchain. 6. Resolve compilation errors. 7. Fix relevant warnings and runtime issues. 8. Test onboarding and location denial. 9. Test manual city search. 10. Test city and attraction navigation. 11. Test Maps URL construction and opening. 12. Test route calculations when API credentials are available. 13. Test AI generation with valid and invalid responses. 14. Test budget calculations. 15. Test missing or unavailable pricing. 16. Test PDF creation, opening, sharing, and downloading. 17. Test saved trips across application restarts. 18. Test offline and API failure states. 19. Check small and large screen layouts. 20. Check that no unrelated images are attached to destinations. 21. Check that no fake live data is presented as verified information. Add unit tests for critical business logic, including budget calculations, input validation, itinerary validation, and PDF-related data preparation. Add UI or integration tests for the most important user journeys where practical. Do not report a successful build or test unless it was actually executed and verified. ## 19. GOOGLE PLAY RELEASE READINESS Prepare the project for a future Google Play release. Verify: - Correct application ID. - Valid versionCode and versionName. - Appropriate target SDK. - Correct application permissions. - Release build configuration. - App signing readiness. - No exposed secrets. - No development-only mock data in the production experience. - Accurate privacy disclosures. - Appropriate attribution for third-party data and images. - No broken primary user journeys. - No unresolved compilation errors. Do not change an existing package name or signing identity without explicit authorization. If release signing credentials, API keys, or required privacy information are missing, identify the missing requirements rather than inventing them. ## 20. FINAL DELIVERABLES Deliver the following: 1. Complete working application source code. 2. All required project and Gradle configuration files. 3. Functional dashboard and destination browsing. 4. Functional AI trip-planning workflow. 5. Google Maps and routing integrations. 6. Verified place and image association logic. 7. Transparent travel budget calculations. 8. Working PDF generation and download. 9. Persistent My Trips functionality. 10. Error handling and validation. 11. Tests for critical functionality. 12. Setup instructions for all external APIs. 13. A list of credentials and configuration values the developer must supply. 14. A list of features tested successfully and features still requiring external setup. 15. A release-readiness checklist. 16. A working Android build artifact if the environment supports building it. Prioritize a functional, verifiable, maintainable implementation over decorative features. Do not stop after generating a plan, wireframe, or sample screen. Continue implementing, building, testing, and fixing the project to the extent supported by the available environment. If a required service cannot be accessed, implement its integration boundary and report the exact configuration or external setup needed. Never fabricate successful integrations, real prices, locations, images, distances, or test results. The final result must be a reliable travel companion called **Your Travel AI**, helping users discover places, plan realistic trips, understand estimated costs, navigate through Google Maps, and download professional travel itineraries.
Business
Top 10 ABDM Integration Platforms in India
abdmconnector Oct 28, 2026 0

India’s healthcare industry is rapidly moving toward a connected and interoperable digital ecosystem. Hospitals, clinics, diagnostic laboratories, healthcare apps, HMIS…

Read More
IPL 2027 Auction Date, Start Date and Players List
Sports
IPL 2027 Auction Date, Start Date and Players List
Admin Oct 28, 2026 0

The Indian Premier League (IPL) 2027 season is attracting attention from cricket fans who want to know the auction date,…

Read More
Upcoming Electric SUVs Under ₹15 Lakh in India
Automobile
Upcoming Electric SUVs Under ₹15 Lakh in India
Admin Oct 27, 2026 0

Electric SUVs are becoming an attractive option for Indian car buyers who want lower running costs, automatic driving convenience and…

Read More
AI Workflow Automation: 10 Business Processes You Can Automate
Business
AI Workflow Automation: 10 Business Processes You Can Automate
Admin Oct 26, 2026 0

Businesses today are under constant pressure to improve productivity, reduce operating costs, and deliver better customer experiences. However, many companies…

Read More
Akka Netflix Series: Trailer, Cast, Story and Release Date
Entertainment
Akka Netflix Series: Trailer, Cast, Story and Release Date
Admin Oct 23, 2026 0

Netflix is bringing a new crime drama to its audience with Akka, a series starring Keerthy Suresh and Radhika Apte…

Read More
OPPO Find X10 Pro Max Price in India, Specs & Features
Technology
OPPO Find X10 Pro Max Price in India, Specs & Features
Admin Oct 22, 2026 0

The OPPO Find X10 Pro Max is a premium flagship smartphone designed for users who want advanced photography, powerful performance,…

Read More
How to Build a Loyalty Program Strategy That Keeps Customers Coming Back
Business
How to Build a Loyalty Program Strategy That Keeps Customers Coming Back
loyal_n_save Oct 22, 2026 0

Getting a customer through the door. Making that first purchase doesn’t build loyalty by itself. Shoppers today have choices and…

Read More
Best Free AI Tools for Students in India
Technology
Best Free AI Tools for Students in India
Admin Oct 21, 2026 0

Artificial intelligence is becoming an important part of education in India. From school students preparing for board examinations to college…

Read More
How to Create an Effective Exam Preparation Timetable
Education
How to Create an Effective Exam Preparation Timetable
Admin Oct 15, 2026 0

Preparing for exams can feel overwhelming when you have several subjects to study, assignments to complete, and limited time. Many…

Read More

Posts pagination

1 2 … 12

Recent Posts

  • Top 10 ABDM Integration Platforms in India
  • IPL 2027 Auction Date, Start Date and Players List
  • Upcoming Electric SUVs Under ₹15 Lakh in India
  • AI Workflow Automation: 10 Business Processes You Can Automate
  • Akka Netflix Series: Trailer, Cast, Story and Release Date

Archives

  • October 2026
  • September 2026
  • August 2026
  • July 2026
  • June 2026
  • Write for Us
YOU MAY HAVE MISSED
# MASTER DEVELOPMENT PROMPT — YOUR TRAVEL AI ## 1. ROLE AND OBJECTIVE Act as a senior Android application developer, UI/UX designer, AI integration engineer, Google Maps integration specialist, and QA engineer. Build a complete, functional, production-quality travel planning application named **Your Travel AI**. The application must help users discover famous cities, explore real tourist attractions, check locations and distances through Google Maps, estimate travel expenses, and generate personalized AI-powered travel itineraries that can be downloaded as professional PDF documents. Do not build just a UI prototype, static demo, or collection of non-functional screens. Implement working navigation, persistent data where appropriate, API integrations, validation, loading states, error handling, and real PDF generation. If an existing project is supplied, inspect and preserve its architecture, working features, application ID, signing configuration, and existing project files unless a change is explicitly necessary. Do not create a duplicate project or overwrite working functionality without justification. ## 2. APPLICATION IDENTITY - App name: Your Travel AI - App category: Travel and local discovery - Primary audience: Travellers, families, couples, solo travellers, and budget-conscious users. - Primary language: English. - Architecture: Maintainable, modular, production-ready. - Platform: Android. - Preferred native implementation: Kotlin, Jetpack Compose, Material 3, and a suitable MVVM architecture if building a native Android project. - If the existing project uses another established framework, retain it unless there is a compelling technical reason to migrate. Design a premium, modern travel experience. Use beautiful destination photography, clear typography, balanced spacing, rounded cards, elegant icons, subtle transitions, and intuitive navigation. Avoid generic template designs, clutter, excessive gradients, and unnecessary animations. The app must be responsive to different Android screen sizes and accessible to users with different accessibility needs. ## 3. FIRST LAUNCH AND LOCATION PERMISSION On the first launch, show an attractive welcome screen introducing Your Travel AI. Display a clear explanation: "Discover amazing destinations, explore real attractions, estimate your travel costs, and create personalized itineraries with AI." Request foreground location permission only when it is needed to show nearby destinations or location-based recommendations. Provide two clear actions: - Allow Location Access - Explore Without Location Requirements: - Request Android runtime permission properly. - Explain why location is requested before triggering the permission dialog. - Respect the user's decision if permission is denied. - Do not repeatedly force the permission dialog. - Provide a manual location and city search alternative. - If permission is denied, the application must remain fully usable. - If location is unavailable, show a useful fallback instead of a blank screen. - Handle approximate and precise location permissions appropriately. - Do not collect or continuously track background location. - Do not send or store precise coordinates unnecessarily. After onboarding, navigate to the main dashboard. ## 4. MAIN DASHBOARD Create a premium travel discovery dashboard. The dashboard should contain: A. Header - Your Travel AI branding and logo. - A location indicator showing the selected city or approximate current location when permission is available. - A searchable destination field. - A profile or settings entry where appropriate. B. Featured destination - A large, attractive destination image. - Destination name and region. - A short, factual description. - A "Explore Destination" action. C. Popular cities Show a curated collection of famous destinations using real city data. For the initial India-focused experience, include destinations such as: - Jaipur - Agra - Goa - Varanasi - Udaipur - Mumbai - Delhi - Bengaluru - Kochi - Manali - Srinagar - Rishikesh Allow the destination catalogue to expand to international destinations. Each city card must show: - Correct city name. - State, region, and country. - A photograph genuinely associated with the destination. - A short description. - An action to open its details page. Do not hardcode fake ratings, invented visitor counts, fabricated prices, or unsupported popularity rankings. D. Nearby destinations When location permission is granted, offer relevant nearby attractions and destinations using actual location data. Explain when results are approximate or based on a selected city. E. AI Trip Planner Display a prominent and visually distinctive card with this text: "Your next adventure starts here." "Tell us where you want to go, your budget, and how many days you have. Your AI travel assistant will create a personalized trip plan." Button: "Plan My Trip with AI" This button must open the functional AI trip-planning workflow. F. Navigation Provide a simple bottom navigation system with appropriate sections: - Home - Explore - My Trips - Settings Use consistent icons, selected states, and proper navigation behavior. Do not include dead-end navigation items. ## 5. CITY DETAILS AND DESTINATION EXPLORATION When a user selects a city, open a dedicated destination details screen. For example, selecting Jaipur should open a page titled "Jaipur, Rajasthan, India". The page must contain: 1. A genuine destination hero photograph. 2. City name, region, and country. 3. A factual introduction to the city. 4. Popular tourist attractions. 5. Historic monuments and cultural sites. 6. Nature attractions, parks, viewpoints, or beaches when relevant. 7. Food and local experiences where relevant. 8. Practical travel information. 9. Google Maps links. 10. An option to create an AI itinerary for the selected city. Each attraction card must include: - Correct attraction name. - A photograph of that exact attraction. - A short factual description. - Full or sufficiently precise address. - Latitude and longitude when supplied by the verified data provider. - Official website where available. - Opening hours when verified. - Current admission price when reliable information is available. - A clear indication if price information is unavailable or needs verification. - "View on Google Maps" action. - "Get Directions" action. Every city and attraction must use real place data. Do not invent tourist attractions, addresses, coordinates, official websites, opening hours, entry prices, or location links. Use a proper places provider such as Google Places API for place discovery and place details. Respect the provider's licensing, attribution, photo-display, storage, and caching requirements. If a location cannot be verified, do not present it as a confirmed place. ## 6. IMAGE ACCURACY — CRITICAL REQUIREMENT Correct destination photography is mandatory. The application must not display a random travel photograph and label it as a specific city or monument. Implement a reliable image association strategy. Preferred strategy: - Use Google Places photo references associated with the correct Place ID, where permitted. - Alternatively, use a reliable destination image provider that supplies verifiable image metadata and appropriate usage rights. - Store or retrieve the relationship between a location record and its corresponding image reference. - Use a verified city image for city cards. - Use a verified attraction image for attraction cards. - Ensure that every image is associated with the correct location record. Examples: - Hawa Mahal cards must show Hawa Mahal. - Taj Mahal cards must show the Taj Mahal. - Amber Fort cards must show Amber Fort. - Goa beach cards must show the beach identified by the actual location record. Never substitute an unrelated landmark image. If the correct image is unavailable: - Display a neutral, attractive placeholder. - Do not use a misleading image. - Allow the rest of the destination information to load. Include loading placeholders, error handling, image caching where permitted, appropriate image resizing, and fallback behavior. Do not embed a large collection of random stock image URLs in the code. ## 7. GOOGLE MAPS INTEGRATION Integrate Google Maps links throughout the application. Every verified city and attraction must have a working map action. Use Google Maps URLs with properly encoded destination names or verified coordinates. Examples of supported URL formats: Place search: https://www.google.com/maps/search/?api=1&query=Hawa+Mahal+Jaipur Directions: https://www.google.com/maps/dir/?api=1&origin=Jaipur&destination=Amber+Fort+Jaipur&travelmode=driving Generate links dynamically from verified destination records. Do not reuse these example destinations for unrelated locations. Required functionality: - Open a city in Google Maps. - Open an exact attraction in Google Maps. - Get directions between two places. - Let users inspect distances and estimated journey times. - Support suitable travel modes, including driving, walking, cycling, or public transit when available. - Allow users to switch from the app to Google Maps for navigation. - Handle cases where Google Maps is not installed by opening the web URL. - Encode destination names and coordinates safely. - Preserve the selected destination when returning to the app. Important technical distinction: A Google Maps URL opens Maps but does not itself return route distance or travel time to the application. For in-app distance and duration calculations, integrate Google Maps Routes API or another suitable licensed routing service. If API access is unavailable, show a Maps directions link and do not fabricate a distance. ## 8. AI TRIP PLANNER — COMPLETE FUNCTIONAL WORKFLOW When the user taps "Plan My Trip with AI", open a guided conversation or structured questionnaire. Collect the following information: A. Destination Ask: "Where would you like to travel?" Allow: - A single city. - Multiple cities. - A state or region. - A country. - A destination selected from the Explore section. Allow the user to search for and select real destinations. B. Duration and dates Ask: "How many days do you have for your trip?" Allow the user to enter the number of days and optionally select travel dates. C. Budget Ask: "What is your approximate total travel budget?" Allow: - A user-defined amount. - Currency selection where relevant. - A per-person or total-group budget. - Optional separate accommodation and transportation budgets. D. Travellers Ask for the number of adults and children when relevant. E. Travel preferences Allow users to select: - Family vacation. - Romantic getaway. - Solo trip. - Adventure. - Nature and wildlife. - Historical and cultural exploration. - Religious or spiritual travel. - Beaches. - Food and local experiences. - Relaxation. - A balanced itinerary. F. Transport and accommodation Ask optional questions about: - Starting location. - Preferred transport. - Accommodation category. - Whether the budget includes flights or long-distance transport. - Whether the user already has accommodation. Do not force users to answer every optional question. Validate essential inputs and display clear validation messages. If the user has selected a city before opening AI Trip Planner, automatically prefill that destination. If the user changes their destination or budget, allow them to edit the inputs before regenerating the plan. ## 9. AI ITINERARY GENERATION Generate an itinerary based on the user's actual selections. The AI must create a practical travel schedule rather than a generic list of attractions. The output should contain: A. Trip overview - Destination or destinations. - Trip duration. - Travel dates, if supplied. - Number of travellers. - Budget and currency. - Travel style. - Starting location, if supplied. B. Day-by-day itinerary For every day, include: - Day number and date when applicable. - Morning, afternoon, and evening activities. - Correct attraction names. - A short explanation of why each place is worth visiting. - Suggested arrival times and visit durations. - Actual addresses. - Matching verified images. - Google Maps links. - Route information to the next destination when available. - Estimated admission fees. - Meal suggestions and estimates. - Transport cost estimates. - A daily expense subtotal. C. Practical information - Opening hours and closure days when verified. - Reservation requirements where known. - Travel-time considerations. - Local transport options. - Weather or seasonal notes only when reliable current or date-relevant information is available. - Warnings when data needs verification. D. Budget summary Include a transparent breakdown of: - Attraction tickets. - Local transport. - Intercity transport. - Accommodation. - Food. - Other estimated expenses. - Optional contingency allowance. - Total estimated trip cost. - Estimated cost per person. Clearly distinguish: 1. Verified current prices. 2. Provider-supplied estimates. 3. AI-generated planning estimates. Do not label an estimate as an exact price. Never invent live ticket availability, hotel availability, current travel fares, opening hours, or official fees. If a reliable price cannot be obtained, label it "Price unavailable" or provide a clearly identified estimate with its basis. Make all assumptions explicit. The total budget should be checked against the user's budget. If the itinerary exceeds the budget, propose a more affordable alternative rather than silently ignoring the budget. ## 10. ITINERARY VALIDATION Before presenting the generated itinerary, validate it against the available structured location data. Requirements: - Confirm that each selected attraction exists in the destination database or verified places response. - Use correct location identifiers and coordinates. - Check whether the proposed order is geographically reasonable. - Use routing data for actual route distances and durations when available. - Avoid scheduling geographically distant attractions too closely together. - Account for attraction opening hours when verified. - Avoid duplicate attractions unless intentional. - Include realistic breaks and meal periods. - Avoid scheduling an attraction on a known closure day when reliable data is available. - Avoid inventing exact distances, journey durations, or fees. - Clearly indicate incomplete information. If a selected location cannot be verified, ask the user to select a verified alternative or explain that it could not be confirmed. AI must not independently manufacture Place IDs, photo references, map coordinates, or routing results. ## 11. PROFESSIONAL PDF EXPORT After generating the itinerary, display a prominent button: "Download Travel Plan PDF" Implement actual PDF generation. Do not substitute a screenshot, a plain-text file, or a button that does nothing. The PDF must include: 1. Professional cover page. 2. Your Travel AI branding. 3. Trip title and destination. 4. Travel dates and duration when provided. 5. Number of travellers. 6. Budget overview. 7. Daily itinerary. 8. Attraction descriptions. 9. Correct destination photographs when permitted for reuse. 10. Attraction addresses. 11. Clickable Google Maps links. 12. Route distances and journey durations when verified. 13. Daily expense breakdown. 14. Total estimated trip budget. 15. Important travel notes and verification warnings. 16. PDF generation date. PDF requirements: - A4 page size. - Readable typography. - Consistent headings and spacing. - Proper image scaling and aspect ratios. - No clipped text or overlapping elements. - Clickable URLs where supported. - Page numbers where appropriate. - Graceful handling of missing images. - Correct currency formatting. - Support for long itineraries spanning multiple pages. Provide actions for: - Download PDF. - Share PDF through Android's supported sharing mechanism. - Return to the itinerary. - Edit or regenerate the itinerary. Save the generated PDF to an appropriate user-accessible location using modern Android storage APIs and permissions. Do not request unnecessary storage permissions. Use a proper PDF generation library or native PDF facilities compatible with the selected architecture. ## 12. MY TRIPS Implement a My Trips screen. Users should be able to: - View previously generated itineraries. - Open a saved trip. - View trip details. - Regenerate a PDF if necessary. - Edit trip preferences. - Delete a saved trip after confirmation. Persist saved itinerary information appropriately so it survives normal application restarts. Use local persistence for saved trips where suitable. If a backend or account system is required, explain and implement the necessary architecture instead of pretending a server exists. Do not require users to sign in merely to browse destinations unless a genuine technical or business requirement exists. If accounts are implemented, provide proper authentication, secure storage, privacy controls, and deletion handling. ## 13. SETTINGS AND PRIVACY Provide a Settings screen containing relevant options: - Location permission status. - Manual location selection. - Preferred currency. - Theme selection, including system, light, and dark modes. - Units where relevant. - Privacy policy. - Terms of service. - App version. - Data deletion controls for stored user data. Follow Android permission and privacy requirements. Do not collect contacts, SMS, call logs, financial account credentials, or unrelated personal information. Do not claim that the app provides live prices or current availability unless the necessary real data source is connected. ## 14. TECHNICAL ARCHITECTURE AND API INTEGRATIONS Inspect the existing project and choose an architecture appropriate to it. For a native Kotlin Android implementation, use a maintainable structure such as: - UI: Jetpack Compose and Material 3. - Architecture: MVVM with clearly separated responsibilities. - Networking: Retrofit or a suitable supported HTTP client. - Asynchronous operations: Kotlin coroutines and Flow. - Local persistence: Room or DataStore as appropriate. - Image loading: a suitable image-loading library. - Navigation: a supported Android navigation solution. - PDF export: Android PDF facilities or a reliable PDF library. - AI: a supported Gemini model/API integration. - Places: Google Places API. - Routes: Google Maps Routes API or a suitable alternative. - Location: Android location APIs with foreground permission. - Configuration: secure environment-specific configuration. Do not add unnecessary dependencies. Use actual API integrations wherever the functionality requires external data. A. AI integration Use a supported Gemini API integration to generate structured itinerary proposals. Requirements: - Prefer structured JSON output validated against an application-defined schema. - Validate all AI-generated fields before rendering. - Separate AI planning from verified location and pricing retrieval. - Use a backend proxy for production API calls when appropriate to protect credentials and enforce quotas. - Do not embed privileged server secrets in the Android application. - Handle quota exhaustion, network failures, malformed responses, timeouts, and service errors. - Do not assume an API key works simply because it is present in the project. - Verify model availability and billing configuration before deployment. B. Google APIs Use Google Places for verified place discovery and place details. Use Routes API for in-app route distances and durations when required. Use Maps URLs for opening Google Maps externally. Restrict API keys appropriately. Separate client-restricted keys from server-side credentials. Never place unrestricted privileged credentials in source code or a public repository. Do not hardcode secrets into Gradle files committed to version control. C. Real data versus demo data If API credentials have not been supplied: - Build the application architecture and setup instructions. - Implement clear configuration placeholders. - Include useful sample data only where necessary for development. - Label all sample or mock data clearly in development mode. - Do not claim that live integrations are working. - Do not silently replace failed live requests with fabricated real-world results. ## 15. LOADING, EMPTY AND ERROR STATES Implement complete handling for: - Slow internet. - No internet connection. - GPS disabled. - Permission denied. - Location service failures. - Empty destination search. - No nearby results. - Missing attraction photographs. - Missing price information. - API errors. - AI generation failures. - Invalid AI responses. - PDF generation failures. - Insufficient storage. - Missing or invalid API configuration. Show useful messages and recovery actions. Never leave a blank screen or an infinite loading indicator. Do not discard user-entered trip information after a temporary error. ## 16. SECURITY AND PRIVACY - Never expose privileged API credentials. - Validate all external API responses. - Validate generated itineraries before displaying or exporting them. - Do not trust AI-generated URLs or identifiers without verification. - Avoid logging sensitive user information. - Use HTTPS for external network requests. - Store only information necessary for the requested functionality. - Follow applicable Google API policies and photo attribution requirements. - Provide a privacy policy that accurately reflects the actual implementation. - Request permissions only when needed. - Do not claim security, privacy, or compliance features that have not been implemented. ## 17. UI/UX ACCEPTANCE CRITERIA The final app must have: - A premium welcome screen. - Functional location permission handling. - A polished destination discovery dashboard. - Searchable popular cities. - City details with accurate destination images. - Verified attraction records. - Google Maps links for cities and attractions. - Route and distance integration where configured. - A complete AI trip questionnaire. - Personalized itinerary generation. - Realistic, transparently estimated budgets. - Day-by-day schedules. - Functional PDF generation and download. - A My Trips section. - Settings and privacy information. - Working navigation. - Persistent saved trips. - Complete loading and error states. - No placeholder buttons in the production build. Every button, card, navigation item, and interactive control must perform its stated function. ## 18. BUILD, TESTING AND QUALITY ASSURANCE Before declaring the project complete: 1. Inspect the complete project structure. 2. Resolve dependency and Gradle configuration issues. 3. Verify AndroidManifest.xml permissions and configuration. 4. Verify API configuration and failure handling. 5. Build the application using the correct project toolchain. 6. Resolve compilation errors. 7. Fix relevant warnings and runtime issues. 8. Test onboarding and location denial. 9. Test manual city search. 10. Test city and attraction navigation. 11. Test Maps URL construction and opening. 12. Test route calculations when API credentials are available. 13. Test AI generation with valid and invalid responses. 14. Test budget calculations. 15. Test missing or unavailable pricing. 16. Test PDF creation, opening, sharing, and downloading. 17. Test saved trips across application restarts. 18. Test offline and API failure states. 19. Check small and large screen layouts. 20. Check that no unrelated images are attached to destinations. 21. Check that no fake live data is presented as verified information. Add unit tests for critical business logic, including budget calculations, input validation, itinerary validation, and PDF-related data preparation. Add UI or integration tests for the most important user journeys where practical. Do not report a successful build or test unless it was actually executed and verified. ## 19. GOOGLE PLAY RELEASE READINESS Prepare the project for a future Google Play release. Verify: - Correct application ID. - Valid versionCode and versionName. - Appropriate target SDK. - Correct application permissions. - Release build configuration. - App signing readiness. - No exposed secrets. - No development-only mock data in the production experience. - Accurate privacy disclosures. - Appropriate attribution for third-party data and images. - No broken primary user journeys. - No unresolved compilation errors. Do not change an existing package name or signing identity without explicit authorization. If release signing credentials, API keys, or required privacy information are missing, identify the missing requirements rather than inventing them. ## 20. FINAL DELIVERABLES Deliver the following: 1. Complete working application source code. 2. All required project and Gradle configuration files. 3. Functional dashboard and destination browsing. 4. Functional AI trip-planning workflow. 5. Google Maps and routing integrations. 6. Verified place and image association logic. 7. Transparent travel budget calculations. 8. Working PDF generation and download. 9. Persistent My Trips functionality. 10. Error handling and validation. 11. Tests for critical functionality. 12. Setup instructions for all external APIs. 13. A list of credentials and configuration values the developer must supply. 14. A list of features tested successfully and features still requiring external setup. 15. A release-readiness checklist. 16. A working Android build artifact if the environment supports building it. Prioritize a functional, verifiable, maintainable implementation over decorative features. Do not stop after generating a plan, wireframe, or sample screen. Continue implementing, building, testing, and fixing the project to the extent supported by the available environment. If a required service cannot be accessed, implement its integration boundary and report the exact configuration or external setup needed. Never fabricate successful integrations, real prices, locations, images, distances, or test results. The final result must be a reliable travel companion called **Your Travel AI**, helping users discover places, plan realistic trips, understand estimated costs, navigate through Google Maps, and download professional travel itineraries.
Business
Top 10 ABDM Integration Platforms in India
abdmconnector Oct 28, 2026
IPL 2027 Auction Date, Start Date and Players List
Sports
IPL 2027 Auction Date, Start Date and Players List
Admin Oct 28, 2026
Upcoming Electric SUVs Under ₹15 Lakh in India
Automobile
Upcoming Electric SUVs Under ₹15 Lakh in India
Admin Oct 27, 2026
AI Workflow Automation: 10 Business Processes You Can Automate
Business
AI Workflow Automation: 10 Business Processes You Can Automate
Admin Oct 26, 2026
  • Automobile
  • Business
  • Education
  • Entertainment
  • Fashion
  • Finance
  • Fitness
  • Health
  • Lifestyle
  • Marketing
  • News
  • Sports
  • Technology
  • Travel