Questions tagged as 'android'

1
answer

How to change TextView from a View in another View?

I'm facing the problem, below: I have 2 xml layout: list_single.xml and screen_authorization.xml I have 1 class: Authorization.class In the Authorization class I have: setContentView(R.layout.tela_autorizacao); But I want to change...
asked by 22.08.2014 / 16:09
1
answer

Pan and Zoom in ImageView

I need to implement Pan and Zoom movements in the same image. Does anyone know how I can do this?     
asked by 28.07.2014 / 14:34
1
answer

Pick up position of the cell. GPS

I have an application, where I need to get the coordinates of where the cell phone is when I open the registration form and then when I register, to store the 2 locations. How do I get the location of my cell phone?     
asked by 30.07.2014 / 17:55
1
answer

Distorted RelativeLayout on Tablet

Does anyone know if it's normal for an Android-made app to run when it's running on an Android-based tablet? Some of the ImageView of my application have been distorted, some got larger and some smaller, when in fact they are all from the s...
asked by 11.10.2014 / 05:08
1
answer

Spinner does not show selected item

I'm doing a private List states = new ArrayList (); I'm filling it correctly and displays the values in Spinner plus when I select it it changes size as if I had selected plus it does not display the content. Ex: correct would be spinner="SP"...
asked by 23.09.2014 / 14:25
1
answer

Saving object list to Android

I want to save this list (List) after exiting the application, and when I run the application again I want to retrieve the instance from the list that I had previously saved. private List<BluetoothDevice> listaDispositivoFavorito = new A...
asked by 24.09.2014 / 05:08
1
answer

How to disable all TextView in an Activity?

Is there any method that will disable all the controls of a particular activity in android?     
asked by 01.09.2014 / 19:43
1
answer

Which method fires when changing a value in the PreferenceActivity class?

I would like to capture the user-modified field in a class that inherits from PreferenceActivity. I tried unsuccessfully to override: onContentChanged () and onActivityResult.     
asked by 02.09.2014 / 15:06
1
answer

Add the admob in a navigation drawer layout

I want to put the advertisement in the activity footer, but it is at the top overlapping a list: <FrameLayout android:id="@+id/container" android:layout_width="match_parent" android:layout_height="match_parent" /> <Lis...
asked by 03.09.2014 / 18:10
1
answer

AsyncTask aborted during execution does not call any of the post-doInBackground () methods

When I cancel my AsyncTask running, it does not update the mAsyncTaskEstaFinalizada flag. Does anyone know what can it be? When I put breakpoints in methods onCancelled() , onCancelled(resultado) and onPostExecute...
asked by 22.05.2014 / 20:52