The database is NoSQL type not SQLite. It uses a custom implementation that cannot be deleted manually on the filesystem you always need to erase the app data and clear caches as necessary.
Cheers 2015-07-06 16:57 GMT+01:00 Larry Akah <[email protected]>: > Surely that, because now i have it and it works. The favorites should be > marked with three pieces of important data, which are, the author, the > title of the workflow and the date it was marked. > The view button has not yet been implemented. > Try deleting all the cache data and uninstalling the app then reinstalling > it. > > Cheers > > > 2015-07-06 16:32 GMT+01:00 Ian Dunlop <[email protected]>: > >> Hello, >> >> Still breaks for me with the latest code. Could be because my app is >> using older saved favorites data from when I was testing last week. Should >> I delete the database? Where is it stored? I tried to find the database >> using DDMS but could not see it in the data folder anywhere. >> >> Cheers, >> >> Ian >> >> -----Original Message----- >> From: Larry Akah [mailto:[email protected]] >> Sent: 06 July 2015 16:31 >> To: [email protected] >> Subject: Re: gsoc taverna mobile - Array Index Exception in >> FavoriteWorkflowAdapter >> >> Right, i'll check with that >> >> Thanks. >> >> 2015-07-06 10:27 GMT-05:00 Ian Dunlop <[email protected]>: >> >> > Hello, >> > >> > Here is the contents of 'data': >> > >> > [5, , DOI2PMID, To view workflow on the web, click >> > http://www.myexperiment.org/workflows/5, Jun 29, 2015 3:22:06 PM, >> > 3748665a-1c2c-4345-8607-f1a1e8dd3c89] >> > >> > There are only 6 entries not 7 which data.get(6) seems to expect. >> > >> > Cheers, >> > >> > Ian >> > >> > -----Original Message----- >> > From: Ian Dunlop [mailto:[email protected]] >> > Sent: 06 July 2015 16:05 >> > To: [email protected] >> > Subject: gsoc taverna mobile - Array Index Exception in >> > FavoriteWorkflowAdapter >> > >> > Hello, >> > >> > I'm not really sure what this code is doing but it causes >> > >> > java.lang.IndexOutOfBoundsException: Invalid index 6, size is 6 >> > at >> > java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:255) >> > at java.util.ArrayList.get(ArrayList.java:308) >> > at >> > org.apache.taverna.mobile.adapters.FavoriteWorkflowAdapter.onBindViewH >> > older(FavoriteWorkflowAdapter.java:66) >> > >> > every time I try to run the app. >> > >> > org\apache\taverna\mobile\adapters\FavoriteWorkflowAdapter.java >> > >> > @Override >> > public void onBindViewHolder(FViewHolder fViewHolder, int i) { >> > //get data 0,1,3 from set; >> > ArrayList<Object> data = dataSet.get(i); >> > >> > //String[] mdata = dataSet.get(i); >> > fViewHolder.author.setText((CharSequence) data.get(6)); >> > fViewHolder.title.setText((CharSequence) data.get(2)); >> > fViewHolder.dateMarked.setText((CharSequence) data.get(4)); >> > //fViewHolder.dateAdd.setText(mdata[3]); >> > //fViewHolder.dateModified.setText(mdata[4]); >> > } >> > >> > Cheers, >> > >> > Ian >> > >> >> >> >> -- >> *Akah Larry N.H* >> >> *Lead Software Engineer @ GiftedMom* >> *Founder IceTeck Inc* >> *www.iceteck.com* >> >> Developing technologies for emergence and sustainable development. >> > > > > -- > *Akah Larry N.H* > > *Lead Software Engineer @ GiftedMom* > *Founder IceTeck Inc* > *www.iceteck.com* > > Developing technologies for emergence and sustainable development. > > -- *Akah Larry N.H* *Lead Software Engineer @ GiftedMom* *Founder IceTeck Inc* *www.iceteck.com* Developing technologies for emergence and sustainable development.
