DEX files are Dalvik Executable file. You can view the content of a dex file an APK analyzer. With the help of an APK analyzer you can analyze your APK file and even compare it with the previous versions.
Overview SSLSocketFactory is used to create secure sockets. Steps to follow First you have to create a key store. Open command prompt using Administrator login. Type " cd C:\Program Files\Java\jdk-14\bin ". Type the below command keytool -genkey -v -keystore my-key.keystore -alias my-key-alias-keyalg RSA -keysize 2048 -validity 10000 Follow the steps given in the screenshot: For - keyalg you can use RSA, DSA, EC to generate asymmetric key pair or use DES, 3DES to generate symmetric key pair. Then you have to generate a certificate Open command prompt using Administrator login. Type " cd C:\Program Files\Java\jdk-14\bin ". Type the below command keytool -certreq -alias "my-key-alias" -file mycertreq.csr -keystore my-key.keystore Follow the steps given in the screenshot. Note: The password , alias name , keystore name must be the same which you used while creating the keystore . An example of creating a subclass of SSLSocketFactory class TLSSocketFact...
Overview This code is used to covert password characters into an Asterisk. To do that you have to create a class and extend the class with PasswordTransformationMethod public class AsteriskMethod extends PasswordTransformationMethod { public CharSequence mPassword ; @Override public CharSequence getTransformation (CharSequence source , View view) { return new AsteriskMethod.PasswordCharSequence(source) ; } private class PasswordCharSequence implements CharSequence { public PasswordCharSequence (CharSequence source) { mPassword = source ; // Store char sequence } public char charAt ( int index) { return '*' ; // This is the important part } public int length () { return mPassword .length() ; // Return default } public CharSequence subSequence ( int start , int end) { return mPassword .subSequence(start , end) ; // Return default ...
Comments
Post a Comment