Search Results

by brunoramos96
Mon May 06, 2019 12:06 pm
Forum: Android
Topic: Remove Attach Listener
Replies: 2
Views: 22238

Re: Remove Attach Listener

mparadis wrote:Do you think you could post some of your code here? It's hard to understand what might be going wrong without seeing the code.
After some tries I fugured out a way. Thanks anyway :wink:
by brunoramos96
Sun May 05, 2019 4:49 pm
Forum: Android
Topic: Remove Attach Listener
Replies: 2
Views: 22238

Remove Attach Listener

Can anyone explain me the purpose of removeAttachListener in Phidgets22 library? I'm with some problems. When I start my app, I do my configurations and then I arrive at the activity where I do the measurement of acceleration with the 1041 accelometre. But when I go back to do new configurations and...
by brunoramos96
Wed Feb 06, 2019 4:21 pm
Forum: Android
Topic: Spatial 3/3/3 data in an array
Replies: 5
Views: 38759

Re: Spatial 3/3/3 data in an array

Thank you so much for the help. It was very usefull for my problem. So it means that the void "run" it's like a endless loop that works since the sensor is connected. Is it possible to infer a pause to that loop? For example, when I get 100 values in the array the loop pauses and the user ...
by brunoramos96
Fri Feb 01, 2019 2:42 am
Forum: Java
Topic: Event driven code: 1041 PhidgetSpatial 0/0/3
Replies: 1
Views: 18969

Re: Event driven code: 1041 PhidgetSpatial 0/0/3

Hi.
Did you find a solution for your problem? I'm looking for a solution for that.

Hope you did :wink:
by brunoramos96
Thu Jan 31, 2019 5:40 pm
Forum: Android
Topic: Spatial 3/3/3 data in an array
Replies: 5
Views: 38759

Re: Spatial 3/3/3 data in an array

Hi, Dump acceleration data into a queue from the AccelerationChange event, and then operate on that queue as you like. I have done this in C#, not sure what FFT libraries are available on Android, but it should be fairly straightforward. -Patrick Can you explain how to do that? I think that I might...
by brunoramos96
Wed Dec 05, 2018 2:05 pm
Forum: Android
Topic: Spatial 3/3/3 data in an array
Replies: 5
Views: 38759

Spatial 3/3/3 data in an array

Hi there,

Is it possible to save acceleration data from Spatial 3/3/3 in an array, in order to apply the FFT? How can I do that on android studio?

Thanks
by brunoramos96
Mon Oct 15, 2018 3:07 pm
Forum: Android
Topic: Helloworld on android studio
Replies: 8
Views: 25229

Re: Helloworld on android studio

That's the problem. When I searched about this error I found that possible solution, but it doesn't work. I'll try to reinstall the android studio. Old school way :(
by brunoramos96
Sat Oct 13, 2018 9:22 am
Forum: Android
Topic: Helloworld on android studio
Replies: 8
Views: 25229

Re: Helloworld on android studio

What kind of problem are you having with the example, and which example are you using? How is the Phidget connected to the Android device? Is it plugged in direct via USB, or over the network? If you are trying to connect over the network, do you have a version of the Phidget Network Server running...
by brunoramos96
Wed Oct 10, 2018 3:15 pm
Forum: Android
Topic: Helloworld on android studio
Replies: 8
Views: 25229

Re: Helloworld on android studio

I cannot replicate your non-ascii characters problem, so I will take this time to ensure you are importing the project from the correct folder. After unzipping the example download, you may end up with a folder called "Phidget22_HelloWorld_Java_Android_Ex_########". This is not the projec...
by brunoramos96
Sat Oct 06, 2018 8:23 am
Forum: Android
Topic: Helloworld on android studio
Replies: 8
Views: 25229

Helloworld on android studio

Hi everyone, I'm a beginner in te area of programing in android, and it's my objective to use phidgets sensors in a Android's phone. So I started by put my phidgets sensor collecting data for my android. I read the information in the phidget's site, and after downloading de examples that includes th...