-
@Gordon, thank you for your detailed explanation as always.
I was trying to make (copy parts of other's) a clock app and plan to make a golf GPS app soon (months or years?? :-)), so I made a fork of the App Loader already, but there hasn't been any progress since then.
Thanks again and I hope I can contribute more actively to this amazing community. -
@Gordon, I'm not really familiar with Github stuff. I have been using Github only to provide/store some of my programs linked from my blog.
Did you mean Pull Request by PR? I would appreciate if you could elaborate it.
Thanks. -
-
@Gordon, thanks to your instruction, I could successfully reduce the file size. It's now 420kB for Korean and ASCii.
At first, it didn't work and the file size was too small, 17kB, so I took a look at theunifont-15.1.05.png
image and I found that the range for Korean in thefontconverter.js
was wrong. The line #701 should be replaced with"Korean": {range : [{ min : 32, max : 255 }, { min : 0x1100, max : 0x11FF }, { min : 0x3130, max : 0x318F }, { min : 0xA960, max : 0xA97F }, { min : 0xAC00, max : 0xD7FF }] }, //0xAC00 was 0xDCB0
Thanks.
-
@Gordon, thank you so much for your help. I know it won't provide any extra functionality but save some flash. I wanted to learn JS and BangleApp development process (I know it will be only a small fraction of it).
Thanks again, Gordon!! -
@Gordon, in your reply in the post #10, you said:
It should be possible to (very easily) clone fontall into fontkorean and use the utility to make a new font with just korean symbols in, but until we're sure everything works I'd rather not have too much duplication
Could you let me know how to run the fontconverter to create a new font file to include only ASCii and Korean? I have some experiences with other languages like Arduino, but I'm very new to JavaScript, so I have no idea where to start. I took a look at the github pages, but still no clue where/how to run. If there is an instruction or guide, please let me know the link.
Thanks.
-
@Gordon, thank you for your reply.
Last night, when my Bangle was still not receiving notifications from the iPhone, I went to the Settings > Utils and clicked on 'Rewrite Settings' to see if it repairs any corrupted data. After that, I could receive notifications but not 100%. There were some missing notifications.
Just now, after reading your reply, I did what you suggested, the long-press the button before disconnecting from the Web IDE after running the blink in the RAM.
Since then, it seems to be working fine. I will report back later with more data.
Thank you, Gordon! -
I tried to reproduce the issue to find the root cause, but my initial guess mentioned in previous post #3 doesn't seem to be correct.
Here is another guess and a question:
In the Web IDE, with loading the example code 'blink' by clicking on the UP arrow icon to RAM, Bangle shows a red dot blinking on top of the watch screen. I tried to change the blinking speed a couple times and then go back to the watch screen by long press of the button. After that, no notifications were received from the iPhone. Rebooting and reselecting to stay BT connectable seem to fix the issue. My guess is that the small app (blink) running on the RAM interferes with the BT and/or notification.
Question: what's the proper way to stop running an app and clear the RAM area? Is long-pressing the button correct way to do it?Thanks.
-
@Gordon, I'm not 100% sure yet, but I think I know what I did wrong.
If I remove the Bangle from the BT devices on my laptop BEFORE disconnecting the Bangle from the Web IDE, it seems to cause that problem. I will update after some more tests.
Thanks. -
Almost every time, after using the Web IDE with my laptop (Windows 11), my Banglejs 2 won't be able to get notifications from my iPhone.
While I'm using the Web IDE, since it can connect to only one device, I turn off the BT on my phone. After disconnection (and remove the Bangle from BT device list on the laptop), I turn on the BT on the phone.
On the phone it shows the Bangle is connected, but no notifications are received. So, I removed Bangle from the phone by forgetting the device and tried to reconnect but now the Bangle was not shown as nearby BT device.I tried to reboot the Bangle multiple times but didn't work. So, I did a factory reset and it started working.
Am I doing something wrong?
-
@Gordon, it works!
Thank you so much for fixing and updating the related apps so quickly.
I love my Bangle and this community.
Cheers!
고맙습니다. (Thank you in Korean) -
@Gordon, I did some test. After doing your suggested tests above, I sent an email to my gmail with the same title and message in your test pushMessage in the post #21, which is 'Hello World' in Korean, '안녕하세요 세상.' And then I compared the unicode between your test message and received notification sent from my iPhone. Below is the message log after I received the notification.
{"event":"add","uid":5,"category":0,"categoryCnt":5,"silent":false,"important":false,"preExisting":false,"positive":false,"negative":true,"appId":"com.google.Gmail","title":"Jeon, Jinseok","subtitle":"\u00EC\u0095\u0088\u00EB\u0085\u0095\u00ED\u0095\u0098\u00EC\u0084\u00B8\u00EC\u009A\u0094 \u00EC\u0084\u00B8\u00EC\u0083\u0081","message":"\u00EC\u0095\u0088\u00EB\u0085\u0095\u00ED\u0095\u0098\u00EC\u0084\u00B8\u00EC\u009A\u0094 \u00EC\u0084\u00B8\u00EC\u0083\u0081","messageSize":"22","date":"20240318T211844","posAction":"","negAction":"Clear","new":true}
So, the title (and the message) should be '\uc548\ub155\ud558\uc138\uc694\u0020\uc138\uc0c1' but iPhone sends '\u00EC\u0095\u0088\u00EB\u0085\u0095\u00ED\u0095\u0098\u00EC\u0084\u00B8\u00EC\u009A\u0094 \u00EC\u0084\u00B8\u00EC\u0083\u0081' instead.
I checked the unicode for the message '안녕하세요 세상' from the website, https://koreanstudies.com/unicode-converter.html and the unicode in your test code was correct.
So, the apps iOS Integration and/or Message UI seem to interpret the unicode incorrectly at least for Korean.
-
@Gordon, here is the message.log.
{"event":"add","uid":4,"category":0,"categoryCnt":2,"silent":false,"important":false,"preExisting":false,"positive":false,"negative":true,"appId":"com.google.calendar","title":"\u00EA\u00B0\u009C\u00EA\u00B5\u00B4","subtitle":"","message":"11:20\u00E2\u0080\u00AFAM","messageSize":"10","date":"20240318T112000","posAction":"","negAction":"Clear","new":true}
{"event":"remove","uid":4,"category":0,"categoryCnt":1,"silent":false,"important":false,"preExisting":false}
{"event":"remove","uid":3,"category":0,"categoryCnt":0,"silent":false,"important":false,"preExisting":false} -
After pasting the message in the WebIDE and entered, it says "=undefined"
I made sure to install the all languages (2MB).
Oh, wait a second. The bangle shows "Hello World" in Korean!
I won't be able to test it again until tonight. But it's a good sign that it will work with other notifications. I will test it more tonight and update you.
Thank you, @Gordon!!Quick update: It still doesn’t show Korean when the message was sent from my iPhone. So I guess it’s the iOS message processing issue.
-
Ohh… that’s what I missed.
I will try again tonight.
Thank you @Gordon!!Update: I just got a chance to try and updated all the apps from the Development App Loader and installed the font, but I still don't see Korean in the messages.
-
@Gordon, the update was done without any error, but I did that from the normal App Loader. Where is the Development App Loader? I couldn’t find it.
-
@Ganblejs, I did those two tests you suggested and got the messages at the end that it was disconnected. After that, I had to restart my laptop for other things and I tried to upload it and it worked. I didn't make any changes, but it worked all of a sudden. I don't understand.
Thank you for your help anyway.@Gordon, after installing the Fonts app (2MB), I tested with a short email to myself with a mixed message in English and Korean, but I can only see English.
Any thoughts?Thanks.
-
@Ganblejs, thank you for your reply, but it didn't work. I have cleared browsing data and cookies but it still stops after about 5% on the progressing bar.
-
@Gordon, I got the Bangle and updated the firmware and all the updates for the apps and tried to install the Fonts (all languages), but after it started loading, maybe several seconds later, the browser (Chrome) lost it's connection and the Bangle seems to be frozen with a message that it's uploading. I tried a few times, but no success. On the watch, the BLE and Programmable are enabled. How do I keep its connection for this large file installation?
Thanks. -
@Gordon, that’s awesome!!
I can’t wait to try it out. I will try it and get back to you as soon as I can.
Thanks a lot!! -
@Hank, thank you for your suggestion. I will try.
-
@Gordon, you ARE the best!!
I’m currently on my business trip, but will try to follow your instructions as soon as I have some time to do it.
Thank you so much. -
-
@Gordon, thanks a lot for the detailed answers and solutions. 2Mbytes is too big for Bangle's memory just for the fonts. I'll check out the UTF-8 conversion, which seems like the way to go. I'm really excited for the Bangle to arrive!
Cheers!
@Gordon, could you please review following two apps I have added to my forked repository and let me know if I need to correct anything? I have tested both apps on my Bangle and worked fine.
https://jeonlab.github.io/BangleApps/?q=font_korean
https://jeonlab.github.io/BangleApps/?q=jclock