Gimp: warn user about deleting files during upgrade, removed old cruft

This commit is contained in:
Sergii Pylypenko
2015-03-31 23:14:18 +03:00
parent a56f84b238
commit 4fc05b347f
18 changed files with 118 additions and 41 deletions

View File

@@ -916,9 +916,19 @@ class DemoRenderer extends GLSurfaceView_SDL.Renderer
return ret;
}
public void openExternalWebBrowser(String url)
public void openExternalApp(String pkgName, String activity, String url)
{
context.startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(url)));
Intent i = new Intent();
if (url != null)
{
i.setAction(Intent.ACTION_VIEW);
i.setData(Uri.parse(url));
}
if (pkgName != null && activity != null)
{
i.setClassName(pkgName, activity);
}
context.startActivity(i);
}
private int PowerOf2(int i)