• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
  • Mikalai Zaikin

Using ABS lib and mapsforge together

Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I want to use ActionBarSherlock for implement action bar sliding in my program. my program used mapsforge. I can add actionBarSherlock lib to my app. one class extend of sherlockFragmentActivity because i can use getSupportActionBar() instead of getActionBar() but when i run program, the program has error(the error is: invalid apk file! ) and when i remove ActionBarsherlock, the error remove!!!

my questions is:

1)my class used mapsforge, and i should extend MapActivity, but for using getSupportActionBar(), i should extend sherlockFragmentActivity. how can i solved this problem? how can i implement my program ? (i used ASB, because my program support api level 8+)

2)Why, when i add ASB lib to my project, the project in compile time hase error (invalid apk file! ) and when i unhit IsLibrary in properties->android->library (means that remove ASB lib of my program), the program not detect ActionBarSherlock and when remove sherlockFragmentActivity, my program runs good. What is my problem???

Thanks for advises
Water! People swim in water! Even tiny ads swim in water:
a bit of art, as a gift, that will fit in a stocking
    Bookmark Topic Watch Topic
  • New Topic