Questions tagged as 'android-studio'

1
answer

Is there a difference between "View v" and "View view" in Android studio?

When I do the methods to switch between screens: public void nombreMetodo (View v){ Intent uno = new Intent (this, nombreJava.class); startActivity (uno); } Whenever I do the "public void nombreMetodo (View v)" when writing...
asked by 01.10.2017 / 22:44
1
answer

How to apply different styles to items in a ListView?

I am making my application in which I must work with phone calls and messages, which are stored in a database and are returned through AssyncTask, what I need to achieve is that the same list show both queries, I managed to do it but now how can...
asked by 24.09.2017 / 21:12
1
answer

Navigator Drawer on fragments

I am using a navigation drawer and in a fragment I have something like a menu, with different buttons which when pressing each one of those buttons takes you to a fragment with different content, to achieve this I put the code below, What happen...
asked by 04.10.2017 / 06:30
0
answers

Manifest merger failed with multiple errors, see logs

Hello friends some time ago I programmed an app which I am resuming now after 1 year but has changed the version of the gradle 3.3 and the android studio 2.3.3 and I think that is why this is giving me problems when synchronizing my application....
asked by 18.10.2017 / 16:26
0
answers

Wallpaper gif Android studio

I have this code: import android.graphics.Canvas; import android.graphics.Movie; import android.os.Handler; import android.os.SystemClock; import android.service.wallpaper.WallpaperService; import android.util.Log; import android.view.SurfaceH...
asked by 23.09.2017 / 05:36
1
answer

Display bookmarks in google map v3 on android stored in MySQL

I want to know in a MYSQL database, where I have saved the coordinates, latitude and longitude. Use these values and by means of a web service show markadores in a google map v3 in android studio , I followed this t...
asked by 20.09.2017 / 18:14
1
answer

Android studio: Avoid centering controls within a LinearLayout (Horizontal) when there is more than one

I have this scenario As you can see the control TextView with text Description is centered vertically with respect to the control Multiline Text . This happens automatically when I add the second control. My intention...
asked by 21.09.2017 / 20:53
1
answer

Error in: compile 'com.google.android.gms: play-services-location: 8.4.0'

Issues this error when adding the package compile 'com.google.android.gms: play-services-location: 8.4.0' Error:Execution failed for task ':app:transformClassesWithJarMergingForDebug'.    com.android.build.api.transform.TransformExcept...
asked by 16.09.2017 / 23:34
1
answer

Send whole of a class to a Mainactivity

Good afternoon to the community. I need your help to solve a novice problem like me, but that has me stuck. In general, what I want is to send an entire data from a second class extended in BroacastReceiver to the main class Mainactivity....
asked by 28.09.2017 / 22:13
0
answers

gcm_defaultsenderid Error: Duplicate

Good afternoon! I'm working with a project which gives me the following error, and locate both files and do not know that the name of the resource gcm_defaultsenderid is in both, comment on the Strings but can not correct the error. I hope you c...
asked by 15.11.2017 / 23:32