Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Ian Glendinning

Pages: [1]
1
Astro Slide - Hardware / Re: Planet USB-C to HDMI Video Cable
« on: March 13, 2023, 07:58:38 pm »
Hi, Thanks for the tip that a reboot is necessary and for the video. I have just noticed that in the Astro Slide quick start guide it says that the left hand side USB-C port supports HDMI video out via the Planet USB-C to HDMI video cable and it says "Astro Reboot required"!

I have just tried this, and unfortunately it doesn't work for me though :-( The Astro reboots as normal, and nothing appears on my TV screen... It works with my Cosmo, so either my Astro is somehow broken, or my TV isn't compatible with the Astro's HDMI output for some reason. I'll try to find another screen to test it with.

2
Apologies - I have just noticed there was a mistake in my last posting... The key command in the adb shell should be:

cat Planet_Todo-Cosmo.tdo >Planet_Todo.tdo

The ">" character is important! Sorry about that,

Ian

3
Dear all,

I am pleased to say that I have found a solution to this problem! Actually, it turned out that there were two problems. The first one was that although exporting the to-do notes on my Cosmo worked fine, when I transferred the file to my Astro, it was not visible in the file selector for the Import function. I tried creating a test to-do note on the Astro and exporting it, then deleting the to-do note, and then importing the file, and that worked fine, restoring the to-do note. I also found that if I copied that exported file to my Cosmo, the file was visible. I didn't try importing it though, as I didn't want to overwrite the to-do notes that I was trying to transfer to my Astro. But it wouldn't work in the other direction.

At the suggestion of a friend, I installed the fx "file explorer" app, which does a lot more than the two file manager apps that are pre-installed on the Astro, and in particular, it shows the media database ID for a file if it has one. I haven't found a good explanation of what is going on with the media database, but it seems that some files have extra information associated with them that is above and beyond what is part of the Linux file system that the files are stored in, and the extra information is presumably stored separately in the media database. Anyway, I saw using fx, that the file I had exported on my Cosmo and copied to my Astro had a media database ID, but the file that I had exported on the Astro didn't, so that was a difference between them, and presumably explained why one of them was visible and the other one wasn't!

Vince Smith reported on the Indiegogo comments page that he had been able to import to-do notes from a file he had exported on his Cosmo and copied to his Astro, so it seems it depends on how you do the copying, perhaps it works with some file manager apps, but I tried two of them, and tried copying the file to my Linux PC via USB and then copying it to the Astro, but the file was still invisible to the import function. My workaround was to use the Android Debug Bridge (adb) to copy the data from the file I'd copied from my Cosmo directly into the file that I had exported on my Astro, which was visible to the import function. I assume this is also possible for Windows systems, but on my Linux system I installed adb using the command line:

sudo apt install adb

Then I enabled USB debugging on the Astro, which you do by going into the developer settings. If you haven't already enabled developer mode, go into the "About phone" section of the settings, and tap seven times on the build number. Really! :-) Next go into the "System" settings and tap on "Advanced", and you will see that "Developer options" are now available. Tap on that and scroll down to "USB debugging", and turn it on. Now connect your computer to the Astro via USB, and on the PC run:

adb devices

which should show that the Astro is connected, and then run:

adb shell

which will give you a Linux shell on the Astro. You will get one or two prompts along the way to confirm things, such as that it's okay for the PC to connect to the phone, but I forget the exact sequence of the prompts.

Oh, one think I forgot to make clear - you first need to create an exported to-do notes file on your Astro, so assuming you don't have any to-do notes, you should create one (maybe it works with none - I didn't try) then use the export function to export the to-do note into the file Planet_Todo.tdo in the directory /storage/emulated/0/Documents and you can then safely delete the to-do note that you created, although you can also opt to overwrite existing to-do notes when you import them. Of course, you also need to export your to-do notes on the Cosmo, let's say to a file called Planet_Todo-Cosmo.tdo, and to copy that to the Documents directory on your Astro.

Now, back at the adb shell, run the commands:

cd /storage/emulated/0/Documents
cat Planet_Todo-Cosmo.tdo Planet_Todo.tdo

You can then exit the adb shell with "exit" and turn of USB debugging on the Astro, and at this point you should be able to import the file Planet_Todo.tdo from the Agenda.

I said there were two problems, and that was the most difficult one to fix. The second problem is that there is a bug in the import function, and it fails if a to-do note contains certain special characters. I live in Austria, where German is the national language, so I often use letters with umlauts, namely ä, ö and ü, and also the ß character, and these characters cause the import function to halt when they are reached. The same is true of the character for pounds sterling, and the kind of quotation marks that point "inwards". It seems that the export function uses the UTF-8 character encoding, which is variable length, and normal characters are just one byte, but those special characters are two bytes long, and the importer doesn't recognise them. So I had to replace these characters with alternatives before the import function would import all my to-do notes, but it then worked!

I know this is rather an involved procedure for something that ought to be easy, and as I already said Vince Smith didn't need to do anything special after copying, so there must be an easier way of doing this, but it would seem to depend on exactly how the copying is done, and if anyone else can tell me an easier way, I would be please to hear it! I also hope that my solution is of help to someone else.

Ian

4
Astro Slide - Android / Transferring to-do notes from Cosmo to Astro
« on: February 11, 2023, 06:36:33 pm »
Has anyone figured out how to transfer to-do notes from the Cosmo to the Astro? I have version 1.2.0b of the Agenda installed on both devices, and was able to export my to-do notes from the Cosmo to a file called Planet_Todo.tdo, and I copied it to my Astro, but when I use the "Import todo" option, the file browser doesn't show any files in the relevant directory... Can anyone help?

5
Cosmo Communicator - General Discussion / Belt cases for cosmo?
« on: June 10, 2020, 05:55:54 pm »
I can highly recommend the DFV mobile - Leather Cover Vertical Belt Case with Magnetic Closure, here from Amazon:

https://www.amazon.co.uk/DFV-mobile-Vertica...r/dp/B07WS7DKL5

It fits both the Gemini and the Cosmo, and is sturdy, with good quality leather and has a fantatstic magnetic catch, that snaps shut without you even having to look at where you're putting it. I've used many belt cases over the years for many devices (Psion, Nokia, Planet), and this is the best one I've seen yet!

6
Hi everyone,

I have managed to synchronize my Gemini's Agenda with my Cosmos's Agenda via my Google account, apart from the to-do notes. Has anyone found a way to transfer to-do notes to the Cosmo?

Ian

Pages: [1]