So I finally figured it out. It turns out that TabSpec cannot bind to activities
Using getApplicationContext().bindService instead of just bindService on your
activity solves the problem as it is using the higher level application context.
Hope this helps someone!
More Related Contents:
- Android: Why doesn’t my Service start?
- Android Service needs to run always (Never pause or stop)
- How do you implement a FileObserver from an Android Service
- Where to stop/destroy threads in Android Service class?
- PopUp dialog Android from background thread
- Been staring at my code for an hour and still can't see the issue. Android – Java development [closed]
- NullPointerException in onPostExecute [duplicate]
- Setting Singleton property value in Firebase Listener
- How can I pass a Bitmap object from one activity to another
- Difference between JSONObject and JSONArray
- How to add a TextView to LinearLayout in Android
- Android: checkbox listener
- This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console
- Duplicated entries in ListView
- How to send data from DialogFragment to a Fragment?
- Android – Activity Constructor vs onCreate
- How to resume Android Activity programmatically from background
- How to create JSON Object using String?
- Transparent blurry view which blurs layout underneath
- How can I update information in an Android Activity from a background Service
- How to make EditText not focused when creating Activity
- Can we instantiate an abstract class directly? [duplicate]
- Android – ImageLoader must be init with configuration before using in UIL
- How to highlight Multiple words in EditText?
- Android Work Manager vs Services?
- AAPT: error: resource android:attr/fontVariationSettings not found and resource android:attr/ttcIndex not found
- Android java.lang.NoClassDefFoundError: org.jsoup.Jsoup
- C++ ifstream.getline() significantly slower than Java’s BufferedReader.readLine()?
- Code for download video from Youtube on Java, Android
- CXF JAXRS – How do I pass Date as QueryParam