Questions tagged as 'android'

2
answers

Marker pass id to setOnInfoWindowClickListener

I'm trying to pass the value from the marker to the setOnInfoWindowClickListener, but I'm not sure what the best way for this is, can anyone help me? It even passes a value, but not the loop, that is, it is not passing the value of the marker by...
asked by 10.08.2016 / 14:28
2
answers

Problem with Hyper virtual emulator v

Hyper-v from my computer is active, and even then the error appears:    The emulator was not started because the hypervisor is not running, probably because hardware-assisted virtualization is not enabled.     
asked by 30.12.2016 / 22:45
1
answer

Configuring imagebutton in the listview

How can I configure buttons within the listview, knowing that it creates a button whenever I add an image and a textview in the string array public View getView(final int position, View convertView, ViewGroup parent) { LayoutInflate...
asked by 26.07.2016 / 12:48
1
answer

I played this style in drawable to have border in my EditText, it worked but I did not understand anything of it

I copied this code to give a border but I do not understand why it has three items, does anyone help me? <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <!-- mos...
asked by 29.11.2016 / 14:28
2
answers

How to set data correctly in Lisview?

Well, I'm getting a lot of asynchronous request on Android. I am requesting a list of states in JSON , via OkHttp , and transforming into ArrayList states to be able to set states in ListView . However, in all the ways I...
asked by 18.10.2016 / 03:01
2
answers

Ask the user if they really want to quit

I have the following code: public boolean onNavigationItemSelected(MenuItem item) { // Handle navigation view item clicks here. int id = item.getItemId(); if (id == R.id.nav_camera) { // Handle the camera action }...
asked by 12.12.2016 / 13:47
2
answers

How to fill TextText setText from an ArrayList?

I get an array with interest items and should set them to setText of a given TextView . I want all items in this array to appear on the screen, horizontally. In my layout xml, I just put 1 textView to get all the items that com...
asked by 14.12.2016 / 17:08
2
answers

How to generate a unique code for each device?

I need to make a draw and for this a unique code must be generated for each device. Even uninstalling and reinstalling the app, the generated code must always be the same. How do I fix this?     
asked by 11.07.2016 / 02:49
1
answer

Facebook authentication in an application using Azure

Good afternoon, I'm new here and I'm on a project to create a hybrid application (Android and IOS), we're in the beginning and do not understand Android programming - let's learn while we do the project - so far we have only defined we will use M...
asked by 22.06.2016 / 18:54
1
answer

Problems with android alarm

The idea is to send the user a notification every 24 hours. The user has a list and when he clicks he will add an alarm. If the current time is longer than the alarm time we will add 24 hours for it to just repeat on the next day and not i...
asked by 24.06.2016 / 17:24