Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DroidAR not working on several devices #27

Open
madya121 opened this issue May 31, 2014 · 0 comments
Open

DroidAR not working on several devices #27

madya121 opened this issue May 31, 2014 · 0 comments

Comments

@madya121
Copy link

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. Link [ https://code.google.com/p/droidar/issues/detail?id=74#c7 ]

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant