Questions tagged as 'android'

1
answer

How to pass a String from one method to another

Sorry I'm a novice in this, I need to pass a string from one method to another The string I try to pass is called (bd_lat) protected void onCreate(Bundle savedInstanceState) { String bd_lat = object.getString("latitude"); } This is the...
asked by 14.01.2018 / 04:33
1
answer

Background color in xml ANDROID

I have the following code fragment XML button <Button android:id="@+id/strBtnAssociateDevice" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="...
asked by 03.01.2018 / 19:10
1
answer

Enable copy & paste in Android EditText

I try to enable the copying of content from an Android EditText in the clipboard but it works. Curiously, with a prolonged pressure on the screen one (1) cursor appears and not two cursors as it should and neither do I have the copy and paste op...
asked by 24.12.2017 / 01:09
1
answer

How to install the build tools in android 3.0.1?

How to install the build tools on android, because when creating a new android project I get this error: Currently I validate if I had it installed but I get it as if the correct version is installed.     
asked by 25.12.2017 / 01:53
1
answer

targetSdkVersion not supported

is showing me a message in targetSdkVersion my English in null and the translation does not solve me much. The project has two Modules: Can you tell me how to fix it? I do not know if in the dependencies section I have to ad...
asked by 20.12.2017 / 09:38
2
answers

can you put an image in a gradient as background in android?

Good, as the question says, I would like to know if in a degraded background you can put a small image either in the center or in any place of the design, and all this put it as background of an activity. That I know the gradients are created...
asked by 10.01.2018 / 05:43
1
answer

How can I reference a segment of Firebase Storage from Android?

Good community, I have a problem, and I do not know how to reference a certain section of Firebase Storage from the Android code to save, load or delete an image, I mean the segment that is not as default. Thanks and best regards.     
asked by 28.12.2017 / 19:16
1
answer

Dialing phone number from Android Studio

I have put in Android Studio a web page with phone numbers and emails, the mail page has the code mailto: [email protected] and for the phone tel: 666666666, this page works independently, but at put it in Android Studio and create the apk, when...
asked by 14.12.2017 / 16:21
2
answers

Problem with recyclerView (Kotlin)

At the moment of creating an adapter for a recyclerView I could not make it recognize the layout that happened to it and the elements that are in it. class adapter_wpHome(val mItems: List<content_wallp>, val context : Context) : Recycler...
asked by 23.01.2018 / 04:13
1
answer

VOLLEY Android Asynchronic

I have the following method that brings me a balance String rq = RequestManager.accountBalance(numeroTelefonico); GenericController gC = new GenericController(true); gC.accBalance(this, rq, new Response.Listener<AccountB...
asked by 23.01.2018 / 14:34