Skip to content

Commit

Permalink
market rating
Browse files Browse the repository at this point in the history
  • Loading branch information
u0509421 committed Apr 5, 2016
1 parent 88bc200 commit e4945ff
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,10 @@ protected void onCreate(Bundle savedInstanceState) {
//接收传来的日期跟标题
Intent intent = getIntent();
String url = KEY + intent.getStringExtra("e_id");
System.out.println(url);

eid = intent.getStringExtra("e_id");
title = intent.getStringExtra("title");
date = intent.getStringExtra("date");
System.out.println(title + date);

//准备把数据放到本地数据库中
cv = new ContentValues();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,8 @@ public void onItemClick(AdapterView<?> parent, View view, int position, long id)
startActivity(intentFeedback);
break;
case 1:
Uri uri = Uri.parse("https://play.google.com/store/apps/details?id=com.u0509421.todayinhistory");
Uri uri = Uri.parse("market://details?id=" + getContext().getPackageName());
Intent intentMarket = new Intent(Intent.ACTION_VIEW,uri);
intentMarket.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
startActivity(intentMarket);
break;
case 2:
Expand Down
Binary file added app/todayinhistory-release.apk
Binary file not shown.

0 comments on commit e4945ff

Please sign in to comment.