cherrytree icon indicating copy to clipboard operation
cherrytree copied to clipboard

CherryTree for Android.

Open ForumLiker opened this issue 7 years ago • 51 comments

Are you planning to make an application for android? That my notes are always with me.

ForumLiker avatar Dec 28 '17 19:12 ForumLiker

It is in the plans but cannot be shortly because the first goal is porting to gtkmm3 sins current pygtk2 is dead

giuspen avatar Dec 28 '17 19:12 giuspen

Maybe it's worth starting, and somebody will help in this)

ForumLiker avatar Dec 28 '17 20:12 ForumLiker

will wait for the Android version :smile:

harsxv avatar Apr 25 '19 15:04 harsxv

Kinda stoked about this, Any updates? I wish I had the skill to donate to this project.

jakeson avatar Feb 25 '20 21:02 jakeson

Hi @jakeson this will raise in priority after the C++/Gtkmm3 is out and stabilised replacing the current Pygtk2

giuspen avatar Feb 25 '20 22:02 giuspen

I'm interested in helping port, code, design cherrytree for android. I understand it is not going to be a priority until the C++ port is farther along, but is there any way I can start to help out? Is there any groundwork or research needed to be done here? Or any way I can help on the C++ side to get that done faster so that I can get the android bit going? I'm competent in python, c++, gui, android, java, linux, etc. If I'm just a distraction right now, I understand as well, just let me know whenever you think I can help.

poleguy avatar May 31 '20 05:05 poleguy

Hi @poleguy at the moment the biggest help is in testing the C++ version and fix the issues you find (a couple already reported) but if that is of no interest at all surely you can start an hello world project in android studio capable of reading the cherrytree documents and just displaying the tree, that would have been my first step.

giuspen avatar May 31 '20 08:05 giuspen

Okay. I will start both c++ testing and an android tree reader. Hopefully my next posts are a bug report and a hello world commit. :-)

poleguy avatar May 31 '20 13:05 poleguy

I've been completely and totally obsessed with cherry tree since the very first time I downloaded it! If there was an android version released it would slayyy!!! Flutter might be a good option to get cherry tree working easily in multiple frameworks?

bettencb avatar Jul 18 '20 05:07 bettencb

I'm not a developer (I'm a devops/sysadmin), but I'm interested and willing to help. If I can help you, then I'm ready!

13werwolf13 avatar Jul 29 '20 05:07 13werwolf13

@13werwolf13 the best way to help at the moment is testing the Gtkmm3 version, reporting issues compared to the Pygtk2 version and possibly try and fix yourself the issues and submit small surgical pull requests

giuspen avatar Jul 29 '20 20:07 giuspen

Status update. Following giuspen's advice, I have been using the latest development version on two ubuntu 20.04 laptops and a CentOS 7 desktop. So I'm doing some informal and uncontrolled real-world usage testing. I sync using syncthing, so I have been exercising the 'auto update on change' feature.

I recently created a basic app and am successfully parsing cherrytree XML. I always use ctd rather than the other formats, so I'm working on that first. Maybe that's a mistake, but I figure the first version of this will be a throw-away and I can refactor when I learn what I've done wrong. :-) I'll publish the code once it is able to display a basic tree nicely.

poleguy avatar Oct 30 '20 22:10 poleguy

Amazingly exciting :)

For what it's worth, I believe sqlite is used more often than xml, as it's far more performant, especially with large documents.

metal450 avatar Oct 30 '20 22:10 metal450

Yes, I figured that sqlite was standard, which was why I mentioned it: so nobody sets the wrong expectation. It's a detail anyway, and can be added in due time.

poleguy avatar Oct 30 '20 22:10 poleguy

XML is simpler so the best to start with

giuspen avatar Oct 30 '20 23:10 giuspen

Amazing to see work begun on the Android version! I've long wanted to be able to sync my (encrypted) CT file between desktop and phone with Syncthing. I've given up trying to replace CherryTree with another cross-platform option, none i tried come close to the friendly UX and features. Thanks to everyone contributing!

ghost avatar Nov 02 '20 15:11 ghost

Positive result reporting: I am able to parse and display the tree correctly on android. It's not yet really useful to me/anyone until it also displays some content, but I've completed the "first step" that giuspen suggested in May.

Negative result reporting: I have also been building and testing the C++ version, but have not reported any bugs because my use case is very basic and the basic functionality seems to work fine.

I'll probably put this version up on github under my account soon. I'm happy to have others review it even at this early stage, as I'm a rusty android hack... but expect it to change/refactor significantly. Any reviews/comments at this point should keep in mind this is very early on and lots of things (UI, layout, colors, extra options, etc.) are just roughed in or left over from example code I started from.

image

poleguy avatar Nov 16 '20 23:11 poleguy

I copied cherrytree license, added a readme, and posted it. https://github.com/poleguy/cherrybud

poleguy avatar Nov 16 '20 23:11 poleguy

Cool

giuspen avatar Nov 17 '20 23:11 giuspen

May be I can help testing

basimaslamts avatar Nov 22 '20 04:11 basimaslamts

@basimaslamts sure, it's very early, but yes, please test. How can I help get you going? Everything is posted: Can you build yourself? Do you need an apk? I just posted a public email on my profile you can use to reach me.

Update: I just added rendering of the text in nodes. This app is now useful for my use case, which is basic view of text on android. (Not polished, but minimally useful.)

image

poleguy avatar Nov 23 '20 17:11 poleguy

I just payed google $25 to set up an account and..:-( I have released an apk of my very early cherrytree viewer code to google play.

I've never done an app on google play, so this is all new to me. I set it up for open testing... I'm not sure how that goes.

It says it is "Being Reviewed" I'm not sure if that means days, weeks or months... :-)

Presumably it'll show up on google play and I can then find a link to drop in this issue.

poleguy avatar Nov 23 '20 23:11 poleguy

@giuspen I'm interested in basing my icons on cherrytree. I'm not a lawyer, and I'm not sure about copyright issues, so I thought I'd ask permission before adding the images to my repo. Is that okay with you?

Obviously my code is open source, but I anticipate releasing both a free and paid version to google play to give people a way to pay me for my efforts if they are so inclined. Both paid/free versions will have the same features. I know there are many different opinions about free open source software, and thought I'd let you know what I was considering doing first to see how you felt about that. Let me know. Obviously this app exists only because of cherrytree, so if you have strong opinions about monetization I'd like to know them.

poleguy avatar Nov 23 '20 23:11 poleguy

I just payed google $25 to set up an account and..:-( I have released an apk of my very early cherrytree viewer code to google play.

I've never done an app on google play, so this is all new to me. I set it up for open testing... I'm not sure how that goes.

It says it is "Being Reviewed" I'm not sure if that means days, weeks or months... :-)

Presumably it'll show up on google play and I can then find a link to drop in this issue.

Let know when it appears. ALSO bring a new para in md file in the repo regarding android version for further development and bug reports. I'll mail you for the apk soon

basimaslamts avatar Nov 24 '20 06:11 basimaslamts

I just payed google $25 to set up an account and..:-( I have released an apk of my very early cherrytree viewer code to google play.

I've never done an app on google play, so this is all new to me. I set it up for open testing... I'm not sure how that goes.

It says it is "Being Reviewed" I'm not sure if that means days, weeks or months... :-)

Presumably it'll show up on google play and I can then find a link to drop in this issue.

for a start, you can give your best to the f-droid, you can even raise your repo for it (I can provide a VPS for such a thing)

13werwolf13 avatar Nov 24 '20 10:11 13werwolf13

@poleguy don't worry I have no strong opinions :) I do not own the copyright for the svg icons, most of those come from the gtk stock, some of those modified... I don't see any issue with you copying to your repo

giuspen avatar Nov 24 '20 20:11 giuspen

Please do initial alpha testing using this apk. Or wait for google, or build it yourself depending on your level of paranoia. :-) http://poleguy.com/cherrybud_v1.0.apk

Submit bug reports here: https://github.com/poleguy/cherrybud/issues

I feel google is way too slow for approval to wait on them to do alpha testing.

@giuspen that's funny you have no strong opinions, as I have no toes, so they can't be stepped on. It's very convenient. :-) I'll continue as time allows.

poleguy avatar Nov 25 '20 00:11 poleguy

I see it supports ctd files only. Aren't ctb the default?

admirabilis avatar Nov 25 '20 06:11 admirabilis

Please read through all the comments on this https://github.com/giuspen/cherrytree/issues/328 issue carefully to find the answer. :-)

poleguy avatar Nov 25 '20 07:11 poleguy

Thanks for this, following the thread and if there is anything I see that I can tackle quickly I'll try :)

kiwidoggie avatar Nov 26 '20 09:11 kiwidoggie