Questions tagged as 'android-studio'

2
answers

Class object generation error

I have the following method: private ArrayList Clientes (JSONObject jObect) { Log.e("Lis: ", jObect.toString()); /* A linha acima impime E/Lis:: {"clientes":[{"idClientesT":"1","tipo":"s","nome":"Carlos"},{"idClientes...
asked by 19.12.2018 / 23:37
1
answer

Hold the image and send it to the link in Android Studio

Hold the image and send it to the link in Android Studio I use an ImageView that when it clicks it performs a function, but I would like that when the image was pressed, another action was taken, which would be different than just a simple touch...
asked by 14.09.2018 / 16:17
2
answers

How to put a wait time for the code to execute?

I'm playing a little game of memory, more like learning in Java myself. I'll introduce the code and then explain the question. private void testar (ImageView img, int resultado1, int resultado2) { if(resultado1 != resultado2 && r...
asked by 10.11.2018 / 17:40
1
answer

Login error while trying to upload Android Studio project to GitHub by IDE [closed]

I tried uploading my Android Studio project to GitHub, but it is giving me a login error. I have confirmed my login and password and they are correct. Does anyone know how to solve it? I searched on Google and did not find the solution. The mess...
asked by 08.04.2018 / 03:08
1
answer

Some libraries do not appear in the dependency lookup list

When we go into the Project Structure configuration menu, in the app configuration, and in Dependencies, we can add some libraries to a list or search. But it is not any library that appears. For example when I search for volleyball, it does not...
asked by 03.03.2018 / 05:24
2
answers

I can not use class R. in kotlin

I'm trying to learn kotlin , but I'm not able to import the class "R." no kotlin   Would anyone know to tell me what I'm doing wrong?     
asked by 03.01.2018 / 16:00
1
answer

Convert activity to fragments

Hello, I'm in need of a lot of help, I'm developing an application for my TCC, I've already assembled most of the features and now that I've been messing with the visual part I had problems, I wanted to use TabsLayouts, which use fragments from...
asked by 21.04.2017 / 23:47
1
answer

Alternative method to view.Menu *

I'm a beginner with Android programming and I'm following the book " Google Android " (2012) of the Code House . I came to a part where you should create "menus" using the functions found in android.view.menu * , and the expected result shou...
asked by 30.03.2017 / 01:21
1
answer

Create directory and add files for later browsing on android

I'm new to the development area. mobile, I'm developing a simple app that uses the Tesseract-OCR library in Android Studio and I came across the following situation: I need to store some files in android for a query later. How and when...
asked by 31.03.2017 / 01:46
1
answer

Internalization file, how to create it? [duplicate]

Good afternoon, does anyone know how to create the internalization file on Android? I want to create a strings.xml (en), thank you.     
asked by 31.03.2017 / 22:01