Questions tagged as 'android-activity'

0
answers

Problem calling Class Activitity

I have a class I want to call another class by clicking on one of the snippets, but it is not responding when calling the other activity gives an error in the app and application stops working. I have the following classes the first where is the...
asked by 15.02.2018 / 13:06
0
answers

Android application closes when performing calculation

I'm making an app that has a very specific medical calculator. In the ADL, the calculation appears divinely well. On real devices, it gives error and the application is closed. Can anyone help me there? CalcActivity: package unicatolic...
asked by 15.01.2018 / 23:39
0
answers

How to open a screen with navigation drawer from a button?

I'm developing my TCC and I do not have much knowledge on Android yet, but following some tutorials I was able to put together a basic app. But I can not and I have no idea how to open a screen with navigatiodrawer after clicking the "Login" but...
asked by 12.11.2017 / 20:02
0
answers

How to solve the "app has stopped"?

This is the following, I am putting an app to my TCC and suddenly another problem, I made a login screen, a registration, another to recover the password and finally one that the user can edit your password. It happens that when I click on regis...
asked by 13.11.2017 / 18:31
0
answers

Leave activity "darkened" when I click and open a listview on top of the activity

I have an activity with items (recyclerView), when I click on an item, I make a listView appear on top using setVisible (VISIBLE). I want when the listview appears, the activity below becomes darker. This is exactly what happens when you schedul...
asked by 19.10.2017 / 18:34
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

How popular is AlertDialog in Android Studio?

I'm taking a hit here from Java and Android Studio. I've already created an Activity + DialogFragment, the location information does not change from the Activity screen to the DialogFragment! Now I'm trying to make an AlertDialog within...
asked by 14.06.2017 / 20:10
1
answer

How to prevent a new instance of Activity from being created at each Intent

In my application I have a BroadCast that receives push notifications in background , this push currently opens an activity with the information of a request to be accepted, what happens is that if the same instant is...
asked by 28.08.2016 / 22:24
1
answer

How do I change the activity after logging in with facebook?

After the loginfacebook (fragment) I would like to change the activity, for example to register, how do I? public class LoginFacebook extends Fragment { private LoginButton loginButton; private CallbackManager callbackManager; private Access...
asked by 29.08.2016 / 20:59
0
answers

setOnItemClickListener not working when clicking on a row in Listview [closed]

I'm a beginner developing android, and I came across a problem I can not solve. Well, I put a listview within a view_pager ( content_main ) that is included in activity_main . When I click on an item in the list, it will cal...
asked by 29.10.2016 / 02:12