Questions tagged as 'android-studio'

0
answers

How to move an object in a certain direction

Hi, I want to create the effect of throwing an object, in this case a circle that is drawn in the canvas . The problem is that I do not understand how to identify where to touch on the screen and move the circle in that direction. My final...
asked by 13.02.2018 / 17:43
0
answers

Error customizing a google maps marker

I thus define the marker with an asset vector taken from the library of the Android Studio itself. mMap.addMarker(new MarkerOptions() .position(agentepos) .title("Agente " + agentes.getMovil()) .sni...
asked by 03.05.2018 / 23:04
0
answers

Android studio does not allow me to emulate

I am using Android Studio in a virtual machine vmware , the machine I have configured it as in some tutorials indicated with the option in the processor Virtualize Intel VT -x/EPT or AMD-V/RVI . I have installed version 3...
asked by 24.01.2018 / 13:57
3
answers

"No view found for id" error when trying to open a Fragment on android

I have a problem trying to load a fragment, I use a navigation drawer, where I have different options: When I click on the Facebook tab, it has to open a fragment, the prolema is that when I click on the option the application closes, the err...
asked by 26.12.2017 / 19:37
1
answer

How to save the state of a switch in a fragment? Android

I've been working on an app that in fragment has switch and mark them subscribe to the user in a few topics in Firebase but when you reload the fragment the switch return to their state initial. Here I leave th...
asked by 26.02.2018 / 22:04
2
answers

Error using AlarmManager and BroadcastReceiver

The goal is that after x time, in this case 10s, I start to put the call from the number x in vibration mode. When I do not call the initProcess () method, everything works OK. But when I call it, this error appears in the Logcat: 02-22 21:05:...
asked by 23.02.2018 / 03:14
1
answer

Why this error: required java.lang.string found int (Android Studio)?

I have a table in sqlite with an integer field called Tipo , it happens that according to the type number certain options will be shown to the user, so I made a switch but it marks the error in the number of case of switch...
asked by 20.08.2018 / 19:09
1
answer

how to start a service when starting the device?

I need to start a service when the device starts up. I have searched the Internet and I have implemented what is necessary, but I get an error and I can not solve it, try not to start a service but an activity and it works then I do not know wha...
asked by 26.09.2017 / 17:00
2
answers

Files generated by executions in Android-studio

I would like to know which files of an android studio project are generated in the execution automatically and therefore are not necessary to import the project into another computer.     
asked by 04.07.2017 / 08:09
2
answers

removeView () AlertDialog on Android

I'm trying to show a personalized list within an alertDialog, everything goes well until the user clicks on an item followed by the alertDialog is closed and when I want to show the alertDialog again I get this error: The specified child alrea...
asked by 16.05.2017 / 19:07