Questions tagged as 'android-studio'

1
answer

Retrofit = Manipulating the response

Well, I'm asking for more help from friends, but I really can not understand the dynamics. Following tutorials and explanations here of the forum I am TRYING to use Retrofit but it is not working. I have the following JSON below,...
asked by 21.12.2018 / 11:27
1
answer

I can not notify Push via firebase

I'm trying to create an application that notifies through firebase and from what I researched I got to a part that I no longer want help to see if I'm doing it right and to correct my mistake. follow my Codes    MANIFEST <service andro...
asked by 15.12.2018 / 17:48
1
answer

How to make only one user access to activity?

I need your help because I'm having a hard time making only one user access to a certain activity. Ex: I am developing an App where settings screen only I will have access with my user, no other. I want to leave this set up in code just my us...
asked by 07.11.2018 / 11:57
1
answer

Failed to use the Retrofit library in Android Studio

Following the tutorial below, link What about the use of the Retrofit library , for testing, I've created: A Activity that I called retrofit and a BUTTON on it package carcleo.com.radiosingular; import android.support.v7.app...
asked by 17.12.2018 / 17:25
1
answer

Rename ImageView to Upload

Good morning, I would like to ask a question, my APP so far the guy takes a picture of the phone and stays in an ImageView (Ex: img1), I need to create a name defined by me in a variable example: 04102018_Foto1.jpg, would have some way so I c...
asked by 04.10.2018 / 16:56
2
answers

How to show data from a db in 3 tabbed fragments?

How to display the data obtained from a database in a tab with 3 fragments. I already get the data in the activity that is on the tab. My difficulty lies in playing this data on controls that are arranged in the 3 fragment. MainActivity p...
asked by 19.10.2018 / 07:09
2
answers

EditText vehicle mask

I would like to know how to create a mask in an EditText in ABC-1234 format. I'm trying something like the example below, but with no success yet. public abstract class PlacaVeiculoMask { public static String PLACA_MASK = "???-####"; publ...
asked by 21.08.2018 / 20:10
1
answer

Android Target and Android SDK not found or installed ... but everything is installed, how to solve?

I had to format my PC, Windows, and installed everything again: Java, Git, Python, Android Studio, Node, Ionic 3, Cordova, everything. And it was running before normal. Now I have this error, not being able to run my application Ionic 3 with...
asked by 07.08.2018 / 19:55
1
answer

How to solve the error adb.exe start-server 'failed - run manually if necessary

I'm having the error:    Unable to run 'adb': null   16:08 'C: \ Users \ User \ Desktop \ PI \ SDK \ platform-tools \ adb.exe   start-server 'failed - run manually if necessary By pressing the run button Android Studio does not show any d...
asked by 06.07.2018 / 16:20
1
answer

How does it work to dynamically put content making an Android application natively?

I'm seeing a bit of mobile development (Android), and I saw that the design is done using XML, and from what I've seen, it seems to have no loop tag, to repeat similar structures, and generate some content from dynamic form. How would you do...
asked by 06.09.2018 / 21:11