I am need of a plugin for a web based app using appMobi with jqMobi as the framework. I need to be able to read UPC codes while do a barcode scan. I can get it work flawlessly with Android, but am not able to use my current code to work with IOS. Does anyone know of a plugin for appMobi, jqMobi, or a way in java-script to get this work?
I have researched a great deal and have came across a few suggestions of implementing another barcode app from the App Store like pic2shop, but can not seem to get it work. Just wondering if anyone has successively created a plugin for jqMobi would be great? Thanks for any help.
appMobi has an API for that, see:
http://www.appmobi.com/documentation/jsAPI/device/scanBarcode/index.html
Related
Im looking for a way to implement push notification on a phonegap application using javascript and parse.com. I found this turorial for iOS
http://www.ladeezfirstmedia.com/2013/08/01/tutorial-part-5-push-it-real-good-with-push-notifications-using-corona-sdk-and-parse-com/
, which seems pretty straight forward, and this tutorial for android http://www.raymondcamden.com/index.cfm/2012/10/10/PhoneGap-Parsecom-and-Push-Notifications.
However, Im using cordova 3.3. and rather stay away from editing the AndroidManifest, which I need to do in the last tutorial. Can any one point me in the right direction, maybe to a tutorial where I can use cordova plugin and easily combine it with parse.com by using javascript for both iO and Android? Btw Im building my project locally in the terminal.
What I want is to notify the user, when its their turn in a game.
Have a look at this answer I've just posted, I've just got the Android Parse PNs working:
How do I get Parse.com Push Notifications working in a Cordova/Phonegap Android app?
It does require you to modify the AndroidManifest and some of the Java files as well, but not a lot. I can't find a plugin that works without doing some of the work myself.
You can use the plugin for iOS as well, you don't need to edit any of the iOS source code but will need to generate a certificate for iOS push notifications, as documented on Parse.
https://parse.com/tutorials/ios-push-notifications
I am looking for a jQuery library to help with handling bidirectionality
Google has one in the closure library, but I feel it is a waste to include all of the library just for bidi input support (unless you recommend me otherwise)
http://closure-library.googlecode.com/svn/trunk/closure/goog/demos/bidiinput.html
the google closure library is a seemingly endless collection for files, with many dependencies. I don't see how using it for 1 function is efficient
http://closure-library.googlecode.com/svn/trunk/closure/goog/
update
I found this from a drupal project. I am unable to make it work. Anyone know of it?
update2
it seems that adding "dir=auto" to the input field handles it.
works in chrome and ff. anyone can confirm this?
dir=auto should fix it.
it is in the html5 standard, although safari doesn't work with it
http://www.w3.org/International/tutorials/new-bidi-xhtml/qa-html-dir
works with chrome and firefox.
Thanks me :)
I'm programming an android app using Applicationcraft, but then I need to create my own plugin for a certain requirement. So I downloaded my app from applicationcraft, then compile it manual using phonegap 1.7.0, but I'm having a problem with my plugin. I have followed every steps in this tutorial, but whenever I use my plugin in a test device I always get this error:
Cannot call method "myfunction" of undefined.
Function: callingFunction
I also consult another question here, but I still having the same problem.
Can anybody tell me what are the possible solutions? Or point me to the right direction (any tutorial for making plugin for PhoneGap 1.7.0). Thanks.
No need, I've already found it here.
I want to create a truth or dare game for android. I am actually thinking about a UI which will have a bottle which can be rotate when user allow it to.
my question is can i do it in android javascript ?
because i know js little bit and there might be some code available online related to my work.
any suggestion or code related will be appreciated
Thanks
Also can i use javascript libraries like jquery on android ?
using phonegap for developing might help you with your project. and yes phonegap does support jquery for android development.
Just started trying to adapt my html, css, javascript files to iOS using PhoneGap (I've also tried NimbleKit but the result is the same). I have a web app that I originally wrote for the Blackberry Playbook. The app works fine on the Playbook and in Chrome and Safari. However, when I try and run it through XCode with PhoneGap, the app displays on the simulator but does not seem to properly run the database coding (at least I think that is the problem). I do not get any build errors.
From the documentation, NimbleKit seems to just support its own internal SQLite, but PhoneGap seems to support WebDB, which is what my database is written in.
Finally, the simulator doesn't seem to run some global variables I have (I know, I know, don't use global variables) although that could be because they appear just after my DB initialization at the beginning of my javascript file.
Any thoughts or points in the right direction would be very helpful. Even if it is to some documentation which can help me debug the app in the iOS sim.
Thanks in advance.
Cold your problem be related to this?
http://phonegap.com/2012/04/18/ios-5-1-and-the-embedded-uiwebview-with-cordova/
I was facing a similar problem with PhoneGap and iOS Simulator last week,
all the code i wrote seem to have no problem,
anyway i tried this remote web inspector, and tried to create a database remotely using Safari Javascript Console,
bottom line I found that I was not able to create web database using iPhone Simulator,
looks like you need to deploy your app onto your device to make use of it.
I might be wrong, but that was what I found.