• Index
  •  » Cafe
  •  » Android client - call for help :-)

#1 2010-03-11 19:58:42

Fabrizio
New member
Registered: 2010-03-11
Posts: 2

Android client - call for help :-)

Hi everybody,

I'd like to create an Android app to view my GCstar film collection. Possibly, this app could evolve into being a full viewer/editor for all kind of GCStar collections. I plan to give it for free on the Android Market smile

My first concern was finding an XSD schema for GCStar film collections, but I had some trouble in finding one: the gcm.xsd file included both in the source distribution, and the one available in the last snapshot I could find (http://svn.gna.org/viewcvs/gcstar/trunk … iew=markup), do not specify the same attributes described here (http://wiki.gcstar.org/en/schemas/gcfil … on_element), thus there are inconsistencies between the source code and the schema description available in the wiki website (which, by the way, seems to be more consistent with the XML of my collection, which I use with GCStar v1.4.3 .
I also found a broken link to the schema file "gcm-revision3.xsd" in the forum (http://forums.gcstar.org/viewtopic.php?id=308).
Any hint?

Of course, suggestions/opinions on the Android app idea are welcome :-)

Thanks

Offline

 

#2 2010-03-11 21:59:00

Tian
Administrator
From: France
Registered: 2006-12-08
Posts: 1647
Website

Re: Android client - call for help :-)

Hi,

All the XSD you found are useful to validate the .gcm files, i.e. the models describing collections. These .gcm files are delivered within GCstar (one for each kind of default collection). Or can be created by users when making custom models.

What you would like, and what is described on the wiki page you mentioned, is a XSD to validate a given type of collection. This doesn't exist yet. But someone created an XSLT that can be used to convert a .gcm file into a XSD that can validate collection of its kind. It can be found here :

http://svn.gna.org/viewcvs/gcstar/trunk … idator.xsl

But I have to admit I didn't test it recently. There is a small perl script to apply it if you don't have another tool for that purpose :

http://svn.gna.org/viewcvs/gcstar/trunk … plyXSLT.pl

I think it would be really great to have an Android application that manages GCstar's collections ! I will try to provide you as many help as I can. But I don't have that much time these days (hint on home page wink ).

Offline

 

#3 2010-03-15 16:16:37

Fabrizio
New member
Registered: 2010-03-11
Posts: 2

Re: Android client - call for help :-)

Hi Tian,

Thanks for your prompt reply, and congratulations for having become a dad! smile

I applied the XSLT to the GCFilms.gcm file (I used Netbeans to do so, however thanks for the perl script), and produced a XSD file that, however, didn't specify any attribute for the "item" elements (that instead have many attributes).
I have never had the need of understanding how XSL works, so I don't think I'm going to understand what's wrong in the process of generating a schema file: if the schema wiki is correct, I plan to implement an ad-hoc parser, without relying on the XSD schemas (at least for the first version of the GCStar viewer). I can introduce a schema-generated parser later (I'll hide the parsing details behind a convenient interface, to decouple data representation from the rest of the application).

I'll let you know as the development goes on!
In the meantime, if you (or some other developer) happen to fix the XSLT, please let me know.

Offline

 

#4 2010-04-27 01:47:09

mykro76
New member
Registered: 2009-03-12
Posts: 3

Re: Android client - call for help :-)

I'm very interested in seeing an Android client for GCstar!  I would also be interested in helping out.  But I'd like to know which type of client you are talking about:

1. A front-end client that connects to a GCstar database on a PC.  This may or may not involve using some of the code from the gcweb project.  Or,

2. A fully self-contained application that stores the database on the phone.

Thanks smile

Last edited by mykro76 (2010-04-27 01:47:35)

Offline

 
  • Index
  •  » Cafe
  •  » Android client - call for help :-)



Should you have a problem using GCstar, you can open a bug report or request some support on GCstar forums.