issue in phonegap plugin with android

28 views
Skip to first unread message

Reddy Lokeswar

unread,
Apr 28, 2015, 12:27:37 PM4/28/15
to phon...@googlegroups.com
Hello EveryOne,

> I am using camera-plugin which providing phone-gap by default.i am using
> like the following steps
> 1)cordova create camera com.camera.camera camera
> 2)cordova platform add android
> 3)cordova plugin add org.apache.cordova.camera
> 4)cordova build
> 5)cordova emulate android
> it will runs succefully.but i get the default screen like following
> cordova icon
> ,appache cordova
> and device is ready.
>
> after this there is no movement on my app how can move forward from this.
>
> Please help on this.
>
> Thanks&regards,
> Lokeswar.

Kerri Shotts

unread,
Apr 28, 2015, 4:41:32 PM4/28/15
to phon...@googlegroups.com
What do you want to do? Adding plugins doesn't automatically make the app do anything -- you have to write code that uses the plugin.

Showing "device is ready" is how the template app works, and that's all it does, regardless of the plugins you give it.

Steve Husting

unread,
Apr 29, 2015, 10:47:04 AM4/29/15
to phon...@googlegroups.com
A plugin is like getting flour to make bread. You still need to do more steps to make the bread, and so it is with plugins. Here are some steps I took to make the camera plugin work in an earlier version:
https://iphonedevlog.wordpress.com/2014/01/31/adding-cordova-apis-to-android-via-cli-accelerometer-and-camera/

Kerri Shotts

unread,
Apr 29, 2015, 12:05:34 PM4/29/15
to phon...@googlegroups.com
Now I want some fresh homemade bread.... Mmmmmmmm!
Reply all
Reply to author
Forward
0 new messages