Questions tagged as 'android'

0
answers

Remove focus flashing or set focus blinking at the start of the editText

I would like to change focus when starting an activity or delete it since it always gives focus to an edittext that I do not want <TextView android:id="@+id/textView" android:layout_width="0dp" android:layout_height="wrap_con...
asked by 11.04.2018 / 07:11
1
answer

Bottom navigation ViewPager Fragments android

I'm implementing a navigation with Bottom navigation and ViewPage using Fragments, but I have a problem refreshing the information in the ViewPager. Each page of the viewpager shows a list and when you click on an item in the list, it sends i...
asked by 11.04.2018 / 00:32
0
answers

How to make a NumberPicker on Android that has 3 elements to select?

I need to make a NumberPicker that can be selected 3 numbers at a time, is thought to be to take the values of the blood glucose     
asked by 11.04.2018 / 03:24
1
answer

Limit what a ListView shows on Android

I have a realm database with 10 items, how do I make the adapter so that it only shows some items ListView ? For example, 3 or 4. I have this adapter: package bondi.developedsudaka.bondi.Adapters; import android.content.Context; impo...
asked by 10.04.2018 / 16:48
0
answers

How to configure the wifienterpriseconfig to connect to an EAP network that has a proxy?

If it is not by config wifienterprise please help me final WifiConfiguration conf = new WifiConfiguration(); wifiEnterpriseConfig = new WifiEnterpriseConfig(); conf.SSID = "\"" + networkSSID + "\""; // Please note the quotes....
asked by 09.04.2018 / 14:31
0
answers

java.lang.IllegalArgumentException: Failed to find configured root that contains /storage/emulated/0/test/app.apk

Hi, I have a problem using FileProvider, it gives me this exception:    java.lang.IllegalArgumentException: Failed to find set root   that contains /storage/emulated/0/test/app.apk This is part of my AndroidManifest.xml:                  ...
asked by 09.04.2018 / 09:04
0
answers

Is the populateViewHolder method used to receive data from the firebase database with the new Libraries?

I am building a project where I pass data to a cardview through firebase database, but the truth when building the adapter with the view holder I have the following problem protected void onStart () {         super.onStart ();         Firebas...
asked by 08.04.2018 / 13:15
0
answers

java.lang.IllegalAccessError: Method 'void android.support.v4.content.ContextCompat.' is inaccessible to class 'com.google.android.gms.iid.zzd'

Trying to add firebase analytics I find this problem: (I already read and try this solution stackoverflow in English and it does not solve me)    Error log:       Task exception on worker thread: java.lang.IllegalAccessError: Method 'voi...
asked by 09.04.2018 / 18:46
0
answers

openCVLibrary341: compileDebugJavaWithJavac

When I compile my android project using the OpenCV library, I get this error Execution failed for task ': openCVLibrary341: compileDebugJavaWithJavac'.     
asked by 09.04.2018 / 17:13
1
answer

how to set the Image.setImageResource from a string

I have this code and I would like to know how to do what I am trying to do public void SetImage(Cursor c){ c.moveToNext(); c.getString(12); im1.setImageResource( c.getString(12)); } I explain, in a database I have a...
asked by 08.04.2018 / 16:45