0

I'm trying to add GooglePlayServices to my existing Android project (Android 2.3.3). If I go to here to see how to check if GooglePlayServices app is installed it uses FragmentActivity but it was added on Android 3.0. So How can I check for it in Android 2.2 for example? Thanks!

polonskyg
  • 4,269
  • 9
  • 41
  • 93
  • its not really any different from using it in a regular activity. Besides, `FragmentActivity` can be used in 2.2 as it is part of the support library – tyczj Jun 24 '13 at 18:27

1 Answers1

0

In example you have pointed FragmentActivity comes from android support library v4. All you need to do is set the proper import not listed in this tutorial.

BTW. All those Google Play Services tutorials are totally messy. You totally don't need all those fragments. They are used only for interacting with user in case of some connectivity problems

piotrpo
  • 12,398
  • 7
  • 42
  • 58
  • And this is needed as well, http://stackoverflow.com/questions/8164886/fragmentactivity-cannot-be-resolve-to-a-type – polonskyg Jun 25 '13 at 17:28