Questions tagged as 'java'

2
answers

Glide, I get the error message: "java.lang.IllegalArgumentException: You must not call setTag () on a view Glide is targeting"

When trying to load an image using Glide , inside an ImageView, ensuring to have the path of the image in urlImage and the instance of the ImageView in imgZoom , this is my code: private View individual(LayoutInflater...
asked by 10.02.2016 / 04:32
5
answers

How do I compare two words from two different chains?

I just want to compare the first word of two strings if they do not matter or not ... Example: String1="No puedo comparar" String2="Si puedo comparar" I would have to give false since the SI and the NO are not equal. St...
asked by 06.10.2016 / 03:50
1
answer

How to detect in Android if the device changed the type of wifi network to data and know the name of the network?

How to detect in Android if the device changed the type of Wi-Fi network to data and know the name of the network? is that I need to get this information from the network to validate and execute a method.     
asked by 23.06.2016 / 03:43
2
answers

Problem when passing a long data to a service on Android

I try to pass a variable of type long to a service which is the time in which it is going to run but it marks me the following error 9-27 00:33:16.364 14153-15553/com.android.controlmovil E/AndroidRuntime: FATAL EXCEPTION: IntentService...
asked by 27.09.2016 / 07:27
1
answer

Control to show Cursor with android search engine

I have in my application a part where the user must select a contact from the list of contacts, I could and I managed to bring the list with the phone, like the following image: This here is a spinner, with a CURSOR as a data source, my...
asked by 19.10.2017 / 20:11
1
answer

Transitions of various android views

please I need help with transitions. in my activity_main2.xml I have two views one is a ImageView and another one FloatingActionButton what I want is that when I enter activity 2 from my activity 1 I do it with animation but...
asked by 23.03.2016 / 13:49
1
answer

Connect to MYSQL server

I am creating a small application to connect to my local MySQL server and make a DATABASES SHOW so I can fill a ComboBox with all the databases there are and based on that, fill in another combo with all the tables of that BD. But when I do t...
asked by 07.04.2018 / 21:10
1
answer

Hours at JDateChooser

I have 2 JDateChooser, when I do JDateChooser1.getDate returns the selected date with time 00:00:00 When I do JDateChooser2.getDate, it returns the selected date with the time when the selection was made. I need both JDateChooser to...
asked by 29.03.2018 / 03:19
1
answer

JPA entities are not saved correctly

I have the following entities, all related as follows: @Entity @Table(name = "site") public class Site extends BaseEntity { /** * Serial */ private static final long serialVersionUID = -6249200015501840399L; private Str...
asked by 22.12.2015 / 19:39
1
answer

Drawn of polylines in Google Maps Api

I have managed to trace the routes on the map, what I want to achieve is that the union between the polylines is rounded, or that there are no sharp cuts between strokes. Stroke achieved: Stroke to which you wish to arrive: public...
asked by 05.01.2017 / 01:38