http://stackoverflow.com/questions/10525914/how-to-use-android-viewpager
On Wed, May 9, 2012 at 8:17 PM, [email protected] <[email protected]> wrote: > I'm planning a port of some apps from Windows Phone 7 over to > Android. Going through some blogs I find an "extra" android control > called the ViewPager which seems like a poor man's version of the WP7 > Pivot control. I would like to try using this control. > > I plan on targeting Android 2.3.3 (API 10) because the info at > http://developer.android.com/resources/dashboard/platform-versions.html > tells me that any level higher would run on relatively few phones. > So, my Eclipse is setup for that level. > > Using the Eclipse SDK manager I tried to add the Extras Android > support package but it would not add giving the errors pasted below. > I don't know what all those errors mean but I'm wondering if I need to > be running API 11 to be able to use the compatibiity package aka the > android Support Package? > > So, I suppose my final question is: can I use the VeiwPager control if > I target Android 2.3.3? Also, is there any downloadable complete > solution that uses the viewPager? All I can find are "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. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in DC: http://marakana.com/training/android/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

