Questions tagged as 'android'

1
answer

Gradle version error

Does anyone have any ideas how to resolve this error in Android Studio? Plugin is too old, please update to ANDROID_DAILY_OVERRIDE variable to ... error-gradle.PNG1055x716.59KBMyclasspathlookslikethis:classpath'com.android.tools.build:gra...
asked by 19.07.2016 / 18:45
2
answers

NullPointerException while deleting log

Good morning. I have a problem that I can not solve. I'm developing my first Android app and I'm going to stumble over this error, SQLite can not work with Context. I did some research and found no solution. I hope some charitable soul helps me...
asked by 12.07.2016 / 15:35
1
answer

Assign a color to the image added with "android: drawableLeft"

I have a case that I am using three images for each of my buttons, as shown below: ic_palette_black_36dp ic_palette_red_36dp ic_palette_blue_36dp Code: <Button android:id="@+id/btn" android:layout_width="wrap_content"...
asked by 26.08.2016 / 16:03
1
answer

How to reuse code from one activity to another?

I am creating an application in android studio where I have a menu, I am using this menu in several activities using "include", so in each activity I need to rewrite the functions of the menu buttons, how could I do a separate method that worked...
asked by 26.08.2016 / 01:13
1
answer

Open contact Whats via href

<a href="intent://send/. 19994549640#Intent;scheme=smsto;package=com.whatsapp;action=android.intent.action.SENDTO;end"> <img src="img/whatspng.png"> </a> I want to transform into a intent within Android...
asked by 28.08.2016 / 05:53
1
answer

Error SwipeLayout android java. When I put it, it gives an error in the application!

I'm having an error in this code in my Android application, it gives error: package fabiohcnobre.hotelcolonialdosnobres; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.net.Uri; import android.support...
asked by 25.08.2016 / 22:02
2
answers

Conflict when using Gson + Facebook API

Talk about it, all right? Has anyone used the Gson library in the same project where the SDK was used? The problem happened when I used the Facebook SDK to allow in-app login through the Facebook account. This routine also worked perfectly...
asked by 25.08.2016 / 22:33
1
answer

Icon gets small in notification

I have a simple notification, but the icon does not fill the whole part. I generated it through Android Asset and put each resolution in its respective folder in mipmap. Android 4.1 Notification Android5.0Notification Notificationnoti=new...
asked by 07.07.2016 / 01:55
1
answer

ListView Error with ArrayAdapter and Custom View

I want to make a product listing, where each line contains more than one information per line. The problem is that the app throws an exception (I believe) and closes when I click the button that would populate the list. I made a custom Vie...
asked by 06.07.2016 / 02:17
1
answer

How to open the file manager and click on a photo, change the src of an ImageView?

I'm developing an APP where it's possible to create an account, so I want to know how to do when clicking on ImageView, open the gallery of the smartphone, and when clicking on an image, the src of the ImagrView was changed to the photo that the...
asked by 04.07.2016 / 15:24