Open GoogleCodeExporter opened 8 years ago
If it can help project members it's because the note ROMs declare an
orientation sensor as being available but then sends no events of that type...
Original comment by marcu...@gmail.com
on 14 Apr 2013 at 11:18
I seems have the same problem now on my Nexus 4 with Android 4.3 on it. I also
only see the camera view, but no objects. When I move my device, the camera in
the AR world isn't moved. Could you explain in more detail how you solved it?
What do you mean by "note ROMs"?
Original comment by CaptainTrunks
on 6 Sep 2013 at 2:16
you can try to use different sensor inputs, but normally if you use the latest
droidar version from github https://github.com/bitstars/droidar and you use the
default ar setup, it should use the defailt rotation sensors. try things like
google sky or google street view, if they work the default ar setup should work
as well
Original comment by simon.heinen
on 7 Sep 2013 at 10:03
yeah, i have the recent version from github. it worked fine before i installed
the 4.3 update on my phone. i had the droidar framework set to version 2.3.3 in
eclipse. it didnt't work when set to version 4.2. now after having installed
version 4.3 on the phone i have the same results with the framework being set
to 2.3.3, 4.2 and 4.3. i tryed google sky map and it works just fine. the
sensors send data. now i tryed the default droid ar setup and the demos from
the framework, but it doesn't work. the objects are rendered, but the camera
doesn't move when i move the phone. it seems the camera stays in the position
that it is initialised in. in the "animation demo" the camera faces down and i
can see the white rendered surface and the red and green polygones moving
through the screen.
i will have to try a bit more later.
Original comment by CaptainTrunks
on 9 Sep 2013 at 2:13
i got it. i manually set "useAccelAndMagnetoSensors" in the class "Setup" to
false and it works fine now. even with version 4.3 set on the droidar framework.
Original comment by CaptainTrunks
on 9 Sep 2013 at 2:23
#5
Can you paste the code please ? I would be very grateful!!
Original comment by bernagon...@gmail.com
on 22 Apr 2014 at 9:52
go to the class "setup.java". you'll find some constructors there.
/**
* Original
*/
// public Setup() {
// this(true);
// }
public Setup() {
this(false);
}
public Setup(Activity target, SetupListener listener,
boolean useAccelAndMagnetoSensors) {
this(useAccelAndMagnetoSensors);
mySetupListener = listener;
}
// TODO remove boolean here and add to EventManager.setListeners..!
public Setup(boolean useAccelAndMagnetoSensors) {
this.useAccelAndMagnetoSensors = useAccelAndMagnetoSensors;
}
i took
public Setup() {
this(true);
}
and made it
public Setup() {
this(false);
}
this works for me under android 4.3
Original comment by CaptainTrunks
on 23 Apr 2014 at 12:23
Hi, I'm working project with droidar. I'm currently use Samsung galaxy mini and
it works perfectly to show image and all sensor. Then I'm trying using Samsung
galaxy mini 2 and Samsung Galaxy S3 Mini. 2.3 on galaxy mini and mini 2, and
4.2 on galaxy S3 mini.
Then I try to use Samsung galaxy tab 2 wifi only with 4.1.2 android version. It
shown the sensor wont work it's only a camera. Beside it's shown an image but
only like a picture stuck in the screen. it not move whenever I move my device.
I already change the Setup.java into false but it not working.
The following code is
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
Button b = new Button(this);
b.setText("Click me to Start the AR Action");
b.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
ArActivity.startWithSetup(MainActivity.this, new DefaultARSetup(){
@Override
public void addObjectsTo(GL1Renderer renderer, World world,
GLFactory objectFactory) {
world.add(objectFactory.newSolarSystem(new Vec(10, 0, 0)));
}
});
}
});
setContentView(b);
}
Thanks in advance
Original comment by madya...@gmail.com
on 31 May 2014 at 7:20
Original issue reported on code.google.com by
lostinwa...@gmail.com
on 24 Jan 2013 at 4:10