phonegap - good choice for working with pictures?

9 views
Skip to first unread message

Radek

unread,
Jan 31, 2011, 12:07:56 PM1/31/11
to phonegap
Hi everybody,

I would like to find a proper architecture for the mobile application,
which heavily works with pictures and I am not sure phonegap is enough
suitable.

In fact:
- showing a series of pictures (cca 60) stored in some private
storage for the application.
- selecting the picture either from Picture library or Camera =
importing (I understood on web, this is feasible for Iphone, but could
not found the Android example.)
- after import doing some picture transformations (ala via Image
Magic) - and storing transformed pictures - typically different sizes
and applied effects
- storing data (descriptive related information per picture)
- working offline (without need to connect to Inet)

- Ideally application storage to be on place for Dropbox (for
synchronization somewhere else)

Nice To Have - application storage to be encrypted (both picture
storage and data storage)

Btw, I expect that I will have to work with some sort of external
storage as HTML5 localstorage is quit limited in size, so DB usage
would only for description data persistence.

Target platforms - 1. Android, 2. Iphone

Is the phonegap suitable? Or does it have several issues related to
these reuiqrements?

Could you point me to relevant demos for particular cases?

Thanks a lot, Radek

Nick McCloud

unread,
Jan 31, 2011, 4:17:36 PM1/31/11
to phonegap
PhoneGap would be fine but need some extensions in some areas.

However, mobile Safari, the presentation level that PhoneGap uses, has
a number of issues with displaying many pictures. Mostly they are
reported for a few more than 60 but there is a chance you could run in
to problems.

George

unread,
Feb 1, 2011, 5:32:17 PM2/1/11
to phonegap
A hack/solution for the image loading problem in mobile safari, is
setting the images as a background-image on a div instead of using the
conventional img tag
Reply all
Reply to author
Forward
0 new messages