Android layout manager - learn how to use relative layout manager from an example

scene The pitfalls that novices encounter when Android studio runs its first App: https://blog.csdn.net/BADAO_LIUMANG_QIZHI/article/details/103797243 Use relative layout RelativeLayout to implement a simple layout of login prompts. The effect is as follows     Note: Blog: https://blog.csdn.net/badao_liumang_qizhi Pay attention to the public ...

Posted by MystedVeil on Sun, 05 Jan 2020 11:47:40 -0800

Android debugging USB volume range modification

Reference blog: Android native volume control Reference blog: In depth understanding AudioService 1, Problem description When the USB headset is not connected, the system volume can be set to the maximum value of 15. When the USB headset is connected, the system volume can only be set to 4 1, Cause analysis (1) Android aud ...

Posted by coder4Ever on Sun, 05 Jan 2020 11:30:13 -0800

[android learning notes] basic positioning and map display of Gaud map

[overview] there are quite a lot of problems in the use of Golder at the beginning. Combined with some cases on the Internet, some summaries are made. [simple process] 1. Get key - > 2. Configure Android Studio - > 3. Use [step 1] get the key Address: https://lbs.amap.com/dev/key/app ① Get SHA1 and follow the docu ...

Posted by suresh_nsnguys on Sun, 05 Jan 2020 11:14:20 -0800

Android get mobile pictures

1. overview All file paths in the Andorid system are saved in a database, which is located in external.db under the folder data/data/com.android.providers.media The files table inside has what we need. This table contains all the files of the machine. Next, just select the appropriate sql statement to get what we need. 2. im ...

Posted by jil on Sun, 05 Jan 2020 09:58:43 -0800

An example of opencl that can be executed in Qualcomm platform msm8953

I found some examples on the Internet, but I can't run them after testing. Here is an example of openc that can run after passing the test in msm8953. Of course, this example is also modified on the basis of others. The specific code is as follows 1.Android.mk Code path : vendor/qcom/proprietary/mm-camera/mm-camera2/opencl/And ...

Posted by ckk on Sat, 04 Jan 2020 18:04:59 -0800

Java RSA asymmetric encryption

Android RSA asymmetric encryption What is Rsa encryption RSA algorithm is the most popular public key cryptography algorithm, which uses keys with variable length. RSA is the first algorithm that can be used for both data encryption and digital signature. The principle of RSA algorithm is as follows: 1. Randomly select t ...

Posted by phynias on Sat, 04 Jan 2020 17:15:48 -0800

AES encrypted files supporting Android 7.0

Reprint by jqorz Source: https://blog.csdn.net/baidu_27419681/article/details/81587232 Originally, I have sorted out a method for Android to encrypt files using AES. See AES encryption / decryption available on Android has been directly encapsulated as file encryption , but when it is used recently, it is found that the ...

Posted by tonyk11 on Sat, 04 Jan 2020 15:59:57 -0800

Android ring progress bar

Share a circular progress bar for your reference, project address https://download.csdn.net/download/weixin_40998254/10595267 The effect is as follows The following is the code of the custom progress bar. It is a simple version at present, but the comments are very detailed and easy to expand. The first is the code of cus ...

Posted by ev5unleash on Sat, 04 Jan 2020 14:20:39 -0800

Using Baidu map api in Android

Preparatory work: before use, you need to apply for API Key on Baidu developer platform, which is not covered here. You can query the article by yourself. 1, Modify the AndroidManifest.xml file to add permissions and API keys. The following are permissions needed (the annotation part is because the project has been added befor ...

Posted by bcarlson on Sat, 04 Jan 2020 13:46:00 -0800

Theme switching for Android

Simple Theme skin changing function Effect screenshots 1. Defining properties First define several attributes that need to be changed, for example: <!--Skin peeler--> <attr name="userNameColor" format="color" /> <attr name="commonColor" format="color" /> <attr name="bgColor" format="color" ...

Posted by luvburn on Sat, 04 Jan 2020 12:24:38 -0800