Questions tagged as 'android'

1
answer

How do I send data to a socket server that was already started inside an AsyncTask?

I have already been able to connect to the server by the application, receive and display the data sent by it. There are also no problems sending messages to the server. The problem is: once the connection is established, capture data from an e...
asked by 08.01.2017 / 02:59
1
answer

Error while listing SQLite data

I am making a listing of the information contained in my SQLite database However, sometimes I get the following error:    java.lang.ArrayIndexOutOfBoundsException: length = 13; index = 1401 The intriguing that this only occurs from tim...
asked by 26.01.2017 / 20:53
1
answer

Error while running the Android Studio emulator

I have a problem when emulating a device in android studio. When I try the following error occurs:    15:28:24 FileNotFoundException:   /home/henrique/.android/avd/3_2_HVGA_slider_ADP1_API_17.ini (File   or directory not found) Aftercrea...
asked by 18.12.2016 / 19:36
1
answer

Alternative to the obsolete onCreateDialog () and showDialog () methods of Activity?

I would like to know but the funny thing is that I performed here and it worked fine even though it is obsolete. What should I do? private Button botao; static final int DATE_DIALOG_ID = 0; @Override public void onCreate(Bundle savedInstanc...
asked by 19.12.2016 / 00:57
1
answer

How, using java, leave bold parts of a TextView?

I would like to know how to make a particular part of a text that will be displayed in a TEXTVIEW appear in bold: Iwouldlikethedisplayedtexttolooklikethis:Totalvalue=>R$1100.Activity: package genesysgeneration.stackall; import andro...
asked by 11.02.2017 / 21:51
1
answer

Help to solve error android studio

I'm having trouble with an error in android studio. From what I entedi, when I run the project, a "certain partition is resized" to a larger size or occupy a larger space. I tried to figure out how to solve it, but it did not work. Despite the e...
asked by 09.12.2016 / 14:40
1
answer

java.lang.ClassCastException error when using getSerializable () in API 16 [closed]

I have 2 emulators, Nexus 5 API 23 and Nexus One API 16. In Nexus 5 the program runs right, in the Nexus One the crash program and the error it gives is Caused by: java.lang.ClassCastException: java.lang.Object[] cannot be cast to int[][]...
asked by 16.12.2016 / 01:05
1
answer

Remove selected item bottombar (Lib Roughike)

I have an application that uses NavigationView and BottomBar, I'm having a hard time removing the bootloader item selection when I select a navigationView item, I'm using the Roughike Library link . I tried to use: // Remove item selected...
asked by 16.12.2016 / 11:18
1
answer

Element fixed to the top of the keyboard

I created a RelativeLayout with property match_parent at the time so I can fill the entire screen. Inside it I insert a LinearLayout with property alignParentBottom having value true to fix the element in the f...
asked by 19.12.2016 / 19:16
1
answer

Listview Adapter problems with whitespace

I am creating a listView with adpater and I have a problem, I needed to add an image in the middle of the list to be in the direct corner, this image is just an arrow. how can I solve it, it takes up all the screen space even though I define the...
asked by 09.12.2016 / 17:23