Questions tagged as 'android-activity'

1
answer

Is it possible to have native content (layouts, classes) in a hybrid application?

Do I need to run some native Android layouts and classes in my Ionic project is there any plugins?     
asked by 23.10.2017 / 23:36
0
answers

Change app background in "recent apps"

How to change the background of the application when you click the square button (recent applications)? I already researched and some indicated using onPause and onStart to change the background using getWindow().setFlags(Wind...
asked by 17.04.2017 / 18:33
1
answer

I need to create an intent within another intent

I created an APP Widget with 3 buttons. This section of code assigns the button functions: for (int i = 0; i < N; i++) { int appWidgetId = appWidgetIds[i]; RemoteViews views = new RemoteViews(context.getPackageName(), R.l...
asked by 19.05.2017 / 19:32
1
answer

Fragment being used by two different activties

I have a fragment that is inflating a recycler view, so far so good. The problem is that this fragment needs to inflate in two different navigation drawer, and at the time of casting, I can only cast one. Is there any way to cast it, to ident...
asked by 31.08.2016 / 03:01
1
answer

Activity with background drawing

Good morning! Friends, I need a light to carry out the development of an Activity with the following layout, as below. The area in the orange color should be drawn programmatically according to the screen size of the device. In th...
asked by 28.09.2016 / 14:48
4
answers

Calling GridView event in Activity

I have a GridView adapter and I have a ImageButton to delete the items. It is deleting correctly, however, every time an item is deleted I need to set the current quantity to a TextView that is in another Activity . I can n...
asked by 04.03.2015 / 18:30
2
answers

EditText without Focus by Activity

Is there a command in Activity that prevents a EditText from receiving focus, even with the user clicking? Or can this only be done by XML? I have a repository that is connected to a database and I need this repository to be pop...
asked by 03.08.2016 / 13:48
1
answer

How to compare data from different activities?

I'm developing a simple application just to increase my knowledge, and I want to know how I can do to compare data between activities ? Example :    Activity1: In this activity I have variable A that has value 1       Activity2: In this...
asked by 12.09.2017 / 09:09
2
answers

How to destroy my Activity?

I need to destroy my MainActivity when I leave the app. How can I do this?     
asked by 19.06.2016 / 03:00
1
answer

Implementing the Life Cycle of an Activity

Hello. I'm new to Android Development and would like to better understand how to build more robust applications for this platform. I understand how the life cycle of a Activity works but I wanted to understand how to structure my applicat...
asked by 08.10.2018 / 09:49