Questions tagged as 'android'

1
answer

Error in implementation WebService calculator

I'm setting up a calculator like Ricardo Lecheta's book for webservice understanding, but I have 2 errors caused by a bad DataInputStream conversion in the values that should be received, the following error occurred:    Error: (24, 3...
asked by 08.03.2017 / 14:54
0
answers

How to reproduce errors in android studio and where to start the investigation

I'm trying to reproduce this error below in apk but impossible to know where to start, see: android.view.InflateException: Binary XML file line #17: Error inflating class android.support.v7.view.menu.ExpandedMenuView at android.view.LayoutInfl...
asked by 10.03.2017 / 20:05
1
answer

How to create a ListView in a Navigation Drawer?

1 My goal is this: in place of these items that come by default in Navigation Drawer I would like to put a series of lists that will change as I create, delete and edit these lists. I tried to create an Adapter with an Array of Strings j...
asked by 02.03.2017 / 20:57
0
answers

Search Refinement in Android Search View

Personal i am new to the android world could you help me out indicating how to include these search refinement filters and sorting the text that is typed in the same searchview as it is presented in the Walmart application? The refinement screen...
asked by 20.04.2017 / 22:23
1
answer

How to make inserts in table creation in SQLite?

I would like to know how to do INSERT manuals in the DatabaseHelper class that extends SQLiteOpenHelper. public class DatabaseHelper extends SQLiteOpenHelper { private static final String BANCO_DADOS = "Agenda"; private static int VERSAO = 1;...
asked by 20.04.2017 / 17:32
0
answers

Error: Content-Length and stream length disagree

If you use a Log this way rescuing the body from response : Log.wtf(TAG,""+response.body().string()); Correctly prints the JSON value. Something in this format: {"error":true,"message":"Login failed. Incorrect credentials"} Bu...
asked by 20.04.2017 / 23:48
0
answers

Integrate Facebook Login into the application. Keytool error

Hello, I'm trying to integrate Facebook login into my application, so when the user signs up he can do it with Facebook. I have already seen several tutorials here - on the site - and on the internet of how it is done. But to get the hash key...
asked by 24.03.2017 / 13:05
1
answer

Load fragment using tablayout

I have some fragments with TableLayout , it's in that order: 1, 2, 3, 4, 5, 6 I used the viewPager.setOffscreenPageLimit(5) method when creating my viewPager . So far, okay, I do not want him to carry the fragments...
asked by 25.03.2017 / 20:43
1
answer

How to call a function inside another in Java for Android?

Every letter that the user types in EditText , invokes the function TextWatcher which leads to Text-to-speech . So if it writes 'c', the app returns a speech saying 'c'. if it then enters 'a', returns 'a'. The problem is tha...
asked by 28.03.2017 / 22:00
0
answers

Graph does not appear on the mobile screen

In developing an application, I am plotting a graph as the end result of user data entries. The main point is that, as I will present in the following code, I have a FOR that will plot each point based on the calculations already programmed....
asked by 29.03.2017 / 05:40