On Fri, Jul 8, 2011 at 1:10 PM, Chamika Weerasinghe <[email protected]>wrote:
> On Fri, Jul 8, 2011 at 2:56 PM, Thomas Mortagne > <[email protected]>wrote: > > > On Fri, Jul 8, 2011 at 1:38 AM, Chamika Weerasinghe <[email protected] > > >wrote: > > > > > Hi all, > > > > > > I've finished XWiki android client to some extend with following > > features. > > > > > > Login - HTTP Basic Auth. > > > XWiki navigator - tree style xwiki navigator to explore wikis, spaces > and > > > select pages. > > > XWiki Page Viewer - Simply shows the content of a page via accessing > > > Objects > > > and Properties of REST model. This will be developed further > > > XWiki Object Viewer - Explorer objects of a given page. > > > > > > These are the screenshots of the xwiki android client > > > > > > > > > https://picasaweb.google.com/chamikaw/Xwiki?authuser=0&authkey=Gv1sRgCLet4s7KgZWVZA&feat=directlink > > > > > > > > > > Improvements: > > > 1. After modifying XWiki navigator to load dynamically as Thomas > > requested, > > > it take more time since many http requests are handled. I will improve > by > > > reducing number of http requests as soon as possible. Until then xwiki > > > navigator works but it's unstable and take long time to load. > > > > > > > You should try to apply the following rule: one user action should not > > generate more that one HTTP request as much as possible. Note that it's > > very > > possible there is missing API on server side and in this case don't > > hesitate > > to propose then as long as they are clean and make sense in general. > > > > Reduced number of HTTP request by some modifications in the navigator. Some > requests are repeated twice and now I cut off them. > > > > Also you should cache part of what you already downloaded, not sure what > > size of cache you can afford on Android but you can also cache thing in a > > DB > > instead of the memory whhich would make it already a lt quicker to get > than > > doing a HTTP request. > > > > Used cache technique and also stores some of the downloaded parts in > memory. This reduced the time almost by half. :) > But when I use www.xwiki.org for testing it still takes considerable time > and it closes forcibly (because android cannot handle them such load) when > I > expand some Spaces in tree view. > I would say it's ok for a first version as long as your store/cache this kind of spaces to do re-download it all when you re-exped it not long after. > > > > > > > > 2. xwiki classes view will implement within next week. > > > > > > Issue solved: > > > Although repository can be built using maven it will not produce > correct > > > apk > > > file to deploy in android devices. This issue is solved by using Maven > > > Android Plugin 2.9.0-beta-1 release. Now generated .apk file in > > > xwiki-android-client can be deployed in android devices. > > > > > > Please be kind to test it and give your opinions for improving. > > > > > > > You forgot to say that it can be downloaded on > > > > > http://maven.xwiki.org/snapshots/org/xwiki/android/xwiki-android-client/1.0-SNAPSHOT/ > > ;) > > > > > > > > > > > > > Best Regards, > > > Chamika Weerasinghe > > > _______________________________________________ > > > devs mailing list > > > [email protected] > > > http://lists.xwiki.org/mailman/listinfo/devs > > > > > _______________________________________________ > > devs mailing list > > [email protected] > > http://lists.xwiki.org/mailman/listinfo/devs > > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

