Obsolete Pages{{Obsolete}}
The official documentation is at: http://docs.alfresco.com
This wiki page explains how to setup an Eclipse Development Environment to build and customize Alfresco Mobile SDK & App for Android.
This procedure will use mostly the 'Maven' approach. Nevertheless it's also possible to setup an Android Alfresco development environment without using Maven. Other alternatives are Gradle, Ant or Eclipse only.
Before setting up any development environment in combination with Alfresco Mobile source code it's important to know which component (eclipse project) the developer are going to use.
If the component used is a(n)
NB : The goal of this page is not to describe precisely each component installation process. It's here to give enough hints.
In this example we will build the release of Alfresco Mobile 1.3.1
The most important things to know in this configuration example is everything is done by Maven and associated Eclipse plugins.
In other words most of the configuration are done via pom.xml files.
NB : In this example Maven & Eclipse plugins are mandatory
NB : In this example we use Samsung Mobile SDK 1.0.2
To build Alfresco Mobile 1.3.1, the minimum Eclipse projects required are the following :
NB : Other transitive dependencies (jar essentially) are managed by Maven regarding pom.xml files of each project.
For each preceding projects
For reference, this is eclipse .project file for apklib eclipse project
<projectDescription>
<name>Your Application Project Name</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>com.android.ide.eclipse.adt.ResourceManagerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.PreCompilerBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.android.ide.eclipse.adt.ApkBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.android.ide.eclipse.adt.AndroidNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
</projectDescription>
and .classpath file
<classpath>
<classpathentry exported='true' kind='con' path='com.android.ide.eclipse.adt.DEPENDENCIES'/>
<classpathentry kind='con' path='com.android.ide.eclipse.adt.ANDROID_FRAMEWORK'/>
<classpathentry kind='src' path='gen'>
<attributes>
<attribute name='maven.pomderived' value='true'/>
</attributes>
</classpathentry>
<classpathentry kind='con' path='org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER'>
<attributes>
<attribute name='maven.pomderived' value='true'/>
</attributes>
</classpathentry>
<classpathentry kind='src' output='bin/classes' path='src'>
<attributes>
<attribute name='optional' value='true'/>
<attribute name='maven.pomderived' value='true'/>
</attributes>
</classpathentry>
<classpathentry exported='true' kind='con' path='com.android.ide.eclipse.adt.LIBRARIES'/>
<classpathentry kind='output' path='bin/classes'/>
</classpath>
or
Below you will find the minimum eclipse project you must have inside your Eclipse Workspace regarding the goal you want to achieve.
Those dependencies pattern are used by Alfresco Android Team to change/modify Alfresco Mobile SDK & App.
Goal : develop / extend / modify Alfresco Android SDK
Goal : develop / extend / modify Alfresco Android APP (without extension)
Goal : develop / extend / modify Alfresco Android SDK & APP
Those project dependencies pattern are typically used by third party developers to create Android Application or extends Alfresco Mobile.
Goal : create an Alfresco Android SDK extension
Goal : create a new Android application based on Android SDK
or
or
Goal : create a new Android application based on Android App Components or Alfresco Mobile Source code
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.