Questions tagged as 'activity'

2
answers

Activity is not displayed

Good morning, I am learning to program in java with the Android Studio tool ... I am trying to call another activity through a button but in the emulator, when I press the button, the application closes and the IDE gives me this error FATAL EX...
asked by 11.09.2017 / 01:42
3
answers

Android Studio: pass the value of an edittext to a textview of another activity

I want to pass the value that a user puts on an edittext to a textview that is in another activity (the textview is in the main one, and the edittext in the second). This code belongs to the second activity, where is the edittext where the us...
asked by 25.09.2017 / 14:27
1
answer

Use startActivity within a View in Kotlin Android

To open a activity from another activity use startActivity(Intent(this, SegundaActivity::class.java) But it's not like referring to the this when I want to launch it when I press a button ... in java I indicate it with Main...
asked by 14.05.2018 / 12:08
1
answer

Android Studio transfer objects between activities [closed]

Hi, I'm having a problem, and I do not know how to send an object to another activity. They told me that I could through the putExtras (), of the intent. But I could not     
asked by 09.03.2017 / 04:05
3
answers

Android studio- skip activity

I am making an application, more to learn from mistakes than anything else, and I needed help to achieve this: From the Main activty , I open activity2 , and from activity2 I open a activity3 , but I do not want the u...
asked by 09.03.2017 / 01:46
1
answer

Pass between activities, Fragments

I've been working with Activity and Fragments , of which I know how to move from one activity to another and from one fragment to another, ..... But how do I go from a fragment to an activity? Here I leave the code:) 1.- Move fro...
asked by 02.08.2018 / 23:50
2
answers

Sending String data between Activities, using them on onClick ()

I've been doing the sending of a string data to another activity is called a caculate and from that to history but it has not worked for me can someone tell me what the inconvenience will be. Thanks! the variables are declared String d; Strin...
asked by 21.09.2018 / 18:32
3
answers

Pass variable when clicking on a listView item to another activity [duplicated]

Good morning. I have this query because I am too new programming in Android Studio and I do not know where to go. I have a listView that I load with data from a database that I have on my PC and I obtain the data by a php file. That's ok, the...
asked by 22.05.2017 / 05:20
1
answer

How to pass a Listobject by Intent to another Activity?

Good morning, I have an application that I am developing in which I am trying to pass the adapter from RecyclerView by means of Intent to another Activity I do not know what I am doing wrong, annex code, before hand I apprec...
asked by 09.05.2017 / 18:25
2
answers

Pass data between activitys, sqlserver

I am doing a project in which I receive data from a database, and I have reached the point of being able to list them in a ListView, with a HashMap, but here I find that I do not know how to pass them to another activity, I explain a little....
asked by 30.04.2018 / 10:24