Questions tagged as 'android-activity'

1
answer

Why serialize object to send in another Activity?

What is the explanation for serializing the object either using the serializable or Parcelable implementation. I know this serves to create a new instance of the object in the other activity, but why "can not" use the same instance...
asked by 20.08.2015 / 00:35
1
answer

What's the difference between AppCompatActivity and Activity?

What's the difference between AppCompatActivity and Activity ? From which version did AppCompatActivity be added to Android ?
asked by 18.03.2016 / 11:04
1
answer

Click the button and open another Activity

I'm developing an application in JAVA, and will have 2 options for the person to choose, I want it when I press 1 of the 2 buttons open a new Activity in the application, Can someone please tell me the code for this? I'm using Android Studio.  ...
asked by 15.03.2017 / 22:29
1
answer

What is the difference between Activity and View on Android?

What's the difference between Activity and View on Android?     
asked by 17.02.2017 / 02:53
1
answer

Make two different classes communicate

I'm making an Android application that uses time and date selectors (DatePicker and TimePicker), which are displayed in the form of fragments. When the user sets the desired time, I need it to be passed from the selector fragment to the main win...
asked by 23.04.2014 / 20:21
1
answer

Make URL open in the same Activity

I'm creating a WebView for Android. When I load the App, the imported page works fine, but when I click on some link of the page, that same link opens in another browser.
asked by 18.08.2014 / 15:50
2
answers

How to remove ProgressBar margins?

I added a ProgressBar simple to a LinearLayout , however I noticed that it generates a margin above and below, as it is in the image:    Thesetwowhitestripes,Itriedtoremoveanyway,theonlyonesthat"seem to eventually" work are the...
asked by 17.10.2016 / 16:58
3
answers

What is the base.OnCreate (bundle) and what is bundle?

I'm starting with Xamarin studio and wanted to know what this "base" class is for, this method onCreate() and what is bundle ?     
asked by 06.10.2016 / 19:40
1
answer

How to detect if the system supports hardware acceleration?

I currently do this so that one of my activity which requires acceleration to work: <application android:hardwareAccelerated="true"> <activity ... /> <activity android:hardwareAccelerated="false" /> </applic...
asked by 08.11.2016 / 16:29
2
answers

How to put an external source in my application?

I'm trying to put a custom font in my app, but I'm having a lot of errors. I have tried to use PixlUI, I have tried several different codes and always the error, or the application runs, but crash (app stopped) . This is the code I'm try...
asked by 14.06.2014 / 00:20