macdonst 0297807bd0 Fix for issue #141: EXIF data stripped from captured photos in android
In order to fix this issue I needed to read the EXIF data. Save it to a temporary object then after the bitmap is compressed I open the file and write the saved EXIF data.

Supports the following EXIF fields if they are set in your image:

APERTURE
DATETIME
EXPOSURE_TIME
FLASH
FOCAL_LENGTH
GPS_ALTITUDE
GPS_ALTITUDE_REF
GPS_DATESTAMP
GPS_LATITUDE
GPS_LATITUDE_REF
GPS_LONGITUDE
GPS_LONGITUDE_REF
GPS_PROCESSING_METHOD
GPS_TIMESTAMP
ISO
MAKE
MODEL
ORIENTATION
WHITE_BALANCE
2011-09-06 14:15:45 -07:00
2011-09-02 14:42:37 -07:00
2011-09-01 14:44:02 -07:00
2011-07-29 12:01:46 +08:00

PhoneGap/Android

PhoneGap/Android is an Android application library that allows for PhoneGap based projects to be built for the Android Platform. PhoneGap based applications are, at the core, an application written with web technology: HTML, CSS and JavaScript.

Requires

PhoneGap/Android Developer Tools

The PhoneGap developer tooling is split between general tooling and project level tooling.

Commands

./bin/create [path package activity] ... create the ./exmaple app or a phonegap/android project
./bin/bench ............................ generate a bench proj
./bin/autotest ......................... test the cli tools
./bin/test ............................. run mobile-spec

Project Commands

These commands live in a generated PhoneGap/Android project.

./phonegap/debug [path] ..................... install to first device
./phonegap/emulate .......................... start avd (emulator) named default
./phonegap/log .............................. starts logcat

Running the Example Project

Start avd (emulator) named default:

./bin/emulate

Create the exmaple project and build it to the first device:

./bin/create
cd example
./phonegap/debug

Start adb logcat (console.log calls output here):

./phonegap/log

Running the phonegap/mobile-spec tests:

./bin/test

Create a new PhoneGap/Android Project

./bin/create ~/Desktop/myapp com.phonegap.special MyApp

Importing a PhoneGap/Android Project into Eclipse

  1. File > New > Project...
  2. Android > Android Project
  3. Create project from existing source (point to the generated app found in tmp/android)
  4. Right click on libs/phonegap.jar and add to build path
  5. Right click on the project root: Run as > Run Configurations
  6. Click on the Target tab and select Manual (this way you can choose the emulator or device to build to)

Further Reading

Description
No description provided
Readme Apache-2.0 76 MiB
Languages
JavaScript 52.4%
Java 42.4%
HTML 4.3%
CSS 0.8%
Batchfile 0.1%