|
@@ -25,6 +25,7 @@ import com.sheep.gamegroup.greendao.download.SheepAd;
|
|
|
import com.sheep.gamegroup.model.api.IWeb;
|
|
import com.sheep.gamegroup.model.api.IWeb;
|
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
|
import com.sheep.gamegroup.model.entity.DialogConfig;
|
|
import com.sheep.gamegroup.model.entity.DialogConfig;
|
|
|
|
|
+import com.sheep.gamegroup.model.entity.GameListTag;
|
|
|
import com.sheep.gamegroup.model.entity.GameListType;
|
|
import com.sheep.gamegroup.model.entity.GameListType;
|
|
|
import com.sheep.gamegroup.model.entity.Release_task;
|
|
import com.sheep.gamegroup.model.entity.Release_task;
|
|
|
import com.sheep.gamegroup.model.entity.TaskEty;
|
|
import com.sheep.gamegroup.model.entity.TaskEty;
|
|
@@ -140,6 +141,11 @@ public class KFZSJs {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@JavascriptInterface
|
|
@JavascriptInterface
|
|
|
|
|
+ public void gotoDownload(){
|
|
|
|
|
+ Jump2View.getInstance().goActDownloadManager(activity);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @JavascriptInterface
|
|
|
public void startApp(String pkg, String cls) {
|
|
public void startApp(String pkg, String cls) {
|
|
|
PackageUtil.startApp(activity, pkg);
|
|
PackageUtil.startApp(activity, pkg);
|
|
|
}
|
|
}
|
|
@@ -295,6 +301,16 @@ public class KFZSJs {
|
|
|
Jump2View.getInstance().gotoYfShop(activity);
|
|
Jump2View.getInstance().gotoYfShop(activity);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
+ @JavascriptInterface
|
|
|
|
|
+ public void jumpYYShop() {
|
|
|
|
|
+ Jump2View.getInstance().gotoYYShop(activity);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @JavascriptInterface
|
|
|
|
|
+ public void jumpYYGoods(String merId) {
|
|
|
|
|
+ Jump2View.getInstance().gotoYYShopMerchandiseById(activity, merId);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
//h5调用分享 window.kfzsjs.shareLink(link, iconUrl, title, des);
|
|
//h5调用分享 window.kfzsjs.shareLink(link, iconUrl, title, des);
|
|
|
@JavascriptInterface
|
|
@JavascriptInterface
|
|
|
public void shareLink(String link, String iconUrl, String title, String des) {
|
|
public void shareLink(String link, String iconUrl, String title, String des) {
|
|
@@ -653,6 +669,14 @@ public class KFZSJs {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@JavascriptInterface
|
|
@JavascriptInterface
|
|
|
|
|
+ public void goActGameListByTag(int id, String name){
|
|
|
|
|
+ GameListTag tag= new GameListTag();
|
|
|
|
|
+ tag.setId(id);
|
|
|
|
|
+ tag.setName(name);
|
|
|
|
|
+ Jump2View.getInstance().goActPlayGameList(activity, tag);
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ @JavascriptInterface
|
|
|
public void goZoneGameList(int id, String name) {
|
|
public void goZoneGameList(int id, String name) {
|
|
|
GameListType type = new GameListType();
|
|
GameListType type = new GameListType();
|
|
|
type.setSpecial_id(id);
|
|
type.setSpecial_id(id);
|