Download presentation
Presentation is loading. Please wait.
Published byLeon Evans Modified over 9 years ago
1
Flood Action IET Technical Bid A community organisation tool for android
2
Our Innovation Digital Platform for planning a response to environmental flooding Integration with smartphone hardware was critical. Camera Feature Encountered problems with holding images in the application
3
Integration SQLite Contacts Manager Live Feeds
4
Development Tools Fire Fox Sqlite Plugin Eclipse Indigo with Android Plugin Test Hardware link Camera Android AVD Emulate phone
5
The Limitations Screen Size 480 x 800 px of phone( ZTE Blade) Camera take Jpeg pictures at 2048 x 1536px Android Virtual Machine App limited to 16 MB
6
The Problems Remember application runs at 16MB! Image Jpeg on SD 2048 x 1536px = 1.0MB Display Bitmap BMP 2048 x 1536px = 9.4MB Showing more 2 images BMP 9.4MB x 2 = 18.8MB exceeding the 16 MB Heap.
7
Engineered Solution Bitmap resize objective to not exceed the 16MB Heap size! Start Decode Image Width>512px Reduce 1/4 Return new resize bitmap Decode jpeg to temp space as Bitmap Check save on computation of small images Then divide by 4 as 2048 / 4 = 512 px 2048 / 4 = 512 px width & 1536 /4 = 384 px new size is 512 x 384 px bitmap = 62.4kb
8
What Can The User do? View all images in Gallery view Allow for smooth animation Efficient use of running memory
9
Summary Unique development in community organisation and flood planning Integrated with available services to give up-to-date information Overcome a technical problem using knowledge of image compression
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.