Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8295769
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T14:43:37+00:00 2026-06-08T14:43:37+00:00

In my application I want to target all Android Versions >= 8 (Push-Notification required),

  • 0

In my application I want to target all Android Versions >= 8 (Push-Notification required), but I’m having a hard time understanding the right combination of APIs / dependencies I need for my project setup.

The project will need Google APIs for location based services, and I need to / want to use ActionBarSherlock for ActionBar support.

Is this setup correct?


AndroidManifest.xml:

(1)

<uses-sdk
    android:minSdkVersion="8"
    android:targetSdkVersion="16" />

<application
    android:theme="@style/Theme.Sherlock.Light" >
    ...

Libs:

(2)
I added android-support-v4.jar

Project-properties:

(3)
Set to Google-APIs 16

ActionBarSherlock:

(4)
I followed the video at ActionBar-FAQ to set-up ABS as a library project, and I have it set to Android Level 16 in its project proberties, and added android-support-v4.jarin its lib folder.


I know it’s kind of a basic question, but I’m not sure if I’ve chosen the right setup. I’m especially wondering if (3) is correct or if I am supposed to set the overall API-Level to 8?

Update 1: I also have a problem understanding the mechanisms of support.jar. If I set my build-target to maximum – how does the system make sure that high-level functionality (like fragments) work in lower APIs (like 8) . Is this done automagically, or do I have to manually code against support packages?
Update 2 Regarding support.jar I will have to know what features I’m using and will have to code against support.jar. If I fail and use a feature which is too advanced, a ClassCastException on lower API levels will be thrown…?

Any help appreciated. Also: I’m a beginner, so answers with some background information would be highly regarded 🙂

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T14:43:38+00:00Added an answer on June 8, 2026 at 2:43 pm

    That looks right. As described in the video on ActionBarSherlock.com you want your step #3 set to the highest “Project Build Target” available for your version of ActionBarSherlock. So if you have ABS 4.1.0, you want Platform 4.1, API 16.

    Have you also set up the ABS project as a library? Your project’s dependencies should have both:

    • < Your-ABS-Library >.jar
    • android-support-v4.jar
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In my application I want to apply a filter, but I don't want all
I'm creating a android application with target on 2.2. I still want to use
I want to develop a program in c# that can target and application or
all! I want to create multiple threads in my application. I' using following code
I want to build an application that routes all network traffic (not just HTTP)
I'm building my application on 10.6 but targeting 10.5 for deployment. I want to
How can I use RichTextBox Target in WPF application? I don't want to have
I have developed an application for android 2.3. Now I want to test it
if we develop our Android application with target Android2.1-update1,can we install that application in
I'm getting desperate with this Problem: I want to export/run my Android Application with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.