Re: Comment on SensorSimulator in openintents

Showing 21-107 of 107 messages
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/31/09 9:12 PM
Comment by Nicholaus.Shupe:

I'd like to second the request to update the sensor simulator to new  
Android SDK 1.6/2.0 APIs.  Thanks!


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 11/11/09 3:57 PM
Comment by jkidsimon:

if I want to use my HTC magic to control the SensorSimulator on  
computer,can i?


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 11/25/09 8:28 AM
Comment by huttarl:

+1 for updating the sensor simulator to the new Android platform and  
SensorEventListener. (I just updated some other code for this change, so  
maybe I could do the same for SensorSimulator and submit a patch.)

Question: The instructions above say "download the latest  
openintents-binary-x.x.x.zip". I don't see any such thing on the  
openintents download list. Does sensorsimulator-1.0.0-beta1.zip replace  
that file?

Thanks,
Lars
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 11/25/09 2:24 PM
Comment by huttarl:

P.S. Thanks HastCibernio for the tip about requiring the Google APIs as a  
target!
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 12/7/09 12:39 AM
Comment by adammachowy:

As Nicholaus said it would be great to have version for 1.6/2.0/2.1. Thanks
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 12/7/09 2:38 AM
Comment by wilfried.lg:

Is there any version to test applications with android 2.0 and  
SensorEventListener ?
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/24/10 10:28 AM
Comment by skafoelix:

+1 for 2.0 API support


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/26/10 8:37 PM
Comment by vaghili:

Yes, I get the same error as renijoym:

pkg: /data/local/tmp/OpenIntents.apk Failure  
[INSTALL_FAILED_MANIFEST_MALFORMED]

Can somebody help me please!

I have just installed everything from their websites with the latest  
versions, from Java JDK, Eclipse, SensorSimulator, OpenIntents, etc... Even  
my winXP was recently installed a couple days ago!


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/31/10 11:16 AM
Comment by ylfchild:

I would also love a version that uses SensorEventListener rather than the  
deprecated SensorListener.


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/31/10 12:20 PM
Comment by gcswebstats:

Are there plans for 2.0 API support?  If so, when will this be available.  
Thanks!


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/31/10 12:24 PM
Comment by gcswebstats:

Can someone suggest another simulator that is available for the current  
API?  Thanks!


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/20/10 6:13 PM
Comment by roxie.self:

I would also like a non deprecated version of SensorSimulator.


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

--
You received this message because you are subscribed to the Google Groups "OpenIntents" group.
To post to this group, send email to openi...@googlegroups.com.
To unsubscribe from this group, send email to openintents...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openintents?hl=en.

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/20/10 6:17 PM
Comment by GodsMoon:

+1 for an updated version
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/21/10 10:17 PM
Comment by peli0101:

Hi developers! I understand your desire for an 2.0 API compatible version  
of SensorSimulator. Unfortunately, most of the OI developers are currently  
busy fixing bugs in the other OI apps, and there is a long list of feature  
requests as well: http://code.google.com/p/openintents/wiki/FeatureRequests

But that's not a big deal, because the SensorSimulator is open source :-)  
This means, you can help to contribute!

It should not be too difficult for any of you to write a basic wrapper of  
the new classes (that calls back the old classes behind the scenes). If  
someone makes a basic start, we can refine and correct that.

If you are interested in contributing, let's discuss the details in our  
developer group: http://groups.google.com/group/openintents

This would be the fastest way for you to get the 2.0 API implementation.
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/30/10 9:30 AM
Comment by f.f.neezen:

I still cannot connect to the local port !

I have the INTERNET permissions in the Manifest file but it keeps saying it  
can't connect. If I telnet to the port, I see its open and there. Also, I  
can browse on the emulator.

What am I doing wrong? :-( I really need it for an AR application.
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/30/10 10:09 AM
Comment by f.f.neezen:

got it!!

loopback for your own machine without using direct IP is 10.0.2.2
Re: Comment on SensorSimulator in openintents Nikola1488 5/6/10 4:49 PM
I have a problem with integrating SensorSim into my app.

It seams im missing:
                                org.openintents.provider.Hardware;

Where can I download that package or in which library is it?

Nikola
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/11/10 6:22 AM
Comment by san...@sina.com:

The sensor data defintion isn't compatible with API 2.0.
Hope to get the latest one.


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/14/10 1:37 AM
Comment by guyhagemans:

It would be more than awesome if this can work for me, however, I'm  
recieving this error, can anyone tell me what I'm doing wrong?

Cannot cast from SensorManagerSimulator to SensorManager
and for Hardware.mContentResolver = getContentResolver(); I'm getting;
Hardware.mContentResolver = getContentResolver();

thanx a lot!


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/23/10 4:07 AM
Comment by donmafijozo:

Does anyone has any guide on how to make sensor simulator work on
Froyo, i can't even connect application to emulator. Ty for any positive  
feedback


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/28/10 8:42 AM
Comment by ivan.longin1:

Hi!
I'm trying to run SensorSimulatorSettings on real device(Android 1.5, HTC  
Hero). But i get error with database...some SQL exception or something like  
that...Is there any posibility to run that on real device, and if anyone  
have any idea about this problem i would be very gratefull...

Thanks


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 7/10/10 3:59 PM
Comment by WindowssNT:

Hmmm.
I am trying to use it but

sm = SensorManagerSimulator.getSystemService(this, SENSOR_SERVICE);

throws exception. I 've added the <uses-permission  
android:name="android.permission.INTERNET"/>.

What could be wrong ?

Thanks.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 7/25/10 11:28 AM
Comment by maleksei:

I've tried just to run the simulator and install & run OpenIntents.apk.
In the result was the exception

   Uncaught handler: thread main exiting due to uncaught exception
   java.lang.RuntimeException: Unable to start service  
org.openintents.locations.MockLocationService@43d4ae70 with Intent {  
cmp=org.openintents/.locations.MockLocationService }:  
java.lang.IllegalArgumentException: Provider "gps" unknown
        ...................
        ...................
After that application falls into infinte loop of restarting and closing  
with error.
So I'm wondering how the gps is related to sensors simulation...


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/22/10 6:17 PM
Comment by dan.marra:

I want to try to update this to work with the new 2.0 API, but I can't find  
the source code. Where would I go about getting it?


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/23/10 1:18 AM
Comment by donmafijozo:

It doesn't work with new API mostly cause of changes that are introduced to  
Sensors. I have already done some modifications and currently got stuck  
because of SensorEvent. If you really want to give it a try, contact me on  
mail and i can give you a help.


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/22/10 4:09 PM
Comment by hari.zlatan:

guys,i am new to android development .... I have a need to simulate the  
real time movement of the android device... suppose, the user holding the  
android device moves, the location attributes should change immediately in  
real time... Is it possible to simulate this need using the SensorSimulator  
software ???


For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents Richard 10/22/10 11:24 PM
Hi - as I understand it, it's possible to do what you want using
Android 1.5, but the existing Sensor Simulator does not work for
version 2 upwards. This is because the sensor API has been completely
redesigned and it's now quite difficult to simulate a Sensor object in
a way that would be convenient for app developers. I had a go at
adapting the code at one point, and there was at least one other
person trying the same thing. I didn't finish - I don't know whether
anyone else did.
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/29/10 9:30 AM
Comment by carlos.vieira:

Hi, cannot connect to sensorsimulator... i have this error appearing on  
debug information:

==

I/Hardware(  375): Connecting to 127.0.0.1 : 8020
E/Hardware(  375): Couldn't get I/O for the connection to: 127.0.0.1 : 8020
E/Hardware(  375):  
---------------------------------------------------------------
E/Hardware(  375): Do you have the following permission in your manifest?
E/Hardware(  375): <uses-permission  
android:name="android.permission.INTERNET"/>
E/Hardware(  375):  
---------------------------------------------------------------
I/AndroidRuntime(  375): AndroidRuntime onExit calling exit(1)
D/Zygote  (   30): Process 375 exited cleanly (1)
I/ActivityManager(   66): Process org.openintents.sensorsimulator (pid 375)  
has died.

==

When i click connect, the application simply closes... why does this  
happens? I'm sure to have sensorsimulator listening on correct port, and i  
also have this in manifest file: <uses-permission  
android:name="android.permission.INTERNET"/>

Any help?

Thanks

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 11/6/10 6:47 PM
Comment by hari.zlatan:

Hello,i have a question regarding the sensor simulator...

Is it possible to simulate the movement of the android device using  
sensorSimulator?? for example,if i select the "move" option in the sensor  
simulator and move the device, the co-ordinates of the current position of  
the device should be available to me .... Is this possible ??? if  
possible,which option will give me the co-ordinate position(Accelerometer  
or compass) ??

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 12/8/10 2:50 AM
Comment by ro...@grab.co.za:

Great software I'm sure.. I couldn't find openintents that would run on my  
Android 2.1

Why o  why does it all have to be so cryptic as to where to download  
files....

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 1/25/11 4:33 AM
Comment by laury...@gmail.com:

Hello, i have a problem using sensorSimulator.
If in my code i register only a sensor, all works fine.
If i register more than one sensor (for example orientation and  
accelerometer), my application is stopped with this exception:

01-25 13:06:12.521: ERROR/AndroidRuntime(409): FATAL EXCEPTION: main
01-25 13:06:12.521: ERROR/AndroidRuntime(409): java.lang.RuntimeException:  
Unable to start activity  
ComponentInfo{it.unipr.android.sensori/it.unipr.android.sensori.SensorActivity}:  
java.util.NoSuchElementException
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.app.ActivityThread.access$2300(ActivityThread.java:125)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.os.Handler.dispatchMessage(Handler.java:99)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.os.Looper.loop(Looper.java:123)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.app.ActivityThread.main(ActivityThread.java:4627)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
java.lang.reflect.Method.invokeNative(Native Method)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
java.lang.reflect.Method.invoke(Method.java:521)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
dalvik.system.NativeStart.main(Native Method)
01-25 13:06:12.521: ERROR/AndroidRuntime(409): Caused by:  
java.util.NoSuchElementException
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
java.util.ArrayList$ArrayListIterator.next(ArrayList.java:576)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
org.openintents.sensorsimulator.hardware.SensorSimulatorClient.enableSensor(SensorSimulatorClient.java:447)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
org.openintents.sensorsimulator.hardware.SensorSimulatorClient.registerListener(SensorSimulatorClient.java:262)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
org.openintents.sensorsimulator.hardware.SensorManagerSimulator.registerListener(SensorManagerSimulator.java:164)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
it.unipr.android.sensori.SensorActivity.onCreate(SensorActivity.java:40)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
01-25 13:06:12.521: ERROR/AndroidRuntime(409):     at  
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)


what's the problem??
this is my code:

public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.main);

         TextView magneticFieldTv =  
(TextView)findViewById(R.id.magneticField);

        // sm = (SensorManager)  
getApplicationContext().getSystemService(SENSOR_SERVICE);


         sm = SensorManagerSimulator.getSystemService(this, SENSOR_SERVICE);

         sm.connectSimulator();

         //create Sensors
         Sensor Accel = sm.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
         Sensor Orient = sm.getDefaultSensor(Sensor.TYPE_ORIENTATION);

         //register this class as a listener for the orientation and  
accelerometer sensors
         sm.registerListener((SensorEventListener) this, Accel,  
sm.SENSOR_DELAY_FASTEST);
         sm.registerListener((SensorEventListener) this, Orient,  
sm.SENSOR_DELAY_FASTEST);


     }


@Override
        public void onSensorChanged(SensorEvent event) {
                Sensor sensor = event.sensor;
         float [] values = event.values;

         if (event.type == Sensor.TYPE_ACCELEROMETER) {
                 TextView accelerometerTv =  
(TextView)findViewById(R.id.accelerometer);
                 accelerometerTv.setText("ACCELEROMETER: " + values[0]+ " "+  
values[1]+ " "+ values[2]);
                 

         }
         else if (event.type == Sensor.TYPE_ORIENTATION ) {
                 TextView compassTv = (TextView)findViewById(R.id.compass);
                 compassTv.setText("COMPASS: " + values[0]+ " "+ values[1]+ " "+  
values[2]);
         }
                
        }


can anyone help me?

thanks!
Laura

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/8/11 11:17 AM
Comment by ezy...@mit.edu:

Hello all,

I've hacked up a version of the simulator that works with the more recent  
2.0 API. I'll be cleaning up the code and will post a patch soon.

Edward

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents Peli 2/8/11 12:57 PM
> I've hacked up a version of the simulator that works with the more recent  
> 2.0 API. I'll be cleaning up the code and will post a patch soon.

Hu? I thought we had this already?
http://code.google.com/p/openintents/downloads/list?q=sensorsimulator

Is your patch based on the most recent version in the trunk?
http://code.google.com/p/openintents/source/browse/#svn%2Ftrunk%2Fsensorsimulator%2FSensorSimulator

Peli
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/13/11 3:50 PM
Comment by irvinho...@gmail.com:

Where can i find this "Enable Sensors" button that i'm supposed to press? I  
can't seem to find it...

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/16/11 4:30 AM
Comment by vincze.f...@gmail.com:

Nice application!

Is there any way to add a third tab into the simulatorsettings with a  
different activity?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/20/11 2:21 PM
Comment by deani...@gmail.com:

Someone needs to put a big notice on this page that the simulator does not  
work on 2.1 apps. I'm relatively new at Android so I'm running the latest  
SDK and just spent a day trying to get the simulator to work. Sounds like  
Edward might have a fix nearly ready to go and I'm anxiously awaiting it.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/25/11 10:48 AM
Comment by Conn.ORo...@googlemail.com:

Brilliantly useful.
Thanks!

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/26/11 5:17 AM
Comment by dts...@gmail.com:

Someone knows a simulator does work on Android 2.2 ?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/6/11 11:26 PM
Comment by mae...@gmail.com:

Thank you! got it working exactly how i need it to. great program

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/6/11 11:30 PM
Comment by mae...@gmail.com:

thank you! works perfectly.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/24/11 12:00 PM
Comment by oscs...@gmail.com:

thank you very much. Very usefull tool

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/24/11 12:04 PM
Comment by oscs...@gmail.com:

thank you very much.
Very very useful tool.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/4/11 2:57 AM
Comment by rallyel...@gmail.com:

Do someone know a software which allows you to pass sensor-data from a real  
phone to the SDK, or would it be possible to develop an android version of  
the server application so you could do that with Sensor Simulator???

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/8/11 2:06 AM
Comment by speedy29...@googlemail.com:

hello i have the same problem as laura... if only one sensor/listener is  
registered everything works fine, but if there are more sensors/listeners  
it doesn't work.

Uncaught handler: thread main exiting due to uncaught exception
java.lang.RuntimeException: Unable to bind to service  
de.ostfalia.android.carblackbox.TrackingService@44c46738 with Intent {  
cmp=de.ostfalia.android.carblackbox/.TrackingService }:  
java.util.NoSuchElementException

android.app.ActivityThread.handleBindService(ActivityThread.java:2816)
android.app.ActivityThread.access$3300(ActivityThread.java:119)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1920)
android.os.Handler.dispatchMessage(Handler.java:99)
android.os.Looper.loop(Looper.java:123)
android.app.ActivityThread.main(ActivityThread.java:4363)
java.lang.reflect.Method.invokeNative(Native Method)
java.lang.reflect.Method.invoke(Method.java:521)
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
dalvik.system.NativeStart.main(Native Method)
Caused by: java.util.NoSuchElementException
java.util.AbstractList$SimpleListIterator.next(AbstractList.java:61)
org.openintents.sensorsimulator.hardware.SensorSimulatorClient.enableSensor(SensorSimulatorClient.java:447)
org.openintents.sensorsimulator.hardware.SensorSimulatorClient.registerListener(SensorSimulatorClient.java:262)
org.openintents.sensorsimulator.hardware.SensorManagerSimulator.registerListener(SensorManagerSimulator.java:164)
de.ostfalia.android.carblackbox.sensor.SensorProviderSimulator.start(SensorProviderSimulator.java:102)
de.ostfalia.android.carblackbox.TrackingService.startService(TrackingService.java:143)
de.ostfalia.android.carblackbox.TrackingService.onBind(TrackingService.java:120)
android.app.ActivityThread.handleBindService(ActivityThread.java:2804)

thx 4 ur help
with regards
Frank

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents rachee singh 4/8/11 3:06 AM
Hi Frank,
You could file a bug report here: http://code.google.com/p/openintents/issues/list detailing your problem. We'll try to resolve it at the earliest.
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/8/11 3:11 AM
Comment by emaadman...@gmail.com:

@rallyelgen: I was thinking of something on these lines too; it would  
involve the same concepts as the Sensor Simulator, transmitting sensor data  
via sockets using telnet. I'll let you know if I make any headway with this.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/8/11 3:17 AM
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/20/11 9:37 AM
Comment by manhy...@gmail.com:

Does it works on Android OS Ver. 2.3.3? I run it on Nexus S but the sensor  
values are not updated.
Both connection and enable/disable is okay. but the sensor values are not  
updated.
does anybody who had tried to run it on Nexus S w/o any problem?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/20/11 9:41 AM
Comment by manhy...@gmail.com:

Does it works on Android OS Ver. 2.3.3? I run it on Nexus S but the sensor  
values are not updated. Both connection and enable/disable are okay. but  

the sensor values are not updated. does anybody who had tried to run it on  
Nexus S w/o any problem?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/27/11 9:56 AM
Comment by hectormoralespiloni:

How do you enable comments in your googlecode site? I'm not able to get it  
work.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 4/27/11 10:33 AM
Comment by peli0...@googlemail.com:

> How do you enable comments in your googlecode site?

Administer > Wiki > Visitor comments > Allow visitor comments.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/22/11 6:42 PM
Comment by tmur...@fallenwoods.com:

This looks like a great tool, but I'm having a hard time getting started.  
The emulator won't connect to the SensorSimulator java app. I do not get  
an 'Enable' button and when I click Connect, it responds but stays on and  
the Disconnect button does not enable. Both apk files installed  
with 'Success', the SensorSimulator seems fully functional.

I'm using Windows 7 x64, Android 2.1.1, sensorsimulator 1.1.1
I've tried...
Emulator with/without eclipse
With firewall turned off (bitdefender IS 2010)
With wireless and wired internet connection
198.162.1.x (local IP) and 127.0.0.1 (localhost)
Port 8010 and port 80 (no IIS running)
ping of IP works
netstat -a shows a result of "[::]:8010" as Listening
java app shows 'Listening on port 8010...' in it's dialog

Any suggestions?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/22/11 6:48 PM
Comment by tmur...@fallenwoods.com:

Some of the text in the prior post got garbled. The results of the netstat  
was open square bracket colon colon close square bracket colon 8010. Not  
sure why there was no IP address indicated in the brackets.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/22/11 7:20 PM
Comment by tmur...@fallenwoods.com:

Ok. I figured it out. It had to do with the text input for the IP address.  
When I used either my local keyboard, or the keyboard that pops-up on the  
android screen, the dot (period) appears to be a double byte character. If  
I use the keyboard on the right panel, it works correctly.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/23/11 6:11 PM
Comment by Robt.W....@gmail.com:

Loaded apk on emulator, but can't run sensorsimulator-1.1.1 on WinXP 64. Is  
this not supported?

E:\download\Android\sensorsimulator-1.1.1\bin>java -version
java version "1.6.0_25"
Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.0-b11, mixed mode)

E:\download\Android\sensorsimulator-1.1.1\bin>java sensorsimulator-1.1.1.jar
Exception in thread "main" java.lang.NoClassDefFoundError:  
sensorsimulator-1/1/1/jar
Caused by: java.lang.ClassNotFoundException: sensorsimulator-1.1.1.jar
         at java.net.URLClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: sensorsimulator-1.1.1.jar.  Program will  
exit.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/27/11 7:58 AM
Comment by Robt.W....@gmail.com:

I can't get this to work.
Settings installs, Simulator connects.  But demo fails.
It appears to be caused by Instrumentation onCreate.  Does anyone see a  
solution?

E/AndroidRuntime(  345): FATAL EXCEPTION: main
E/AndroidRuntime(  345): java.lang.NoClassDefFoundError:  
org.openintents.sensorsimulator.hardware.SensorManagerSimulator
E/AndroidRuntime(  345):        at  
org.openintents.samples.SensorSimulatorDemo.SensorSimulatorDemoActivity.onCreate(SensorSimulatorDemoActiv
ity.java:67)
E/AndroidRuntime(  345):        at  
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(  345):        at  
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1611)
E/AndroidRuntime(  345):        at  
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1663)
E/AndroidRuntime(  345):        at  
android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime(  345):        at  
android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime(  345):        at  
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(  345):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(  345):        at  
android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime(  345):        at  
java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(  345):        at  
java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(  345):        at  
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
E/AndroidRuntime(  345):        at  
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:597)
E/AndroidRuntime(  345):        at dalvik.system.NativeStart.main(Native  
Method)

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 7/13/11 4:25 AM
Comment by krishnap...@gmail.com:

Hello, I have a problem using sensorSimulator. when I run the application  
in emulator it shows alert message as "The application  
SensorRealDevice(Process org.openintents.samples.SensorRealDevice) has  
stopped unexpectedly. Please try again",

but in the logcat doesn't show any errors.

I use 2.3.3 version emulator to run this application.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/12/11 2:57 AM
Comment by rajeshmb...@gmail.com:

hi please find the code below.Here it works fine which diplays 0.0 in the  
text field.
but when i try to run it by making necessary changes as mentioned above to  
connect to sensor simulator it is not running ...please help me...package  
com.android.mindtree;


import android.app.Activity;
import android.os.Bundle;
// import android.content.Context;
import android.hardware.Sensor;
import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.hardware.SensorManager;
import android.widget.*;
//import org.openintents.sensorsimulator.hardware.Sensor;
//import org.openintents.sensorsimulator.hardware.SensorEvent;
//import org.openintents.sensorsimulator.hardware.SensorEventListener;
//import org.openintents.sensorsimulator.hardware.SensorManagerSimulator;
//import android.view.View;

public class AccelerometerActivity extends Activity implements  
SensorEventListener{
     /** Called when the activity is first created. */
        SensorManager mSensorManager;
     Sensor accelerometer;

        
     @Override
     public void onCreate(Bundle savedInstanceState) {
         super.onCreate(savedInstanceState);
         setContentView(R.layout.main);
         mSensorManager = ( SensorManager)getSystemService(SENSOR_SERVICE);
        // mSensorManager.connectSimulator();
                accelerometer =  
mSensorManager.getDefaultSensor(Sensor.TYPE_ACCELEROMETER);
     }
     public void onResume() {
                super.onResume();
                mSensorManager.registerListener(this, accelerometer,  
SensorManager.SENSOR_DELAY_UI);
                
                }
        public void onPause() {
                super.onPause();
                mSensorManager.unregisterListener(this);
                }
        
        public void onAccuracyChanged(Sensor sensor, int accuracy) {  }
        
        public void onSensorChanged(SensorEvent event) {
                float[] acclvalue=new float[3];
                acclvalue[0]=event.values[0];
                acclvalue[1]=event.values[1];
                acclvalue[2]=event.values[2];
                TextView tv = (TextView) findViewById(R.id.editText1);
                String message="value is" + acclvalue[0];
                  tv.setText(message);


                
                
        }

}

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/15/11 10:11 PM
Comment by rajeshmb...@gmail.com:

hi all,
i have written code to print the values returned by accelerometer.It  
returns by default the valuse 0.0 , 9.88  , .88 for x,y and z axis  
respectively.As i have not used any sensor simulator the value remains  
same..but as discussed above i used sensor simulator( Replaced  
Sensormanager by SensorManagerSimulator) but its not returning any value  
mot even 0.0...in the mean time i noticed that when i keep cursor on any  
function related to sensormsnagersimulator it shows the following message(  
This element neither has attached source nor attached Javadoc and hence no  
Javadoc could be found.)..but all other functions properties and  
functionalities are displayed as soon as i move cursor over to that....so i  
think the problem lies in that itself...i have even added external jar file  
also...still the problem persists...please anybody help me in sorting out  
this problem...

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 9/20/11 6:30 AM
Comment by ael.g...@gmail.com:

Hi everyone !
First of all, thank you for your tool which is great.
Actually, i've managed to modify an android app to use sensorsimulator, and  
it's working fine when I simulate some sensors from the server. But I'd  
like to be able to get the real sensor datas when the app is not connected  
to the server. As it is written in the documentation, I removed the  
connectSimulator() call in my code, but i don't get any data ! Should I do  
anything else ?
Thanks in advance for your help.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 9/25/11 5:45 PM
Comment by Ed.Korsb...@gmail.com:

What a great idea this is.  Too bad we have to modify the source code in  
the application to either work with real sensors or this sensor simulator.  
Is there any discussion with google android emulator development team to  
incorporate this simulator into the standard SDK?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 9/25/11 6:39 PM
Comment by Ed.Korsb...@gmail.com:

I followed the instructions to modify my code (that was fairly straight  
forward) but am getting some runtime silent error upon calling  
mSensorManager.connectSimulator();
when stepping through this in the debugger I see no exception throw but  
simply that the application exits.


             mSensorManager = SensorManagerSimulator.getSystemService(this,  
SENSOR_SERVICE);
             if (mSensorManager != null)
             {
                     try
                     {
                             mSensorManager.connectSimulator();
                     }
                     catch (Exception e)
                     {
                             //this does not happen, maybe connectSimulator is not throwing an  
exception
                             //but simply exiting the app?


                     }
             }

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 11/14/11 7:30 PM
Comment by jongc...@gmail.com:

How/Is it possible to use the Simulator in Android NativeActivity?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 12/12/11 10:19 PM
Comment by stefyabr...@gmail.com:

How can I Install bin/SensorSimulatorSettings-x.x.x.apk on my Android  
emulator.I am using windows 7.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 12/26/11 6:58 PM
Comment by a...@anonymous-media.com:

Hi does SensorSimulator communicate to the android browser? I have  
javascript that uses acceleromater and window.orientation and I'm not  
seeing the changes I expect.

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/1/12 10:58 PM
Comment by sriramde...@gmail.com:

Hey is it possible to have two instances of Sensor Simulator connecting to  
a app running on 2 Emulators so that i can uniquely give motion events to  
each of the Emulator ?

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/16/12 8:28 PM
Comment by vaishnav...@gmail.com:

Hi,
How do I use the accelerometer in the simulator. I have written an app for  
reading acclerometer data but not able to figure out how to use this  
simulator. Please Help!!

For more information:
http://code.google.com/p/openintents/wiki/SensorSimulator

Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/23/12 3:14 AM
Comment by andrea.l...@gmail.com:

I have to say your work is great and, but your API are not completely  
conform to Android SDK ones.
I don't know if it's due to the particular API level you targeted (I'm  
using Level 16), but i get some inconsistence:

- in the type SensorEvent you have to provide field  "public Long  
timestamp;" instead of "public String time";
- in the type Sensor the method "public int getType()" is missing;

i hope this will help you to improve this useful project.
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/23/12 2:23 PM
Comment by andrea.l...@gmail.com:

also it's not provided the method of the SensorManager:

public boolean registerListener (SensorEventListener listener, Sensor  
sensor, int rate, Handler handler),

useful for receive SensorEvent(s) in a separate thread from the main thread  
of the activity
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 11/2/12 6:04 PM
Comment by patryk.z...@gmail.com:

Is there any  way to pool sensor values in real time? Instead of recording  
data and then processing I want to to do processing in real time in python  
but on desktop e.g.:  sensorSimulator.getOrientation() in python script. Is  
there any easy way to obtain those data?
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 12/15/12 11:42 PM
Comment by orozco...@gmail.com:

why not provide a clear description on how to use (use guide)
why not provide a demo (src) package for user how to give a try.

You see, a lot of questions posted here, but no one can resolve....
so bad!
Re: Comment on SensorSimulator in openintents Randy Fortier 2/22/13 10:48 AM

Probably too late for you, but for the Googlers:

1. Find out your Android SDK directory, e.g. C:\android-sdk

2. Download and extract the SensorSimulator package.  Remember the directory.

3. Execute the following command (fix the directories to match yours):

C:\android-sdk\platform-tools\adb install C:\Downloads\sensorsimulator-2.0-rc1\bin\sensorSimulatorSettings-2.0-rc1.apk
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 5/23/13 4:24 AM
Comment by ipods...@126.com:

Sensor Simulator for simulating sensor data in real time.

Source(s): http://downloadranking.com/support.php
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 6/7/13 7:59 AM
Comment by mariosmi...@gmail.com:

hello it seems that i cant connect to the sensor manager...i get a null  
exception...can you help me ?

For more information:
https://code.google.com/p/openintents/wiki/SensorSimulator
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/27/13 4:11 AM
Comment by nandkish...@gmail.com:

DeviceView class how to move device using gyro sensor
i mean x and y coordinate device move
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/7/13 5:23 AM
Comment by flexsoft...@gmail.com:

Very nice dude...

I have also found one good link here....

<a  
href="http://androidexample.com/Accelerometer_Basic_Example_-_Detect_Phone_Shake_Motion/index.php?

view=article_discription&aid=109&aaid=131">Accelerometer Basic Example -  
Detect Phone Shake Motion</a>
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/7/13 5:25 AM
Comment by flexsoft...@gmail.com:

Very nice dude...

I have also found one good link here....

<a  
href="http://androidexample.com/Accelerometer_Basic_Example_-_Detect_Phone_Shake_Motion/index.php?view=article_discription&aid=109&aaid=131">Accelerometer  
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/16/13 4:30 AM
Comment by ittay.e...@gmail.com:

I don't have internet connection in my emulator computer. The application  
crash due to the lack of internet (enabled the permission). what can I do?
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 10/24/13 7:39 AM
Comment by paulz...@gmail.com:

Firstly, lovely tool, without it Emulator development is a non-starter.

nasty "feature" is the obtaining of a default Sensor for a sensor value  
which does not exist, ie

my_sensors [sensor_index] = sensor_manager.getDefaultSensor  
(INVALID_SENSOR_ID);

INVALID can be anything from a Sensor Id simply not supported by an SDK  
version (ie Sensor.TYPE_AMBIENT_TEMPERATURE, or, say , -1 etc.

The call to getDefaultSensor HANGS and never returns. Would be nice to have  
a return via exception or null to indicate Sensor type not supported.

This is a nasty bug and gave me so much grief.

However, I reiterate, a lovely and really useful product.

Paul.
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/26/14 10:19 AM
Comment by my4...@googlemail.com:

great project but unfourtonately after execute the following code :
SensorManagerSimulator mSensorManagerSim =  
SensorManagerSimulator.getSystemService(this, SENSOR_SERVICE);
mSensorManagerSim.connectSimulator();

I get this error athough I enabled the internet permission in the  
manifesto. Do you have an idea how I can fix it?


02-26 19:16:06.834: E/AndroidRuntime(2911): FATAL EXCEPTION: main
02-26 19:16:06.834: E/AndroidRuntime(2911): java.lang.RuntimeException:  
Unable to start activity  
ComponentInfo{com.example.myfirstapplication/com.example.myfirstapplication.MainActivity}:  
android.os.NetworkOnMainThreadException
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2178)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.ActivityThread.access$700(ActivityThread.java:141)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1271)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.os.Handler.dispatchMessage(Handler.java:99)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.os.Looper.loop(Looper.java:137)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.ActivityThread.main(ActivityThread.java:5118)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.lang.reflect.Method.invokeNative(Native Method)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.lang.reflect.Method.invoke(Method.java:511)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:792)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:555)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
dalvik.system.NativeStart.main(Native Method)
02-26 19:16:06.834: E/AndroidRuntime(2911): Caused by:  
android.os.NetworkOnMainThreadException
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.os.StrictMode$AndroidBlockGuardPolicy.onNetwork(StrictMode.java:1131)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
libcore.io.BlockGuardOs.connect(BlockGuardOs.java:84)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
libcore.io.IoBridge.connectErrno(IoBridge.java:127)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
libcore.io.IoBridge.connect(IoBridge.java:112)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:192)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.net.Socket.startupSocket(Socket.java:565)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.net.Socket.tryAllAddresses(Socket.java:127)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.net.Socket.<init>(Socket.java:177)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
java.net.Socket.<init>(Socket.java:149)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
org.openintents.sensorsimulator.hardware.SensorSimulatorClient.connect(SensorSimulatorClient.java:116)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
org.openintents.sensorsimulator.hardware.SensorManagerSimulator.connectSimulator(SensorManagerSimulator.java:220)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
com.example.myfirstapplication.MainActivity.onCreate(MainActivity.java:38)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.Activity.performCreate(Activity.java:5058)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1079)
02-26 19:16:06.834: E/AndroidRuntime(2911):         at  
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2104)
02-26 19:16:06.834: E/AndroidRuntime(2911):         ... 11 more
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/9/14 11:05 AM
Comment by gkarthig...@gmail.com:

shall i use the sensor simulator to analyse the gyrosensor output?
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/23/14 11:55 PM
Comment by santosh...@gmail.com:

I noticed a lot of folks having issue with the exception at
mSensorManagerSim.connectSimulator();

The main issue is about calling that one in the main thread.

Follow this and it will work well
http://www.lucazanini.eu/2012/android/the-differences-between-the-code-for-the-emulator-and-the-code-for-a-real-device/?lang=en
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/24/14 2:48 PM
Comment by francis6...@gmail.com:

What speak french fucking blook
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 8/24/14 2:50 PM
Comment by francis6...@gmail.com:

Choucalamacpusimimi
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 2/9/15 12:25 PM
Comment by mteof...@gmail.com:

How to fake gyroscope data into device?
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 3/29/15 12:37 AM
Comment by nikhilra...@gmail.com:

Hello!

The work is amazing! Can I know if these recorded values can directly be  
inserted into a database? Just trying to figure out the display on browser.

Thanks in advance.
Re: Comment on SensorSimulator in openintents openi...@googlecode.com 7/27/15 10:44 PM
Comment by Stei...@yahoo.com.ph:

Hi santosh...@gmail.com,
>> I noticed a lot of folks having issue with the exception at  
>> mSensorManagerSim.connectSimulator();
>> The main issue is about calling that one in the main thread.
Yeah your link solved that problem.
When I debug it the timing of error is inside the connectSimulator, in the  
line of code below:
this.mSocket = new Socket(ipaddress, Integer.parseInt(socket));

The logcat says somewhat like:
AndroidRuntime﹕ Shutting down VM
--------- beginning of crash
AndroidRuntime﹕ FATAL EXCEPTION: main
java.lang.RuntimeException: Unable to start  
activity ...android.os.NetworkOnMainThreadException
:
Caused by: android.os.NetworkOnMainThreadException
More topics »