view page source - page history - about editing

Revision History: Android

This is revision 357 of the page Android, as it appeared on Sun, 23 Feb 2014 01:53:14 -0800.

Also see Java, Eclipse, Galaxy S3

URL not found: Access is denied

Downloading Documentation for Android SDK, API 17, revision 1
URL not found: C:/Program Files (x86)/Android/android-sdk/temp/ (Access is denied)

This error can occur within the Android SDK Manager on Windows 7, if the SDK manager is installed to a protected folder like C:/Program Files (x86). In my case, the solution was to run the SDK manager as an Administrator.

Getting Started (attempt 2)

  1. Download the SDK Tools for an Existing IDE from, install, but do not run the Android SDK manager
  2. Install the Eclipse ADT Plugins from
  3. Install packages using the Android SDK manager, as in

Displaying a message box

new AlertDialog.Builder(MainActivity.this)
	.setMessage("Downloaded " + json.getJSONObject("rates").length() + " rates")
	.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
		public void onClick(DialogInterface dialog, int which) {
			// do nothing

Based on StackOverflow answer. (You have to setPositiveButton for the OK button to appear.)
Categories: Android

view page source - what links to here? - page history - top
Last edited by jevon jevon 49 months ago