Questions tagged as 'android'

1
answer

Images not used in the android studio project are included in APK?

I'm usually not satisfied with the first image I put as background , be it activity, textView , button , etc. Even imageViews anyway. It happens that I leave them there in the project, not even using them, with the thought that at some p...
asked by 11.02.2017 / 20:21
1
answer

Update application every 5 seconds

Good evening. I need to make an application that does an HTTP request every 5 seconds and bring the result of the same one that is in Json format. Well, this part of the requisition and data collection I've already implemented using Retrof...
asked by 30.05.2016 / 01:23
4
answers

Problems installing Android Studio on Linux Fedora

A few days ago I tried to install the Android Studio editor on Fedora linux and I can not. I searched in some tutorials, sites, google and could not find a solution to deal with the error below:    ERROR: Can not start Android Studio \ nNo...
asked by 20.02.2014 / 22:05
2
answers

... on a null object reference

Hello, I'm at a time with this problem and I can not find a solution, I've already looked at thousands of topics and I still can not understand why this error appeared for me. Error java.lang.NullPointerException: Attempt to invoke virtua...
asked by 27.09.2017 / 05:48
2
answers

String deserialization

I got Retrofit the Drivers field from the following json: { "Drivers": [ { "DriverID": 0, "Latitude": -23.642276336, "Longitude": -46.634615118 }, { "DriverID": 1, "Latitude": -23.64227916, "Lo...
asked by 22.01.2016 / 16:22
2
answers

Error generating custom Listview

Hello, I'm trying to implement a custom ListView on Android, but I'm not getting it. It's something simple, I've done it before, but I can not see where I'm wrong. Adapter_Bluetooth.xml : <?xml version="1.0" encoding="utf-8"?&...
asked by 06.08.2015 / 15:56
1
answer

How do I create an event the moment someone types something in EditText? [closed]

I would like to create an event as the user is typing a word in my EditText , but I do not know how to access it.     
asked by 02.01.2017 / 23:45
2
answers

Compare using String.Contains () disregarding accents and case

I know the //historico e searchC são ArrayLists, no caso do case utilizei o //toUpperCase() para igualar, porém, em questão de acentos ele não retorna //nenhum valor, mesmo estando exatamente igual ao valor da linha do array int i = 0;...
asked by 13.04.2018 / 05:26
1
answer

How can I put a similar effect to CSS box-shadow on a layout in Android?

Eg: <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical" android:layout_marginTop="10dp" android:background="@drawable/bg_white" android:........ ? &g...
asked by 05.02.2015 / 03:15
1
answer

ip camera streaming

I need to make an app to connect to an ip camera the camera I have is    dcs-932l - d-link I need some tips, what to research or example. I tried with VideoURI I believe not from     
asked by 20.12.2014 / 17:52