Questions tagged as 'android'

1
answer

Why is BroadcastReceiver called several times and always with the same "extra"?

I have an application that sends sms to android, and a Broadcast to catch the errors if I can not send to the recipient.  If you can not send a message, I will capture the object and save it to the database with the type of error that occurred,...
asked by 27.02.2016 / 01:18
1
answer

How to call a fragment from an activity button

I have three fragments and one activity. In this Activity I have a button, how do I call a fragment from that button? I have a fragment that has a button from that button I need to call another fragment. I know how to call activities with the...
asked by 29.09.2015 / 19:44
1
answer

Add formatting to an app description on Google Play

Does anyone know how to "embellish" the app description in the play store? For example put "news", format text, etc. See the example below:     
asked by 10.09.2015 / 14:21
1
answer

Error returning list to activity

I made an implementation on Android to return all Bluetooth devices (paired and connected) in a list. It worked correctly to return paired devices. For the connected ones it worked also, if I go through the debug mode I see that the application...
asked by 09.08.2015 / 00:32
1
answer

Fragment: error inflating class fragment [closed]

I'm using Fragment to do the "drawer" navigation, ie in topics with options, but I'm finding this error, but I'm not sure what it is, it follows what it says in logcat: 12-22 20:08:25.774 1730-1730/player.kmk.com.kmk E/AndroidRuntime﹕ FATAL...
asked by 22.12.2015 / 21:32
2
answers

Memory problems loading many images into listView

I made an application where it is possible to take a photo and save its path in the database and then show it in a listView along with other information. All goes well when there are few images or small images to be displayed, but when reaching...
asked by 27.12.2015 / 02:36
2
answers

Fixed and unique value in Android in Unity 3D

I'm having difficulty getting a single, fixed value in C #, so I need to get a value like this, for security reasons in my software. I have tried using SystemInfo.deviceUniqueIdentifier , but unfortunately when turning off the wifi of...
asked by 24.08.2015 / 18:29
2
answers

Turn image into Base 64

I am transforming an image that I send by the camera in base64 but the image is all black, I do not know what is wrong, it follows my code below app.encodeImageUri(mediaFiles[i].fullPath); //Aqui envio o caminho da minha imagem da seguinte man...
asked by 21.08.2015 / 20:53
1
answer

How to keep the data of a variable, when starting an Actitivy, and when returning, load the value?

I have the following problem, and would like to help everyone please. I have an activity, where, if you press btn1, it will happen boolean table1 = true; As for btn2 ... in succession. When table1 is true, the button changes color, and...
asked by 28.11.2015 / 20:57
1
answer

Where do I get the Android source code?

I am writing a documentation, in which I need to know the source code for an application to check the whole mobile device, behind settings that the user did not perform, for example: if you have set a password on the home screen; encrypted...
asked by 26.07.2015 / 21:55