Import custom cordova plugin into IBM Mobile First version 7.1 using Eclipse - eclipse

How to import custom cordova plugin into IBM Mobile First version 7.1 project using Eclipse?

The custom Cordova plugin's native files and associated Javascript files will need to be added manually into the MFP 7.1 Hybrid project in the Studio.
Please follow this blog for the steps needed to include a custom plugin :
https://mobilefirstplatform.ibmcloud.com/blog/2015/08/03/integrating-3rd-party-cordova-plug-ins/
Steps on creating a custom plugin from scratch and associated configurations ( with a working sample) is available here:

Related

How to import Ionic project in Eclipse

I installed the JBOSS Tools for Kepler and included the JBOSS hybrid moblie tools for cordova development and I'm able to create a new functional cordova project.
I can't nonetheless import an existing cordova or ionic project because that option doesn't appear on the eclipse import menu.
Is there a step I missed?
So I could not solve the problem created when adding the JBOSS Tools for kepler. I then just downloaded the Red Hat JBoss Developer Studio 8.1.0.
It comes armed with a cordova simulator and also supports ionic. Jboss studio is based on eclipse I find it meets my needs.

How can I import Alfresco SDK 1.0 into Eclipse?

I'm new to Alfresco development and according to my research so far, to develop customizations for Alfresco 4.x I need to use Alfresco SDK 1.0. I was trying to follow this video but as the version is different I have not been able to import it so far.
Been trying a lot of things but when I import it as any other import it comes with too many errors.
Can anyone give me ideas of what I'm doing wrong? Thanks in advance
Previous edition of alfresco where supporting java based SDK and not maven.For any Java base SDK of alfresco ,you have to download that from alfresco wiki.For an example for alfresco version 3.4 you will find that in below link.
https://wiki.alfresco.com/wiki/Alfresco_Community_3.4.e_Download.
After downloading you need to import project from alfresco-community-sdk-3.4.b\lib directory.Once open import dialog ,a list of project will appear.Select the highlighted one as below.
After importing this project,Create new java base project,and select imported project as parent project of new Java based Project.
You should go for latest SDK 1.2 which is maven based SDK for alfresco 4.x versions.
Check this out
http://ecmarchitect.com/alfresco-developer-series-tutorials/maven-sdk/tutorial/tutorial.html

build a cordova plugin for android from source code

I'm a .Net developer and I've some basic information about java development , I'm developing a multi-device-hybrid-apps using visual studio and cordova.
I use a native plugin for push notifications PushPlugin , I want to do some changes in this plugin using java , i downloaded eclipse and ADT plugin .
actually my problem is in using eclipse not in understanding java code (what is project template in eclipse should i use to create android library ), I've created a new android project and added the PushPlugin code that I downloaded from GitHub , but "android project" is generating an android app not just a jar file to use as a cordova plugin.
What I want is to make some modifications in the plugin code and re-build it using eclipse to generate a new jar file.
please advice.
ok i found a way to overcome this issue , It's mainly caused by my lack understanding to how cordova plugins works , so i decided to write steps , it may help someone who has few knowledge about java and cordova plugins.
to edit a downloaded (with source-code) plugin from github
you don't need to install eclipse at all.
you need to have some knowledge in java and android API
in visual studio navigate to your plugin source code under plugins folder , in this case it's \plugins\com.phonegap.plugins.PushPlugin\src\android\com\plugin\gcm
find the plugin starting class which will be a class extends CordovaPlugin
edit what you want in java code
now in order to re-build java code , you MUST Clean cordova project before making a new deploy.
That's all.

Cordova Social Sharing Plugin not working in NetBeans 8 Cordova Build

I installed Social Sharing Plugin using Command Prompt in my cordova 3.3 project of NetBeans 8
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin
After successful plugin installation. The social sharing plugin is listed in the plugins folder. But when is try to build and run the app. Netbeans builder automatically removes the installed social sharing plugin. Check the log below
check-android-template:
check-cordova-version:
check-cordova-project:
upgrade-to-cordova-project:
create-android:
update-plugins:
cordova.cmd plugins
cordova.cmd -d plugin remove nl.x-services.plugins.socialsharing
Calling plugman.uninstall on plugin "nl.x-services.plugins.socialsharing" for platform "android"
Uninstalling nl.x-services.plugins.socialsharing from android
Beginning processing of action stack for android project...
NetBeans' build process parses list of plugins declared via Project properties (for so-called "core" plugins known by NetBeans) or from plugin.properties file (actually in project properties NetBeans reads this file and display/adds core plugins from/to it). Have a look at this screenshot, it says that you can add custom plugins by modifying nbproject/plugins.properties file. If you add the Social sharing plugin to this file, you should be OK.

gwtext.jar's version generated by gwt plugin of Eclipse

Currently I am using GWT 2.3.0 sdk and installed the google web toolkit plugin for eclipse.
I created a web application project with the plugin and want to use GWT-Ext.
Then, right click on the module (com.company.project) and choose "Google Web Toolkit" and choose "Configure for using GWT-Ext".
Then, a gwtext.jar is automatically generated in the project.
My question is, how can I verify the version of the automatic generated gwtext.jar and all the license issues with it?
As I got you, you want to check the gwt version.
So follow this step.
Right click on the project->Properties->Google->Web Tool Kit.
After selecting Web ToolKit you can see the version which is in used and you can also configure the another version by clicking on the configure version.
Hope this will help you.