Questions tagged as 'android'

2
answers

the notifyDataSetChanged does not work with AsyncTask

I'm trying to load a list but every time I try to update the view of the recyclerview, I do not load the data, just load the first record, here I leave the code: public class LoadInfo extends AsyncTask<Void, People, Void> { private...
asked by 11.09.2017 / 12:20
0
answers

I can not import the compile library 'me.dm7.barcodescanner: zbar: 1.9.8' for the Bar code

I want to import the library compile 'me.dm7.barcodescanner:zbar:1.9.8' to my app to use the barcode scanner, but I get the following error that does not let the project synchronize, I would like to thank everyone for some help!   ...
asked by 11.09.2017 / 19:13
1
answer

GPRC Error with Geocoder on Android

Good, someone knows because of a month here when using getFromLocation with Geocoder, it gives an IOException error: GRPC failed. The code is as follows: public String getCountryCode(Context context) { Geocoder geocoder = new Geocoder(c...
asked by 12.09.2017 / 10:52
1
answer

Do I need an intent to open Google Voice Search?

I need an intent to open Google voice search by a button, for that I need to place an Intent in MainActivity . Intent open3 = getPackageManager().getLaunchIntentForPackage("com.google.android.googlequicksearchbox.VoiceSearchActivity");...
asked by 12.09.2017 / 00:41
0
answers

Android application in unity based on native OpenCV

I have a little doubt that I hope you can solve it. I want to create an android application in unity. The application consists of activating the camera of the device and seeing it on the screen. For this I want to base on a c ++ native code b...
asked by 25.09.2017 / 15:47
1
answer

Animation on Samsungs

Hi guys and girls (of course) I have this animation in my project <?xml version="1.0" encoding="utf-8"?> <set xmlns:android="http://schemas.android.com/apk/res/android" android:shareInterpolator="false" > <rotate android:...
asked by 04.10.2017 / 00:13
2
answers

StripeTextUtils Android

Good afternoon! I am starting to develop in android in which they passed me a project, in the comes with a StripeText library and in one of the methods it marks me an error that can not use private classes from the aforementioned library. The...
asked by 18.09.2017 / 00:45
1
answer

Add action menu in a snippet, Android Studio

Good! I'm trying to add an action bar to a fragment, but I can not get it in the xml or java. This would be my action menu <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"...
asked by 08.10.2017 / 15:42
3
answers

Difference between id_name and R.id.id_name

I'm starting with android and I'd like to understand this difference. I notice that if I have a created "view" of name id_name, if I inspect id_name I see that this is a value of type int. However, if I want to use findViewById() , t...
asked by 08.10.2017 / 20:36
2
answers

Change language of Google maps on Android

I use the Google-maps object to show maps, my apps have the option to change the language of the app, what I can not find is how to make the google-maps view the names of the cities etc. appear in the specified language. It seems that by defa...
asked by 05.09.2017 / 22:37