Skip to main content

Posts

Showing posts from October, 2014

Pressing ActionBarDrawerToggle doesn't Open Navigation Drawer Menu

I am implementing an application with fragments + main activity.  The extended activity class is android.app.Activity . I have aimed to use ActionBarSherlock to specialize the action bar. So, I have changed the inherited classes of main activity and fragment classes. Old Version: Main Activity -extends- Activity Fragments -extends- Fragment New Version: Main Activity -extends- SherlockFragmentActivity Fragments -extends- SherlockFragment

My First Mobile Game: Bazaar

I have published my first mobile game today. Its name is Bazaar. As may be seen from the name, it has a mediterranean style. Its game music too :) . It is a simple game. But I think it is a good start. Bazaar has basic aspects of knapsack problem. It is that you have a limited size of bag and lots of items. Each item has different size and value. You need to pick items up and fill the basket, such that these items shouldn't space much but value much in contrast. In other words, ratio of should be as high as possible.  As fruits fall down, the user swipes the basket and picks them by following the way explained above. Google Play Services is integrated to it. So, users will be able to compete with other players in the world. They will also be able to gain achievements as they play. Have fun!

Integration of MuPDF Project as a Library into an Android Studio Project

I have needed to use MuPDF library in my android project. After some research, I have seen that there are many integration tutorials but, but integrated projects are developed on Eclipse. For projects on AndroidStudio+Gradle, there is no example. I mean there is no specific example which exactly refers to this issue. So, after achieving my goal, I want to share the steps publicly so that it can be reused by others.