调试应用介绍页 Gitea 网页调用...
This commit is contained in:
parent
f1dac0c395
commit
76c9ae469f
@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Mar 24 20:01:20 HKT 2025
|
#Mon Mar 24 12:49:28 GMT 2025
|
||||||
stageCount=6
|
stageCount=6
|
||||||
libraryProject=libaes
|
libraryProject=libaes
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.5
|
publishVersion=15.0.5
|
||||||
buildCount=0
|
buildCount=7
|
||||||
baseBetaVersion=15.0.6
|
baseBetaVersion=15.0.6
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
#Created by .winboll/winboll_app_build.gradle
|
#Created by .winboll/winboll_app_build.gradle
|
||||||
#Mon Mar 24 20:00:06 HKT 2025
|
#Mon Mar 24 12:49:28 GMT 2025
|
||||||
stageCount=6
|
stageCount=6
|
||||||
libraryProject=libaes
|
libraryProject=libaes
|
||||||
baseVersion=15.0
|
baseVersion=15.0
|
||||||
publishVersion=15.0.5
|
publishVersion=15.0.5
|
||||||
buildCount=0
|
buildCount=7
|
||||||
baseBetaVersion=15.0.6
|
baseBetaVersion=15.0.6
|
||||||
|
@ -12,7 +12,6 @@ import android.os.Bundle;
|
|||||||
import android.view.Menu;
|
import android.view.Menu;
|
||||||
import android.view.MenuItem;
|
import android.view.MenuItem;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
import cc.winboll.studio.libaes.R;
|
|
||||||
|
|
||||||
final public class AboutActivity extends Activity {
|
final public class AboutActivity extends Activity {
|
||||||
|
|
||||||
@ -22,15 +21,10 @@ final public class AboutActivity extends Activity {
|
|||||||
|
|
||||||
APPInfo mAPPInfo;
|
APPInfo mAPPInfo;
|
||||||
|
|
||||||
@Override
|
|
||||||
public Context getApplicationContext() {
|
|
||||||
return this;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected void onCreate(Bundle savedInstanceState) {
|
protected void onCreate(Bundle savedInstanceState) {
|
||||||
super.onCreate(savedInstanceState);
|
super.onCreate(savedInstanceState);
|
||||||
setContentView(R.layout.activity_about);
|
setContentView(cc.winboll.studio.libaes.R.layout.activity_about);
|
||||||
Intent intent = getIntent();
|
Intent intent = getIntent();
|
||||||
if (intent != null) {
|
if (intent != null) {
|
||||||
mAPPInfo = (APPInfo)intent.getSerializableExtra(EXTRA_APPINFO);
|
mAPPInfo = (APPInfo)intent.getSerializableExtra(EXTRA_APPINFO);
|
||||||
@ -39,8 +33,8 @@ final public class AboutActivity extends Activity {
|
|||||||
mAPPInfo = new APPInfo();
|
mAPPInfo = new APPInfo();
|
||||||
}
|
}
|
||||||
|
|
||||||
AboutView aboutView = new AboutView(this, mAPPInfo);
|
AboutView aboutView = new AboutView(AboutActivity.this, mAPPInfo);
|
||||||
LinearLayout llMain = findViewById(R.id.aboutroot_ll);
|
LinearLayout llMain = findViewById(cc.winboll.studio.libaes.R.id.aboutroot_ll);
|
||||||
llMain.addView(aboutView);
|
llMain.addView(aboutView);
|
||||||
|
|
||||||
//ToastUtils.show(TAG);
|
//ToastUtils.show(TAG);
|
||||||
@ -48,7 +42,7 @@ final public class AboutActivity extends Activity {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onCreateOptionsMenu(Menu menu) {
|
public boolean onCreateOptionsMenu(Menu menu) {
|
||||||
getMenuInflater().inflate(R.menu.toolbar_winboll_shared_about, menu);
|
getMenuInflater().inflate(cc.winboll.studio.libaes.R.menu.toolbar_winboll_shared_about, menu);
|
||||||
return super.onCreateOptionsMenu(menu);
|
return super.onCreateOptionsMenu(menu);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -121,6 +121,7 @@ public class AboutView extends LinearLayout {
|
|||||||
mszGitea = "https://gitea.winboll.cc/" + mAPPInfo.getAppGitOwner() + "/" + mszAppGitName + "/src/branch/" + mAPPInfo.getAppGitAPPBranch() + "/" + mAPPInfo.getAppGitAPPSubProjectFolder();
|
mszGitea = "https://gitea.winboll.cc/" + mAPPInfo.getAppGitOwner() + "/" + mszAppGitName + "/src/branch/" + mAPPInfo.getAppGitAPPBranch() + "/" + mAPPInfo.getAppGitAPPSubProjectFolder();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (GlobalApplication.isDebuging()) {
|
if (GlobalApplication.isDebuging()) {
|
||||||
LayoutInflater inflater = LayoutInflater.from(mContext);
|
LayoutInflater inflater = LayoutInflater.from(mContext);
|
||||||
View addedView = inflater.inflate(R.layout.view_about_dev, this, false);
|
View addedView = inflater.inflate(R.layout.view_about_dev, this, false);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user