tag:blogger.com,1999:blog-72386855013225666.post5564948102256881629..comments2023-04-18T05:16:02.299-04:00Comments on Simon Mac Donald: Updates to Plugins for PhoneGap 2.0.0Simon MacDonaldhttp://www.blogger.com/profile/14749383583517044214noreply@blogger.comBlogger32125tag:blogger.com,1999:blog-72386855013225666.post-11573537623077645692012-12-10T13:59:16.249-05:002012-12-10T13:59:16.249-05:00@Ádám Metz
There should be no reason why it does...@Ádám Metz <br /><br />There should be no reason why it doesn't play after the first click/tap.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-69280172017366483232012-12-05T09:29:20.634-05:002012-12-05T09:29:20.634-05:00Thanks for your reply Simon!
Meanwhile this annoy...Thanks for your reply Simon!<br /><br />Meanwhile this annoying issue is solved, but I got another one, and I don't know how to fix it.<br /><br />I have to tap twice on the link, that points to the required video to start playing immediately, just after the second tap. <br /><br />here is my link<br />a href="#" onclick="playVideo('file:///android_asset/www/video/120508_Fragmin_Norge.3gp')<br /><br />My question is: Is it possible to play the video after the first tap?<br /><br />Thanks for your answer in advance!<br /><br />AdamAnonymoushttps://www.blogger.com/profile/03571243926998085417noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-44494409770139604552012-12-02T11:07:43.318-05:002012-12-02T11:07:43.318-05:00@Ádám Metz
Did you make sure you loaded the cord...@Ádám Metz <br /><br />Did you make sure you loaded the cordova.js script file before the video.js script?Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-5836461417604818732012-12-01T12:27:58.540-05:002012-12-01T12:27:58.540-05:00Hi Simon!
After I was trying to run my app with y...Hi Simon!<br /><br />After I was trying to run my app with your plugin I got that logcat error when I'm tapping on the video to play:<br /><br />Uncaught ReferenceError: cordova is not defined at file:///android_asset/www/scripts/video.js:10<br /><br />I'm using the latest ver of phonegap, the 2.1.0. Have you got an idea, what could be the matter?<br />Anonymoushttps://www.blogger.com/profile/03571243926998085417noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-91257187170278104202012-11-08T14:24:50.267-05:002012-11-08T14:24:50.267-05:00@John Goluch
Sorry, I do not know of such a plugi...@John Goluch<br /><br />Sorry, I do not know of such a plugin.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-25401514115192744512012-11-08T12:14:04.299-05:002012-11-08T12:14:04.299-05:00This looks like an active PhoneGap community so ho...This looks like an active PhoneGap community so hopefully this is a good place to pose this question...As a veteran programmer but relative PhoneGap & Android newbie, does anyone know where I might find a PhoneGap plugin for the new Android ioio ("yo-yo")interface for hardware peripherals?Anonymoushttps://www.blogger.com/profile/00772090504733021915noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-12583414935122425842012-10-05T12:57:27.210-04:002012-10-05T12:57:27.210-04:00@Robert Frew
At the end of step 3 on this page sh...@Robert Frew<br /><br />At the end of step 3 on <a href="http://docs.phonegap.com/en/2.1.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android" rel="nofollow">this page</a> shows how to add it to your manifest.xml.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-54740394412012239662012-10-04T23:34:15.543-04:002012-10-04T23:34:15.543-04:00How do you add the following into config.xml for p...How do you add the following into config.xml for phonegap build?<br /><br />android:configChanges="orientation|keyboardHidden"Anonymoushttps://www.blogger.com/profile/01137664540412965515noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-12463959705336742472012-08-25T17:18:36.352-04:002012-08-25T17:18:36.352-04:00@HighTechMan
I don't do the BB side very oft...@HighTechMan <br /><br />I don't do the BB side very often. It looks like you are using the wrong cordova.js. Each platform has their own version of cordova.js.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-44778611984713094572012-08-25T13:10:08.597-04:002012-08-25T13:10:08.597-04:00Hi Simon I got an issue on blackberry simulator us...Hi Simon I got an issue on blackberry simulator using phonegap 2.0 any help please<br /><i>gap:["NetworkStatus","getConnectionInfo","NetworkStatus(),true]<br />gap:["Device"."getDeviceInfo","Device1",true]<br />gap:["App","show","App2",true]<br />usePolling gap_callbackServer:<br />getPort gap_callbackServer: <br />gap_poll:</i>HighTechManhttps://www.blogger.com/profile/10568995001643778133noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-38677590079592758512012-08-21T11:21:40.087-04:002012-08-21T11:21:40.087-04:00@Domnic
You are missing one of the key steps in y...@Domnic<br /><br />You are missing one of the key steps in your setup of a PhoneGap Android project. The main activity does not have the following attribute:<br /><br />android:configChanges="orientation|keyboardHidden"<br /><br />Without it the app will be restarted on orientation changes which is why this isn't working for you. See the getting started guide:<br /><br />http://docs.phonegap.com/en/2.0.0/guide_getting-started_android_index.md.html#Getting%20Started%20with%20Android<br /><br />as it is documented near the end of step 3.<br /><br />Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-9850938356282204912012-08-21T01:47:52.814-04:002012-08-21T01:47:52.814-04:00Hi Simon,
That is very kind of you.
https://docs.g...Hi Simon,<br />That is very kind of you.<br />https://docs.google.com/open?id=0B49NPqa2UD4GSVZsOUo1SEtRQUU<br /><br />The error I am getting is..something related to the flashlight..and I tried to comment out the code that enables flashlight.. but still no improvements.<br /><br />Hope you could give me a better insight.<br />thanks<br />Domnic<br /><br /><br />thank you<br />DomnicDomnichttps://www.blogger.com/profile/08221903192742910863noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-64406189282246322372012-08-20T19:46:30.445-04:002012-08-20T19:46:30.445-04:00@Domnic
Zip up your project and post it somewhere...@Domnic<br /><br />Zip up your project and post it somewhere and I will take a look at it.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-39823457349597982442012-08-20T17:30:18.001-04:002012-08-20T17:30:18.001-04:00Hi Simon,
Thats true. I am still stuck up in runni...Hi Simon,<br />Thats true. I am still stuck up in running a code that can scan a bar code and get the results on an alert. I tried all possiblities.. I am sort of at the edge now.<br /><br />I am getting this error:- Phonegap class not found exception when I am starting an app that uses the barcode scanner.<br /><br />wish I had someone who can help me.<br />thanks<br />DomnicDomnichttps://www.blogger.com/profile/08221903192742910863noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-27059167424131959842012-08-19T15:27:29.341-04:002012-08-19T15:27:29.341-04:00@Domnic
I believe if you are the same person from...@Domnic<br /><br />I believe if you are the same person from the PG mailing list you were trying to load the barcode scanner before the cordova.js file.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-6243110439854298202012-08-19T05:49:13.329-04:002012-08-19T05:49:13.329-04:00Hi Simon,
I am using Cordova 2.0 and I am tryin to...Hi Simon,<br />I am using Cordova 2.0 and I am tryin to use the same version of the barcode scanner plugin. I am having an error..<br /><br />TypeError: cordova.exec is not a function<br />[Break On This Error] <br /><br />cordova.exec(successCallback, errorCallback, 'BarcodeScanner', 'scan', []);<br /><br />is there something specifc I need to consider for the plugins tag in config.xml..?<br /><br />my config.xml has an entry .. like<br /><br /> <br /> <br /> <br /><br />is this correct..?<br />thank you<br />DomnicDomnichttps://www.blogger.com/profile/08221903192742910863noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-62809505689835589862012-08-10T13:22:20.845-04:002012-08-10T13:22:20.845-04:00@Libby Baldwin
Yeah, I wasn't exactly happy ...@Libby Baldwin <br /><br />Yeah, I wasn't exactly happy with how 1.9.0 went down.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-46622985833360263842012-08-10T13:19:57.815-04:002012-08-10T13:19:57.815-04:00@Olivier
Undoubtably you've seen my posts on ...@Olivier<br /><br />Undoubtably you've seen my posts on how to upgrade your plugins. I've gotta set up a meeting with other core PG Plugin developers to put together the plugin roadmap.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-63379185707478158002012-08-10T12:57:26.481-04:002012-08-10T12:57:26.481-04:00@Olivier
Hmmm...that is odd. I can't get into...@Olivier<br /><br />Hmmm...that is odd. I can't get into JIRA right now as it is down. I've been away for a bit and I'd like to look into this some more. Are all the details in the JIRA ticket?Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-4602338834879347382012-08-09T10:38:33.231-04:002012-08-09T10:38:33.231-04:00@Ashwini I had a similar issue with the 2.0 releas...@Ashwini I had a similar issue with the 2.0 release with a Facebook SSO not returning correctly anymore. I did post an issue on the JIRA tracker, but unfortunately the team dismissed it (https://issues.apache.org/jira/browse/CB-1161).<br /><br />I would not recommend using 2.0 in production as it has some strange bugs for android.Olivierhttps://www.blogger.com/profile/01774699674796557834noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-51398344480383539752012-08-09T10:27:22.150-04:002012-08-09T10:27:22.150-04:00@Ashwini
Come on over to my Formspring account as...@Ashwini<br /><br />Come on over to my <a href="http://www.formspring.me/macdonst" rel="nofollow">Formspring account</a> as this sounds like it would be a bigger discussion.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-13585545304215063602012-08-09T10:19:59.226-04:002012-08-09T10:19:59.226-04:00@nicoprofe
That actually isn't one of my plug...@nicoprofe<br /><br />That actually isn't one of my plugins. You can tweet at <a href="https://twitter.com/andytrice" rel="nofollow">Andrew Trice</a> and as him to update it. Alternatively, you could follow my instructions from <a href="http://simonmacdonald.blogspot.ca/2012/07/phonegap-android-plugins-sometimes-we.html" rel="nofollow">this post</a> to update the plugin to 2.0.0 yourself. Then send a pull request to the repo to have your name immortalized in open source software development history.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-688154895517622132012-08-09T10:11:24.488-04:002012-08-09T10:11:24.488-04:00@imin
Yeah, I will update the post to mention tha...@imin<br /><br />Yeah, I will update the post to mention that. If you are using the old plugins.xml file it will work but if PhoneGap detects a config.xml it will use that first.Simon MacDonaldhttps://www.blogger.com/profile/14749383583517044214noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-41921629537455419382012-08-08T02:32:06.858-04:002012-08-08T02:32:06.858-04:00Thanks for this plugin Simon, but I think you shou...Thanks for this plugin Simon, but I think you should update the documentation on inserting the line into config.xml and <b>not</b> plugins.xml. Newbie like me stucked hours figuring out why your plugin didn't work, and a good soul at stack-overflow pointed out I should write the plugin line into config.xml instead. Anyway, thanks again for this awesome plugin!iminhttps://www.blogger.com/profile/16653812487139833979noreply@blogger.comtag:blogger.com,1999:blog-72386855013225666.post-75912138395359850482012-08-07T01:40:45.029-04:002012-08-07T01:40:45.029-04:00Simon, I 'm new to Phonegap but I can see the ...Simon, I 'm new to Phonegap but I can see the amazing work thath you are doing for the phonegap comunity. Could you please make an update for the Low Latency plugin for Cordova 2.0.0? I am looking for help a long time ago...<br />Thanks!nicoprofehttps://www.blogger.com/profile/12657755068269328697noreply@blogger.com