Questions tagged as 'android'

2
answers

Error opening emulator in Android Studio

I'm having an error here in Android Studio, when I debuggar the App in the emulator, it does not open and the following error appears:    "EMULATOR: ERROR: x86 emulation currently requires hardware acceleration! Please ensure Intel HAXM is...
asked by 25.09.2015 / 01:08
2
answers

MYSQL Android Security

I'm making a login system. But I'm in doubt: I connect to the database through PHP? I mean, would I just open the link and the server would perform the procedure? or do I directly from the application through the connector? If I do it by t...
asked by 24.09.2015 / 17:27
1
answer

android server

I'd like to know how apps like this , make a webservice available through Smartphone IP? Is there any Tomcat that runs on Android? or something that does that? Ps: Google has just shown me the Talking Tom Cat , for Tomcat Android!    ...
asked by 08.07.2015 / 04:46
1
answer

Force menu display in the action bar of cell phones with menu button

On Samsung-type phones that have the menu button, the action bar menu on android is not displayed, would you like to know if you can force it to display? My menu.xml looks like this: <menu xmlns:android="http://schemas.android.com/apk/re...
asked by 03.06.2015 / 16:49
1
answer

Call requires API level 21 (current min is 10) "when using getDrawable ()

When I try to compare the Drawable of an ImageButton with a certain Drawable this error occurs min is 10) ". I'm using getDrawable().getConstantState() to get the Drawable from ImageButton and giving .equals(getDrawable(R....
asked by 21.05.2015 / 20:47
1
answer

GPS on Android - Map = null

I'm making an app for people with addresses. Every time I open the map by setting the initial location with the cell phone's GPS, the app hangs and closes. [UPDATE] In analysis to the code I noticed that the variable "map" is receiving null v...
asked by 20.05.2015 / 21:12
1
answer

How to recover Activity, instead of creating new, when clicking the notification?

In my app when activity goes to status onPause I trigger its notifications through the NotificationManager. I'd like it to be retrieved into the onResume state if a click was given in the notification. Through this code I can open a new ac...
asked by 04.05.2015 / 14:54
1
answer

Create Phone Mask for EditText

I'm trying to create a masquerade for my phone field, I saw some forums and tried the code below, but it's putting another pattern ... I need to put it in the default br. EditText inputField = (EditText) FindViewById(Resource.Id.editMensagemTe...
asked by 24.05.2015 / 22:03
1
answer

Send string via bluetooth on Android

I'm developing an Android app that sends a string with ola value over bluetooth. How do I send ola through bluetooth to a specific address like 00:00:00:00:00:00 ? A function that sends a string through bluetooth to a s...
asked by 15.05.2015 / 13:43
2
answers

Leave a round photo like whatsapp

I started shortly in the Android development area. I'd like to know what feature I use in XML to make a rounded photo equal to a Whatsapp contact. I already use the rounded border for some images, creating a XML drawable with sha...
asked by 14.05.2015 / 16:35