Questions tagged as 'android-studio'

1
answer

Close an application on android

I'm doing an application on android, and when I've reached an activity, I want the user to press the backward key and not go back to the previous screen but go back to the phone's initial menu. The application would be like this: when enterin...
asked by 14.07.2017 / 18:04
1
answer

error CreateProcess error = 193,% 1 is not a valid Win32 application on Android Dtudio

In Android Studio, when creating a new project, the gradle is activated, and after a few seconds the following message appears:    Error CreateProcess error = 193,% 1 is not a valid Win32 application I have looked for information to try t...
asked by 04.07.2017 / 03:07
2
answers

Problems with web View

In an android app, I have used a webView for the user to enter a "player" that consists of showing content from social networks in a presentation manner. However, it seems that this page is too "heavy" because it does not load well at all. Is th...
asked by 30.06.2017 / 14:59
3
answers

error when starting genymotion from Android Studio

Install the Androis Studio 2.3.3 and genymotion 2.10.0 When I use the genymotion it is just perfect, but when I try to use it from the Android Studio plugin I get an error when I want to start a device from the Genymotion Device Manager,...
asked by 18.08.2017 / 06:06
1
answer

Casting of google chrome in android app

I have found code to add the Casting functionality of google Chromecast to my app, but I find certain imports that do not work, among these: import com.google.android.gms.cast.CastDevice; import com.google.android.gms.cast.CastMediaCont...
asked by 28.06.2017 / 07:56
1
answer

I can not change JDK Location in Android Studio

Good morning. I have installed the latest version of Android Studio, this is 2.3.2 and when I try to change the JDK location, it will not let me. I mean the change but when I give it to apply it goes back to what it was. I have the address in th...
asked by 04.06.2017 / 11:52
1
answer

.showAtLocation on Android

I found this tutorial in android which allows to show a popup window watch tutorial But what I do is show my popupwindow without pressing any button, this is what I have: private PopupWindow popupWindow; @Override public void onCreate...
asked by 05.06.2017 / 21:13
2
answers

The app stops when trying to enter data into a database [closed]

I'm new to programming in android studio, I try to make an application that manages a database of SQLite however at the time of trying to record data the app stops. These are my codes: NOTE: I am working with fragments. XML fragment: <...
asked by 27.05.2017 / 02:49
1
answer

Put linearlayout at the end of the screen in a map activity

I want to set a layout on the screen, at the end of the whole. The activity is a map. This is my code of layout <LinearLayout android:layout_width="match_parent" android:layout_height="75sp" android:backgroun...
asked by 15.05.2017 / 11:14
1
answer

Listen to changes in Firebase Database with Android

I have some data in Firebase Database: - order -catched : false -completed : false - user -name : ejemplo I would like that when you move to an Activity, it will remain listening in a persistent manner if a change occurs in "c...
asked by 05.05.2017 / 04:59