Questions tagged as 'android'

1
answer

Android Application Quits Unexpectedly

I followed the steps and just copied the programming from google's developer site. I made a button, it checks the connection to my network, through the IP and Port, when clicking the button, if it has a connection to the network, it shows a Toas...
asked by 30.12.2015 / 01:54
1
answer

How to put a scroll inside tabHost (asbas) on Android?

I have a code that creates tabs on the screen as needed, the problem is that when I create many tabs they will be "squeezed" on the screen and cut the rest on the tabs. I'm doing this all via Java, without using xml so I'm not able to make my sc...
asked by 09.11.2015 / 15:28
0
answers

Error org.xmlpull.v1.XmlPullParserException: expected: START_TAG

Good evening guys! I'm developing an android application that should connect with a C # webservice, however I'm having some trouble connecting to my webservice. When I put the W3c webservice to test the connection works perfectly, but when I...
asked by 09.11.2015 / 02:48
0
answers

Capture event of the android power button with the screen closed

I need to capture the event of the power off button on the android, and cause it to be pressed a certain number of times, an activty appears above the screen to enter password. Pressed the power button 5x Create activity If this is not...
asked by 03.11.2015 / 19:20
1
answer

With this rule, how do I view the point closest to my location [closed]

Button button = (Button) convertView.findViewById(R.id.buttonComoChegar); button.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { String latitude = itemPosicao.getLatitude(); String...
asked by 03.11.2015 / 17:22
2
answers

AlertDialog button to confirm ERROR

My friends have a problem, I tried to understand the operation of AlertDialog, where the focus was to create two buttons to confirm the dialog. The code I'm using is this: import android.content.Context; import android.content.DialogInterface;...
asked by 06.07.2016 / 22:52
1
answer

Mark / Uncheck RadioButton Component in ExpandedListView

In a question I made here in StackOverflow a few days ago I was instructed to use the ExpendedListView component to render a dynamic list of items. After the implementation I saw that the items in the list were grouped correctly, but now I...
asked by 03.12.2015 / 05:45
0
answers

Searchable Activity with Recycler View

I have a Searchable Activity that is being used in two different activitys, but in the result that generates a Recycler View I would like to treat the click, to know what was the Generating Activity. But when I use the getLocalClassName () metho...
asked by 27.10.2015 / 13:13
0
answers

ListView, scrolling error

I created a custom listview and added 20 items, when I open the emulator, I can only "descend" to item 15, from there, the emulator stops working. Any suggestions?    E / InputEventReceiver: Exception dispatching input event. This error a...
asked by 27.10.2015 / 01:08
0
answers

How to work without Java.awt.image?

I need some help on using OCR on Android, all the libraries I've tried to use to convert image to Precise Text or a BufferedImage or Renderedimage, both of which are in the Java.awt.image library that does not is present on Android. The code has...
asked by 26.10.2015 / 20:45