Custom Android app for Casio BLE watches

Search This thread

masterjc13

Senior Member
Jan 15, 2010
213
167
Hi all,

You are here if you have a CASIO SmartWatch (Bluetooth enabled) and the vendor application do not offers you full functionality for Android devices. Or maybe your Android device is not supported!

BlueWatcher turns your CASIO BLE watch in a really "SmartWatch"!

The application is called "BlueWatcher"

Visit our main web page and discover what does BlueWatcher do for you!

http://www.bluewatcher.es

Thank you in advance!

Tested watches
- Casio GBA-400
- Casio GB-6900
- Casio GB-X6900
- Casio GB-5600
- Casio STB-1000

Last Release

BlueWatcher 1.1.2 has been released!!

Main functionality is: Whatsapp, incoming call and generic application notifications. Date and time synchronization. Multiple and configurable phone control modes. Phone finder service. Reconnection and autoconnection. Visit our web and discover more.

https://play.google.com/store/apps/details?id=com.bluewatcher
 

Attachments

  • 400-CONNECTED.png
    400-CONNECTED.png
    52.8 KB · Views: 1,420
  • editor-control-mode.png
    editor-control-mode.png
    51.6 KB · Views: 1,429
  • 2-s.png
    2-s.png
    25.2 KB · Views: 1,396
  • settings.png
    settings.png
    42.3 KB · Views: 1,197
Last edited:

Luchoc

Senior Member
Feb 9, 2012
111
54
Buenos Aires
I've got a Sony Xperia ZL running Omni 4.4.2 and a GB-5600AB. I'm in if you want to, since I like the idea. I'm not specifically a developer but at least I know how to get a log hahaha

Sent from my C6503 using Tapatalk
 

Toje2

Senior Member
Apr 13, 2009
113
7
S4 mini with a 6900B, glad to try

Sent from my GT-I9195 using XDA Premium 4 mobile app
 

shade_

Member
Aug 16, 2007
26
1
Wroclaw
Hi,

I've got a Motorola Droid 4 with Stargo 4.4.2 and GB-6900B. I'm interest to try test you app

Sent from my Nexus 7 using Tapatalk
 

piotr.pot

Senior Member
Jul 1, 2010
90
31
S4 mini, CM11, 4.4.2 and GB-6900B. I'd like to try and help. Regards
 
Last edited:

masterjc13

Senior Member
Jan 15, 2010
213
167
Hi all!!

I'm glad to see you are interested in the project!!!

I'm writing a document with the instructions. As soon as I finish it, I will send you by private message.

Please, if you have a problem, post it in the public thread (here ;)). Sometimes, your problem can be the same problem as your neighbour :eek:

See you soon,
 

masterjc13

Senior Member
Jan 15, 2010
213
167
I have a 5600B with a note 3 running 4.3 soon to be updated to 4.4.

Hello @Luchoc and @ronaldheld!

Please, can you tell me if you are using official G-Shock+ application?

Are you using this one?

Not all the services available for GB-6900 will be available for GB-5900.

I'm glad that Casio Watcher can be tested with this current Casio watches (I own a GB-X6900B):

Casio GB-5600
Casio GB-6900
Casio GB-X6900
 

masterjc13

Senior Member
Jan 15, 2010
213
167
Casio Watcher 0.1 instructions

Casio Watcher 0.1 Instructions

From now... Casio Watcher is "CW".

This 0.1 version only will demonstrate connectivity and alert notification to the watch.

IMPORTANT: You have to shutdown the official Casio G-Shock+ application (kill the process). It's not necessary to uninstall it. Kill it if it's running.

You know that Casio have several problems to implement connectivity. With the official application it's a pain to pair watch and phone. I found this is a watch firmware problem. I tested several BLE devices and connection rocks at first try! Casio do not! With the same phone software. I mean that CW will not do it better. It will do what Casio's Watch firmware allows us ;)

Let's go with the test:

  • 1. Shutdown official Casio G-Shock+ application (if not, CW and official app will collide).
  • 2. Install "Casio Watcher 0.1 apk".
  • 3. Run "Casio Watcher".
  • 4. Now you will be in the "G-Shock BLE" section. CW is scanning for Bluetooth 4.0 capable devices. When it is scanning, you can see "STOP" button upper rigth. CW will scan for 10 seconds.
  • 5. In the watch, start bluetooth holding down the B button for about two seconds until the connecting screen appears (rag doll trying to connect ;))
  • 6. Now, in the CW screen appears your watch (model and addres).
  • 7. Click in your watch section.
  • 8. If you have not already paired and connected before using Casio G-Shock+ official app, Android will ask you to pair the watch and the phone.
  • 9. When you click in your watch, "Watch Manager" screen will appear. When clicking... a connection attempt is made. You will see two important labels: Status and Services. Status points out if the connection has been made. Services will show you if a Casio watch has been connected. If you try to connect to a FitBit One bluetooth 4.0 device, connection status is "Connected" but Services will be "Unavailable".
  • 10. THIS STEP IS IMPORTANT: Here comes the problems connecting with the watch. If you see "Disconnected" status for 2 or 3 seconds, the Watch closed the connection. So go back to the "Discover" screen again (back button is upper left in the screen). Now, go to step 4 again. You have to repeat steps 4 to 10 till "Connected" status and "Available" services appear.
  • Every time you go back and click your watch model on the phone screen, a single connection is stablished. If it is broken, try it again, and again, and again. Do not wait in the "Watch Manager" screen because no reconnection is made. Casio do it for you but hides user control over the connection. I prefer to turn back 3 times in 10 seconds to wait eternally till the official app connects!!
  • 11. IMPORTANT: If you are a lucky man and "Connected" status and "Available" services appear, please wait till you phone shows the fixed bluetooth simbol and the dancing doll desapears!
  • 12. Once you are connected and the watch seems to be connected too (fixed bluetooth simbol)... let's try the sample call notification. Click "ALERT" button. In 1 second you will receive a call notification in your watch saying the caller is "Casio Watcher".
  • 13. EXTRA TEST: If you connected watch and device, please, test the reconnection!!!! go away without your phone and come back again...

And that's all!!! CW can discover if your phone supports BLE (bluetooth 4.0) connections, starts your phones bluetooth in case it's off... oh, and it have an "About" screen!! lol

I send the apk to the people who requested me. You are free to send your friends this apk but I want to control a supported environment matrix (Operating system, device, watch model...).

And remember... it's not a professional and final application, it can crash, it can lack... feel free to tell me all the abnormal things you see and functional requeriments you wish.
 

Luchoc

Senior Member
Feb 9, 2012
111
54
Buenos Aires
Hello @Luchoc and @ronaldheld!

Please, can you tell me if you are using official G-Shock+ application?

Are you using this one?

Not all the services available for GB-6900 will be available for GB-5900.

I'm glad that Casio Watcher can be tested with this current Casio watches (I own a GB-X6900B):

Casio GB-5600
Casio GB-6900
Casio GB-X6900

Yes! I'm using that very application. I'm aware not every service will be available for our 5600, since it lacks things such as music controls and so on. I'll try your app straight away

Sent from my C6503 using Tapatalk
 

masterjc13

Senior Member
Jan 15, 2010
213
167
Yes I am using the g shock+ app with my 5600b.
Where is your software located?

Did you received a private message in your xda-developers account? In this message you will find a link to a Google Drive file (apk). You have to request authorization (I will accept it immediately).

Please, inform me in case you have problems...
 

masterjc13

Senior Member
Jan 15, 2010
213
167
Due to my delays I am not registered as a developer because I have been slow to host my ROM. What do I need to do?

Send me a private message with an email account. I will send you the APK as an attachment. Do you have a GMail account? In case you have GMail account, I can authorize and send you in a private message the link of the APK stored in Google Drive.

Thanks
 

Luchoc

Senior Member
Feb 9, 2012
111
54
Buenos Aires
Update:
I've been trying to connect with both my ZL running Omni and a Moto G running stock 4.4. The following happens:
1) Both phones detect the watch properly. When prompted, they pair with no problems. However, the first time the connection is established (the watch shows the ongoing bluetooth icon on its display) the app shows that it's connected but not available and the connection drops quickly. On one occasion (on the 6th try with the ZL) I managed to establish a connection on the first try (when pairing) and successfully did several call alerts before the connection dropped.
2) After that I've tried reconnecting them with no success. Both phones show "connected" and "available" but the watch keeps showing the blinking BT icon with the G-Man dancing (yes it's called like that). Endlessly going back and trying to reconnect doesn't do anything and the watch disconnects BT after a few minutes.

Still, I've managed to get a connection for a minute or so so good job! I'll try to repeat everything (on my ZL, I'll do it at night with the Moto G) and get a logcat. We can't really debug anything on the watch's side but luckily the phone's side is quite open xD
 
  • Like
Reactions: masterjc13

Top Liked Posts

  • There are no posts matching your filters.
  • 15
    Hi all,

    You are here if you have a CASIO SmartWatch (Bluetooth enabled) and the vendor application do not offers you full functionality for Android devices. Or maybe your Android device is not supported!

    BlueWatcher turns your CASIO BLE watch in a really "SmartWatch"!

    The application is called "BlueWatcher"

    Visit our main web page and discover what does BlueWatcher do for you!

    http://www.bluewatcher.es

    Thank you in advance!

    Tested watches
    - Casio GBA-400
    - Casio GB-6900
    - Casio GB-X6900
    - Casio GB-5600
    - Casio STB-1000

    Last Release

    BlueWatcher 1.1.2 has been released!!

    Main functionality is: Whatsapp, incoming call and generic application notifications. Date and time synchronization. Multiple and configurable phone control modes. Phone finder service. Reconnection and autoconnection. Visit our web and discover more.

    https://play.google.com/store/apps/details?id=com.bluewatcher
    7
    Hello!

    I finished BlueWatcher 0.3! I'm doing some testing in order to guarantee correct behaviour.

    I will publish it today or tomorrow. I will explain how it works.

    I solved incoming call crash too.

    See you!

    Sent from my SM-N9005 using XDA Free mobile app
    6
    And what about "Smart Watcher"... and without keeping any part of the old name... "Blue Manager", "Smart Manager" or "Connect Manager"...

    For the next version I'll be happy if you implement a way to save the settings ;)

    Great work!! Thanks, mil gracias ;)

    I do not use SmartWatcher because Sony has named it's wearable "Sony SmartWatch" :eek:

    But "Watcher" liked me because this app is for "Watches" and it's "watching" so it's a "Watcher" :cowboy:

    I like "BlueWatcher" because "Blue" is a color and it's easy to remember. End Users need minimalistic names... not protocol names. :cool:

    I'm migrating all the project to BlueWatcher. No more "Casio" and "G-Shock"!!! I only advise that BlueWatcher is tested with GB and STB (Bluetooth 4.0) Casio watches... but the app will not be restricted to Casio models.

    I'm working hard to configure generic app notifications (ugly GUI, horrible GUI... but pretty functions).

    I'm finishing implementing BlueWatcher Notification entry in the notification status bar too (indicating if it's connected and having a shortcut to go to BW)
    6
    Casio Watcher 0.2 instructions

    Please, uninstall Casio Watcher 0.1 before installing 0.2.

    Follow steps 1 to 9 of the Casio Watcher 0.1 instructions. http://forum.xda-developers.com/showpost.php?p=52279872&postcount=14

    Here comes the big difference. You only have to click on your detected watch and wait until it connects. You do not have to go back and forward trying to reconnect the watch, CW does it for you.

    When it's paired and both connection and services are available, you can click "TEST" button to test if they are paired correctly. You will receive a call notification in your watch saying the caller is "Casio Watcher".

    Incoming call notifications and Whatsapp notifications are available!!

    Let me explain the configuration options:

    * Incoming call notification
    • Configure if you want to resolve phone number with a contact
    * Whatsapp notification

    • Incoming messages will be notifies as mail alerts.
      Contact Messages will be formatted: "W:Contact Name"
      Group Messages will be formatted: "WG:Contact Name"
    • You can disable/enable group notifications.
    • You can select one algorithm for notifications:
      • Delay new mesages: When you receive a message from a contact, you will not receive new notifications from this contact after X minutes. For groups, you will not receive a notifications for the group (any contact).
      • Notify after read: When you receive a message from a contact, you will not receive new notifications till you read the first notified message. If you receive 5 messages from X contact you will be notified only once. When you read those 5 messages from your mobile, you will be ready to receive new notifications for this contact. This algorithm will be a little different for group messages. I will manage group messages as a contact message. I will not distinguish between single contact message and group message. You will not receive any message to the group until you read the first notified.
      • Notify all messages: Easy, you will receive a notification in your watch every time a message arrives to whatsapp. (BE CAREFUL WITH BATTERY DRAIN)
    • Actually, I'm not able to get sender ID from the notification. The only way to do this is parsing the incoming notification message "Message from XXX". For this purpose, please, fill in the "Notification filter" text field with the header of your notifications (internacionalization here is difficult but can be implemented too). With this text field CW will be able to notify you who sent you the message and group ID!!!
    Every time you change a param, if you click the "Apply" button, the configuration will be applied in less than a second!!

    Reconnection has been improved too. You will see a message in the screen every time they loss connection. Reconnection is made in aproximately 10 seconds (the time CW is notified about broken connection and retry executes).

    IMPORTANT: In the ABOUT screen you can see the application disclaimer.

    IMPORTANT 2: Saving configuration is not implemented yet. Every time you start CW you will have to reconfigure it. SORRY for the inconvenience.

    I'm going to send you CW 0.2 links.

    Remember to create new problems/bugs in the project issue tracking tool. Any question about the functionality, please, publish it here in XDA forum!

    Good Luck!!! And remember... it's not a professional and final application, it can crash, it can lack...
    5
    BlueWatcher 0.3 instructions

    BlueWatcher 0.3 is here!

    As I posted before, CasioWatcher changed its name to BlueWatcher. This application can run with any Bluetooth 4.0 BLE watch that implements Alert Service. Watches tested and running are:

    - Casio GB-X6900
    - Casio GB-6900
    - Casio GB-5600
    - Casio STB-1000

    You can download BlueWatcher here:

    https://docs.google.com/file/d/0B8H4RiQ3CA75eEU1dzB0Tk1TVWc/edit?usp=docslist_api

    @FUNKENG... I will publish it to Google Play Store when more functionality is available (I need to check licensing and publishing requirements).

    If you didn't requested authorization before, you will need to request authorization in order to download the file. Now, you do not need to request the link in this XDA post. I think there are so many watches and phones tested. The first step of testing was to assure the application could run in many phones and run against all the watch models. Acomplished! Now, you only have to post your phone and watch models when you have any problem running BlueWatcher.

    Let me begin with the first point you will complaint ;). Actually, you can't save BlueWatcher settings. I'm sorry but I prefered to release fully functionality. It's so easy to configure and I implemented an easy way to find an application to add to generic application notification.

    There are 2 big differences from CasioWatcher 0.2:

    1. New screen ordering and fixed notification to quickly access BlueWatcher.
    2. Generic application notification

    If I have to enumerate BlueWatcher 0.3 functions, those are:

    - Bluetooth 4.0 BLE Watches compatible with Alert Service.
    - Automatic reconnection when connection is broken.
    - Fixed status bar notification to inform connection status and offer a quick access to app.
    - Incoming call notifications with contact name resolving.
    - WhatsApp notifications (3 different notification algorithms)
    - Generic application notification
    -- Find button to quickly search your desired application
    -- Full customization of the notification message

    Instructions

    Now the configuration and status screen is the main window. Here you can find "WATCH" button to select the watch you want to connect. The connection screen is the same as the last version. Scan and connect.

    When BlueWatcher is started, a new notification in the status bar will appear. From this fixed notification (you can't remove this notification) you can go to the main BlueWatcher screen and you can see the connection status.

    When it's paired and both connection and services are available, you can click "TEST" button to test if they are paired correctly. You will receive a call notification in your watch saying the caller is "BlueWatcher 0.3".

    Let me explain the configuration options:

    * Incoming call notification
    • Configure if you want to resolve phone number with a contact
    * Whatsapp notification

    • Incoming messages will be notifies as mail alerts.
      Contact Messages will be formatted: "W:Contact Name"
      Group Messages will be formatted: "WG:Contact Name"
    • You can disable/enable group notifications.
    • You can select one algorithm for notifications:
      • Delay new mesages: When you receive a message from a contact, you will not receive new notifications from this contact after X minutes. For groups, you will not receive a notifications for the group (any contact).
      • Notify after read: When you receive a message from a contact, you will not receive new notifications till you read the first notified message. If you receive 5 messages from X contact you will be notified only once. When you read those 5 messages from your mobile, you will be ready to receive new notifications for this contact. This algorithm will be a little different for group messages. I will manage group messages as a contact message. I will not distinguish between single contact message and group message. You will not receive any message to the group until you read the first notified.
      • Notify all messages: Easy, you will receive a notification in your watch every time a message arrives to whatsapp. (BE CAREFUL WITH BATTERY DRAIN)
    • Actually, I'm not able to get sender ID from the notification. The only way to do this is parsing the incoming notification message "Message from XXX". For this purpose, please, fill in the "Notification filter" text field with the header of your notifications (internacionalization here is difficult but can be implemented too). With this text field CW will be able to notify you who sent you the message and group ID!!!
    * Generic app notifications
    Click "EDIT" to configure which generic applications should be notified.

    In this screen you can see a list with the selected applications that will be notified to the watch. Click "ADD" button to add a new application or click over an application from the list to edit it.

    • Adding a new generic application: In this screen you can see a list with ALL the installed applications in your phone (Icon and application name). Select one application or click "FIND" button to look for a concrete application. If you select "FIND" option you can write a substring of the application. You don't need to write full application name. For example: If you type "Face" you will find "Facebook" application. If you type "mail" you will find "GMail" and other mail applications.
    • Editing a generic application: Even if you added a new generic application or you are editing one you can modify next options:
      Alert Prefix: You can modify the prefix you want in your messages when a notification is shown. For example, write "F" for Facebook and all your notifications will start with "F: xxxxx".
      Header filter: When the notification text is shown, you can filter messages with a header filter. If your notification message starts with this filter, it will be shown without this beginning text. For example, If your application notification is "You earned 46 points" you can set header filter to "You earned " and the message sent to you watch will be "46 points".
      Alert type: If your watch supports different notification styles you can select one of those: CALENDAR, MAIL, SNS, SMS, Call.

      IMPORTANT: Application name will be shown in your watch if "Alert Prefix" and "Header Filter" are empty strings. If you type something in "Alert Prefix" and/or "Header Filter", then notification text will be shown in your watch.

      EXAMPLES

      1. "Facebook" with empty "Alert prefix" and "Header filter" notifies you. WATCH TEXT -> "Facebook"
      2. "Facebook" with "Alert Prefix=F" and empty "Header Filter" notifies you. WATCH TEXT -> "F:Ben sent you a message"
      3. "MyGame" with "Alert Prefix=G" and "Header filter=You won" notifies you "You won 54 points". WATCH TEXT -> "G:54 Points"

    Every time you change a param or add/modify generic applications, click the "Apply" button and the configuration will be applied in less than a second!!

    And I remember you that you can collaborate with donations as explained here: http://forum.xda-developers.com/showpost.php?p=53346469&postcount=123

    Thank you so much!!!!!