1 / 9

Community Flood Action Tool: Android Innovation for Efficient Response Planning

Digital platform for planning response to environmental flooding, integrated with smartphone hardware. Overcame technical issues with image handling. Includes camera feature, SQLite integration, live feeds, and contacts manager. Engineered solution for image size limitation issue encountered during development. Allows viewing of images in gallery view and smooth animation. Represents unique development in community organization and flood planning, integrating available services for up-to-date information.

mae
Télécharger la présentation

Community Flood Action Tool: Android Innovation for Efficient Response Planning

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Flood ActionIET 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 Live Feeds Contacts Manager

  4. Development Tools Eclipse Indigo with Android Plugin Fire Fox Sqlite 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 Start 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 Decode Image Width>512px Reduce 1/4 Return new resize bitmap Bitmap resize objective to not exceed the 16MB Heap size!

  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

More Related