Basic HTML Version

|  | Table of Contents |  | View Full Version

Page 110 - 2615_KEC
P. 110

    If your Pedometer App is not working correctly, check and fix the following issues:

                      1. Steps Are Not Counting
                      Check if Pedometer1.Start is triggered and your phone has a step sensor.

                      2. Step Count is Not Updating

                      Ensure Pedometer1.SimpleStep updates Label1.Text with get simpleSteps.
                      3. The App is Not Stopping

                      Check if Button2 (Stop Button) correctly calls Pedometer1.Stop.

                      4. Reset Button is Not Working

                      Make sure Button3 (Reset Button) calls Pedometer1.Reset and sets Label1.Text to 0.

                      5. App is Not Detecting Steps
                      Grant motion sensor permission and try shaking the phone slightly.

                      Publishing and Sharing the Pedometer App
                      Once you have created your Pedometer App, you can publish and share it with others.

                      Creating an APK file for Android Devices
                      To create an APK file for Android devices, follow these steps:

                      Step  1   Click on the Built menu.

                      Step  2   Click on Android App (.apk) from the
                                drop-down list.

                      Step  3   Click on Download.apk now to download
                                the APK file.

                      Share the APK file via email, Google Drive or WhatsApp
                      and others can install it by enabling Install from unknown
                      sources in their phone settings. You can publish your app
                      on the Google Play Store if you want to share it with the
                      world.

                      108   Premium Edition-V

| 105 106 107 108 109 110 111 112 113 114 115 |