how can I monitor the events of mobile phone sensors? I want to be a pedometer, but I can"t find the corresponding method
how can I monitor the events of mobile phone sensors? I want to be a pedometer, but I can"t find the corresponding method
have you solved it? you can tell me how to solve it
.FAILURE: Build failed with an exception. * What went wrong: Execution failed for task :app:processReleaseResources . > Failed to execute aapt * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get mor...
add the error code directly 04-10 11:48:23.497 19813-19813 ? E AndroidRuntime: FATAL EXCEPTION: main Process: com.zrb.zrb, PID: 19813 android.view.WindowManager$BadTokenException: Unable to add window android.view.ViewRootImpl$W@dd4f45 -- permission de...
recently do an e-commerce project, the development process wrote that the code has a lot of redundancy, write to this piece of function and found the same as the previous piece of code from writing a code, resulting in code duplication. Ask everyone how ...
...
react-native is integrated into native Android app, and react-native uses react-navigation navigation. Now you want to go from the native app page: Click entry A to RN s A page, and if you click entry B, jump to RN s B page. are there any examples ...
there is a very thorny problem in using react-native development, and the government has not fixed this bug, to ask you if you have a good strategy to solve this problem. when you open the RN application in a 1 + phone, there will be an error in the th...
referring to the official website of React Native, the following error occurred when calling Android UI component (RCTImageView) in RN. Error while updating property of src of a view managed by MyRCTImageView java.lang.String can not be cast to com...
the apk packaged by react native is so big that it is about 10m without writing any code. How to slim down app? ...
problem description rn does not display properly from ios to android compatible internal webview tested addeventlistener ( message ) does not trigger it has been confirmed that the event listening code is not executed because the window has not ...
rn needs to be implemented in app to share Mini Program to Wechat. the react-native-wechat previously used has been mentioned in issuse, but it is still not clear exactly how to do it link description I hope the boss who has done it can give me so...
problem description the packaged size of the project is 31MB, and the total size of the actual project code + static file is less than 1.1MB. (the same logic is only 12MB when using native Android) the environmental background of the problems and wh...
1. A novice RN developer encounters this problem. The specific scenario is as follows: I get an array from the backend and generate a corresponding number of TextInput according to the length of the array for users to enter data and submit. But this numb...