Questions tagged as 'android-activity'

1
answer

Android - How to make clickable NavigationDrawer items?

I am very new to programming. I created a NavigationDrawer with the help of a tutorial. It looks like this: main_activity.xml: <?xml version="1.0" encoding="utf-8"?> <android.support.v4.widget.DrawerLayout xmlns:android="http://schema...
asked by 23.02.2017 / 22:32
2
answers

GoogleApiClient in fragments

The app in question has one main activity and two fragments. There are two information panels, one contains the address list and another shows a map showing the addresses of the list. The list is displayed in RecyclerView , co...
asked by 30.01.2017 / 22:42
1
answer

How to retrieve the state of a button with SharedPreferences in Android / Kotlin on multiple screens?

Friends, I have two activities, the first one I have a sound button on and off and the second I have some buttons like for example a button of name A and when clicked it should know what the sound button is in the first activity ... if in the fi...
asked by 30.11.2016 / 12:05
1
answer

Sending ArrayList and General value to another Activity

I'm creating an Activity, for example A and in it I have to add data from Launches (This class I Serialized), like name, type, etc ... and I'm also adding the updated general value on the screen and got the list, where I will list all releases a...
asked by 05.10.2016 / 22:32
0
answers

Error printing data in edittext

I'm stuck with a problem, I have to receive values in three radiogroups to do the calculation of plus 3 edittext along with the result of a method, the method works perfectly but the final calculation of all added items is not printed in edittex...
asked by 06.11.2016 / 23:14
1
answer

Pass data from an Activity to a Fragment

I need to pass the String result that is in HomeActivity to MapsFragment, but I do not know how to do it, I'm a beginner and I do not understand much about it. HomeActivy package mundosenai.mundosenai.com.mundosenai; import android.Manifes...
asked by 25.09.2016 / 01:47
2
answers

How to display a Call Activity when the device is locked and the display is off

I'm developing a Video and Voice app. What I need is to show an activity the call request when one user tries to call the other. I'm already using the Firebase Cloud Message to send push messages to the device, notifying them that they hav...
asked by 25.08.2016 / 15:10
1
answer

Activity Maps restarts whenever I minimize

Well, on android 4.2.1 is working, but on another device with android 4.2.2 it restarts, ie it does not save the state of the activity, this problem only appears with the activitys that I use map, in the other it works quietly . Below is the sta...
asked by 12.07.2016 / 01:58
0
answers

How to get the response of an activity called an ArrayAdapter class?

I have activity ActLevantamento , where I created a custom layout using a class inherited from ArrayAdapter , class AtributoArrayAdapter . In this custom layout, I have a button, and in calling this button I call the activit...
asked by 10.06.2016 / 23:35
1
answer

How to make dialog that accesses a view without using setContentView

I am creating a dialog with an EditText, and I need to get this value in another activity, without using the setContentView because I do not want to redirect to the xml of the dialog ... The following code: dialog_edittext.xml: <?xml ver...
asked by 12.06.2016 / 16:13