Comments (1)
I found if I manually run adb shell am grant com.my.app.package android.permission.CAMERA
it works, but not sure why this isn't automatic
Other option is to add
private static final int MY_CAMERA_REQUEST_CODE = 100;
if (checkSelfPermission(Manifest.permission.CAMERA) != PackageManager.PERMISSION_GRANTED)
{
requestPermissions(new String[]{Manifest.permission.CAMERA}, MY_CAMERA_REQUEST_CODE);
}
to the samples
from tango-examples-c.
Related Issues (20)
- c++ examples? HOT 1
- Memory leak in TangoSDK HOT 4
- LoadLibrary fails when including tango .SO HOT 2
- Not possible to enable flashlight when Tango service is running
- API 24+ won't build
- Golang
- Examples does not work on Asus Zenfone AR HOT 2
- Problems about TangoService_getPoseAtTime HOT 1
- Out of sequence images
- How can I use this API to make an 'AR' app? HOT 2
- Android 7.0+ linking to private platform libraries HOT 4
- How to use TangoSupport_getDepthAtPointBilateral() method
- Mutex compiliation error HOT 2
- please create a single all in one simple project
- cpp_plane_fitting runtime error HOT 2
- Typo in sourcecode HOT 1
- Bad flags in cpp_mesh_builder_example
- Obj_loader
- OpenGL ES 3.0 HOT 3
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 tango-examples-c.