Skip to content

SimonShangpliang/PagePal

Repository files navigation

PagePal

Introduction

PagePal is an Android mobile application designed to enhance reading and comprehension across various formats, whether you're dealing with physical books, research reports, textbooks, or digital content. Whether you're reading a PDF, or browsing through a website or reading some physical book , this app gives you the ability to leverage the power of AI to help you and guide you.

Built with Jetpack Compose and Kotlin, this app leverages Google's Gemini genAI model to provide instant definitions, summaries, and intelligent image interpretations directly from your mobile device. The app uses Google's ML Kit Text Recongnition v2 model for extracting text from image and getting the coordinates for the text.

Features

Home Page

Opening the app takes you to the home page, from where you can navigate to various other pages. You are given a list of webpages recommended for you based on your preferences in the profile section as well as the websites which you bookmarked from the WebView.

Home Page

Take Photos

You can take a photo of a page from a physical book via the app or you can directly upload images from the gallery.

Taking Photo From gallery

Instant Definitions

Tap any word in a scanned page to see its meaning immediately.

Meaning

Content Summaries

Get concise summaries of pages or selected text extracts.

Crop Images Summary

Image Interpretation

Upload any image (not limited to text or diagrams) to receive an AI-driven explanation of its contents.

Random pic Interpretation

Integrated ChatBot

Engage in conversations on any topic, or discuss uploaded images and text extracts directly through the app.

Chat

PDF Viewer

Open and interact with PDFs stored on your device, accessing all app features like meanings and summaries.

PDF Viewer PDF Opened

Web View

Browse any website and utilize the app’s features without needing to download content.

WEB View

Offline Saving

Save definitions, summaries, and chat histories with custom titles for easy access later.

FlashCard Library Summary Saved Chats Saved

Getting Started

Prerequisites

  • Ensure you have Android Studio installed to open and run the project.
  • An Android device or emulator running Android API level 21 (Lollipop) or higher.

Installation

  1. Clone the repository:
  2. Open the project in Android Studio.
  3. Build the project by selecting Build -> Make Project.
  4. Run the app on a connected Android device or emulator by selecting Run -> Run 'app'.

Usage

  1. Scanning Text from Physical Books:
  • Use the camera feature to take a picture of the page.
  • Tap any word to see its definition or select text to generate a summary.
  1. Interacting with PDFs:
  • Load a PDF from your device.
  • Use similar interactions as with physical pages.
  1. Online Content Engagement:
  • Navigate to a website using the web view feature.
  • Engage with the text using the app's functionalities in real-time.

Project Status

This app is currently in development and is intended for private use within our development team. The repository is private, and the app is not open for public contributions or use.

Acknowledgments

Special thanks to all team members for their contributions and dedication to the project.

Disclaimer

This application is developed for educational purposes and internal project use only. It is not intended for commercial distribution or use.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages