为您找到相关结果2,266,873个
android 关于利用签名的SHA1进行安全校验的方法之一(推荐)_Android_脚本...
我们已经知道的是:Android对每一个Apk文件都会进行签名,在Apk文件安装时,系统会对其签名信息进行比对,判断程序的完整性,从而决定该Apk文件是否可以安装,在一定程度上达到安全的目的。 给定一个Apk文件,解压,可以看到一个META-INFO文件夹,在该文件夹下有三个文件:分别为MANIFEST.MF、CERT.SF和CERT.RSA。这三个文件分...
www.jb51.net/article/1034...htm 2025-4-19
Kotlin Navigation可视化开发详解_Android_脚本之家
1 2 3 4 5 6 7 8 9 10 11 12 13 14 <?xml version="1.0" encoding="utf-8"?> <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_...
www.jb51.net/article/2745...htm 2025-4-22
Android 10 适配攻略小结_Android_脚本之家
首先在清单文件中给对应的Activity配置 android:configChanges="uiMode": 1 2 3 <activity android:name=".MyActivity" android:configChanges="uiMode" /> 这样在 onConfigurationChanged 方法中就可以获取: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 @Override public void onConfigurationChanged(@NonNull ...
www.jb51.net/article/1817...htm 2020-3-2
Android开发四大组件之实现电话拦截和电话录音_Android_脚本之家
<intent-filter android:priority="1000" > <action android:name="android.intent.action.PHONE_STATE" /> <action android:name="android.intent.action.NEW_OUTGOING_CALL" /> </intent-filter> </receiver> 四、编写ListenPhoneService组件 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 ...
www.jb51.net/article/737...htm 2025-4-11
Android开发中使用Intent打开第三方应用及验证可用性的方法详解_Android...
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.content.Intent.toString()' on a null object reference再看看 getLaunchIntentForPackage() 方法的说明:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 /** * Returns a "good" intent to launch a front-...
www.jb51.net/article/1283...htm 2025-4-9