YoVDO

Rendering PDFs in Android with Jetpack Compose - Including Search Functionality

Offered By: Philipp Lackner via YouTube

Tags

Jetpack Compose Courses Android Development Courses Kotlin Courses File Handling Courses

Course Description

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn to render PDFs in Android using Jetpack Compose and implement a search function with highlighted results. Explore the PdfRenderer API to display PDF content within composables, and develop a robust search functionality that emphasizes search terms directly in the PDF. Gain hands-on experience creating a PDF bitmap converter class, handling file descriptors, and generating bitmaps and canvases. Implement a PDF viewer screen with context references and activity result launchers for PDF selection. Master the creation of lazy columns to efficiently display PDF pages, and test the rendering process on an emulator. Dive into advanced topics such as implementing a search API, managing search results with data classes, and dynamically adjusting content based on scale factors and rectangles.

Syllabus

Intro
Search Function
Coil Compost
Create PDF bitmap converter class
Read with context
Open file descriptor
Return with context
Create a bitmap
Create a canvas
Create PDF viewer screen
Context reference
Activity result launcher
Choose PDF launcher
Display a lazy column
Display a PDF page
Update the rendered pages
Test the render
Test on emulator
Open another PDF
Search PDF API
Search Results Data Class
Search Text State
Search Results
Draw Content
Calculate Scale Factor
Adjust Rect
Draw RCT


Taught by

Philipp Lackner

Related Courses

Creative, Serious and Playful Science of Android Apps
University of Illinois at Urbana-Champaign via Coursera
Pattern-Oriented Software Architectures: Programming Mobile Services for Android Handheld Systems
Vanderbilt University via Coursera
Android. Programación de Aplicaciones
Miríadax
Programming Mobile Applications for Android Handheld Systems: Part 1
University of Maryland, College Park via Coursera
Begin Programming: Build Your First Mobile Game
University of Reading via FutureLearn