fahrulhidayat / apps-for-android

Automatically exported from code.google.com/p/apps-for-android
Apache License 2.0
0 stars 0 forks source link

WikiNotes needs a sync or backup mechanism #31

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
WikiNotes is great, especially on a touchscreen phone... but I don't like
committing lots of information to somethin without backup or sync.  I can't
even get at the sqlite database from adb shell, at least in rc30, because
(1) the standalone sqlite3 isn't shipped anymore (2) the permissions model
prevents it anyway.

*Ideally* it would be possible to push the pages to something in Google
Docs, but even a regular update of a copy of the db on the sdcard would be
an improvement, since that's easy to back up.

(Just a feature request for now, though if I get desperate enough I may
hang patches here too :-)

Original issue reported on code.google.com by eic...@gmail.com on 17 Nov 2008 at 3:02

GoogleCodeExporter commented 9 years ago
This is a planned feature.  I plan to add import/export to SD card, as well as 
an
optional sync to web.  (As this isn't an official Google product, it won't be a 
sync
to Google Docs, though.)

Patches would most definitely be welcome.  My plan is to support JSON only at 
least
for the first cut, so if you want a different export format, please mention it 
here
or even post patches.

Original comment by morri...@gmail.com on 25 Nov 2008 at 8:33

GoogleCodeExporter commented 9 years ago

Original comment by morri...@gmail.com on 25 Nov 2008 at 8:34

GoogleCodeExporter commented 9 years ago
Interim import/export functionality committed at r144.  It does work, but has a
couple minor known issues I want to iron out before putting a new build on 
Market.

I used XML instead of JSON though; it seemed just as easy and is probably 
slightly
friendlier for import/export.  For the web sync I will likely still use JSON.

Original comment by morri...@gmail.com on 26 Nov 2008 at 7:20

GoogleCodeExporter commented 9 years ago
Import/export (backup) implemented as of r145.

Original comment by morri...@gmail.com on 28 Nov 2008 at 2:37

GoogleCodeExporter commented 9 years ago
r146 adds a reference to an Eula class which isn't in svn - well, there's a 
clearly
similar one over in photostream, but it's not just a simple copy (needs a 
package
rename, plus a pile of resources folded in... and a rewrite of the disclaimer 
:-) 
Simply backing out those lines got the build to work, I haven't tested the 
resulting
apk yet, though.

Original comment by eic...@gmail.com on 2 Dec 2008 at 7:48

GoogleCodeExporter commented 9 years ago
hmm, attempting to install WikiNotes-debug.apk does with Failure
[INSTALL_FAILED_UPDATE_INCOMPATIBLE], and android-dev suggests that's because 
it's
signed with a different key than the existing one.

However, looks like 1.1 is actually on the Market, and updating to that gets me
working XML export :-)  so that gives me something to work with, thanks!

Original comment by eic...@gmail.com on 2 Dec 2008 at 8:26

GoogleCodeExporter commented 9 years ago
Oops, I forgot to 'svn add' Eula.java.  Sorry about that, committed at r148

Original comment by morri...@gmail.com on 14 Dec 2008 at 7:23

GoogleCodeExporter commented 9 years ago
i'm lusting after a GTD tiddlywiki but accept that functionality may be ways 
off.

Currently I was hoping to import the context lists from my desktop computer and 
can
see how that may work using a card reader/usb.

my question is using a cloud type approach thru' gDocs or even email

support tho for the synch option particularly if I get a GTD wiki set up.

Original comment by ffoll...@googlemail.com on 2 Jan 2009 at 11:30

GoogleCodeExporter commented 9 years ago
further thoughts. I used a wiki on my palm Treo and found it great for linking
between apps such as memo and calendar

Original comment by ffoll...@googlemail.com on 4 Jan 2009 at 11:35

GoogleCodeExporter commented 9 years ago
I apologize in advance if I'm misunderstanding how the app works by default - 
but 
based on the existence of import/export to SD card, I'm guessing that the 
page-set 
(or however to call a glob of wiki? That-which-is-exported-as-xml) is kept in 
on-
device storage (IE, not removable storage) by default?

If possible, as wikis can get large (with some effort, and judicious use of the 
import tool, I'm guessing), I'd like to see something akin to a 'work directly 
from 
SD' option.

Also: based on it (I think, again) being in phone memory, can I guess that the 
max 
size of a wiki that it can deal with is rather small? What if a single page was 
~ 1MB 
of text? What if the top page linked to, say, 100 such 1MB pages? Ideally, this 
would 
be possible & practical (and doubly ideally, in conjuction with a (requested 
elsewhere, by someone else) method to change font size (my suggestion: further 
xml 
tags within the <body></body> tags, eg:

<body><size=24><![CDATA[Big text! ]]></size><size=12><![CDATA[Smaller text. 
]]></size></body>

As a side note, if it -is- possible to do 100MB wikis, some way of splitting 
sensibly 
the export files, for ease of editing. Presumably by unique page title?

I'm asking for a lot =)

Original comment by shog...@gmail.com on 23 Apr 2010 at 8:43

GoogleCodeExporter commented 9 years ago
@ shoggot:

The data is indeed stored internally - in the database. Changing that would 
amount to a pretty complete overhaul of the architecture, and is thus unlikely 
to happen.

In regards to the font size issue, you can find an updated (by me) version of 
WikiNotes in the Android Market, named "Styled WikiNotes". It has several 
enhancements, including the ability to change font sizes for a) all notes and 
b) for individual notes. It's also file-compatible with the original WikiNotes, 
so you can export your notes from there, and import them to my version.

Original comment by ulf.dittmer on 27 Nov 2010 at 1:31