Questions tagged as 'activity'

0
answers

Your application has stopped WebView

I have developed an application that consists of a Main Activity and 9 other activitys, 6 of these activitys only contain a WebView The problem: When you open one of these WebView activities, nothing happens, but when you open a WebView fo...
asked by 01.08.2018 / 19:42
0
answers

Go back from an activity to the selected fragment

I find myself doing an application in Android Studio and I get this problem that I will narrate in images: The code of the toolbar is in the problematic activity is: setSupportActionBar(toolbar); getSupportAction...
asked by 14.07.2018 / 03:23
1
answer

Fragment search containing ListView elements

I have a fragment called Praise which contains ListView elements. I want to implement a search bar of the existing elements in the ListView but I do not know how to do it, until now I have tried to implement with the searchView but I do not achi...
asked by 18.06.2018 / 05:10
0
answers

fill ListView from another Activity

I have a ListView and I want to fill it with data that comes from another activity I bring the data by the intent but I do not know how to change the position of the new element to enlarge the list. The .java of the first activity: public c...
asked by 29.05.2018 / 21:14
0
answers

How to pass the data from my TextViews from one RecyclerView to another activity?

I have an application with a recyclerview made with cardviews, and inside the cardview I have a textview where I store the likes that I give to each pet. The problem is that I can not get the connection between the adapter class and the class in...
asked by 25.04.2018 / 15:03
1
answer

How can I capture text entered in an editText and send it to another activity2 in another editText

I am doing a login and a registration form in case the person does not have an account. I need the person to register and by clicking on the register button the activity is launched with the user data and password that were entered in the reg...
asked by 22.04.2018 / 19:35
0
answers

How to make an item in the listview of eclipse open a "different activity"?

I am creating an android application in eclipse, which has the following listview, when pressing any of them I need you to send me to another activity This is the code that I have in my activity, try to make it with that switch but it does...
asked by 08.04.2018 / 01:01
2
answers

How to move from one fragment to another in a defined order in Android?

I have a MainActivity that contains a button, within that same Activity I have 3 fragments, the Fragment1 is the one that appears visible when I open the app, what I do now is this; //Controlamos las acciones de los botones flotantes @Override...
asked by 14.03.2018 / 14:00
0
answers

startActivityForResult does not work

I have the following problem on Android, I have an activity A that launches an Activity B, from activity B I want to add a contact through: Intent contactIntent = new Intent(ContactsContract.Intents.Insert.ACTION); contactIntent.set...
asked by 28.03.2018 / 21:46
2
answers

Error to show an Activity, elements stacked position 0,0

Good morning, I am starting to work with the AndroidStudio tool (I am a total beginner) and I have a small "error" (I really do not know what it is). My design is like this: But when emulating the application, it is shown in this way:...
asked by 12.09.2017 / 05:41