I am developing and EPUB reader. I want to know some things related to other EPUB readers there in the market (like Cool reader, FBReader, Amazon Kindle and many more). What type of view they use to show pages of .EPUB books? Is it normal textview, webview or something custom? How to implement search and […]
Creating a simple app that calculates the speed your going and displays it in a speedometer graphic. I can do all the speed calculations, gps calculations etc.. but i am not too sure about the animation. Does anyone have any good tutorials or examples on needle gauges other than the thermometer example out there?
I can’t for the life of me figure out how to have an activity be refreshed after pressing the back button. I currently have activity A that fires an intent to goto B and while on act B if you press back I want to go back to act A but have it refresh itself. […]
So, I have been working on getting this up and running for some time now. Problem is I have my map key from Google placed correctly in main.xml, but I can’t seem to get a provider information as the map does not display at all. I have run it a couple of times and the […]
How can I start a FragmentActivity from an Activity? My MainActivity is a splash screen and I want to star a FragmentActivity next. I need something instead of, for example: startActivity(new Intent(“com.example.manager.MyFragmentActivity”)); TIA.
I’ve recently just upgraded to the new version of AdMob (the previous version is referred to as Legacy AdMob). I imported my information from the Legacy AdMob to the upgraded version. I’m now unsure of how to add a new ad unit. I have two (2) ads. One is a main screen ad (ad 1) […]
Has anyone figured out a way to get recyclerviews, AppbarLayouts and SwipeRefreshLayout to work together on 23.2 yet? I am using a pretty standard method I think, but the swiperefreshlayout keeps grabbing the scroll gesture when trying to move up the recyclerview. <android.support.design.widget.CoordinatorLayout android:layout_width=”match_parent” android:layout_height=”wrap_content”> <android.support.design.widget.AppBarLayout android:id=”@+id/appbar” android:layout_width=”match_parent” android:layout_height=”wrap_content”> <android.support.v7.widget.Toolbar android:id=”@+id/toolbar” android:layout_width=”match_parent” android:layout_height=”wrap_content” android:theme=”?attr/toolbar_theme” app:layout_scrollFlags=”scroll|enterAlways” […]
In iOS Amazon app, they implemented both back and menu button together. Is it possible to implement the same in Android?
Is there an easy way to flip a canvas in Android? I cant seem to find anything that allows me to flip it vertically so that zero on the y-axis is the bottom of the phone screen instead of the top. It’s OK if the solution isn’t especially fast because I’m not doing anything computationally […]
In new RecyclerView we can use wrap_content for height (or for width). So Google fixed bug – https://code.google.com/p/android/issues/detail?id=74772 But not all is well in the end. I try to use animation of dissapearence when remove item from RecyclerView. So i use method of Adapter – notifyItemRemoved(int) with any argument and RecyclerView cause NullPointerException. Xml code: […]