Questions tagged as 'android'

1
answer

Make an android app start when you start android

Hello, how are you? I am working on an app under android-studio. I want to make an option in my application that says "start when the device is turned on", that the application itself verifies if it starts when you turn on the computer and auto-...
asked by 02.12.2017 / 13:47
2
answers

Help with my own style on all devices

I have been developing an application and when I try it on other devices with different versions of Android, they all appear in different colors. Install the App on 4 devices each with a different version and screen size different from Androi...
asked by 14.03.2016 / 16:20
2
answers

How to have Firebase running in the background?

I have a main activity where I see that if I do not have internet in the onCreate , the Firebase ( which has its own AsyncTask ) does not do its work, then the problem is that if I do not obtain information of the Firebase...
asked by 05.03.2016 / 08:55
2
answers

Problem receiving data on Android with JSON, PHP and MySQL

I am developing an application for a restaurant control, it should be noted that I am relatively new to this, and most of what I do is with online consultations. This is the problem, I have this PHP Script in which I receive a variable of NA...
asked by 24.09.2017 / 03:49
1
answer

Sending an image by WhatsApp

I want to send an image by whatsapp to a specific phone number without having to access the image gallery and within the contact's chat. Now what I do is the following: Intent intent = new intent(); intent.setaction(Intent.ACTION_SE...
asked by 20.06.2017 / 09:13
1
answer

Change color text main menu android?

I want to change the text color of a item that groups a menu . The xml is: <?xml version="1.0" encoding="utf-8"?> <menu xmlns:android="http://schemas.android.com/apk/res/android"> <group android:checkableBeh...
asked by 26.06.2017 / 13:54
1
answer

Merge circle with an icon on Android

To create a circular icon based on the vector icons of Android Studio, I do the following: <?xml version="1.0" encoding="utf-8"?> <layer-list xmlns:android="http://schemas.android.com/apk/res/android"> <item> <...
asked by 16.03.2018 / 11:17
1
answer

Error opening Android Studio

I installed Android Studio and when I started it showed me this error message:    Error launching Android Studio       Failed to create JVM: error code-1.   JVM Path: C: \ Program Files \ Java \ jdk1.8.0_101 \ jre   If you already have a 32-...
asked by 27.09.2016 / 19:21
1
answer

I can not connect to my service using retrofit2 using API 19

The problem I have is that I was testing with different versions of the SDK and with a samsung SM-A500M version of the API 19 it jumps in front of the onFailure and the error that I get is the following:    SSL handshake...
asked by 22.02.2018 / 20:15
2
answers

Define and obtain the current Locale of Configuration in Android N?

How can you assign a locale and get the locale current on Android N? Configuration conf = getResources().getConfiguration(); conf.locale = new Locale("es") // Deprecated String language = conf.locale.getDisplayName() //Deprecated...
asked by 16.09.2016 / 13:14