I am planning on porting some applications from Windows Phone 7 to Android. After going through some blogs, I find an “extra” Android control called ViewPager, which seems like a poor version of the WP7 Pivot control. I would like to try using this control since my WP7 applications use Pivot.
I plan to configure Android 2.3.3 (API 10) because the information in http://developer.android.com/resources/dashboard/platform-versions.html tells me that any level above will work on relatively few phones. So, my Eclipse is configured for this level.
Using the Eclipse SDK Manager, I tried to add the Android Extras Support Package, but it would not add the errors inserted below. I don’t know what all these errors mean, but I wonder if I need to run API 11 in order to be able to use the compatibility package as well as the Android support package.
So, I suppose my last question is: can I use the VeiwPager control if I am targeting Android 2.3.3? Also, is there any downloadable complete solution using viewPager? All I can find is "tutorials" that show code snippets. Thanks, Dean
Preparing to install archives
Downloading Android SDK Platform-tools, revision 11
File not found: C:\Program Files (x86)\Android\android-sdk\temp\platform-tools_r11-windows.zip (Access is denied)
Downloading Documentation for Android SDK, API 15, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\docs-15_r02.zip (Access is denied)
Downloading SDK Platform Android 4.0.3, API 15, revision 3
File not found: C:\Program Files (x86)\Android\android-sdk\temp\android-15_r03.zip (Access is denied)
Downloading Samples for SDK API 15, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\samples-15_r02.zip (Access is denied)
Downloading ARM EABI v7a System Image, Android API 15, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\sysimg_armv7a-15_r02.zip (Access is denied)
Downloading Sources for Android SDK, API 15, revision 2
File not found: C:\Program Files (x86)\Android\android-sdk\temp\sources-15_r02.zip (Access is denied)
Downloading Android Support package, revision 8
File not found: C:\Program Files (x86)\Android\android-sdk\temp\support_r08.zip (Access is denied)
Skipping 'Android SDK Tools, revision 19'; it depends on 'Android SDK Platform-tools, revision 11' which was not installed.
Done. Nothing was installed.
source
share