Questions tagged as 'android'

0
answers

ToggleButton changes when I move from fragment to another fragment (BottomNavigationView)

I'm using bottomnavigationview with fragment ... the problem is that I turn on the togglebutton in "on" and when I select another item in bottomnavigationview and I select again the item where the togglebutton is hosted it goes "off...
asked by 23.05.2018 / 01:00
0
answers

Store in Cache rest service using Volley

Hello friends I have a question, I'm using a rest service using the Volley library in android studio. Someone who can advise me to store the results in cache. Annex My classes: REST service consumption public void LoadOrdenesAsignada...
asked by 22.05.2018 / 22:08
0
answers

Android spinner custom

I'm trying to make a custom Spinner on android. so I can add a white arrow (This is achieved with android: drawableEnd) but what I can not do is paint the right part of the spinner blue. The spinner is custom so android:id="@+id/text1" styl...
asked by 23.05.2018 / 10:21
0
answers

How do I use the queryForAll () method of OrmLite on Android?

I have created an entity, but at the time of doing the foreach it indicates that they are not the required types Dao dao; try { dao = getHelper().getPersonaDao(); for ( Persona persona:dao.queryForAll()){...
asked by 22.05.2018 / 13:11
1
answer

Do not insert SQlite data

What kind of colleagues do I try to insert from an Activity but it gives me these errors? What will it be? public class HelperSQLite extends SQLiteOpenHelper { public String TABLACLIENTE = "CREATE TABLE Cliente(RFC TEXT PRIMARY KEY, Nombre T...
asked by 22.05.2018 / 20:52
0
answers

Error Unparseable date: "00:00:00"

I am developing a app which uses a api that connects to my bd , where I try to pass an object that has a parameter of type Time which stores me an hour with the format hh:mm:ss 00:00:00 . So far I have no proble...
asked by 22.05.2018 / 21:36
0
answers

Java - Is it possible to inject html into a web with webView (Android)

I know that it is possible to inject CSS into a page (online) to modify after it finishes loading. I've already done it this way. @Override public void onPageFinished(WebView view, String url) { super.onPageFinished(view, url);...
asked by 22.05.2018 / 20:30
0
answers

How to set the proxy of a wifi in android 4.x?

This is the code. Type is an enum that contains two DHCP and PAC values. The problem is that this code tells me that the call requires android 21 and I need this to work on 18. Is there any way? Thanks in advance. private static WifiConfigurat...
asked by 23.05.2018 / 16:53
0
answers

Login Google on Fragment Android

Today I was trying to strengthen an app that I have doing a login with google, I did it as I said a tutorial with two activitys one login and another where they show you the mail data, such as your photo, name etc, what I wanted to do is to move...
asked by 21.05.2018 / 02:25
0
answers

Error closing select cursor with SQLite and changing fragments

I have a difficult problem to explain and that I can put code if you wish but I think it is better to comment as you can and give me opinion. I have an android application that works with several activities, but it contains a main one and in...
asked by 23.05.2018 / 15:19