flood action iet technical bid

9
Flood Action IET Technical Bid A community organisation tool for android

Upload: mae

Post on 07-Feb-2016

30 views

Category:

Documents


0 download

DESCRIPTION

Flood Action IET Technical Bid. A community organisation tool for android. Our Innovation. Digital Platform for planning a response to environmental flooding Integration with smartphone hardware was critical. Camera Feature - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Flood  Action IET Technical Bid

Flood ActionIET Technical Bid

A community organisation tool for android

Page 2: Flood  Action IET Technical Bid

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

Page 3: Flood  Action IET Technical Bid

Integration

SQLite

Contacts Manager

Live Feeds

Page 4: Flood  Action IET Technical Bid

Development Tools

Fire Fox Sqlite Plugin

Eclipse Indigo with Android Plugin

Test Hardware link Camera Android AVD

Emulate phone

Page 5: Flood  Action IET Technical Bid

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

Page 6: Flood  Action IET Technical Bid

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.

Page 7: Flood  Action IET Technical Bid

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

Page 8: Flood  Action IET Technical Bid

What Can The User do?

• View all images in Gallery view

• Allow for smooth animation

• Efficient use of running memory

Page 9: Flood  Action IET Technical Bid

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