cfc icon indicating copy to clipboard operation
cfc copied to clipboard

Make possible to encode data in the app

Open User1l0 opened this issue 2 years ago • 9 comments

Using the internet to encode your data really makes this app unusable. I'll be very pleased if this app could fully function at it's own

User1l0 avatar Apr 11 '23 17:04 User1l0

While it's not in the app, the code that runs on the cimbar.org website is available to download and should work in your local browser, even when not connected to the internet: https://github.com/sz3/libcimbar/releases/tag/v0.5.12

The easiest way to get it working (on android, for example) is probably to use the version packaged as a single html file: https://github.com/sz3/libcimbar/releases/download/v0.5.12/cimbar.html

(I should add this to the cfc readme)

sz3 avatar Apr 12 '23 00:04 sz3

99% don't know what you're talking about. I certainly don't either. Please do what the issue asks. Doesn't matter how. The whole idea behind these new qr codes is to circumvent the internet. It even says it works in airplane mode... please do it. @sz3

Wjxfi avatar Aug 19 '23 21:08 Wjxfi

Ok, let me try again:

If you download the cimbar.html file to your phone, you can open it with the files app (or equivalent) and use the web browser (even offline!) to encode. So it does work offline already, it just requires an extra couple steps in preparation.

Ideally cfc would be able to do this too, but the reality is that this is a hobby project right now and there are other parts of it (improving the format, improving the color decode) that I'm focusing on when I get a chance to work on it.

sz3 avatar Aug 19 '23 23:08 sz3

I downloaded the html file & it's blank. I tried opening it with Chrome browser & 2 different text editors. In all cases it shows it's blank. No offense, but this isn't useful for me at all, without the ability to transfer things totally offline on both sides. If I didn't care about it working offline, I already have a way to transfer files over the internet. I was only interested in this because it claimed it worked offline.

nathgit avatar Aug 22 '23 11:08 nathgit

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

justinormont avatar Feb 20 '24 22:02 justinormont

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

I think it's a good idea. (in particular, re-using cimbar_js should make it easier to maintain)

sz3 avatar Feb 21 '24 02:02 sz3

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

What about just trying to include this feature in the app. It will save your time while using the app. No offense but your app Is not complete at all...

User1l0 avatar Feb 22 '24 20:02 User1l0

@sz3: What do you think about adding an Android WebView within the app, which displays a locally stored copy of the website?

What about just trying to include this feature in the app. It will save your time while using the app. No offense but your app Is not complete at all...

They are suggesting a way to include the feature in the app, but in a way that will hopefully not create much burden on the maintainer (me!). Which is appreciated.

For what it's worth, I think this is mostly a communication issue:

  1. The cimbar.js encoder does work offline. You don't need an internet connection to run the "website", it's just packaged as a website. But, I didn't realize (unfortunately, given my answer above from 6 months ago) that many versions of Android now prevent users from opening html files directly. It didn't used to be that way, which makes my previous advice out of date... But that's also why...
  2. The cimbar.org website (which is a hosted cimbar.js) is now a progressive web app (PWA) that can be installed and run offline. This would be the preferred way to run the encoder on android offline.

I never mentioned (2) in this thread, so that's my bad.

sz3 avatar Feb 23 '24 03:02 sz3