Heart Rate Measurement (again)

As I said, the BluetoothClient component declares the (missing) permissions in the Manifest.

So where is the problem to check it out with the old BLE extension by adding a BluetoothClient component to the screen (in the Designer)? Build the APK and try...

So the app with the old BLE ext works after BluetoothClient was dragged into Screen1, neither with the APK nor with Companion? Right?

Runtime ERROR need android permission blah blah

You must request permissions manually (as I have posted dozens of times).

I guess I am confused. How do I do that?

And again and again:

:frowning_face: your the expert and I AM NOT. that is why I am asking for help.
you may have posted again and again dozens of times but I have not connected all the dots

Ok, and now you have

?
Does it work? (with the APK)

And post the aia or PM me. I can check when I've found my BLE device again.

I appreciate that very much.

My .aia is huge. I will need time to remove 7 screens and simplify. This will take time. It is 20:50 here so perhaps tomorrow or saturday? At very least that gives time to find your belt?

I, like you, am very interested and dedicated to health. At 74 yrs I still workout daily at maximum heart rate. I track continuously and feel certain it is the reason my health is extremely good. the app I created enables me to do this.

Thank You

:+1: :clap:

On this occasion: A few years ago I wanted to create an HRV (heart rate variability) measurement feature. We are missing - as far as I know - but still appropriate extensions or any APIs. Unfortunately, I lost sight of the topic again. If anyone knows anything more about this, please let us/me know.

The HRV provides very good and reliable information about the state of relaxation and health of a person and is used worldwide (not least by (competitive) athletes.

Screen1.aia (352.7 KB) - EDIT: aia removed (paid ext)

As promised, this is the original with the old BLE

grafik

:question:

ahh ok. removed because there is a paid extension in it!

This should work

Screen1.aia (338.9 KB)

OK Sorry but I was gone off-grid for 3 months. After returning I bought a phone with Android 11, removed the SIMS or any other method of connecting to the internet. I then made the changes to my app and use the phone as a dedicated phone for my app only.

Thank you for the suggestion ChrisWard

Let me explain what I did in order to understand why it suddenly stopped working?

Since my app is truly huge It is not feasible to simply rewrite it so...

  1. I used "Copy All Blocks to Backpack"
  2. Delete (633) blocks)
  3. I deleted the previous BLE and inserted the new BLE
  4. I used "Paste All Blocks from Backpack"
    This is where I noticed a problem. The paste block count is much lower count than the Copy count.

An attempt to simply remove the BLE and install the new BLE caused a ridiculous number of errors.

Thank You

Try this approach on an .aia export of the old Project?

from

?

1 Like

Thank You ABG. I will attempt the delete as soon as I can (holidays busy things)

I have never looked inside an .aia. I take it your meaning delete the old BLE and then add the new BLE to the file?

P.S. It has been 3 years since I wrote the original and I am a bit novice again.

The post I linked to does indeed use a surgical approach to the exported .aia file.

I have not done this myself for an extension update. (I try to avoid them if possible.)

I personally use 7zip for other .aia repairs to Designer and Blocks.

EEEK! I do not have "com.google.appinventor.components.BluetoothLE [ble_2]
com.google.appinventor.components.BluetoothLE [ble_2]"

What I have is the following:
Screen1
Screen2
Screen3
Screen4

YES 7zip is better because it is totally free and works the same