Iam trying to integrate Phono Mobile with Phonegap.
I did the following steps:
Add the Phono Plugin
Copy the contents of libs to your PhoneGap libs directory. This includes:
armeab/libg722.so
phonogap.jar
srtplight.jar
Copy 'jquery.phono.js' to your PhoneGap 'www' directory and include it in your app (e.g. index.html)
Added com.phono.android.phonegap.Phono res/xml/plugins.xml
voxeolabs.net,phono.com access origin also added
But Phono object was not being initiated. Please correct me if iam doing anything wrong.
Thanks
Simple try links like
Call me!
Related
I am running a phonegap build application version 3.4.0.
Phonegap build has a list of plugins https://build.phonegap.com/plugins where you can find a lot of them for example to send mails, etc.
But i can't see a plugin that retrieve the account information for android devices like the email or name of the owner.
To add a plugin you have a config.xml file in wich you add a line like this:
<gap:plugin name="com.jcjee.plugins.emailcomposer" version="1.4.6" />
My problem is that i found a plugin that seems to be useful: https://github.com/seltzlab/AccountList-Phonegap-Android-Plugin but i cannot find a way to include it on phonegap build compilation.
I can see that you can create a custom public plugin http://docs.build.phonegap.com/en_US/developer_contributing_plugins.md.html but i don't need that, i only need to use one, wich is already created.
Is there any way to achieve this?
Thanks in advance.
I am new to Phonegap and I am currently developing an android app using jquery mobile and Phonegap.
I googled a lot on how to use the downloader plugin and how to call it in your Html file which contains the link of the file you want to download with the downloader plugin but couldn't find any working example.
Can anyone here please provide me with a simple working demo of the PhoneGap downloader plugin so that I will get relevant information on how to use it. Or help me in implementing the plugin and calling it on the specific url.
Thanks in advance. :)
I've used a downloader plugin quite a long time ago with phonegap 2.2 and it was quite easy to use.
Is this the plugin you are trying to use? or maybe this one?
The fist one seems to have been updated for the phonegap 2.7+ format so maybe usable in a phonegap 3 project, except that you won't be able to install using the CLI and will have to had the plugin manually in platform/android or you could write a plugin.xml yourself.
To use it, you just have to follow the instructions in the readme.md or read the original article in http://www.toforge.com/2011/02/phonegap-android-plugin-for-download-files-from-url-on-sd-card/
Again I haven't tried to use it in recent versions of phonegap and am not sure if the plugin should be updated to be compatible.
Edit:
For each file you have to call:
window.plugins.downloader.downloadFile("http://server/file.txt", {overwrite: true},
function(res) {
//function called when the file is downloaded
//the file content is in res
}, function(error) {
//function called in case of error
}
);
if you need to download several files, you could download the next file in the function called in case of success.
I want know where to tell android phonegap cordova to allow access to all external url.
I know i have to do it in cordova.xml but am running cordova 3.0 and there is no file
called cordova.xml in my application.
The only xml file i could find is
AndroidManifest.xml
Build.xml
The whitelisting rules are found in res/xml/config.xml and declared with the element .
http://docs.phonegap.com/en/3.0.0/guide_appdev_whitelist_index.md.html#Domain%20Whitelist%20Guide
I would like to create a credit card app to take payments in Android using Authorize.net payment gateway.
I found some example code here from Authorize.net).
I followed the instructions however on step 2 I am not able to add its sdk as library with another project. When I create a new project as "ExampleActivity.java" & used this code as explained, I got red line errors on the AuthNet object & Environment.SANDBOX
Can anyone help me How to implement this code without errors?
Add the Authrized_net_lib project as a library project
Add jar file authorize_net_lib jar file in your project
Then Clean the project
Now copy and paste given sample code
It will not give error.
I'm developing a simple plugin to Unity Android, that displays an image from the web.
I've created a Jar using my Java files, and loaded it (in a blank Unity sample application) using AndroidJavaClass.
All worked fine, but then I've wanted to rename my Java package.
From now on - I can't see the image. The plugin doesn't even trying to access it.
I've changed the package name in the Java files, and also in the AndroidManifest.xml and in the CS file that's calling it.
The Jar compiles successfully, the application runs on the device, but... nothing.
I've also created a new application that uses the plugin with his new name, but no success.
What have I done wrong?
Or - what can I do to make it work?
Thanks,
Keren
Why would you code a plug-in to display a web image ?
Just use unity native WWW call, then put the result in a texture.
Look at the unity docs.