Questions tagged as 'android'

1
answer

Parse DATE with data from a JSON

How about today I had a problem with a parseo Date I'm bringing data from a service so far all good, well I have a field in which brings me a Date with the following format 2017-01-05 11:11:00 Now this value takes me e...
asked by 30.01.2017 / 20:26
1
answer

Show only People with a specific value (Firebase)

I have a recyclerview that I charge from a database that I have in Firebase , I do it like this: databaseReference.child("Personas").addChildEventListener(new ChildEventListener() { @Override public void onChildAd...
asked by 08.06.2017 / 23:32
1
answer

Android 23 and under do not fill all screens in landscape mode

I make an application that uses dynamic tables, my XML code is: <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_weight="1" an...
asked by 13.06.2017 / 18:23
1
answer

Attach (Render) text to a Drawable on Android

I've done some research on the net and found this class here: link public class TextDrawable extends Drawable { private final String text; private final Paint paint; public TextDrawable(String text) { this.text = te...
asked by 08.06.2017 / 17:38
2
answers

Prevent sliding gesture in an Android ViewPager

How can you disable the scrolling of ViewPage pages when a swipe gesture is made?     
asked by 08.12.2016 / 10:23
1
answer

VOLEY, sending all the data from a SQLite table

I want to send all the data of the SQLite database in the following way: @Override protected Map<String, String> getParams() throws AuthFailureError { Map<String, String> parameters = new HashMap<String, Stri...
asked by 10.12.2016 / 05:02
2
answers

How to optimize the validations in a registration form?

I am making a registration form on android, I use several if blocks to validate each field and then insert the information into a database (I have solved this already), I would like to know if there is any way to optimize or improve my code. p...
asked by 10.02.2017 / 09:13
1
answer

I can not access TabHost content

This time I have a problem with a TabHost that I created and initialized, it has 3 tabs, it turns out that the contents of the first 2 tabs I can not position the focus by clicking on their EditText let alone click on the buttons t...
asked by 13.02.2017 / 15:50
2
answers

Save a key in the NDK

Reading about the best way to save an api key on Android, I came to the conclusion that a good way would be to save it using C ++ on the NDK. To hide a key in the NDK would be something like this: #include <string.h> #include...
asked by 12.02.2017 / 19:44
2
answers

Generate .apk file from Eclipse

Do you know if it is possible to generate the .apk executable from android to upload to the Play Store, from eclipse, having the java source code?     
asked by 10.02.2017 / 12:20