frojnd | Hi there. | 10:20 |
---|---|---|
frojnd | I filled my Android data space on my XA2 | 10:20 |
frojnd | I don't know how can I free up some space | 10:20 |
frojnd | I only have 3 android apps installed though.. | 10:20 |
frojnd | Any help appreciated | 10:20 |
attah | How are you observing that? And what did you do to fill it up? | 10:24 |
attah | ...and isn't it shared with other user data, so it could just be regular data and native apps that are taking up the space? | 10:25 |
direc85[m] | If you're familiar with using terminal, you could try running e.g. `du -d 3 | sort -n` to find out the biggest space hogs (biggest as last for convenience). | 10:32 |
frojnd | Yeah I just removed regular user nemo data | 10:36 |
frojnd | Hm I use osm scout and I think it uses ~/Downloads/Maps | 10:36 |
frojnd | It was like 1GB | 10:36 |
frojnd | Too bad they don't offer another location like sdcard | 10:37 |
frojnd | Hm I've installed Coros android app to pair coros sports watch | 10:38 |
frojnd | But app won't recognize bluetooth on sailfish, so I can't pair it with sailfish :/ | 10:38 |
direc85[m] | I also found out about a few forgotten locations full of gunk, gotta do some cleanup later. | 10:38 |
direc85[m] | I always forget how powerful `du` is | 10:39 |
attah | frojnd: This is a well-known limitation - no Bluetooth, NFC, WiFi management etc for Android apps | 10:39 |
frojnd | Too bad :s | 10:40 |
frojnd | I gotta bring with me spare lineageos android phone just for syncinc with my sports watch.. | 10:41 |
attah | ...or get a watch supported by native apps | 10:41 |
frojnd | Couldn't find better watch :) | 10:42 |
frojnd | But wouldn't other watches also use bt for syncing? | 10:42 |
direc85[m] | I have a Withings watch and an Android phone I boot about once a week just for that. | 10:42 |
attah | frojnd: yes, but with native apps (Amazfish, Rockpool) | 10:43 |
frojnd | Hopefully they will manage to make bt work with Android app in a year or two | 10:44 |
frojnd | attah: I installed Amazfish | 10:44 |
frojnd | Can't find pairing optionm,... to scan qr code | 10:44 |
attah | i think it is an unrealistic expectation.... but one can hope | 10:44 |
frojnd | From watch | 10:44 |
attah | but is your watch supported? | 10:44 |
frojnd | No Coros there | 10:45 |
attah | so no reason to expect that it works then | 10:45 |
frojnd | I went through different supported watches and most of them requier auth key for pair | 10:47 |
frojnd | piggz[m]: I see you are developer for Amazfish | 10:53 |
frojnd | piggz[m]: What does auth key mean? is this some sort of key from watch when in pairing mode? | 10:56 |
direc85[m] | lbt: I think it's time for me to finally try out Chum. The getting started guide told me to contact you for an account :) | 11:02 |
piggz[m] | frojnd: Yes, its a key you need from Amazfit which is used for authentication with the watch | 11:54 |
piggz[m] | you get it by initially using an android device | 11:54 |
frojnd | So for Coros watch I would have to find out how this key look like | 11:56 |
piggz[m] | you can get the key by registering with amazfit, pairing the watch, then use a python script to retrieve it from amazfit | 12:07 |
piggz[m] | Coros isnt on my supported list though, not heard of that one! | 12:08 |
frojnd | Yeah, Coros is first sports watch and later all that "notification extension of a phone watch" | 12:38 |
frojnd | I like SailfishOs as is very simple, Coros fits the same bucket | 12:38 |
lbt | direc85[m]: yes, I need an email and a username... msg me if you prefer | 13:58 |
thilo[m] | someone with a bit experience of c++ here? I want to create a proof of concept and don't want to make myself a fool by doing basic things very complicated. I need to convert a QString to a non-const c style string. | 17:11 |
thilo[m] | Currently I got this solution. Is there a better one?... (full message at https://matrix.org/_matrix/media/r0/download/matrix.org/uxjyMoECUHOQHglNSSdRpxkr) | 17:13 |
direc85[m] | Doesn't `qstr.toStdString().c_str()` make the cut? | 17:15 |
thilo[m] | That results in a const | 17:35 |
thilo[m] | And my understanding was, that this means the whole array should not be mutated... or is this just about the pointer...? | 17:46 |
Thaodan | thilo[m]: Try this answer: https://stackoverflow.com/questions/17936160/clean-way-to-convert-qstring-to-char-not-const-char | 17:47 |
Thaodan | QByteArray array = string.toLocal8Bit(); char* buffer = array.data(); | 17:47 |
thilo[m] | perfect, that removed 8 lines of code ;) | 17:50 |
Thaodan | thilo[m]: Also check the answer directly, he argues that QByteArray should work instead. | 17:51 |
thilo[m] | mh QByteArray didnt work without problems. However, now I am confident enough to publish this: https://github.com/thigg/sailing-to-coffee | 17:59 |
Thaodan | Oh what did I do there :D Java on Sailfish sounds cursed. | 18:01 |
Thaodan | there is Jambi for qt 5.6 https://github.com/tilialabs/qtjambi5 | 18:03 |
thilo[m] | ooh i searched for that but didnt find it | 18:03 |
thilo[m] | not sure if i can compile native binaries with jambi however... | 18:04 |
Thaodan | thilo[m]: no idea either however what you probably need is to package java for SailfishOS and then jambi | 18:06 |
thilo[m] | packaging java for sfos is not an option ;) That won't result in apps that are accepted anywhere ;) | 18:07 |
thilo[m] | Right now java is giving me a 12mb overhead and i dont need any dependencies on the phone. So far acceptable for me :) | 18:08 |
piggz | thilo[m]: how about | 19:40 |
piggz | QByteArray array = string.toLocal8Bit(); | 19:40 |
piggz | char* buffer = array.data(); | 19:40 |
piggz | from stack exchange | 19:40 |
x2s | piggz: you're two hours late :) | 19:43 |
piggz | :) | 19:43 |
thilo[m] | But my solution is now a neat oneliner `string.toUtf8().data()` | 19:44 |
thilo[m] | still thanks ;) | 19:44 |
piggz | there was a gap in my irc history ... i see it all now in matrix | 19:47 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!