handheld 1.0.5
handheld: ^1.0.5 copied to clipboard
Build mobile apps in Dart with PhoneGap
Handheld #
Handheld allows you build mobile applications using Dart and PhoneGap.
Quick Guide #
-
Go through the PhoneGap setup guide and make sure that PhoneGap is working before you proceed.
-
Add the folowing to your pubspec.yaml and run pub install
dependencies:
handheld: any
- Run it
import "package:handheld/handheld.dart";
main() {
handheld.onDeviceReady((Device device) {
device.notification.alert("hello from Dart");
});
}
PhoneGap API status #
| Function | Supported | API Version |
|---|---|---|
| Accelerometer | no | 2.5 |
| Camera | no | 2.5 |
| Capture | no | 2.5 |
| Compass | no | 2.5 |
| Connection | no | 2.5 |
| Contacts | no | 2.5 |
| Device | yes | 2.5 |
| Events | no | 2.5 |
| File | no | 2.5 |
| Geolocation | no | 2.5 |
| Globalization | no | 2.5 |
| InAppBrowser | no | 2.5 |
| Media | no | 2.5 |
| Notification | no | 2.5 |
| Splashscreen | no | 2.5 |
| Storage | no | 2.5 |