diff --git a/app/build.gradle b/app/build.gradle index 84a045d..7516ac0 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -55,7 +55,7 @@ android { minifyEnabled false zipAlignEnabled true // remove useless resource file - shrinkResources true + shrinkResources false proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' if (signingConfigs.release != null) { @@ -112,6 +112,9 @@ android { play { manifestPlaceholders = [UMENG_CHANNEL_VALUE: "play"] } + coolapk { + manifestPlaceholders = [UMENG_CHANNEL_VALUE: "coolapk"] + } } } @@ -162,6 +165,7 @@ dependencies { compile 'com.jonathanfinerty.once:once:1.0.3' compile project(':library') compile 'com.github.maoruibin:ViewController:0.9.0' + compile "moe.feng:AlipayZeroSdk:1.1" } task showMeCache << { diff --git a/app/src/main/assets/changelog.html b/app/src/main/assets/changelog.html index e5187a1..6b4275e 100644 --- a/app/src/main/assets/changelog.html +++ b/app/src/main/assets/changelog.html @@ -23,18 +23,17 @@ -

Version 0.9-beta

+

Version 1.0.0

AppPlus is a open source android application,and used to manage app,export apk,watch recent processes.

    -
  1. new: add WeChat Helper (07-20)
  2. -
  3. new: add favorite function (06-21)
  4. -
  5. new: make lunched speed faster(06-21)
  6. +
  7. new: add package info list (16/12/26)
  8. +
  9. new: adapter Android N (16/12/25)

Get the last info about AppPlus by this way

- Weibo   @大侠咕咚
+ Weibo   @大侠咕咚
Google+   @毛瑞斌
- Github  @GuDong
+ Home   @GuDong

\ No newline at end of file diff --git a/app/src/main/assets/changelog_ch.html b/app/src/main/assets/changelog_ch.html index 26912fa..99644f9 100644 --- a/app/src/main/assets/changelog_ch.html +++ b/app/src/main/assets/changelog_ch.html @@ -23,18 +23,16 @@ -

Version 0.9-beta

+

Version 1.0.0

- AppPlus是一个管理手机App、导出APK、查看运行中进程的工具应用。 + AppPlus是一个管理手机App、导出APK、查看包信息的工具应用。

    -
  1. 新增: 微信助手 (07-20)
  2. -
  3. 新增: 收藏功能 (06-21)
  4. -
  5. 优化: 启动速度 (06-21)
  6. -
  7. 优化: 评分机制 (07-21)
  8. +
  9. 新增: 应用包信息查看(12/26)
  10. +
  11. 优化: 适配 Android N 版本,解决不能显示最近运行程序列表的问题 (12-25)

获取最新AppPlus的动态,可通过以下方式

- 微博  @大侠咕咚
- Github  @GuDong
+ 微博  @大侠咕咚
+ 个人主页  @GuDong

\ No newline at end of file diff --git a/app/src/main/assets/donate_ch.html b/app/src/main/assets/donate_ch.html index 6d4e561..e038a35 100644 --- a/app/src/main/assets/donate_ch.html +++ b/app/src/main/assets/donate_ch.html @@ -40,10 +40,7 @@ 我因此也花费了不少时间与精力,如果这个软件帮助到你了,你又想请我喝杯咖啡,可以通过支付宝的方式,给我打赏,非常感谢。

- 我的支付宝账号:gudong.name@gmail.com -

-

- 点击下面的按钮 复制账号并打开支付宝,即可转账打赏,再次感谢你的支持。 + 点击下面的按钮 打开支付宝转账页面,即可转账打赏,再次感谢你的支持。

\ No newline at end of file diff --git a/app/src/main/java/com/gudong/appkit/ui/activity/AppInfoActivity.java b/app/src/main/java/com/gudong/appkit/ui/activity/AppInfoActivity.java index 4025a17..4cc8f8c 100644 --- a/app/src/main/java/com/gudong/appkit/ui/activity/AppInfoActivity.java +++ b/app/src/main/java/com/gudong/appkit/ui/activity/AppInfoActivity.java @@ -34,6 +34,7 @@ public class AppInfoActivity extends BaseActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); + setupToolBar(R.string.action_package, true); initView(); basicViewController = new AppBasicViewController(this); permissionViewController = new AppPermissionViewController(this); @@ -48,7 +49,6 @@ protected void onCreate(Bundle savedInstanceState) { String packageName = getIntent().getStringExtra("package"); fillData(packageName); - } private void fillData(String packageName) { diff --git a/app/src/main/java/com/gudong/appkit/ui/activity/AppOperateActivity.java b/app/src/main/java/com/gudong/appkit/ui/activity/AppOperateActivity.java index dbc8711..d4ec423 100644 --- a/app/src/main/java/com/gudong/appkit/ui/activity/AppOperateActivity.java +++ b/app/src/main/java/com/gudong/appkit/ui/activity/AppOperateActivity.java @@ -172,9 +172,8 @@ public void onClick(View v) { MobclickAgent.onEvent(this, "action_export"); break; case R.id.tv_detail: -// NavigationManager.openAppDetail(this,mAppEntity.getPackageName()); NavigationManager.openAppInfo(this,mAppEntity.getPackageName()); - MobclickAgent.onEvent(this, "action_detail"); + MobclickAgent.onEvent(this, "action_package"); break; case R.id.tv_more: showMoreDialog(); @@ -198,6 +197,10 @@ public void onClick(DialogInterface dialog, int which) { MobclickAgent.onEvent(AppOperateActivity.this, "more_uninstall"); break; case 2: + NavigationManager.openAppDetail(AppOperateActivity.this,mAppEntity.getPackageName()); + MobclickAgent.onEvent(AppOperateActivity.this, "watch_detail"); + break; + case 3: NavigationManager.gotoMarket(AppOperateActivity.this,mAppEntity.getPackageName()); MobclickAgent.onEvent(AppOperateActivity.this, "action_market"); break; diff --git a/app/src/main/java/com/gudong/appkit/ui/activity/MainActivity.java b/app/src/main/java/com/gudong/appkit/ui/activity/MainActivity.java index 3e300cc..a7daa12 100644 --- a/app/src/main/java/com/gudong/appkit/ui/activity/MainActivity.java +++ b/app/src/main/java/com/gudong/appkit/ui/activity/MainActivity.java @@ -22,9 +22,6 @@ package com.gudong.appkit.ui.activity; -import android.content.ClipData; -import android.content.ClipboardManager; -import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.os.Bundle; @@ -43,8 +40,6 @@ import android.widget.Toast; import com.gudong.appkit.R; -import com.gudong.appkit.dao.AppEntity; -import com.gudong.appkit.dao.DataHelper; import com.gudong.appkit.dao.WeChatHelper; import com.gudong.appkit.event.EEvent; import com.gudong.appkit.event.RxBus; @@ -60,6 +55,7 @@ import hotchemi.android.rate.AppRate; import hotchemi.android.rate.OnClickButtonListener; +import moe.feng.alipay.zerosdk.AlipayZeroSdk; import rx.functions.Action1; public class MainActivity extends BaseActivity { @@ -217,19 +213,8 @@ private void showDonateDialog() { getString(R.string.action_copy_to_clipboard),new DialogInterface.OnClickListener(){ @Override public void onClick(DialogInterface dialog, int which) { - String alipay = "com.eg.android.AlipayGphone"; - AppEntity alipayApp = DataHelper.getAppByPackageName(alipay); - if(alipayApp!=null){ - //复制到粘贴板 - ClipboardManager cmb = (ClipboardManager)getSystemService(Context.CLIPBOARD_SERVICE); - cmb.setPrimaryClip(ClipData.newPlainText(null, "gudong.name@gmail.com")); - Toast.makeText(MainActivity.this, R.string.copy_success, Toast.LENGTH_LONG).show(); - //打开支付宝 - try { - NavigationManager.openApp(MainActivity.this,alipay); - } catch (Exception e) { - e.printStackTrace(); - } + if(AlipayZeroSdk.hasInstalledAlipayClient(MainActivity.this)){ + AlipayZeroSdk.startAlipayClient(MainActivity.this, "aex07094cljuqa36ku7ml36"); }else{ Toast.makeText(MainActivity.this,getString(R.string.support_exception_for_alipay), Toast.LENGTH_SHORT).show(); } diff --git a/app/src/main/res/drawable/ic_android_black_24dp.xml b/app/src/main/res/drawable/ic_android_black_24dp.xml new file mode 100644 index 0000000..401cbf6 --- /dev/null +++ b/app/src/main/res/drawable/ic_android_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/activity_app.xml b/app/src/main/res/layout/activity_app.xml index 0d09a8f..6e938a8 100644 --- a/app/src/main/res/layout/activity_app.xml +++ b/app/src/main/res/layout/activity_app.xml @@ -121,7 +121,7 @@ android:id="@+id/tv_detail" style="@style/ActionButton" android:drawableTop="?attr/ic_menu_detail" - android:text="@string/menu_pop_item_detail"/> + android:text="@string/menu_pop_item_package"/> 打开应用 卸载应用 + 查看应用详情 去市场查看 diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index 67546b5..70dcf59 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -8,10 +8,11 @@ 意见反馈 重试 关于 + 包信息 微信助手 关闭 复制账号并打开支付宝 - 授予 + 前往授权页面 拒绝 支付宝账号已复制到粘贴板 @@ -25,6 +26,7 @@ 导出到本地 分享安装包 查看应用详情 + 查看包信息 打开此软件 更多操作 diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index e41a0e5..1e8fdbe 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -24,6 +24,7 @@ Open Uninstall + Watch detail Go market diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index f46e71e..1a6a7d5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -8,6 +8,7 @@ Send opinion Reload About + Package Info WechatHelper Close Copy and open Alipay @@ -25,6 +26,7 @@ Export to local Share apk Watch detail + Watch package info Open More diff --git a/app/src/main/res/values/style_parent.xml b/app/src/main/res/values/style_parent.xml index 18fd1c9..66decc6 100644 --- a/app/src/main/res/values/style_parent.xml +++ b/app/src/main/res/values/style_parent.xml @@ -6,7 +6,7 @@ @color/colorAccent @drawable/ic_export_black_24dp - @drawable/ic_detail_black_24dp + @drawable/ic_android_black_24dp @drawable/ic_share_black_24dp @drawable/ic_grade_black_24dp diff --git a/gradle.properties b/gradle.properties index 1c2510e..3a9315c 100644 --- a/gradle.properties +++ b/gradle.properties @@ -14,8 +14,8 @@ # org.gradle.parallel=true #Mon Mar 07 16:31:11 CST 2016 systemProp.http.proxyPort=1080 -VERSION_NAME=0.9-beta -VERSION_CODE=16 +VERSION_NAME=0.9.5 +VERSION_CODE=18 ANDROID_BUILD_SDK_MIN_VERSION=14 ANDROID_BUILD_TARGET_SDK_VERSION=25 ANDROID_BUILD_TOOLS_VERSION=25.0.0