Posts by Wakim • 10,455 points
263 posts
-
0
votes1
answer333
viewsA: Seekbar behaving unexpectedly when switching from one tab to another
João Vitor, this behavior of ViewPager that is correct. The ViewPager always destroys the View, but keeps the Fragment saved, see the default value 1 of OffscreenPageLimit. It holds only one…
-
1
votes1
answer447
viewsA: Action Bar with fixed tabs menu
If using the PagerTitleStrip and the PagerTabStrip do not answer because they move as the navigation occurs. So I suggest using the library ViewPagerIndicator, made by Jake Wharton, who maintains…
-
1
votes2
answers1994
viewsA: How to decode a JSON array [{},{}] on my android
Use the JSONArray instead of the JSONObject, using the constructor Jsonarray(java.lang.String). In your example it would look like this: JSONArray array = new JSONArray(Conn.response); Assuming…
-
13
votes2
answers2984
viewsA: Google Play private app
Yes, as Lucas said, if you set up your application in alpha or beta phase, the application will not be visible to the public in google play. To give access to a limited group of people, you can set…
-
2
votes3
answers4318
viewsA: How to set your own domain in Heroku?
To configure your application’s domain, it is directly in the application’s settings and accessing the "Domains" section. Looking at the documentation (custom-Domains). It ensures that requests made…
-
4
votes1
answer125
viewsA: Why does Mainactivity inherit from Actionbaractivity?
Actually, there’s no problem in inheriting from the class ActionBarActivity. To ActionBarActivity is a superclass included in the v7 support library (android-support-v7-appcompat). Using this…
-
1
votes1
answer507
viewsA: Run App in the background with phonegap
I develop for Android and if using native code would suggest you use IntentService on Android (Service and create-service). Researching on the use of Services in Phonegap, I don’t know if it’s…
-
2
votes3
answers1176
views -
3
votes2
answers1429
viewsA: Image layout dynamically after photo is captured
To do this: You need to use one GridView with two columns, could use a StaggeredGridView (etsy Stagerredgridview) if the images have different heights, but this is not the case. To make a square…
-
1
votes1
answer172
viewsA: Simplecursoradapter java display images
To display the photo, you need to exchange Textview for an Imageview. If the image Bitmap is saved in the database, I believe it will work. The layout would look like this: //Restante do layout...…
-
10
votes3
answers4496
viewsA: Click and hold the Button / Listview
If you used the interface View.OnClickListener to set an action for the button (using the method setOnClickListener), you can use the OnLongClickListener also. View.OnLongClickListener() may help…
-
4
votes1
answer222
viewsA: Updating the text of a Toast without waiting for it to disappear
According to the reference: http://developer.android.com/reference/android/widget/Toast.html. The static makeText method returns the created Toast object, I believe that if you save the reference to…
-
3
votes1
answer1112
viewsA: Criteria used by Google Play to determine whether an app is designed for tablets
Looking at your Manifest and seeing everything you’ve done, it seems to be right. But looking at the recommendations on the site, I don’t know if you added screen-shots for tablets of 7" and 10"…