Questions tagged as 'android'

0
answers

Add Menu does not let see my Android fragments

I'm starting with fragments and I have a small app with 2 fragments type tabs, I wanted to add a side menu which I could also do correctly, the error comes at the time of wanting to have the 2 things, if I put the menu the fragments they do not...
asked by 21.03.2018 / 14:39
1
answer

In Android, for the EditText view which inputType is the best for First and Last Names?

Cordial greeting, for the EditText view (if the EditText is called a view?) which is the best value for the inputType attribute, for the input of First and Last Names, I want that at the beginning and always after a space the first letter is cap...
asked by 11.03.2018 / 15:38
1
answer

FromJson Gson error

I am trying to download a JSON for later, using the GSON library, parsing it using the respective java class Answer.class: I try to download the JSON from the link: String link=" link "; I am using the following syntax in the activity.class afte...
asked by 11.03.2018 / 02:36
1
answer

problems with makeHttpRequest

Hi chic @ s I'm having problems with this line, it seems to me that makehttprequest is obsolete I've been looking for a lot of info on the internet and I do not find anything, I would appreciate some help thanks public class MainActivity ex...
asked by 10.03.2018 / 13:50
1
answer

java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.res.XmlResourceParser

my code is this: Manifest:   <activity android:name=".MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category...
asked by 18.02.2018 / 15:23
0
answers

JobScheduler vs AlarmManager - (Android)

I have the following question about how JobScheduler works: I am creating an example to replicate the operation of the AlarmManager in JobScheduler, but the JobScheduler example does not run after 15 days as an AlarmManager. Is it possible to...
asked by 09.02.2018 / 21:58
0
answers

How to get an answer as input stream in Volley

I am developing an app where I use volley, my app is sending and receiving zip files, the problem is that my method of decompressing the parameter that I expect is of the input stream type and the onResponse of Volley returns the response as byt...
asked by 09.02.2018 / 00:59
0
answers

Android Studio failed to compile with Xiaomi

I'm making an application with a Navigation Drawer image: link and I wanted to make it through clicking on the top image of the browser (where is the android image) that the Fragment document of the profile was opened (image where the profile...
asked by 27.01.2018 / 03:21
1
answer

Adapter always shows me the same item in ListView

I am developing an Android application that uses Google Sheets as a database. The operation, basically, is that I scan a bar code from a book, it keeps all the information about this book in the sheet of Google Sheets, and what I want is that th...
asked by 28.01.2018 / 18:40
2
answers

How do I clean the cache of an Android application by code?

I am developing an android application on a catalog, the images I load with Glide, but there is a problem, and that is that the images can be updated from an admin of a web page, and when I updated it in the application, it follows me appearing...
asked by 29.01.2018 / 18:43