Questions tagged as 'android'

1
answer

Error while completing app created in Android Studio

When you enter a ImageView , and try to run the app on the emulator, it displays the following message on the screen: **com.android.phone has stopped** , plus this message disappears and it executes normally. But when I run on the...
asked by 06.06.2018 / 16:54
0
answers

Adapting to notifications

Based on some answers found in this site I adapted a code to get notifications at a certain time if someone can finalize this code and help me to activate the notifications Screen on which to call the notification: public class EscolhaLuzCa...
asked by 07.06.2018 / 01:45
0
answers

How to paste an excel list into android studio and stay organized with line breaks?

List in excel CityAfonsoBezerraAlexandriaAlexandriaAlminoAfonsoAltodoRodriguesAngicosAngicosApodiApodiHowtodothisinxml As a large list, and I want for more than 2 columns, I can not put one by one, but rather paste with columns.     
asked by 12.06.2018 / 04:18
1
answer

App default color

Hello, I need to find how to set the default color of the applications. It would not be the color of background or font, it would be the color of the app itself. For example: in LED configurations, you have the option to show the led accor...
asked by 11.06.2018 / 16:52
0
answers

What am I doing wrong when using LET (Kotlin)?

I'm using retrofit and in onReaponse, when I try to get body information with (Let), the internal code does not execute. response?.body()?.let { Log.i("Info", "Cidades: " + it.size) } If you try like this, it also does not work: respons...
asked by 09.07.2018 / 15:14
0
answers

Industry problem setImageResource

Hello, I have a project that I draw drawable images for a ListView, the problem is that when I run the project does not appear the images seated, can anyone help me to find the error? LAYOUT main_activity <ListView android:id="@+id/l...
asked by 31.05.2018 / 20:22
0
answers

CRUD Android doubts

Good afternoon I have 3 questions about a crud I made in my app. 1 I did a field search and it looks like it does not pick up any phone in the j7 line and I wanted to know if anyone can tell me why 2 Crud needs you to put something in Mani...
asked by 29.05.2018 / 21:09
0
answers

Android - How to get Extras in an InnerFragment (Nested Fragment)?

How to get a Extra within Fragment nested in another Fragment? I have an Activity with the following Layout: Activity (que infla um){ //Aqui a activity infla 3 Fragments para criar um BottomNavigation Fragment (que infla um){...
asked by 16.06.2018 / 19:07
0
answers

How to receive messages from firebase console in android in the background?

I have an app that sends notifications from the firebase console and my notifications do not arrive on the phone when they are in the background but when they are in the foreground with the app open the notification arrives normally. I would app...
asked by 15.06.2018 / 13:47
0
answers

Example of Navigation Drawer

How do I add a Navigation Drawer to an Activity ? I looked at several sites but found the download projects only and did not explain how to do it.     
asked by 03.06.2018 / 16:09