Google Android Client:  Application Developer Guide

Last modified by sasindarukshan on 2012/08/04 13:53

Client Architecture

client-archi.PNG

Fig: client simple architecture

app flow.PNG

Fig: Application activity flow

Creating your Client app

Client apps are in the xwiki-android-client module.

Conventions

Name your package as follows.
org.xwiki.android.client.<your-app>

In the application manifest define the main starting point activity of you app as follows:

<activity
    android:name=".blog.Blogger"
    android:icon="@drawable/blog"
    android:label="Blog Application" >
    <intent-filter>
          <action android:name="xwiki.android.action.MAIN" /> 
1.PNG
          <category android:name="xwiki.android.category.LAUNCHER" />  2.PNG
      
    </intent-filter>
</activity>

1.PNG  Declare as a Main activity in the Xwiki Client. (set of client apps)
2.PNG  Show the icon of this activity in the XWiki Launch pad

app launch pad.PNG

Fig: XWiki App Launch Pad

Get Connected