Re: [Zim-wiki] Zim Options on Android

2015-06-02 Thread Hans Elias B. Josephsen
Right now the markup is just parsed from a hardcoded string in the main
activity. I guess the next thing would be to make it load the markup
from a file. I also don't think I implemented serializing the text back
into markup.


On Tue, Jun 2, 2015, at 10:19 PM, Hugh Manning wrote:
 Awesome, thank you very much! I'll get started on it when I get home.
 What were your next steps planned for it when you left off?


 On 3 Jun 2015 00:42, Hans Elias B. Josephsen
 hans...@hansihe.com wrote:
 Okey, I uploaded the source to github:
 https://github.com/hansihe/ZimDroid

 The usual disclaimers apply, I never really intended it to get
 released to the public in this state, so alot of things are a
 bit ugly.

 I wrote a simple parser in java for the zim file format. I considered
 trying to use the original parser for zim, but because of
 dependencies that are a bit tricky on android, I chose to write a
 simple one myself.

 I tried to make sense of and use android's way of applying styles in
 a text editor as best I can. That involves converting the markup to
 'spans' or style ranges. I don't know how the actual zim does it, but
 it seems logical that it does it in somewhat the same way.

 If there are any questions, feel free to ask. I will try to answer
 them as best I can.


 On Tue, Jun 2, 2015, at 08:47 AM, hugh manning wrote:
 Much to do but a good start! Please throw it on GitHub so I can take
 a look at it.



  On Monday, 1 June 2015 8:51 PM, Hans Elias B. Josephsen
  hans...@hansihe.com wrote:


 I startes writing a zim editor for android a while ago, but I never
 really took it anywhere. I guess I can put my work so far out on
 github when I get home.

 Here is a demo video that I uploaded when I was working on it:
 https://youtu.be/LX2_00BGODA

 On Mon, Jun 1, 2015, at 10:24 AM, hugh manning wrote:
 Hi all,

 I've got a new Android phone but one of the things I'm missing on
 it are my Zim notebooks; editing them manually is getting to be a
 drag. I've googled around but had no results for an app that can
 edit them. Is anyone aware of something I missed?

 Alternatively, I've been starting to get into Android development,
 and while a Zim port is probably a bit big to take on myself it'd
 be great if I could contribute to an existing effort. Maybe I
 should start writing one anyway?

 Cheers, Hugh

 _
 Mailing list: https://launchpad.net/~zim-wiki Post to     : zim-
 w...@lists.launchpad.net Unsubscribe :
 https://launchpad.net/~zim-wiki More help   :
 https://help.launchpad.net/ListHelp


 ___
 Mailing list: https://launchpad.net/~zim-wiki Post to     : zim-
 w...@lists.launchpad.net Unsubscribe :
 https://launchpad.net/~zim-wiki More help   :
 https://help.launchpad.net/ListHelp



___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Tip: Insert date, how to get preferred format first

2015-06-02 Thread Joseph Reagle
On 06/02/2015 02:10 AM, WEHLER Andreas wrote:
 I've ever overseen and just now found out that the list of offered 
 time and date formats may be reordered and modified with the Edit 
 button in the insert date dialog. Under Linux you will modify the 
 file   $HOME/.config/zim/dates.list.

I too recently discovered the insert date feature and use it to quickly
enter a due date for tasks, but didn't realize we could change the
order: thanks!

___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


Re: [Zim-wiki] Zim Options on Android

2015-06-02 Thread hugh manning
Much to do but a good start! Please throw it on GitHub so I can take a look at 
it.
 


 On Monday, 1 June 2015 8:51 PM, Hans Elias B. Josephsen 
hans...@hansihe.com wrote:
   

 I startes writing a zim editor for android a while ago, but I never really 
took it anywhere. I guess I can put my work so far out on github when I get 
home.
 Here is a demo video that I uploaded when I was working on it: 
https://youtu.be/LX2_00BGODA
 On Mon, Jun 1, 2015, at 10:24 AM, hugh manning wrote:

Hi all,
 I've got a new Android phone but one of the things I'm missing on it are my 
Zim notebooks; editing them manually is getting to be a drag. I've googled 
around but had no results for an app that can edit them. Is anyone aware of 
something I missed?
 Alternatively, I've been starting to get into Android development, and while a 
Zim port is probably a bit big to take on myself it'd be great if I could 
contribute to an existing effort. Maybe I should start writing one anyway?
 Cheers,
Hugh
 ___
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

 
___
Mailing list: https://launchpad.net/~zim-wiki
Post to    : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help  : https://help.launchpad.net/ListHelp


  ___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp


[Zim-wiki] Tip: Insert date, how to get preferred format first

2015-06-02 Thread WEHLER Andreas
Hi.

You can insert a date string with Ctrl-D, where you get a
1-of-n choice menu. My preferred date format ever is listed last.

I've ever overseen and just now found out that the list of offered
time and date formats may be reordered and modified with the Edit
button in the insert date dialog. Under Linux you will modify the
file   $HOME/.config/zim/dates.list.

Besides that, zim rememberes the last selected format and if you
just type in
Ctrl-D Ret
you will get the last selected format from the list.

Jaap, it's amazing how many features there are under the hood.
Thanks a lot for zim!

Best regards,

Andreas

zim 0.60; zim 0.62; Ubuntu 14.04
___
Mailing list: https://launchpad.net/~zim-wiki
Post to : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp