Questions tagged as 'android-studio'

1
answer

cycle if in textview in android studio

I am new to programming and would like to know how to do if in android studio a textview says Dog I get the image of a dog and if in that same% textview says cat the image appears of a cat. Thank you in advance for the help.     
asked by 04.12.2017 / 02:35
2
answers

Go to another activity by clicking on RecyclerView

Hi, I'm working with a RecyclerView and a barra de buscar in Android Studio with Firebase , my search bar if it works but what I try to do is that when I click on an option of RecyclerView is sent to another...
asked by 08.12.2017 / 03:12
2
answers

distance 0 between a LinearLayout and a FloatingActionButton within a Scrollview

How can I leave a LinearLayout and FloatingActionButton inside a Scrollview with no distance between them. For example convert image one to image two          image 1             image 2 Code xml <ScrollView android:...
asked by 13.12.2017 / 01:03
1
answer

Retrieve key from the Keystore to upload an APK to Google Play

I am currently working on some modifications for an Android application. The application was not made by me, someone else made it. I had never worked in a development for Android, then I realize that you have to generate a signed APK. At the...
asked by 04.12.2017 / 23:36
1
answer

JavaScript Android Interface WebView Call Java function From JS onclick

I have all this code but I can not get JavaScript Interface to work with an html button to execute a function in java that starts an application with the intent method. I'm using Webview chrome client, an index.html file located in / main / a...
asked by 28.12.2017 / 17:34
1
answer

Hook objects in Android Studio

You will see, in Android Studio when I create a new object, it is not anchored to the mobile screen and I must do it manually on all 4 sides to make sure it is in a fixed position. In the image I show 2 TextView objects. One anchored to th...
asked by 20.12.2017 / 22:17
1
answer

Android studio 3.0.1 does not recognize external physical (cellular) device for testing

In the new android studio in its version 3.0.1 I can not install the .kt file to run it on an external cellular device. I made all the settings in the phone (I set developer mode and enable debug mode by USB). Try modifying the file of...
asked by 16.01.2018 / 04:06
2
answers

Use a GridView

You see, I'm doing an exercise in which I have a TextView and a GridView with a series of elements taken from a vector. When I choose something from the GridView, it is copied into the TextView. activity_main code: <?xml version="1.0" en...
asked by 23.01.2018 / 15:04
1
answer

Error SDK Facebook

I am working on android studio, modifying a file of an app that was done in react-native, however when wanting to import facebook sdk I get an error: How can I solve it? this is the code of that part: apply plugin: "com.android.app...
asked by 29.03.2018 / 19:03
1
answer

Refresh listview android in fragment

Dear, I'm trying to make an app that refreshes the data I'm showing in a listview, but every time you re-run the query, the data on the screen is erased and updated only if you change the fragment. can you help me? Shard import android.os...
asked by 05.05.2017 / 18:43