augmented-reality-view's People
Forkers
bhide thinknikhil ashishmishra007 salfai mimoccc kumarvmsathish tufanbarisyildirim krishjlk myifanw butterflyhunter-project kennychou0529 msoftware balrampandey19 zainozzaini majithg salinashf veakey m-ivanov twocngdagz faical-yannick-congo shenditya mobilear kod3r captaintrunks tigransarkisian physicalweb vinayrraj varunac14 postdep aswinvenkey grobacz dev-jabin jhpocket pranaypatel512 zlgkill tommyteavee jihyunkim0897 chaitanya79 ale2805 xierongping wx04work mattcmf awesomedevv rookieokky zeeshan-saeed huokedu luckycreationsindia njames filipkesteli mostafatantawy99 delort kalpeshvedak charveasna matrixy rodolfocartas zhangzhao156 ianmadlenya karan1213 sobhan-zp soumyapriyanayak ladroshan sayyidisalaugmented-reality-view's Issues
Issues in portrait mode
When i try to change the screen orientation to portrait mode in the manifest.. some points behave abnormally.... especially the points from the East Direction....
Sensor issue
Hi, I found your work and it looks great.
I'm actually developing my own geolocational AR app.
I'm using sensors in my HTC A9.
Everything is done so far but my images are not steady at all.
It shakes constantly even though I've implemented low-pass filter.
Have you ever encountered such situation? How do you overcome it?
Having Issue in implementation.
When i tried to run arview code on samsung s4 then all marker point comes at the same location on camera screen and marker that shown looks jumbled up and text are not proper and it cuts from both end.please help to resolve this.
java.lang.NullPointerException: Attempt to write to field 'com.raw.arview.DataView com.raw.arview.RadarView.view' on a null object reference
I have imported your project. But when i run it on my device it is giving null pointer exception.
java.lang.NullPointerException: Attempt to write to field 'com.raw.arview.DataView com.raw.arview.RadarView.view' on a null object reference.
i have been test with this project , but it's not working
i have been test with this project , but it's not working i don't know, how to do i use samsung j2 prime device to testing
App Crashed
Hi,
I have build the project ,run the project, then application just gets crashed as it starts. Below is some Error logs.
FATAL EXCEPTION: main
Process: com.example.wemsol.augmentedrealityapplication, PID: 28655
java.lang.NullPointerException: Attempt to write to field 'com.example.wemsol.augmentedrealityapplication.utils.arview.DataView com.example.wemsol.augmentedrealityapplication.utils.arview.RadarView.view' on a null object reference
at com.example.wemsol.augmentedrealityapplication.utils.arview.DataView.draw(DataView.java:330)
at com.example.wemsol.augmentedrealityapplication.utils.arview.RadarMarkerView.onDraw(ARView.java:404)
Crash on launching ARView activity
Hi, Just integrated your code in my app and launched ARView activity. And then, app crashes. My device is Nexus 5x and here is the logcat:
06-26 10:58:36.262 25749-25749/com.ex2.smarttour W/CameraBase: An error occurred while connecting to camera 0: Service not available
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'android.hardware.Camera$Parameters android.hardware.Camera.getParameters()' on a null object reference
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at com.raw.arview.CameraView.surfaceChanged(ARView.java:289)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.SurfaceView.updateWindow(SurfaceView.java:630)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.SurfaceView$3.onPreDraw(SurfaceView.java:161)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewTreeObserver.dispatchOnPreDraw(ViewTreeObserver.java:944)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2205)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6338)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.os.Handler.handleCallback(Handler.java:751)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.os.Looper.loop(Looper.java:154)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6121)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at java.lang.reflect.Method.invoke(Native Method)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
06-26 10:58:36.263 25749-25749/com.ex2.smarttour W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'android.hardware.Camera$Parameters android.hardware.Camera.getParameters()' on a null object reference
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at com.raw.arview.DataView.init(DataView.java:265)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at com.raw.arview.RadarMarkerView.onDraw(ARView.java:393)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.draw(View.java:17185)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:16167)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.draw(View.java:16951)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:16162)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.draw(View.java:16951)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:16162)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.draw(View.java:16951)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.draw(View.java:17188)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at com.android.internal.policy.DecorView.draw(DecorView.java:754)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.View.updateDisplayListIfDirty(View.java:16167)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:648)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:654)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:762)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl.draw(ViewRootImpl.java:2800)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2608)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2215)
06-26 10:58:36.298 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6338)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer.doCallbacks(Choreographer.java:686)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer.doFrame(Choreographer.java:621)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.os.Handler.handleCallback(Handler.java:751)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.os.Handler.dispatchMessage(Handler.java:95)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.os.Looper.loop(Looper.java:154)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at android.app.ActivityThread.main(ActivityThread.java:6121)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at java.lang.reflect.Method.invoke(Native Method)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
06-26 10:58:36.299 25749-25749/com.ex2.smarttour W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
06-26 10:58:36.300 25749-25749/com.ex2.smarttour D/AndroidRuntime: Shutting down VM
--------- beginning of crash
06-26 10:58:36.300 25749-25749/com.ex2.smarttour E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.ex2.smarttour, PID: 25749
java.lang.NullPointerException: Attempt to write to field 'com.raw.arview.DataView com.raw.arview.RadarView.view' on a null object reference
at com.raw.arview.DataView.draw(DataView.java:330)
at com.raw.arview.RadarMarkerView.onDraw(ARView.java:396)
at android.view.View.draw(View.java:17185)
at android.view.View.updateDisplayListIfDirty(View.java:16167)
at android.view.View.draw(View.java:16951)
at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513)
at android.view.View.updateDisplayListIfDirty(View.java:16162)
at android.view.View.draw(View.java:16951)
at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513)
at android.view.View.updateDisplayListIfDirty(View.java:16162)
at android.view.View.draw(View.java:16951)
at android.view.ViewGroup.drawChild(ViewGroup.java:3727)
at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3513)
at android.view.View.draw(View.java:17188)
at com.android.internal.policy.DecorView.draw(DecorView.java:754)
at android.view.View.updateDisplayListIfDirty(View.java:16167)
at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:648)
at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:654)
at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:762)
at android.view.ViewRootImpl.draw(ViewRootImpl.java:2800)
at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2608)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2215)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1254)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6338)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:874)
at android.view.Choreographer.doCallbacks(Choreographer.java:686)
at android.view.Choreographer.doFrame(Choreographer.java:621)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6121)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:889)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:779)
Any improvements?
At DataView.java you say at some place
/* Currently the markers are plotted with reference to line parallel to the earth surface.
/ * We are working to include the elevation and height factors.
Have you made any improvements to elevation and height factors?
Location issue
can't see any location on camera
Bird eye view and human eye view
This example is very nice, it's working very well, currently, all places are showing in one horizontal line, so I just want to show places as nearby, like human eye view, places should arrange as near by current location.
Thanks
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.