If you use my WAI, then you can load a TW file from anywhere, making 
testing easier.

I've just put the code up on GitHub, though I don't know if I did it 
correctly. See https://github.com/Marxsal/Quinoid01. 

-- Mark

On Saturday, December 22, 2018 at 8:03:26 AM UTC-8, BurningTreeC wrote:
>
>
> Here's my WAI. It's much simpler since I don't try to save backups. But it 
>> allows you to save any file from anywhere (but will silently fail if there 
>> is a permissions mismatch).
>>
>> I would like to see the code where you load the incoming file. I think 
>> you might be using a better approach than I used (a simple urlLoad).
>>
>
> Sorry to all others for bumping non-tiddlytext - Mark, the file is loaded 
> in to lines:
>
> File f = new 
> File(Environment.getExternalStoragePublicDirectory(Environment.DIRECTORY_DOCUMENTS),
>  "index.html");
> mWebView.loadUrl(Uri.fromFile(f).toString());
>
>
>> In the longer term, one of the weaknesses of AndTidWiki was how hard it 
>> was to switch between TW files. Android now has a ViewPage layout. So you 
>> could just swipe sidewise and change what file you're viewing.
>>
>> Yes, I'm interested in layouts that help selecting files, a "library" of 
> all wikies. But I don't have a clue how , haven't looked into the 
> documentation yet
>
> I hope we can share our findings and progress from time to time
>
> About the external-sd-card saving, I don't know, haven't found very 
> helpful documentation about that. If you know something about how to try, 
> please let me know
>
> Good luck!
>> -- Mark
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/f3e444a1-cf61-4c6a-a876-077f78cf4c99%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to