Questions tagged as 'android'

1
answer

WebView - Error loading some Web's

When I put this link: link What is a web that allows you to update the online text in my application without having to edit the App. But I always get an error: "We are trying to connect to the server." if I use for example Google if i...
asked by 09.01.2017 / 21:16
1
answer

Get Active GPS on Android

I need to show a message on the screen when I get the GPS position. That is, when you find the position where we are, we can see this because in our notifications menu it sets Location defined by GPS, while when it does not have the position it...
asked by 04.11.2016 / 17:44
5
answers

Problems with accents and characters in JSON?

I am developing an application on android that gets data from a JSON that looks like this [{ "title": "Titulo", "image": "Imagen url", "op": "op", "autor": "Autor", "fecha": "Noviembre 15, 2016", "nota": "ejemplo de nota" }] The problem is...
asked by 16.11.2016 / 02:09
2
answers

Difference from? attr: with? android: attr / on Android

What is the difference between specifying values in the attributes using ?attr: or using ?android:attr/ For example to apply the color of the text as if it were a deactivated control (soft gray) Directly: android:textColor=...
asked by 02.11.2016 / 17:40
3
answers

Generate button board by code in Android Studio

I'm working on an android application and I need to create a board (made of buttons). I already generated the board from the code of my java class, but the problem is that the buttons go out of sight (they leave the screen). I have already tr...
asked by 08.09.2016 / 21:08
1
answer

You can force the application, take photo with flash and other without flash

I am developing an application which uses the camera to detect diseases or problems in the gums, use opencv for the detection process, the problem is to capture 2 different photos, that is, one with flash and another without flash and so that no...
asked by 03.09.2016 / 02:19
1
answer

Kill a thread on Android onBackPressed ()

I am trying to kill this thread as soon as I press the back button. But in "HiloConsumo" it does not pick up the reference of the thread new Thread("HiloConsumo") { public void run() { while (true) {...
asked by 17.05.2017 / 21:51
1
answer

Problem when scanning Wi-Fi networks on Android

I'm trying to scan the available WiFi networks. I just need a list with their SSID, but the application stops when it reaches this.wifilist = this.wifiManager.getScanResults(); I would appreciate if you throw me a little hand, I'm quite n...
asked by 17.05.2017 / 20:05
1
answer

Error getting names with apostrophes when using regex java android

I have a problem with this regex code to get text strings with apostrophes obtained through streaming. The code I use is this: public static Map<String, String> parseMetadata(String metaString) { Map<String, String> metadata =...
asked by 20.05.2017 / 03:23
2
answers

Scrolling through listview scroll delete edittext data

Good morning afternoons I have a listview that I fill with a custom adapter in which I have an edittext so that the user can put a quantity, the problem is when I have more than 5 rows in my listview and enter in the first one, and I scrol...
asked by 16.06.2016 / 21:39