Begin Regal!

This commit is contained in:
khanhduytran0
2020-04-13 05:50:43 +07:00
parent a7eec7e082
commit b390639fba
8 changed files with 10 additions and 10 deletions

View File

@@ -1,15 +1,15 @@
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
buildToolsVersion '28.0.3'
compileSdkVersion 26
buildToolsVersion '26.0.0'
defaultConfig {
applicationId "net.kdt.pojavlaunch"
minSdkVersion 21
targetSdkVersion 26
versionCode 156231
versionName "2.4.2_preview11_6393b_20200411"
versionCode 156232
versionName "2.4.2_preview11b1_6394b_20200413"
}
buildTypes {
@@ -33,10 +33,10 @@ dependencies {
implementation 'javax.annotation:javax.annotation-api:1.3.2'
implementation 'commons-codec:commons-codec:1.14'
implementation 'com.wu-man:android-bsf-api:3.1.3'
implementation 'com.android.support:support-v4:28.0.0'
implementation 'com.android.support:appcompat-v7:28.0.0'
implementation 'com.android.support:design:28.0.0'
implementation 'com.android.support:support-annotations:28.0.0'
implementation 'com.android.support:support-v4:26.0.0'
implementation 'com.android.support:appcompat-v7:26.0.0'
implementation 'com.android.support:design:26.0.0'
implementation 'com.android.support:support-annotations:26.0.0'
// compile 'com.google.guava:guava:24.0-android'
implementation fileTree(dir: 'libs', include: ['*.jar'])

View File

@@ -389,7 +389,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
}
});
System.loadLibrary("gl04es");
System.loadLibrary("Regal");
Bitmap awtGraphics = Bitmap.createBitmap(10, 10, Bitmap.Config.ARGB_8888);
AndroidGraphics2D.getInstance(this, new Canvas(awtGraphics), null);
@@ -950,7 +950,7 @@ public class MainActivity extends AppCompatActivity implements OnTouchListener,
System.out.println(Cipher.getInstance("RSA"));
System.out.println(Cipher.getInstance("RSA/ECB/PKCS1Padding"));
*/
if (true) { // android.os.Build.VERSION.SDK_INT >= 23) { // Marshmallow
if (android.os.Build.VERSION.SDK_INT >= 23) { // Marshmallow
// FUUUUU I DON'T KNOW FIXME
Cipher rsaPkcs1Cipher = Cipher.getInstance("RSA/ECB/PKCS1Padding");
// Cipher.getInstance("RSA", rsaPkcs1Cipher.getProvider());

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.