Questions tagged as 'android'

0
answers

Application icon in status bar [closed]

Dear, how can I leave the icon of my app in the status bar when it is running in the background? My app uses the MediaPlayer class to play streaming and I want to leave it in the status bar with an icon.     
asked by 04.08.2016 / 18:26
1
answer

What is the most efficient way to see a DB from android [closed]

I would like to know what would be the most efficient way to create an app for android that the only thing you do is consult a database on a computer, the computer has an inventory software made with Visual Fox Pro, the database of the software...
asked by 25.06.2016 / 18:13
1
answer

Error with class TimePickerDialoG: Can not resolve constructor 'TimePickerDialog (android.content.context, int, int, boolean)'

Having the following code, I have solved a problem. app class import android.app.Application; import android.content.Context; public class App extends Application { private static Application myApplication; public static Applicat...
asked by 22.06.2016 / 00:38
2
answers

TextView inside FirebaseListAdapter

When declaring a FirebaseListAdapter you can use a view to show the data within the ListView to which the adapter is set. But when placing a TextView for example here. Firebase cursosRef = rootRef.child("NRC"); FirebaseListAdapter&l...
asked by 26.05.2016 / 00:18
0
answers

Partial blocking of Progress Dialog UI [closed]

I needed to know if there is any way to not block the entire UI when I make a Progress Dialog appear, since in my app I have a footer which I want to be active but the rest of the UI in the background. Thank you very much already.     
asked by 27.05.2016 / 18:19
2
answers

Expand background image completely in a RelativeLayout

I want an image to completely occupy the background of the entire screen and for that I use the attribute background of the RelativeLayout principal The layout corresponding to Activity is the following: <?xml version=...
asked by 30.05.2016 / 14:04
0
answers

Share data between Android projects

Good afternoon! I have a question-doubt I hope you can help me. They know if there is any way to share variable data to other projects or between different modules that belong to a project. That is, I have my main project and that variable wh...
asked by 22.11.2017 / 05:03
1
answer

Error deleting record in SqlLite

I am new to programming and I have many doubts. The first thing is that I'm doing a registry of people, I have the DB in sqlite, I have already managed to save, search and delete the information, this I show in a listview , but when...
asked by 22.11.2017 / 08:03
3
answers

I try to reduce a string of characters obtained by means of a QR reader

This is the code with which I try to reduce it String valor; et1 = (EditText) findViewById(R.id.etCodigoAddProducto); String valor=et1.getText().toString(); et1.setText(valor.substring(20,34)); The logcat tells me that m...
asked by 23.11.2017 / 22:24
1
answer

Library AgendaCalendarView

I am using the library already mentioned, what happens is that I want to bring the id of the event that is selected, for that it has its procedure @Override public void onEventSelected(CalendarEvent calendarEvent) { } That returns "titl...
asked by 04.05.2016 / 15:19