Questions tagged as 'android'

1
answer

How to set the time for silent mode

I have a school time app and have the option to silence the device for the time stipulated by the user. However there is only the option to enable and disable the silent mode, how can I do this automatically according to the selected time and th...
asked by 25.02.2014 / 02:06
1
answer

Doubts in creating my App

I'm creating an App and I'm having some questions, I'm a beginner in Java and Android and some things I have no idea how to do. I need to create a way, to show customers on the screen the "vendors" that are around when they access the applica...
asked by 25.11.2014 / 22:46
1
answer

How do android APP versions work?

I would like to know if the Android APP version is the one I define in XML by TextView itself, or there is something you have to do to generate that number.     
asked by 02.12.2014 / 14:41
1
answer

Add layouts dynamically

I created an XML with LinearLayout, in it I have a Spinner and an EditText. On my screen I have a LinearLayout that should receive that other layout I created. My question is: how can I add this custom layout to my screen within the other lay...
asked by 01.03.2014 / 18:37
1
answer

Activity has Leaked window Android

I make a connection to MySQL and it returns me a JSON that I play in a list of products. When I click on any of these items it picks up the ID (called PID in the code) of the product and sends it to another Acitivity. In this other Activity the...
asked by 12.05.2015 / 18:37
1
answer

Apply Material Design (android: Theme.Material) for Android versions smaller than API 21?

I was studying a little bit about the Android layout guidelines like: Colors ; Material design ; And how to implement these guidelines ; So I tried to customize my theme , like this: <resources> <!-- inherit from the...
asked by 08.04.2015 / 21:32
1
answer

Application icon does not appear

I'm making an application, but when I install it on my phone, the icon does not appear. I have no idea what it might be, ic_laucher is in the drawable folders. What can it be? Manifest <application android:allowBackup="t...
asked by 09.02.2015 / 23:27
2
answers

How to receive data using Firebase

I made a small test app using FireBase. Everything works fine when I leave the rules for anyone to have access to the database ".read":"true", ".write":"true" But when I added permissions in the rules to limit access from where each user...
asked by 13.07.2016 / 23:18
1
answer

Android SDK Build-tools 22.0.1 inventing folders within res in the generated APK

I'm using Android Studio 1.2.1.1 , with Gradle 2.2.1 , and this is a snippet (the relevant part) of my my resource folders structure: res |- layout |- layout-v21 |- values |- values-v11 |- values-v13 |- values-v14 |- values-...
asked by 14.06.2015 / 21:45
1
answer

How to create a library for sound?

In my application the sound is recorded normally, except that I wanted to rename the recorded sound and then store it on the device. outputFile = Environment.getExternalStorageDirectory().getAbsolutePath() + "/javacodegeeksRecording.3gpp"; my...
asked by 24.06.2015 / 21:53