Questions tagged as 'android-studio'

1
answer

Android Studio preview error

My problem is that after installing and updating Android Studio, I see an error in the design tab that does not let me see the appearance of the app or the changes I made to it. PC specifications:    Intel i3 2328m    4 gb Ram    Wind...
asked by 23.06.2018 / 02:00
1
answer

Android maps measure distances and being close to make a change

I'm doing a game on android with maps. I have 3 key points that are to be reached, each point has its marker and its coordinates, this works well, now what I do not get is that when I am a few meters away from one of the marker I stop the music...
asked by 16.01.2018 / 20:31
2
answers

Does not install apk

I am developing an app in Java for Android. When testing the application (debugging) on a smartphone, it installs and runs well. My problem comes when I install the application in production. I generate the signed apk without problems (And...
asked by 23.08.2018 / 14:52
3
answers

problems with inserting records in Android

I have a problem entering usuario and password , by console it throws the following:    table users have 3 columns but 2 values were supplied and in the emulator the app stops, the table was created with two fields and an id...
asked by 13.11.2016 / 17:59
5
answers

Install APK generated by Android Studio

I'm doing an App from Android Studio and I gave it to try to download the application and install it on my cell phone even if it is not yet finished. So I went to Build > Generate Signed APK , I generated the JAR file and then I created my A...
asked by 11.03.2017 / 04:46
1
answer

Send text to My Band 2 from Android BLE

Does anyone know how to send text to the MiBand 2 from android? So far I am able to send numbers but not strings and I do not know how to do. @Override public void onServicesDiscovered(final BluetoothGatt gatt, int status)...
asked by 02.06.2017 / 09:17
1
answer

How to create a personalized anchored shortcut?

My question or current problem is that I want to be able to create a direct access on the screen (currently as I could see in the documentation is called anchored access) that allows the user to activate a voice recorder by simply stepping on...
asked by 31.10.2018 / 00:14
1
answer

Change the text of the toolbar to be different from the name of the application

How can I change the text of the toolbar of my application so that it is not the same as the name of the App? Something like Google Translate. This is how you look for it (as a Translator): This is how the name appears on the applica...
asked by 12.09.2016 / 06:48
1
answer

Error with Fragments: "java.lang.IllegalStateException: FragmentManager is already executing transactions"

I'm having a small problem when creating fragments, it's that I get an Exception as if getSupportFragmentManager was already running. The error:    E / AndroidRuntime: FATAL EXCEPTION: main                     Process: jhon.casique.baccus,...
asked by 22.10.2016 / 18:15
1
answer

Problem when creating JSONObject in android studio

I am creating a login in Android Studio guiding me from a tutorial but I have been stuck, when creating a JSONObject there is something that fails and I do not know what it is. I have managed to create a String with the valu...
asked by 18.02.2018 / 00:36