Questions tagged as 'android-activity'

4
answers

Is it recommended to use more than one Activity in an Android project?

I always use multiple (in large project with web service and everything), is it ideal to use only one or is there no problem using multiple?     
asked by 23.06.2015 / 15:35
1
answer

Launch Exception in the onCreate of an Activity

I'm working on the development and refactoring of some Activity's that has similar behaviors in our projects, so to avoid code repetitions, for common functionalities, I've created some Activity's base, which are inherited by the o...
asked by 24.03.2015 / 19:59
1
answer

What is the best way for an Activity to call itself?

The app displays random questions following as a template with QuestionsActivity , ie the user chooses true or false and will only change the question ( textView ) and the screen design will remain the same. My questions are in As...
asked by 04.04.2015 / 03:26
2
answers

Android getIntent error

Hello, I have an application that I need to send data from a Activity to another Activity . I tested it in several ways however all failed, but in another project a code worked normally, but in my current one it did not. Can it b...
asked by 05.03.2015 / 14:01
2
answers

Error to call Activity

I'm having trouble calling another activity . Here is the code for Activity: @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_principal); } public void entr...
asked by 23.09.2014 / 14:57
2
answers

Problems with setOnItemClickListener [closed]

I'm trying to run this Activity as main, but the application does not even run on the phone. The error points to the following lines of code: FormularioHelper helper = new FormularioHelper(activity); this.campoNome = activity.findViewById(...
asked by 27.12.2018 / 15:33
0
answers

Apk after updating, logout

My app every time I update a version in Google console, it automatically logs out after completing the update on my phone. This harms me because not all users in my app remember the password you typed. Is there anything I can do to update...
asked by 21.12.2018 / 18:18
0
answers

Android - How to make this animation with parallax effect (see animation)

I have a big question, how can I do this animation (see below) on Android?   WhathaveItried?<?xmlversion="1.0" encoding="utf-8"?> <android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/re...
asked by 30.11.2018 / 09:21
1
answer

Use the checkbox to go to an activity

Alright? I'm doing a project and I came across an issue I can not solve. I have already created an activity with login and registration for a user, however my business model accepts two types of users, men or women. For this I created a Radio...
asked by 07.10.2018 / 22:15
2
answers

Error opening another Activity

Error appearing: 2018-10-16 00:31:04.280 9433-9433/? E/AndroidRuntime: FATAL EXCEPTION: main Process: imobmobile.br.com.imobmobile, PID: 9433 java.lang.RuntimeException: Unable to start activity ComponentInfo{imobmobile.br.com.imobmobile/imobm...
asked by 16.10.2018 / 05:40