Questions tagged as 'android-activity'

1
answer

How do I leave my Activity on 2 plan executing a function? [duplicate]

My project is to put a WebView in the Activity and when I leave the application, and it stays in the background, updating from time to time the Activity so that the WebView Web site updates too. someone help me?     
asked by 15.08.2017 / 20:40
1
answer

Retrieve contact list name list in an android edit

Well, folks? I'm having a problem developing an app, because when I call the application's registration screen before I want to get the name and phone number of the selected contact and send it to the activity edit, however I can not retrieve th...
asked by 12.08.2017 / 16:00
1
answer

How to reference an object from one Activity to another?

Good evening, I'm developing a multi-button app, where you can drag a button and drop it to a certain place already defined in the application, and each button has to open another screen with a different animated image (GIF) that you have with t...
asked by 27.07.2017 / 03:07
1
answer

TextView ImageView ConstraintLayout Android [duplicate]

I am creating an app in android studio 2.3.3, but when putting an image using ImageView and a TextView it presented the following this view is not constrained.view <?xml version="1.0" encoding="utf-8"?> <android.support.constraint.C...
asked by 10.08.2017 / 22:52
2
answers

Passing data between Activity Android

Well, I'm making an app and I have a login screen that connects to the database from a web service, but I have a problem, I want to get the user id and user name to pass these Data for another Activity and I am not getting .. For when the person...
asked by 13.05.2016 / 20:43
1
answer

Passing a text to an EditText

I'm making an android app that reads a barcode. I saw a video on youtube that taught how to do and I replicated to be based and worked good. The problem was when I tried to put the return of the reading on a EditText . In video , the resu...
asked by 29.07.2017 / 05:19
0
answers

Receiving Null in GET in a Class on Android

I'm trying to pass information from a Class that is Activity and another that is a DialogFragment for an Extended Class to Activity. I get the JSON information correctly and in SET it passes the value, but in the other Class where the GET &am...
asked by 07.07.2017 / 16:55
2
answers

Null Object Reference when opening a Dialog Fragment

You are making a mistake in opening a Dialog Fragment in a other Activity using a method . ERROR:    07-06 11: 21: 25,145 18783-18783 / com.vuforia.samples.Books   E / AndroidRuntime: FATAL EXCEPTION: main                           ...
asked by 06.07.2017 / 16:28
0
answers

How to finish in past activity

Well, I have the following doubt, can you give finish() to fragment that have already passed? The case is as follows: I have some screens in sequence where I use for the buddy choose the snack, then he chooses the bread, clic...
asked by 12.06.2017 / 13:57
0
answers

I have a problem in CardView to pull in a layout in TabsAdapter

Hello, I can not pull my CardView. I use Tabs for page scrolling to get easier. Rather than just pulling a list of things using ReciclyerView, I pull the Layouts I've created. That said, my cardview on the list is populated, but when I go to...
asked by 01.06.2017 / 21:35