Questions tagged as 'android-studio'

1
answer

Send plain text with retrofit

{ Cliente_ID: 1, Nombre_Usuario: "dsadsadsa"} The problem is that the api receives plain text, try to use retrofit in the following way:    Interface @POST("Cliente") Call<Client> newClient(@Body Client client);    Model @Ser...
asked by 19.08.2018 / 21:54
1
answer

Create Button that gives you your location in Android Studio

I want to create a Button that tells me exactly where my device is located, and that it is indicated to me in a MapView, I tried to do it in some ways but I did not get it. For now this is code that I have: public class CameraFragment exten...
asked by 11.09.2018 / 02:58
1
answer

Sending items to the database from an Array MultiChoice individually

I'm not a programmer, but I have a question and I can not find where to answer it. I have a multichoice array, It turns out that when I get the "checkable" I can see them in a single String. I would like each item that is with its "check" to...
asked by 22.10.2018 / 17:51
1
answer

Android Studio using AsyncTask with loading table

I'm with an app that I want to use AsyncTask so that when I do a task that takes some time, I'll load the message loading ... and once I finish this task disappear the message and continue to run the app normally. I have never used the Asynctask...
asked by 16.08.2018 / 16:09
1
answer

Problem loading images in a Recyclerview with firebase

I'm new to android and I'm trying to work with firebase. The problem I have is that when I load the images in a recyclerview it takes a long time to load and I have no idea how to fix it to show the images I'm using glide I would appreciate y...
asked by 08.08.2018 / 07:14
1
answer

Android Studio: My activitymain.xml does not recognize string.xml variables

I have a very basic application in android studio, which accesses the accelerometer and the gyroscope, and their respective values are shown in the application. Everything was fine until "suddenly", the texts of the main activity are not reco...
asked by 10.07.2018 / 21:58
2
answers

setOnItemClickListener does not run in the fragment

I am using a GridView within a RelativeLayout that contains an image, a checkbox and a textview. I use an adapter to select or deselect the checkboxes. I use a fragment to show the GridView. The checkbox is selected / deselected by touching it o...
asked by 13.07.2018 / 00:18
1
answer

Where are the methods and actions placed in a fragment? Android Studio

I have a doubt, for example I have a menu where I manage three fragments, in one of them there is a simple form (To enter data), three EditText and obviously a button, but when I go to the fragment type file it is not logically Same structure as...
asked by 13.07.2018 / 01:23
1
answer

Android Studio Fix text overlay

I have a problem in my code in adroid studio, in my layout it's all perfect as I want it but when I pass it to the tablet the description text and unit cost overlap one another, below it will appear text of products and these too The same thing...
asked by 26.06.2018 / 18:06
1
answer

Open web page with app in Android Studio

I have a question about an app that I was asked for, in my work they have a website that contains videos for automatic playback, what I should do with my app is to enter that page in full screen mode. That I already do and test and it works with...
asked by 21.06.2018 / 19:33