GithubHelp home page GithubHelp logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Take a look at the updateData method in the Demo class, it implements the 
gathering of data sources.

Original comment by [email protected] on 22 Aug 2012 at 2:16

  • Changed state: Done

from android-augment-reality-framework.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
Thank you for the answer. I am doing similar to Demo.java.

In my AR activity oncreate looks like @Override
    public void onCreate(Bundle savedInstanceState) {
                super.onCreate(savedInstanceState);
                getMarkers();
    }

getmarkers() - i am loading my local data and here i am doing similar to 
updateData 


public void getMarkers() {
        try {
            exeService.execute(new Runnable() {
                @Override
                public void run() {
                        getmy markers
                    }
                    ARData.addMarkers(cachedMarkers);
                }

            }
            );
        } catch (Exception ex) {
            ex.printStackTrace();
        }

    }


The issue is that in my main activity i have a button on click of which i 
launch my AR activity. Launching this AR activity is not immediate . It takes 
some noticeable time before AR view is opened . Even if i comment //getmarker 
function, its the same effect. SO i think its just creating the view taking 
time. But when run the Demo.java , i dont see this issue. Can you please give 
me some pointers on why this could be happening . Thanks again for the quick 
response

Original comment by [email protected] on 23 Aug 2012 at 6:20

from android-augment-reality-framework.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 26, 2024
I don't see any reason why your code would take much more time. As long as the 
"getting data" is pushed into a background thread, you should be fine. Without 
seeing the rest of the code, I can really add to much more. I'd also recommend 
moving getMarkers() into the onStart() method.

Original comment by [email protected] on 23 Aug 2012 at 9:09

from android-augment-reality-framework.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.