ibm-wearables-sdk-for-mobile / ibm-wearables-android-sdk

Android SDK and examples for developing apps that utilize Wearable Devices. It handles connectivity, data interpretation and gesture recognition.
Apache License 2.0
20 stars 11 forks source link

Running the record-wear app #8

Open fca2011 opened 8 years ago

fca2011 commented 8 years ago

The wiki says to record a gesture, first run record-wear app on the wearable device. When I try to do it, I get the following error: "Default Activity not found". Is the manifest file correct? It seems some java files are missing.

zachkont commented 7 years ago

I have the same problem. Did anyone find a solution?

fca2011 commented 7 years ago

Copy and modify the manifest file and the main activity file from demo-wear folder into record-wear. Then you can start record-wear.

zachkont commented 7 years ago

Wow thanks for the reply! It's great to see that you haven't abandoned this.

I did copy the main activity from demo-wear and that allowed me to compile and run it. Apparently, android studio requirements for running a module changed?

Anyway, I have trouble recording gestures. While I did manage to record a couple, I mostly get an error message after most iterations, asking me to try again. And of the two that I did manage to record, one never got recognized (although I only did 4 iterations) and the other was 'recognized' all the time during tests, even if I didn't move at all or did different movements. On the second one I did 10 iterations and the recognized message said 87% accuracy and it just got recognized over and over again every second until I stopped it.

What am I missing?

Thanks again for your time, Zach

On Fri, Oct 28, 2016, 21:56 fca2011 notifications@github.com wrote:

Copy and modify the manifest file and the main activity file from demo-wear folder into record-wear. Then you can start record-wear.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ibm-wearables-sdk-for-mobile/ibm-wearables-android-sdk/issues/8#issuecomment-257000763, or mute the thread https://github.com/notifications/unsubscribe-auth/AQeUyq1fwNRWubhrV3DC6qQXwsmmwUKGks5q4kVrgaJpZM4KKmQB .

Edit: damn, I thought I was replying to an email...

fca2011 commented 7 years ago

I had a similar experience. It worked some time, but not always. My guess is that it is not just reliable for short gestures. You might get better results if you move your hand for a long time/distance. My conclusion was that it couldn't do what I wanted so I stopped using it. I hope you will have a better luck!

zachkont commented 7 years ago

Oh, and here I thought it had to be small ones! ok, thanks a lot! I will give it a try and hope it works.

Gudui commented 7 years ago

Simply copying the demo app doesn't provide any logic to recognize gestures, how did you manage to recognize gestures on a smartwatch?

@zachkont

zachkont commented 7 years ago

@Gudui I used the record app