Skip to content
Go to file


Failed to load latest commit information.
Latest commit message
Commit time
Mar 19, 2016
Mar 17, 2016

#What is Skale? Skale is a bluetooth electronic kitchen scale, which provides bluetooth connectivity. You can connect Skale with your iPhone or android device, and get the weight value from it.

You can know more detail from official website.

#What is SkaleKit? SkaleKit is a SDK to utilize Skale. It contain searching, connecting, and some basic function for an electronic scale.

#How to use SkaleKit?

##Setup You can download aar file from jcenter by adding following dependency in build.gradle.

compile ''


  • ####Constructor

    mSkaleHelper = new SkaleHelper(context);

  • ####Listener

      mSkaleHelper.setListener(new SkaleHelper.Listener() {
          public void onButtonClicked(int id) {
              // invoked when button on Skale is clicked
              // 1: circle button
              // 2: square button
          public void onWeightUpdate(float weight) {
              // invoked when weight value notified from skale
              // unit of gram.
          public void onBindRequest() {
              // if new skale was found, SkaleHelper will auto request bind.
              // this callback will be invoked.
          public void onBond() {
              // invoked when pairing completed.
          public void onConnectResult(boolean success) {
              // invoked when connection task done
          public void onDisconnected() {
              // invoked when skale disconnected
          public void onBatteryLevelUpdate(int level) {
              // invoked after request battery level
  • Tare Call tare() when you would like to set skale weight to 0g.


  • ####Permission For android M, app have to request bluetooth permission at run time. Check if application has permission with

    SkaleHelper.requestBluetoothPermission(this, REQUEST_BT_PERMISSION);

    and implement onRequestPermissionsResult() as following in AppCompatActivity

      public void onRequestPermissionsResult(int requestCode, @NonNull String[] permissions,
                                         @NonNull int[] grantResults) {
          if (requestCode == REQUEST_BT_PERMISSION) {
              boolean result = SkaleHelper.checkPermissionRequest(requestCode, permissions, grantResults);
                  Toast.makeText(this, "No bluetooth permission", Toast.LENGTH_SHORT).show();
              // END_INCLUDE(permission_result)
          } else {
              super.onRequestPermissionsResult(requestCode, permissions, grantResults);


No description, website, or topics provided.




No releases published


You can’t perform that action at this time.