Questions tagged as 'android-studio'

2
answers

Create intent with the id of a list

Good morning, I hope you can help me. I'm doing an internship on Android, and I'm stuck in a chapter about Activity and intents: I have a List with several elements (places). I open a dialogue box where I enter the id and I open VistaLugar, w...
asked by 18.04.2017 / 13:59
1
answer

Add watermark on Android using Glide

I have the code to add an image in an imageview: try { Glide.with(imagen.getContext()) .load(item.getIdImagen()) //.transform(new GestorImagenes(context, 90f)) .into(imagen);...
asked by 05.04.2017 / 22:04
1
answer

Problem with same Android Studio screens

I have a problem, two cell phones of the same screen size, only one has the button bar included in the screen, and it looks to the side. This is the screen where it looks bad if you can see this as a side run And this is the screen wher...
asked by 05.04.2017 / 18:47
1
answer

BluetoothDevice.ACTION_FOUND does not work for me

I have a bluetooth device discovery code. I get to the option BluetoothAdapter.ACTION_DISCOVERY_STARTED and BluetoothAdapter.ACTION_DISCOVERY_FINISHED but it does not discover devices having the device of another mobile device a...
asked by 06.04.2017 / 17:29
0
answers

How to change the date and time of the system from android studio [closed]

I need to modify the system date and time using an application in Android studio.     
asked by 12.04.2017 / 20:27
1
answer

Error loading Floating Actions Menu

Hello the error is that I follow the steps to add a Floating Actions Menu but when I am going to load it in the activity I get the following errors java.lang.NoSuchFieldError: FloatingActionButton_fab_colorNormal at com.getbase.floatingact...
asked by 24.04.2017 / 01:26
1
answer

Maps on android studio

Hi, can you enter an address in an edittext and see it in a mapview in android studio? I want to enter an address in an edittext and see it in a mapview, but I do not know if that is possible.     
asked by 15.05.2017 / 21:43
2
answers

Use Glide to load an image that is stored in internal storage

I'm trying to load an image from the internal memory using the Glide library but it seems impossible. imagePath="/storage/emulated/0/Pictures/IMG-20161029-WA0025.jpg" This is the simplest code but it does not work. public class MainActivi...
asked by 15.05.2017 / 06:08
1
answer

Tildes in API Google Maps android studio

I am using the Google Maps API in an application. I use Google's autocomplete and the streets come out with accents, but when I pass them to the url to get the distance, it does not return anything. This is the code: str= "Calle Doctor José...
asked by 09.04.2017 / 11:53
2
answers

how to make a cycle or loop that adds up an amount until it is positive

My doubt is like doing a cycle or loop that adds up a quantity hasta que sea positiva Example: -870+360 = -510 -510+360= -150 -150+360 = 210 and only shows the positive result ie 210 in the example     
asked by 08.04.2017 / 23:27