Android programming authoritative guide Chapter 5 Learning

... 五章—Second activity 5.1.1 Creating a new activity Creating a new activity involves at least three files: Java class, XML layout and The manifest file of the application. These three articles The pieces are closely related, and it is a disaster to make a mistake. Therefore, it is highly...


WeChat sharing problem

... 微信分享 can not call back onResp The reason is actually not registered in the manifest WXEntryActivity, emmmm~~~ Wechat sharing success return app screen flashing <activity android:name=".wxapi.WXEntryActivity" android:label="@string/app_name" android:exported="true" android:theme="...


The detailed use of ButterKnife8.8.1 for Android project

... ButterKnifeIntroduction ButterKnife is a View injection framework dedicated to Android system. I used to write a lot of findViewById to find the View object. It is very easy to have ButterKnife. Save these steps. It is the masterpiece of Jake Wharton, which is widely used. Most...


Apk two icon problems

... Sometimes, sometimes the map is relatively fast, and the page with deeper jumps is directly set to the startup page for development. So the other interface is changed to the startup page. After the development, the startup page is changed back to welcome. Page, but forgot to have its...


In android, set a page on the

... android how to keep the page in four ways 1.WakeLock 2.FLAG_KEEP_SCREEN_ON 3.keepScreenOn 4.MediaPlayer setScreenOnWhilePlaying (), this is used for video, MediaPlayer provides the method here we only It is said that FLAG_KEEP_SCREEN_ON and keepScreenOn FLAG_KEEP_SCREEN_ON are derived...


Import PullToRefresh

... 1.1 to modify the sdk version in the build.gradle of the library //before fixing compileSdkVersion 16 buildToolsVersion "27.0.3" defaultConfig { minSdkVersion 4 targetSdkVersion 4 } / / After modification compileSdkVersion 27 buildToolsVersion "27.0.3" defaultConfig { minSdkVersion 15...


Git changes the remote repository address

... git three ways to modify the remote repository address direct command to modify the git remote set-url origin [url] command, first delete the new address git remote rm origin git remote add origin [url] directly modify the configuration file 文件Location: git/config config [core]...


Ionic packaging process download Gradle failure solution

... After upgrading Android Studio today, using ionic package android project will report an error, the general information is that you need to use a higher version of gradle, so I found the above tutorial, and then search Go to the gradle.zip package of the error message prompt version to...


Text recognition function

... To learn the image recognition function of Android today Sometimes there will be some requirements, such as giving you a picture, you need to identify all the text information of this picture, then I will Based on this demand to learn and analyze the major identification technologies 百度...


Android echo cancellation function implementation (source code, compile)

... has not written a blog for a long time, today took the time to summarize this time on the Android platform recovery module. Don't worry, I will open the source code of this project below. 一, echo cancellation introduction Traditional echo cancellation is based on hardware, integrated...