Questions tagged as 'android'

2
answers

How to dynamically create the same layout several times?

I created a layout called with a "+" button at the end so I would like, by clicking the button, to add a new LinearLayout below the current layout with the same content, allowing the registration of more than one item without generating new scre...
asked by 10.03.2017 / 02:30
1
answer

How do I keep the screen attached in later versions of the kitkat API?

I'm making a APP that keeps the smartphone screen always on , even when APP is minimized. I'm using a class with extends Service to do this, in onCreate I put the code that keeps the screen always lit: PowerManager pm...
asked by 02.01.2017 / 20:49
1
answer

Organizing photos of the application in folder

I have the following code snippet to define the description of the photos that my application will take and where the photos will be saved. private File criarArquivo() throws IOException { String descricao = new SimpleDateFormat("dd_MM_yyyy...
asked by 18.04.2017 / 16:34
1
answer

Error fetching blogger information via json

I'm trying to get blogger information via json and put it to appear in recyclerview . But I can not. I'm a beginner in programming, so I'm unsure if you'll have to sign some key so you can release content by json . E...
asked by 19.12.2016 / 19:23
2
answers

How to install / run a signed app in order to see the error log?

I'm developing an app and testo direct on the mobile (LGE API Level 16). When testing, perform normal. But when I generated a signed apk, and I try to install that apk on the same phone it just says: Application not installed. This happene...
asked by 18.06.2017 / 22:16
1
answer

React-native error after installing lib react-native-router-flux

After installing the react-native-router-flux lib in my app this error appeared in: I've done the procedure to remove the folder     
asked by 04.05.2017 / 20:54
1
answer

Opening an activity and returning it saving the status of main

After many searches I came across the following situation: I'm on my Main Activity and would like to open another Activity (passing parameters to Activity2 ), then use the button back on the toolbar and return to the main. Problems:Iamu...
asked by 21.01.2017 / 13:05
1
answer

Connect when clicking a button

I would like to know how to make a telephone call to the number when clicking on a button. As I did, it calls the Action_Diall activity with the number already written, so the person must click again to make the call. Is it possible that c...
asked by 21.01.2017 / 18:00
1
answer

I can not open the map in my position

After much research, I still have difficulties with java, I'm new and I'm trying to learn. Please excuse me if I can not ask a clear question, because I may not even know what I'm talking about, BOM, for example the part of maps that I can al...
asked by 24.01.2017 / 03:17
1
answer

How does IPR Layouts and Redimensions work?

Android there are so called " DPI ", which are densities per pixel . Each screen has its type of DPI such as:    Smartphones:       layout [?]    layout-ldpi [240x320 & 240x400]    layout-mdpi [320x480 & 480x854]  ...
asked by 31.05.2017 / 15:35