dobragab / mi5cameracalibrate Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
it seems that it is necessary to start the app at least once to make it work:
"Applications are in a stopped state when they are first installed but are not yet launched and when they are manually stopped by the user (in Manage Applications)."
https://developer.android.com/about/versions/android-3.1.html
the app is working good, but calibration doesn't work at boot time, I have to manually start after every reboot
EDIT: here it is the error in logcat
01-13 17:03:42.904 1172 2526 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.BOOT_COMPLETED flg=0x9000010 (has extras) } to dobragab.sch.bme.hu.cit2/.BootReceiver requires android.permission.RECEIVE_BOOT_COMPLETED due to sender null (uid 1000)
EDIT 2: added the above permission in manifest, now it works good on boot. I suggest you to add the following code in the onClick() method, the app need to be start only once, then the icon can be hidden
PackageManager p = getPackageManager(); p.setComponentEnabledSetting(getComponentName(), PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.