I push some new code on the v2:

- an android source tree (which depends on Cordoba 2.7rc1 as other cordovas
don't work with Android 4.2)
- some changes in the javascript code

Note to make android work you need to :

- add a link to src/main/www in assets/www (cd android/assets, ln -s
../../src/main/www www)
- change cordova-2.6.0 to cordova-2.7.0 in index.html

Ludovic



2013/5/1 Ludovic Dubost <[email protected]>

> Hi,
>
> I'm not sure why the apk does not work. I ran it fine on the simulator. It
> could be a compatibility issue with your device (which is it ?)
> If the screens stays on wikis and tools it means initialization has
> failed, but it could be many things (failed to load translations, failed to
> load cordova, etc..)
>
> The easiest way to run the application is to run it on a local browser. IE
> and Safari I think can run it fine.
> Firefox and Chrome will block on ajax requests because of security issues.
>
> To fix this you can use:
>
> 1/ put the code behind a web server
> 2/ Use the Firefox CORS extension to force CORS headers which will allow
> cross domain requests
>
> I usually develop on Safari (on Mac) as it can run the code as is.
>
> Ludovic
>
>
>
> 2013/4/30 Buddhiprabha Erabadda <[email protected]>
>
>> Hi Ludovic,
>>
>> Thank you for your instructions regarding configurations. I had previously
>> taken the older JQuery Mobile version which does not have a configuration
>> function.
>>
>> I downloaded the alpha release of the mobile client from the link you
>> sent.[1]  I installed it on my Android device and run it. But for some
>> reason it only gives me a list view with two items "wikis" and "tools" and
>> it is not possible to process further. What can be the reason for this?
>>
>> Since the apk did not work I tried to build it from the source.[2] Since
>> it
>> had a build.xml inside the Android folder I built with ant and it was
>> successfully built. But I was not able to run the project. Can you please
>> advice me regarding building the project from source so that I can test
>> the
>> current version of the mobile client? Thank you in advance.
>>
>> [1] http://dev.xwiki.org/xwiki/bin/view/Design/MobileClientAlphaRelease
>> [2]
>>
>> https://github.com/xwiki-contrib/mobile-standardxwikiclient/tree/v2/android
>>
>> On Tue, Apr 30, 2013 at 2:08 AM, Ludovic Dubost <[email protected]>
>> wrote:
>>
>> > Hi Buddhiprabha,
>> >
>> > You are very welcome to make a good proposal in the mobile area that
>> would
>> > build on the current mobile client.
>> > You need to show us that you know what it means to do Mobile Web
>> > Development, that you understand the current architecture of the code
>> and
>> > can work on the technologies needed (Cordova, Notifications, etc..).
>> > The next set of features will probably require slightly more native
>> > development.
>> >
>> > You can try to convince us that you are a good candidate by analyzing
>> the
>> > current prototype and tell us what you think should be improved and what
>> > are the most important features from your point of view.
>> > (I have some ideas so we can test you on that)
>> >
>> > There is an alpha release for Android as a package here:
>> > http://dev.xwiki.org/xwiki/bin/view/Design/MobileClientAlphaRelease
>> >
>> > Since you already build it, you want to test it you can either:
>> >
>> > 1/ In the simulator configure localhost. For that the settings would be:
>> >
>> > server: http://localhost:9080
>> > baseurl: http://localhost:9080/xwiki/
>> > viewurl:  http://localhost:9080/xwiki/bin/view/
>> > resturl: http://localhost:9080/xwiki/rest/wikis/xwiki/
>> >
>> > 2/ In a real phone point it to a instance available on the net (simular
>> > URLs as those) for example dev.xwiki.org
>> >
>> > server: http://dev.xwiki.org
>> > baseurl: http://dev.xwiki.org/xwiki/
>> > viewurl:  http://dev.xwiki.org/xwiki/bin/view/
>> > resturl: http://dev.xwiki.org/xwiki/rest/wikis/dev/   (slightly
>> different
>> > here because dev.xwiki.org is a subwiki of a XEM instance)
>> >
>> > 3/ in a real phone point it to an XWiki SAS Cloud instance (register on
>> > https://network.xwiki.com where you can get
>> >
>> > it's https. Here example with the wiki called "ludovic"
>> >
>> > server: https://ludovic.cloud.xwiki.com
>> > baseurl: https://ludovic.cloud.xwiki.com/xwiki/
>> > viewurl:  https://ludovic.cloud.xwiki.com/xwiki/bin/view/
>> > resturl: https://ludovic.cloud.xwiki.com/xwiki/rest/wikis/wikiXXX/
>> >
>> > In the last url wikiXXX needs to be replace by a value specific to your
>> > wiki. You can get this value by pasting this in a wiki page our your
>> XWiki
>> > Cloud instance:
>> >
>> > {{velocity}}
>> > $context.database
>> > {{/velocity}}
>> >
>> > At this point XWiki mobile cannot get the value of wikiXXX for XWiki
>> Cloud.
>> > This might be fixed in a future version of XWiki.
>> >
>> > BTW I'm not sure you took the right code. The v2 is in a branch:
>> > https://github.com/xwiki-contrib/mobile-standardxwikiclient/tree/v2
>> >
>> > You might have taken the older JQuery Mobile version which is slower and
>> > does not have a configuration function.
>> >
>> > Ludovic
>> >
>> > 2013/4/29 Buddhiprabha Erabadda <[email protected]>
>> >
>> > > Hi all,
>> > >
>> > >
>> > > Marius,
>> > >
>> > >
>> > > Thank you for pointing out that the mobile news application is not
>> within
>> > > the scope of XWiki for GSoC. I will come up with an idea within the
>> scope
>> > > as you have instructed.
>> > >
>> > >
>> > > Caty,
>> > >
>> > >
>> > > Thank you for directing me to the mobile application that is being
>> > > developed for XWiki. I went through the links you provided and read
>> about
>> > > the design proposal and its proposed features in 3 tiers explained by
>> > > Ludovic. [1]
>> > >
>> > >
>> > > I forked the code from github[2] and used only the www directory and
>> > > created the application using Cordova. I installed it on my Android
>> phone
>> > > to see its existing features. I could run the application on my device
>> > > successfully and I tried to connect to a cloud. I could not figure out
>> > how
>> > > it can be connected to a particular XWiki instance. Can someone please
>> > tell
>> > > me how the application can be connected to a particular instance. Is
>> > there
>> > > a test cloud that can be used to test the application?
>> > >
>> > >
>> > > I would like to contribute to this application by implementing some of
>> > the
>> > > features that are listed in the design proposal for the mobile client.
>> > What
>> > > features will be integrated in the next release of the application? I
>> > would
>> > > like to know if it possible for me to take this as a GSoC project for
>> > GSoC
>> > > 2013.
>> > >
>> > >
>> > > From the Ideas page, the idea “Improve the messaging feature”
>> captured my
>> > > attention and I would like to look more in to that and to know more
>> about
>> > > the idea if mobile application feature development is not possible to
>> be
>> > > taken up as a GSoC project.
>> > >
>> > >
>> > > I appreciate your advice on the project. Thank you in advance.
>> > >
>> > >
>> > > [1] http://dev.xwiki.org/xwiki/bin/view/Design/MobileClient
>> > >
>> > > [2] https://github.com/xwiki-contrib/mobile-standardxwikiclient
>> > >
>> > > On Mon, Apr 29, 2013 at 1:38 PM, Ecaterina Moraru (Valica) <
>> > > [email protected]> wrote:
>> > >
>> > > > Hi,
>> > > >
>> > > > There is some work done in the mobile direction that you can check
>> out
>> > > > "Mobile XWiki Client and Mobile Skin repositories on xwiki-contrib"
>> > > > http://markmail.org/thread/ytujvmshwdeun7kv
>> > > > "New version of the Mobile App
>> > > > Code<http://markmail.org/message/htfs3bqtj2tdpfnf>"
>> > > > http://xwiki.markmail.org/thread/htfs3bqtj2tdpfnf
>> > > >
>> > > > If you really like the mobile area you can check out what is
>> currently
>> > > done
>> > > > and adapt your proposal according to it. Then the proposal will be
>> > review
>> > > > and see if we can find a matching mentor for it.
>> > > >
>> > > > Thanks,
>> > > > Caty
>> > > >
>> > > >
>> > > >
>> > > > On Mon, Apr 29, 2013 at 10:26 AM, Marius Dumitru Florea <
>> > > > [email protected]> wrote:
>> > > >
>> > > > > Hi,
>> > > > >
>> > > > > On Sun, Apr 28, 2013 at 11:28 PM, Buddhiprabha Erabadda
>> > > > > <[email protected]> wrote:
>> > > > > > Hi all,
>> > > > > >
>> > > > > > I am Buddhiprabha Erabadda, a final year undergraduate from the
>> > > > > Department
>> > > > > > of Computer Science and Engineering, University of Moratuwa.  I
>> > have
>> > > > been
>> > > > > > studying about XWiki from few days now and I have
>> > > > > > downloaded the xwiki-enterprise-jetty-hsqldb-4.5.3.zip [1] and
>> run
>> > it
>> > > > on
>> > > > > my
>> > > > > > Windows machine to understand the client side of XWiki. Now I am
>> > > > getting
>> > > > > > familiar with the code base, referring to various documentation.
>> > [2]
>> > > > > >
>> > > > > > After going through XWiki site and particularly News and Blog
>> [3],
>> > I
>> > > > > > decided to come up with a new idea for GSoC 2013 for XWiki. My
>> idea
>> > > is
>> > > > to
>> > > > > > develop a mobile news application for XWiki. This will enable
>> users
>> > > to
>> > > > > view
>> > > > > > news about posts, new releases, fixes, etc  through the
>> > application.
>> > > In
>> > > > > > particular, my proposed application will contain the following.
>> > > > > >
>> > > > > >
>> > > > > >    - News will be shown as a thumbnail list: it will contain an
>> > image
>> > > > of
>> > > > > >    the author of the news item or an image related to the news
>> > item,
>> > > a
>> > > > > title
>> > > > > >    for the news item, and a brief description about the news
>> item.
>> > > > > >    - When a user clicks on the news item, user will be directed
>> to
>> > a
>> > > > page
>> > > > > >    with full information regarding that particular news.
>> > > > > >
>> > > > > >
>> > > > > > This application can have following features.
>> > > > > >
>> > > > > >
>> > > > > >    - The user can filter news: for example Latest news, news by
>> a
>> > > > > specific
>> > > > > >    author, news from a particular period, etc.
>> > > > > >    - Add favourite news: this will enable the user to mark
>> his/her
>> > > > > favorite
>> > > > > >    items and there by access them at a later point of time.
>> > > > > >    - Enable adding comments from the application
>> > > > > >
>> > > > > >
>> > > > > > This is the basic outline of my proposed mobile application. I
>> > expect
>> > > > to
>> > > > > > implement this as a PhoneGap application. Using PhoneGap to
>> develop
>> > > the
>> > > > > > application will enable it to be run on multiple platforms,
>> > including
>> > > > > > Android, iOS, etc. The application will be beneficial for
>> everyone
>> > > > > > including users and developers of XWiki because it will enable
>> them
>> > > to
>> > > > be
>> > > > > > updated on the go using a mobile application.
>> > > > > >
>> > > > >
>> > > > > > I would like to know your opinion on the idea of having the
>> > proposed
>> > > > > mobile
>> > > > > > news application. Please add to list of features if you have
>> better
>> > > or
>> > > > > new
>> > > > > > ideas for them.
>> > > > >
>> > > > > I'm glad that XWiki has caught your attention but I don't think
>> your
>> > > > > proposal fits into our target for GSoC because:
>> > > > >
>> > > > > (1) It's not related to the XWiki product. If your application can
>> > get
>> > > > > the news from xwiki.org then it can get them from other sites as
>> > well.
>> > > > > Even if you take the data (using REST) from the blog structure
>> > > > > (objects) that is specific to XWiki, that is just a small part,
>> the
>> > > > > rest of the application (display and interaction) would still be
>> > > > > generic. I'd rather see the XWiki news / blog posts integrated in
>> an
>> > > > > existing news application.
>> > > > >
>> > > > > (2) The blog application already supports 'exporting' the blog
>> posts
>> > /
>> > > > > news in RSS format, which can be used in any RSS aggregator, and
>> > there
>> > > > > are mobile news aggregator applications that can read RSS.
>> > > > >
>> > > > > I hope this won't discourage you. If none of the listed
>> > > > > http://gsoc.xwiki.org project ideas attract you then you can make
>> > your
>> > > > > own proposal but it must be related to the XWiki product.
>> > > > >
>> > > > > Thanks,
>> > > > > Marius
>> > > > >
>> > > > > >
>> > > > > > I participated for GSoC 2012 under DocBook organization for the
>> > > project
>> > > > > > “DocBook to Word XML roundtripping XSLs” and successfully
>> completed
>> > > my
>> > > > > > project. [4] [5] I would like to contribute to XWiki in GSoC
>> 2013
>> > > and I
>> > > > > > hope to know your idea about my proposed mobile application.
>> Thank
>> > > you
>> > > > in
>> > > > > > advance.
>> > > > > >
>> > > > > > [1] http://enterprise.xwiki.org/xwiki/bin/view/Main/Download
>> > > > > >
>> > > > > > [2] http://dev.xwiki.org/xwiki/bin/view/Main/WebHome
>> > > > > >
>> > > > > > [3] http://www.xwiki.org/xwiki/bin/view/Main/News
>> > > > > >
>> > > > > > [4]
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> http://www.google-melange.com/gsoc/project/google/gsoc2012/buddhiprabha/15001
>> > > > > >
>> > > > > > [5]
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>> https://docbook.svn.sourceforge.net/svnroot/docbook/branches/gsoc-2012/roundtrip2
>> > > > > >
>> > > > > >
>> > > > > > --
>> > > > > > *Buddhiprabha Erabadda*
>> > > > > > *Department of Computer Science and Engineering*
>> > > > > > *University of Moratuwa*
>> > > > > > _______________________________________________
>> > > > > > 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
>> > > >
>> > >
>> > >
>> > >
>> > > --
>> > > *Buddhiprabha Erabadda*
>> > > *Department of Computer Science and Engineering*
>> > > *University of Moratuwa*
>> > > _______________________________________________
>> > > devs mailing list
>> > > [email protected]
>> > > http://lists.xwiki.org/mailman/listinfo/devs
>> > >
>> >
>> >
>> >
>> > --
>> > Ludovic Dubost
>> > Founder and CEO
>> > Blog: http://blog.ludovic.org/
>> > XWiki: http://www.xwiki.com
>> > Skype: ldubost GTalk: ldubost
>> > _______________________________________________
>> > devs mailing list
>> > [email protected]
>> > http://lists.xwiki.org/mailman/listinfo/devs
>> >
>>
>>
>>
>> --
>> *Buddhiprabha Erabadda*
>> *Department of Computer Science and Engineering*
>> *University of Moratuwa*
>> _______________________________________________
>> devs mailing list
>> [email protected]
>> http://lists.xwiki.org/mailman/listinfo/devs
>>
>
>
>
> --
> Ludovic Dubost
> Founder and CEO
> Blog: http://blog.ludovic.org/
> XWiki: http://www.xwiki.com
> Skype: ldubost GTalk: ldubost
>



-- 
Ludovic Dubost
Founder and CEO
Blog: http://blog.ludovic.org/
XWiki: http://www.xwiki.com
Skype: ldubost GTalk: ldubost
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to