Comments (3)
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.
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.
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)
- Markers not updated properly HOT 2
- markers position HOT 2
- ARData azimuth HOT 2
- Program fail in AVD 4.2 HOT 3
- Live marker rotation HOT 3
- Rotation refresh rate is really slow HOT 1
- Latest code working for both orientations. What if want to work on one only? HOT 4
- Does not show multiple POIs close enough to share the screen space HOT 4
- Reference Table overflow HOT 2
- AFatal signal 11 (SIGSEGV) HOT 9
- apps auto close when too much marker on certain angle HOT 2
- Problem with icon movement in the screen HOT 2
- activity force close when added too many markers HOT 5
- License change HOT 1
- Local Datasorce not showing POI HOT 2
- How to optimize the rendering performance for AR Objects(Markers) HOT 15
- Canvas getMatrix method dprecated HOT 5
- Show map view summary when device is horizontal to ground
- Marker on screen move with device movement
- Wrong marker position when marker is behind us
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from android-augment-reality-framework.