Skip to content

Commit 4c374ee

Browse files
author
River
committed
change to qpython
1 parent 3b76c49 commit 4c374ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/org/qpython/sample/MainActivity.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public boolean onCreateOptionsMenu(Menu menu) {
3232
*
3333
*/
3434
private final int SCRIPT_EXEC_PY = 40001;
35-
private final String extPlgPlusName = "com.hipipal.qpy";
35+
private final String extPlgPlusName = "com.hipipal.qpyplus";
3636
public static boolean checkAppInstalledByName(Context context, String packageName) {
3737
if (packageName == null || "".equals(packageName))
3838
return false;
@@ -73,10 +73,10 @@ public void onQPyExec(View v) {
7373

7474
startActivityForResult(intent, SCRIPT_EXEC_PY);
7575
} else {
76-
Toast.makeText(getApplicationContext(), "Please install QPython Player first", Toast.LENGTH_LONG).show();
76+
Toast.makeText(getApplicationContext(), "Please install QPython first", Toast.LENGTH_LONG).show();
7777

7878
try {
79-
Uri uLink = Uri.parse("market://details?id=com.hipipal.qpy");
79+
Uri uLink = Uri.parse("market://details?id=com.hipipal.qpyplus");
8080
Intent intent = new Intent( Intent.ACTION_VIEW, uLink );
8181
startActivity(intent);
8282
} catch (Exception e) {

0 commit comments

Comments
 (0)