Questions tagged as 'android'

2
answers

Modify XML features through Java

I have the following RelativeLayout : <RelativeLayout android:id="@+id/layout_avancado" android:layout_width="match_parent" android:layout_height="wrap_content" android:background="#FF00...
asked by 22.12.2014 / 05:24
3
answers

Run code before the first activity is executed

I have the following problem: I have a splash screen that will be called only if it is the first application execution. If it is not the first run I would like to call another Activity . I tried the following ... make a InitialActivity...
asked by 16.01.2015 / 18:16
1
answer

Android minSDKVersion and targetSDKVerion

What is the difference between minSDKVersion and targetSDKVerion ? AndroidManifest.xml: <uses-sdk android:minSdkVersion="14" android:targetSdkVersion="19" />     
asked by 03.07.2014 / 12:20
3
answers

Doubts about extends Application

Developing for android I can create a class that extends Application. How would I do this in java? Is there or is this marking?     
asked by 11.06.2014 / 17:41
2
answers

Terminate the last AsyncTask before starting another

I'm using AsyncTask (Android App) to get a string json from the server (Comes from a controller from my ASP MVC site). Basically everything that comes from the server goes through this class public class Communications extends As...
asked by 24.05.2017 / 20:19
1
answer

Help with react native

I'm having an annoying error installing react native: ~/MyApp $ react-native run-android Scanning 555 folders for symlinks in /home/henrique/MyApp/node_modules (4ms) Starting JS server... Building and installing the app on the device (cd andro...
asked by 23.05.2017 / 01:04
2
answers

Changing Linear Layout Transparency

I have a login screen that has a LinearLayout with transparent blue background. How can I make this LinearLayout with id be translucent? <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas....
asked by 29.08.2017 / 22:34
1
answer

Schedule for Android without Android Studio

I have a Linux Mint computer that can not run Android Studio very well by having low settings, I was wondering if there is a way to develop applications for Android using an editor and compile by command line ?? (or something similar, I do not k...
asked by 19.07.2017 / 23:08
1
answer

Close Dialog after 10 seconds open

I would like dialog to close after 10 seconds. I can only do this by clicking the button. Follow the code. AlertDialog.Builder alert = new AlertDialog.Builder(this); WebView wv = new WebView (this); WebSettings webSettings...
asked by 14.09.2017 / 19:39
2
answers

How to get back from a fragment to an activity?

I created an Activity of type Drawer Navigation and the icons in this Activity have an action that takes me to a fragment. My problem is that I do not know how to go back from a fragment to an activity ... how should I do to go back with the...
asked by 17.02.2017 / 21:19