• Post Reply Bookmark Topic Watch Topic
  • New Topic

Using ABS lib and mapsforge together

fahimeh hashemian
Ranch Hand
Posts: 85
  • Mark post as helpful
  • send pies
  • 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
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!