[BIP] Glitch while creating a custom watch face - Amazfit

I am currently creating a custom watch face and I stumbled upon a weird glitch: the month and day numbers keep disappearing, but briefly reappear when I unlock the Bip, swipe anywhere or when a minute passes (minute number updates) and (since I'm new to this) I have no idea what I did wrong.
Here's a link to the watch face: [LINK REMOVED because problem is solved]
Btw "tech" is a working title, no idea what the final name will be

It turns out that one can't have date numbers in the same line as seconds, which was causing my problem. Now onto redesigning the whole watch face because of some glitchy software nobody will fix :/

Related

Openwatch

Coming here from [http://forum.xda-developers.com/showthread.php?t=554551], since I can't post there anymore:
I'm using Sony Ericsson X10i with a MBW-150 and Openwatch 1.5 of course. I recently upgraded Android to 2.3.3 and now my watch randomly disconnects and doesn't reconnect, even if I leave my phone and then return. Usually it took <30 seconds for them to reconnect, but I have given them minutes and still no reaction. I have to push a button on my watch to make it reconnect.
Any upcoming solution on this, or any information, I would be thankful.
/Oli
since not being allowed to post in the development forum (http://forum.xda-developers.com/showthread.php?t=554551]), i have to ask here:
firt of all, i'm using a google nexus s with NSCollab 1.0.39 and it works pretty good, so you may add the device to the "tested or reportet" list.
but i have two (minor) issues:
the sender and subject is not displayed on the watch when i recieve an email, using the modded gmail 2.3.5 (http://forum.xda-developers.com/showthread.php?p=16265599), neither with "classic" notification nor "all notifications".
i want to start the music app (or maybe other apps, mytracks for gps tracking for example) remotely. i can easily find out the package, its com.google.android.music, but which classname do i have to fill in and where can i find it out?
nevertheless, thanks for this great app.
I am also not allowed to post in the previously mentioned thread in the development section, but have some questions:
I recently purchased the thinkgeek watch (apparently without reading the development thread thoroughly enough) and it does not work quite as well as would be desired. As stated before, when I "test" the connection after following the instructions for the LM watches, it vibrates, but does not activate the screen. I am using the fake mdw-150 device type. In terms of notification functionality:
At first I was able to connect to the watch, and it gave me the option of two different messaging lines and global notifications and the whole nine yards. Subsequently, it did not give me these options. I think something funny happened with the paired devices in the bluetooth menu that I have to figure out. All functionality I am referencing here is after the options available to me was reduced.
Phone Calls: Vibrates, no text
SMS: Nothing
Alarm: Vibrates, No text
Media: Nothing
Gmail: Nothing
That is the extent of my testing at this point. I'm going to try fixing the goofyness that is going on with my bluetooth paired devices, then possibly try installing cyanogenmod and seeing if there's any root tools I can use that might help (my phone is a rooted nexus s running stock 4.0.3 if that helps you.) I'll update this when I have more thoroughly explored this to the best of my abilities.

[Q] Looking For App That Automatically Uploads Recorded Sound/Video

Hey everyone, firstly I want to apologize if this is posted in the wrong forum.
I'm sure you have seen all the police brutality incidents coming to light recently, and being a law abiding citizen, I'm interested in protecting myself should the need arise. In this case, I'm trying to find an app that allows at least the ability to record sound, but video would be a plus - then automatically upload it to the internet, either to an ftp server, YouTube, anything. The reason for this, is what if you are recording an interaction with the authorities, and they confiscate your device. What if that evidence is the only thing on your side?
What sparked this thought was seeing all the events that have popped up recently, but this event specifically: http://youtu.be/UWH578nAasM
More info: http://www.dailykos.com/story/2014/...tting-on-bench-waiting-for-his-children-VIDEO
(The charges were dropped by the way).
His phone was confiscated and kept for 6 months. This video wasn't able to come to light until 6 months after the event. That is a long time. Long enough to where it could cause you a problem. So in my mind, this would be a great app to have. If a recording like this was able to be uploaded immediately by the phone after the recording was stopped - 4G was activated, and an upload took place - it may be able to change the course of events.
So, does anyone know of an app that can do this kind of thing?

[Q] Make invisible WebView emit onDraw() event

Hi all
(Sorry, double posted this question cause wrong section for first post. I didn't find a way for remove my previous post, kindly ask to moderator to remove it, thank you)
My question will be quite strange but is what I need unfortunately. Basically I need to create an invisible WebView instance (invisible mean not showed inside the activity) and get screenshot from the showed web page every time something change in the page. No problem from get screenshot, the problem is the way to be advised when something change inside the web page currently loaded into my webview. Please note, changes I need to get can be also some images changed "on the fly" by javascript code inside the page, these kind of "events" can no be detected by standard calls like onloadpagefinished or so on (since images changed are preloaded). Another problem can be when images are fully downloaded by the browser but not yet showed in the view (in case of slow CPU per example). Normally I could to easily fix my problem by overriting the onDraw() event of the webview. Every time onDraw() event is emitted mean that something is changed into the view and I need to get new screenshot. Unfortunately my problem is onDraw() event is emitted only if the view is currently visible inside the activity. If the view is "hidden" or "offscreen" as my case the onDraw() event is not emitted since, obviously, doesn't need it. Android views lifecycle explained in the main android developer site show why this happen (the view is set in pause state once out of visible activity part). Now my question is: is there a way to "force" the view to manage onDraw() event as it would be showed but in offscreen mode like my case?
Thank you to all will can help me

Amazfit 2 stratos interval workout stop

Hi everybody
I bought the amazfit 2 and had a few difficulties with interval workouts.
After i set a training in my phone app and synced it to the watch i went for a run.
In most times the training stop and wont continue to the next lap/interval/repeat/segment and i have to stop the activity and start a new running activity.
Does anyone had this problem and can help me work it out ?
Same problem here
I am having the exact same problem here. Doing interval training, set to trigger on a given distance. After the second or third interval repeat the watch get stuck and the next interval never starts, forcing me to save the activity and start a new one. This is really not ideal. I was using a BT HRM, wondering if that might be contributing to the issue ?
First of all, there is no Stratos 2:
Stratos is Huami Sports Watch 2, or simply Stratos (some call it Pace 2, since it came after Pace, but it's also wrong).
Click to expand...
Click to collapse
That being clarified, there is a know bug about interval repetitions, it hangs after some time. A simple workaround is adding multiple intervals with the same distance (or time), dumb but usually work. If you have an International version of the watch (A1619), you can report it in the link below, maybe they fix it some day:
https://support.amazfit.com/hc/en-us/requests/new
I have that bug when changing screens. If i dont change between screens then no problem at allĂ­.

App idea: tell time through vibration

Hello,
I have recently bought a watch with Wear OS 2. I quite like it, but I am missing one nice feature from competition watches. I am blind. Apple watch and some other specialised devices can tell you time by certain vibration patterns. e.g. 5:30 am - 5 short vibrations, then pause, then 3 short vibrations... etc. I am thinking about creating something with Tasker, but this would require connection to the phone all the time.
Would someone take this as an interesting project? Or maybe would someone give me a helping hand in developing this? I am a programmer but never programmed for Android unfortunately.
what would be your preferred way of activating the vibration?
i'm thinking about an empty watchface which could, whenever it's activated either by gesture or button, start the time pattern.
also please let me know how exactly such a vibration pattern would best look like. (first hours then minutes, ok. what about 11:34 ? also seconds are not needed i guess?)
I might do a quick app
I really like this idea because the watchface would be sooo battery friendly
btw: any idea for a good name? I think I would go for "time feel watchface" if no one's got a better idea
if everything goes right, I will have a first test version by tomorrow
update: basic watchface running. gonna implement vibration pattern tomorrow.
need info:
-i assume it's no problem that the watchface is always black, this is to save as much battery as possible
-any symbol maybe for blindness i could use for the icon / watchface preview?
-should the vibration pattern start again if you touch the screen?
----I find this problematic because screen usually is only on for a few seconds, maybe i have to let it stay on as long as the pattern is running and it would go to standby immediatly after that... so i'm not quite sure how to handle this
-is a 24 hour mode needed or should it even be default?
Hi, thanks for your response. Yes this is aimed at blind people specifically, I am blind my self. Yes blind people use smart watches, mostly from Apple, but there are also some users of Android Wear OS.
wow I read your reply just now and it seems cool. I have a few points:
A watch face is an interesting idea, but for example I would prefer it to be just an app which even does not launch a screen, does the vibration and exits. I use information I have on my watch face, I use screenreader to read info about upcoming events, battery etc. You may ask why do I need this vibration way of telling time when I can read it from the watch face? Well it is more discrete and does not bother surroundings. I could assign a specific gesture in the screenreader which would launch the app and do vibrations.
Honestly, I am probably the only Wear OS user in Czech Republic and I have to get connected with other blind people to get their opinions.
I think 12 hour format should be OK so far.
so basically you just need an app that vibrates the time when launched?
for example 5:33 x x x x x pause x x x pause x x x?
then i need to rethink that. but that should be even easier
Yes, for me this would be enough. Ideally if the app would do it without displaying any window so that the screenreader does not read anything. Is that possible? I am sorry I did not clarify this at the begining.
As to how to do vibrations:
I imagine this schema:
1 - one short vibration
2 - two short vibrations
3 - three short vibrations,
4 - four short vibrations,
5 - one long vibration
6 - one long vibration, short pause, one short vibration
...
9 - one long viberation, short pause, four short vibrations
0 - long vibration, short pause, long vibration
e.g.
10:56 - short vibration, long pause, long vibration, short pause, long vibration, long pause, long vibration, long pause, long vibration, short pause, short vibration
here's a first prototype.
do you know how to install apk to your watch? you need to enable ADB and WiFi Debugging to install wireless over ADB
let me know what you think. is it too fast?
i know it's not perfect, for example you need to exit the app to relaunch the pattern. i can fix that - can i let the app run the pattern and immediately exit? so you wouldn't need to exit manually everytime
Hello, you are amazing! So fast! Thank you very much. I tried the app.I have few questions:
1. Vibrations are quite fast. Could you make it a bit slower? Let's say that the long pause among numbers could be 1 second?
2. Could you make it so that the app does not open any window? That after launching the icon everything happens in the background?
3. Will this work also on phones or only on watch?
Thank you so much. If you don't mind, I would like to spread the word about this among other Wear OS users.
1. sure. i actually use two different long pause durations: one between the digits and one between hours/minutes
---i need to do this because leading zeros are ignored. i could also do leading zeros so you always have 4 digits and pause can be constant, but imho that's not as efficient
2. In this new version the window exits after launch, I hope that's fine. also fixes not working on second launch and makes the app not stay in RAM.
3. This version is only for Wear OS, but I could copy it to an android app.
Of course you can spread this app however you like. when it's done I can attempt to publish it to the play store.
please check this new version. is it still too fast?
also 12 a.m. seems to be treated as "0". should i change this?
new version with fixed 12 a.m.
if you are fine with this state i'm going to finish it and publish it to play store
Wow thanks, this look very well. I still have a problem with the app creating a window. The problem is that when the window is created and closed again, the screenreader reacts to that - in this case after closing the app window it reads info about previously opened window or a watch face. That is a bit problematic as my idea was to not make any sound at all, so that one can check for the time discretely.
Would it be possible to not display any window at all? Maybe running as a service which would be waiting for the launcher icon to be pressed? I am not good at Android internals so maybe it is a stupid idea.
krecoun said:
Wow thanks, this look very well. I still have a problem with the app creating a window. The problem is that when the window is created and closed again, the screenreader reacts to that - in this case after closing the app window it reads info about previously opened window or a watch face. That is a bit problematic as my idea was to not make any sound at all, so that one can check for the time discretely.
Would it be possible to not display any window at all? Maybe running as a service which would be waiting for the launcher icon to be pressed? I am not good at Android internals so maybe it is a stupid idea.
Click to expand...
Click to collapse
now I understand the problem. I need to look into this later. but I guess that's doable.
update: I tried to replicate your problem. I enabled talkback and started the app. only thing I can hear is a click when launching the app. is that what you are talking about? If so, I don't think that can be prevented as it's caused by the launch of the app.
-sorry, I didn't read correctly. so the problem is that it starts reading the previous app. that's a problem. I didn't find an easy way to fix this - as far as I read you cannot launch an app without starting an activity. at least not with an app. maybe i could make the watch sleep after launching? or you can find a solution with tasker or something similar
Hypothetic idea:
Let's say that the app would be running as a service after start. I don't know if this is possible in Wear OS.
1. After clicking the launcher icon, check if the service is already running.
2. If not, launch it. You can display even a window and close it, well while launching the service we probably won't avoid that but that's acceptable.
3. If yes, don't show anything but send some intend / activity / however it is called in Android to the running service which will do the vibration.
Is it doable?
the thing is afaik an app launch always needs to launch an activity.
if i'm wrong i hope someone corrects me
How about this?
https://stackoverflow.com/questions/2704084/how-to-launch-an-activity-without-a-ui
krecoun said:
How about this?
https://stackoverflow.com/questions/2704084/how-to-launch-an-activity-without-a-ui
Click to expand...
Click to collapse
it says you can have an app that's a service only, which starts on boot an can receive intents. but how do you call it? you need to activate something. you could maybe do it as a compilation, but as I see it it's not possible by launching an app.
I see two easy solutions:
-let the app run in an empty window
or
-let the device go to standby after vibration
update: I looked into this a bit more. I guess my solutions would not work. an app can't send the device to sleep and if I show an activity the screenreader always reads the app name...
so I can't help you any further. maybe someone else can
Hi, sorry for looong delay. I must say that I am using your app quite successfully. Sometimes it talks but mostly it does not and vibrations work as expected. Great work. Maybe you could release this app into Playstore, some other blind people could benefit from that or make more suggestions.
krecoun said:
Hi, sorry for looong delay. I must say that I am using your app quite successfully. Sometimes it talks but mostly it does not and vibrations work as expected. Great work. Maybe you could release this app into Playstore, some other blind people could benefit from that or make more suggestions.
Click to expand...
Click to collapse
Thanks for your feedback, i'm glad you like it.
I find myself running it from time to time, just to see if I can feel the time
I'm gonna try to publish it when I find time. I'm currently starting work at a different project.
Just came across this thread. Very interesting project!
I, myself, am not blind, but I like the direction this is going! I am going to try it out!
Have you published this to the Play store as of yet? This could be good! ??
Yeh, this is a unique app concept for many!
sorry, for not responding in almost a year.
best would be to bake this function into the os, or make it activate by gesture... wouldn't this be awesome? telling time without ears and eyes, just by a movement...
I just remembered this app and thought i might finish it and add it to play store.
HOPEfully this weekend

Categories

Resources