Questions tagged as 'android'

1
answer

Android with external barcode reader

Hello, I have a screen with fields for typing and a specific field where I will use the external barcode reader. The problem is that the scanner turns off the virtual keyboard. Any ideas on how to leave both assets?     
asked by 28.05.2014 / 19:41
1
answer

Go from Main Activity to Fragment

I'm building an app on Android and it will have among the various activities a fragment for user profile. The problem is that, from the selection of the profile, you need to go from the main activity to the fragment. But I'm having trouble wi...
asked by 27.11.2018 / 12:26
2
answers

How to inflate a button inside a ListView Item?

I need to put a button inside an item in a ListView to look like the image below: But I'm doing everything dynamically, I get a vector with data from the database and I fill in the ListView rows. Does anyone know how to insert a button for...
asked by 31.08.2015 / 17:57
1
answer

Is there anything wrong with this code that sends a String to the server?

Because it is giving nullPointerException. I use the same OutPutStream to send to the server? public void envia(String minhastring) { HttpURLConnection conn = null; URL url = null; try { url = new URL( "htt...
asked by 01.09.2015 / 16:16
3
answers

ProgressBar does not change color

I have this problem of changing color. Code: <ProgressBar android:layout_width="wrap_content" android:layout_height="wrap_content" android:indeterminateTint="#00bfff"/> It appears that it has changed col...
asked by 04.09.2015 / 16:15
2
answers

Cancel AsyncTask when choosing another menu item with Navigation Drawer

The Problem I'm developing an app that has a side navigation menu ( Navigation Drawer ) as shown in the figure below. Uploading some items from this menu requires an Internet request. Here everything works perfectly. When the m...
asked by 04.09.2015 / 13:15
1
answer

Update ListView

When I click on my ListView, I open a dialog with 3 buttons (Edit, Delete and Back). When I click delete, I would like to have the ListView updated. When should I do this? public class Relacao_cliente extends Activity { private static final C...
asked by 04.08.2014 / 01:02
1
answer

Activity does not open

Well, I created two Activity's when I clicked on the first button and it should open the second with information received from the first one. But is not that what happens, where did I go wrong? using System; using Android.App; using Android....
asked by 04.08.2014 / 03:43
1
answer

How to make only one user access to activity?

I need your help because I'm having a hard time making only one user access to a certain activity. Ex: I am developing an App where settings screen only I will have access with my user, no other. I want to leave this set up in code just my us...
asked by 07.11.2018 / 11:57
1
answer

Failed to use the Retrofit library in Android Studio

Following the tutorial below, link What about the use of the Retrofit library , for testing, I've created: A Activity that I called retrofit and a BUTTON on it package carcleo.com.radiosingular; import android.support.v7.app...
asked by 17.12.2018 / 17:25