编译参数配置确定,Log分屏测试完成。

This commit is contained in:
ZhanGSKen
2025-03-26 14:39:37 +08:00
parent 42a2e6d559
commit ac627e53b1
8 changed files with 38 additions and 13 deletions

View File

@@ -18,6 +18,7 @@ def genVersionName(def versionName){
}
android {
compileSdkVersion 32
buildToolsVersion "32.0.0"

View File

@@ -1,8 +1,8 @@
#Created by .winboll/winboll_app_build.gradle
#Tue Mar 25 17:54:33 GMT 2025
#Wed Mar 26 06:37:55 GMT 2025
stageCount=11
libraryProject=libappbase
baseVersion=15.0
publishVersion=15.0.10
buildCount=76
buildCount=89
baseBetaVersion=15.0.11

View File

@@ -16,10 +16,8 @@
android:resizeableActivity="true"
android:launchMode="singleInstance"
android:taskAffinity="cc.winboll.studio.appbase.task.main"
android:configChanges="screenSize|screenLayout|orientation"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
@@ -38,6 +36,7 @@
<service
android:name=".MyTileService"
android:exported="true"
android:label="@string/tileservice_name"
android:icon="@drawable/ic_launcher"
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
@@ -64,7 +63,8 @@
<service android:name=".services.AssistantService"/>
<receiver android:name="cc.winboll.studio.appbase.receivers.MainReceiver">
<receiver android:name="cc.winboll.studio.appbase.receivers.MainReceiver"
android:exported="true">
<intent-filter>
@@ -94,7 +94,8 @@
</receiver>
<receiver android:name=".receivers.APPNewsWidgetClickListener">
<receiver android:name=".receivers.APPNewsWidgetClickListener"
android:exported="true">
<intent-filter>

View File

@@ -1,8 +1,10 @@
package cc.winboll.studio.appbase;
import android.app.Activity;
import android.app.ActivityOptions;
import android.content.ComponentName;
import android.content.Intent;
import android.graphics.Rect;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuItem;
@@ -176,6 +178,18 @@ public class MainActivity extends Activity implements IWinBollActivity {
public void onLogActivity() {
Intent intent = new Intent(MainActivity.this, LogActivity.class);
intent.addFlags(Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT);
WinBollActivityManager.getInstance(this).startWinBollActivity(this, intent, LogActivity.class);
// Define the bounds.
Rect bounds = new Rect(500, 300, 100, 0);
// Set the bounds as an activity option.
ActivityOptions options = ActivityOptions.makeBasic();
options.setLaunchBounds(bounds);
//Intent intent = new Intent(this, LpgActivity.class);
startActivity(intent, options.toBundle());
//WinBollActivityManager.getInstance(this).startWinBollActivity(this, intent, LogActivity.class);
}
}