Questions tagged as 'android'

1
answer

Set specific time in AlarmManager by TimePicker and DatePicker

I'm doing a test before implementing the actual application. I have a two-button application (Date and Time) and a button (Schedule). As soon as the user clicks the Date button, it opens a DatePicker so that it chooses the date. On time it's the...
asked by 27.05.2017 / 16:36
0
answers

Error trying to insert data into mobile database (Android SQLite)

I'm trying to insert 864 objects into the mobile database. I can insert up to 450, but then it throws an exception: System.Argumentexception: Busy. Does anyone have any idea what's going on?     
asked by 13.04.2017 / 15:28
0
answers

Android Alertdialog

Well, I'm developing an Android application and at the moment, I've encountered a problem for which I can not find a solution, I'll probably be doing something wrong, I hope someone can help me. The problem consists of the following: I have an a...
asked by 14.04.2017 / 16:49
1
answer

How to prevent a new instance of Activity from being created at each Intent

In my application I have a BroadCast that receives push notifications in background , this push currently opens an activity with the information of a request to be accepted, what happens is that if the same instant is...
asked by 28.08.2016 / 22:24
0
answers

Error installing IDE Android Studio

Always when I install android Studio this error appears: execution failed for task ':app:compileDebugAidi'. java.lang.IIIegalStateException:aidl is missing I've tried to update and it does not solve, I'd like to know how to fix it. Th...
asked by 17.05.2017 / 14:55
1
answer

How can I get a specific item from a listview and put it on another activity?

I am creating an app for my school students, where students will log in with their enrollment, the subjects will be placed in a listview and when the student clicks on a lisview item will be shown the grades in another activity. Note: Discipline...
asked by 29.05.2017 / 20:24
1
answer

How to call a method in the fragment through the listview adapter

I have a fragment that has a listView inside it and inside the lisview has a button. The button has to delete the listview item I've already done a method within the onactivitycreated, but it gives error of "Java lang null pointer" frag...
asked by 30.05.2017 / 02:21
0
answers

Identify character drawing - Canvas (Android)

I can already draw on the screen using DrawingView , as I show in the example: I would like to know if there is any library to identify the drawing and check if it is a character, and if possible give a percentage of similarity....
asked by 25.04.2017 / 16:19
1
answer

Can not solve symbol

I'm following the tutorial (Android Studio 2.3 Development Essentials) but giving this error    Can not solve symbol in this part of the code ConstraintLayout myLayout = (ConstraintLayout)findViewById(R.id.activity_motion_ev...
asked by 26.04.2017 / 05:13
1
answer

getView is not being called but getCount has items in ListView

I'm having a problem with a ListView that is not loading the values. This is my situation: I have an application that at one point opens a TabBar with 2 Fragments and inside one of these Fragments I have a ListView that I am trying to populat...
asked by 31.03.2017 / 21:00