Questions tagged as 'android-activity'

2
answers

ListView does not appear in the emulator

I'm developing an application in Android Studio and trying to use a ListView, but when I run the project, the list does not appear in the emulator! XML CODE <?xml version="1.0" encoding="utf-8"?> <RelativeLayout xmlns:android="ht...
asked by 07.11.2016 / 16:50
1
answer

How do I display the data in an EditText of an Activity in another Activity?

package com.example.alinesilvagonzaga.teste; import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.text.Editable; import android.view.View; import android.widget.Button; import a...
asked by 27.11.2016 / 20:49
2
answers

Pass data from one Activity to another without starting it?

I'm creating an Android App, I need to pass data of type String from the first activity (when started), to a third activity. But without starting it. In case I take the user ID on the first screen and use it to register the message, implementing...
asked by 09.09.2016 / 02:39
1
answer

"Unfortunately, * my application * has stopped" in passing data to Activity

I am making an app that formats bibliographic references according to ABNT, but there is an error to pass the data entered by the user to the next activity , which displays the formatted data. Follow the codes and print with the error m...
asked by 01.02.2016 / 18:11
2
answers

Change the Bar Status to transparent in a Fragment within an Activity

I have a Activity which has a theme for its Status Bar, but it has an influence on Fragment to which I want another color in the Status Bar. Is there any way I can change the color of the Status Bar only when that Fragment...
asked by 27.07.2015 / 20:49
1
answer

Menu does not call Activity

My menu does not call Activity, I already did some tests and it does not work, I do not know what else to do. Can anyone help me? package com.chl.infotrans.infotrans; import android.content.Intent; import android.os.Build; import android.o...
asked by 20.05.2015 / 00:47
2
answers

Problems saving SQLite data - Android

I'm trying to save the data in the SQLite database from a form in my app, but when I click the save button, the app closes and the following error is shown. Android Studio points to the error for this code snippet aluno.setName (String.va...
asked by 18.12.2018 / 15:57
1
answer

Opening an activity with a button

I'm having a problem opening my activity in various forums and have not found the answer. I have the activity "TelaDeLogin" and the activity "Feed", and already tried to open in several ways, here is the button xml code: <Button and...
asked by 10.07.2018 / 17:54
1
answer

Error opening a new Activity on mobile - Android Studio

Good morning everyone !!! So I'm new to programming for Android, I happen to have created 3 screens: Home Categories Attitude The main one is just for it to go either in Categories or Exit. The category he will choose in which of t...
asked by 19.07.2018 / 17:43
1
answer

How do I send multiple values to a single Activity

Good morning, I have the following situation: I have 4 screens (Activity), they are: MainActivity, DisiplinaActivity, AssessmentActivity, and Final ResultActivity. The point is, the data collected from the DisiplinaActivity and Evaluati...
asked by 28.05.2018 / 14:22