i'm trying to build an apk file for android device.
Easy with Dreamweaver yes.
Difficulty comes when you try to add some specific functionality : for instance you may want to post some stuff on the user 's facebook wall.
PhoneGap provides a plugin for that : https://github.com/davejohnson/phonegap-plugin-facebook-connect
But this plugin needs some addional stuff from the android SDK. It needs some java classes, namely the facebook android sdk : https://github.com/facebook/facebook-android-sdk
Has anybody any hint on how we could include that stuff in dreamweaver installation?
In my opinion we need to rebuild android.jar (not tried yet) but there may be another solution to tweak Dreamweaver. Or has anybody another solution to post on facebook/twitter from a native apk coming from a jquery/phonegap project under Dreamweaver?
thanks in advance for reactions/advices/...
yep I found a workaround at that time, but as I remember I had to move the DW project on Eclipse. That was straighforward though. Found the link on stackoverflow but it seems the steps have been removed on phonegap forum
Can you remember if after you moved your project to Eclipse - if you could still use the PhoneGap build service or did you have to back to installing all the relevant SDK's etc (and buy a mac )
I did that on a mac :-)
however it was a standard eclipse project. I had to include the correct JARS (facebook+phonegap) in the library path and everything was fine quite easily. I mean there was no additional SDK to install due to OSX.
What I remember too is this: there is no facebook app installed on the emulator. It means when you run your app on it and try to connect to facebook through phonegap, the browser will open and ask for authentication. On your device, if the FB app is installed a nice popup will open and ask for authentication and authorization (or just confirmation if you are already authenticated).
in conclusion there's no need to buy a mac for that. Be sure to check phonegap forum and post your problem. Phonegap releases have evolved a lot and they are quite responsive.
Europe, Middle East and Africa