Questions tagged as 'activity'

2
answers

How can I open another activity that is not the main activity?

I want to open from a notification the acitivity main and another depending on a parameter but I can only open the main one and when receiving notifications with the open app this closes the code is as follows. private void enviarNotificacion(...
asked by 17.04.2018 / 22:34
1
answer

Add Views in RelativeLayout

How about? I hope you can help me, I want to create a LinearLayout and a ScrollView within a RelativeLayout, I have an idea but the truth does not fit, I am somewhat confused about the dimensions MATCH_PARENT and WRAP_CONTENT, I attach an image...
asked by 05.06.2018 / 04:45
2
answers

Pass parameters between activities Android studio

I have the following problem, I have an application that has login, which uses username and rout to validate the entry. the variable rut I want to save it, to show it in another activity, which I choose in a menu within the application, in this...
asked by 07.06.2018 / 07:45
2
answers

Android Studio - end activity from IntentService

I have an activity that initiates an IntentService which verifies a code that I entered and if it is correct it sends me to a new activity always from the IntentService, then a new activity starts but the previous one I can not finish it because...
asked by 23.05.2018 / 16:09
2
answers

Problem NavigationDrawer + Tabbed Activity API19 (Not seen, in API 21 if)

I have an application that mixes a NavigationDrawer with a TabbedActivity and I have reduced the minimum SDK of my application to the API19 and I have the problem that in that API nothing appears on the bar, neither the menu button nor the title...
asked by 20.02.2018 / 12:18
1
answer

Avoid going back to the previous screen

I'm doing a game in Android Studio and at a certain moment I'm going to another screen. How can I say "block" that new screen to avoid going back? Thanks!     
asked by 10.03.2018 / 18:37
1
answer

Go from a fragment of the Drawer Navegation to another activity [closed]

Goodbye everyone, I have a huge problem, I created a Drawer Navigation Activity with their respective fragment and what I want to do is move from a fragment to an activity through a button. Thanks     
asked by 24.11.2017 / 07:46
1
answer

ProgressDialog does not work in Custom Listener

I have a custom Listener public interface CustomListener { void processDownload(boolean isSuccess,int process,int total); } And the ControllerRequest class where I use the listener , and I have the onProcessDownload method that wil...
asked by 08.11.2017 / 00:37
1
answer

Is it possible to use 2 Layout in 1 Activity, in Xamarin.Android VS2015?

protected override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); SetContentView(Resource.Layout.ListadoDeEstilos); SetContentView(Resource.Layout.DialogInput); Inicializar(...
asked by 04.09.2017 / 19:55
1
answer

Close an application on android

I'm doing an application on android, and when I've reached an activity, I want the user to press the backward key and not go back to the previous screen but go back to the phone's initial menu. The application would be like this: when enterin...
asked by 14.07.2017 / 18:04