编译参数配置确定,Log分屏测试完成。
This commit is contained in:
parent
42a2e6d559
commit
ac627e53b1
@ -18,6 +18,7 @@ def genVersionName(def versionName){
|
|||||||
}
|
}
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
compileSdkVersion 32
|
compileSdkVersion 32
|
||||||
buildToolsVersion "32.0.0"
|
buildToolsVersion "32.0.0"
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#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
|
stageCount=11
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.10
|
publishVersion=15.0.10
|
||||||
buildCount=76
|
buildCount=89
|
||||||
baseBetaVersion=15.0.11
|
baseBetaVersion=15.0.11
|
||||||
|
@ -16,10 +16,8 @@
|
|||||||
android:resizeableActivity="true"
|
android:resizeableActivity="true"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:taskAffinity="cc.winboll.studio.appbase.task.main"
|
android:taskAffinity="cc.winboll.studio.appbase.task.main"
|
||||||
android:configChanges="screenSize|screenLayout|orientation"
|
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
|
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
@ -38,6 +36,7 @@
|
|||||||
|
|
||||||
<service
|
<service
|
||||||
android:name=".MyTileService"
|
android:name=".MyTileService"
|
||||||
|
android:exported="true"
|
||||||
android:label="@string/tileservice_name"
|
android:label="@string/tileservice_name"
|
||||||
android:icon="@drawable/ic_launcher"
|
android:icon="@drawable/ic_launcher"
|
||||||
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
android:permission="android.permission.BIND_QUICK_SETTINGS_TILE">
|
||||||
@ -64,7 +63,8 @@
|
|||||||
|
|
||||||
<service android:name=".services.AssistantService"/>
|
<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>
|
<intent-filter>
|
||||||
|
|
||||||
@ -94,7 +94,8 @@
|
|||||||
|
|
||||||
</receiver>
|
</receiver>
|
||||||
|
|
||||||
<receiver android:name=".receivers.APPNewsWidgetClickListener">
|
<receiver android:name=".receivers.APPNewsWidgetClickListener"
|
||||||
|
android:exported="true">
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
||||||
|
@ -1,8 +1,10 @@
|
|||||||
package cc.winboll.studio.appbase;
|
package cc.winboll.studio.appbase;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
|
import android.app.ActivityOptions;
|
||||||
import android.content.ComponentName;
|
import android.content.ComponentName;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
import android.graphics.Rect;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
@ -176,6 +178,18 @@ public class MainActivity extends Activity implements IWinBollActivity {
|
|||||||
public void onLogActivity() {
|
public void onLogActivity() {
|
||||||
Intent intent = new Intent(MainActivity.this, LogActivity.class);
|
Intent intent = new Intent(MainActivity.this, LogActivity.class);
|
||||||
intent.addFlags(Intent.FLAG_ACTIVITY_LAUNCH_ADJACENT);
|
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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ buildscript {
|
|||||||
mavenLocal()
|
mavenLocal()
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
classpath 'com.android.tools.build:gradle:7.2.1'
|
classpath 'com.android.tools.build:gradle:7.2.1' // 对应 compileSdkVersion 32
|
||||||
// NOTE: Do not place your application dependencies here; they belong
|
// NOTE: Do not place your application dependencies here; they belong
|
||||||
// in the individual module build.gradle files
|
// in the individual module build.gradle files
|
||||||
}
|
}
|
||||||
|
@ -4,6 +4,7 @@ apply from: '../.winboll/winboll_lib_build.gradle'
|
|||||||
apply from: '../.winboll/winboll_lint_build.gradle'
|
apply from: '../.winboll/winboll_lint_build.gradle'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
|
|
||||||
compileSdkVersion 32
|
compileSdkVersion 32
|
||||||
buildToolsVersion "32.0.0"
|
buildToolsVersion "32.0.0"
|
||||||
|
|
||||||
@ -21,4 +22,11 @@ android {
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api fileTree(dir: 'libs', include: ['*.jar'])
|
api fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
|
// AndroidX 类库
|
||||||
|
api 'androidx.appcompat:appcompat:1.0.0'
|
||||||
|
api 'com.google.android.material:material:1.4.0'
|
||||||
|
//api 'androidx.viewpager:viewpager:1.0.0'
|
||||||
|
//api 'androidx.vectordrawable:vectordrawable:1.1.0'
|
||||||
|
//api 'androidx.vectordrawable:vectordrawable-animated:1.1.0'
|
||||||
|
//api 'androidx.fragment:fragment:1.1.0'
|
||||||
}
|
}
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#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
|
stageCount=11
|
||||||
libraryProject=libappbase
|
libraryProject=libappbase
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.10
|
publishVersion=15.0.10
|
||||||
buildCount=76
|
buildCount=89
|
||||||
baseBetaVersion=15.0.11
|
baseBetaVersion=15.0.11
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
android:resizeableActivity="true"
|
android:resizeableActivity="true"
|
||||||
android:launchMode="singleInstance"
|
android:launchMode="singleInstance"
|
||||||
android:taskAffinity="cc.winboll.studio.libappbase.task.log"
|
android:taskAffinity="cc.winboll.studio.libappbase.task.log"
|
||||||
android:configChanges="screenSize|screenLayout|orientation"
|
|
||||||
android:exported="true">
|
android:exported="true">
|
||||||
|
|
||||||
</activity>
|
</activity>
|
||||||
@ -42,7 +41,8 @@
|
|||||||
android:name=".services.TestService"
|
android:name=".services.TestService"
|
||||||
android:exported="true"/>
|
android:exported="true"/>
|
||||||
|
|
||||||
<receiver android:name=".receiver.MyBroadcastReceiver">
|
<receiver android:name=".receiver.MyBroadcastReceiver"
|
||||||
|
android:exported="true">
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
||||||
@ -84,7 +84,8 @@
|
|||||||
|
|
||||||
<service android:name="cc.winboll.studio.libappbase.sos.SOSCenter"/>
|
<service android:name="cc.winboll.studio.libappbase.sos.SOSCenter"/>
|
||||||
|
|
||||||
<receiver android:name="cc.winboll.studio.libappbase.sos.SOSCenterServiceReceiver">
|
<receiver android:name="cc.winboll.studio.libappbase.sos.SOSCenterServiceReceiver"
|
||||||
|
android:exported="true">
|
||||||
|
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user