Questions tagged as 'android-studio'

0
answers

Error starting emulator - ReactNative

Thank you first of all. I am learning react-native, and I was currently using EXPO to build my apps and everything was fine. The problem arose now, when I created a new project from 0 (from console, react-native init NewProject) and when I ga...
asked by 12.10.2018 / 19:31
0
answers

How to access the methods of my Bluetooth service?

I have an application that from the MainAcivity increases or excretes a int Grados depending on which button is pressed, the add or subtract. Since BluetoothActivity turned on and off the Bluetooth and launched a service that handles t...
asked by 12.10.2018 / 23:16
0
answers

Change screen Adapter

I have the next part of my program: // Si clickem a sobre de qualsevol d'ells... lista.setOnItemClickListener(new AdapterView.OnItemClickListener() { @Override public void onItemClick(AdapterView<?> pariente, View v...
asked by 17.10.2018 / 18:00
1
answer

Request a value only once, save it and accumulate it to use it always in java with Android studio

Good day,  I have in this interface where in the EditTex marked in red is a value that I want to leave fixed after I request it once From this activity I send it to another activity2 where I have this structure. Bundle bundle = getInten...
asked by 20.10.2018 / 18:59
0
answers

DireBaseDataBase in a Fragment

my problem is that when trying to use the method "FirebaseDatabase" in a fragment, Android studio does not solve it. I am new to this, I wanted to know if someone can help me. Fragment import android.os.Bundle; import android.support.v...
asked by 11.10.2018 / 22:50
0
answers

The editext of my recyclerview goes crazy and changes the quantities

The fact is that my editext are not stored in the recycler, they are erased or go crazy. I tried to fix it by putting a new variable into the class and passing an array to fill it. Keep in mind that I am a newbie, as a result of that I apply the...
asked by 12.10.2018 / 10:59
1
answer

How do I identify which radio buttons were selected from each group?

I'm making an application where groups of Radio Buttons are generated whose names and values depends on a json. But, I have a detail, if for example 3 groups of radio buttons are generated with 3 options each, what I want is to know that radio b...
asked by 12.10.2018 / 17:19
0
answers

Is it possible to link a service that starts with starService?

I have a service that handles the bluetooth connection and I have to keep it alive in the background so I start it with starService. my question would be if I can link the service through its onBind method since I need to interact with one of th...
asked by 13.10.2018 / 02:38
1
answer

notifyDataSetChanged () does not refresh the ListView items

Context: I am trying to consume an API, from where I recover data from clients and with them I intend to create a ListView. It should be noted that I have already verified that the data is received. Customer class: public class Cliente {...
asked by 13.10.2018 / 07:07
1
answer

Fragment in focus

I have an application with several fragments, when I slide the screen horizontally they appear and each one has a background color, I want that when one is in focus, that a text appears (Toast), can this be?     
asked by 28.10.2018 / 01:51