Questions tagged as 'android'

2
answers

Link several tables to another to obtain groups of records

A few weeks ago I created a database to use it in my Android app. It turns out that these two weeks I've been thinking about a problem I had, and no matter how many solutions I got, they gave me errors and I do not know what to do anymore. I'...
asked by 03.06.2016 / 15:33
3
answers

Save a value on Android

I want to take the value I have in TextView , add it, save it and repeat this process every time the button is touched, but I do not understand why I can not save it. My code: public class MainActivity extends Activity { Button b...
asked by 09.06.2016 / 18:14
2
answers

How to use Python properly for automation test using aws device farm

I have a mobile application and I want to use aws device farm to perform automation test . I am working on Mac, I have tried a simple test of my Android application: touch a button of sign in , type username and password and login. I us...
asked by 23.03.2016 / 16:46
3
answers

How to convert String to Date MySQL on Android?

Hello I have a question about how is the best way to convert a string to date in android fechauso = (EditText)findViewById(R.id.txt_fechadeuso); String fechausoo = fechauso.getText().toString(); I want to convert it to date because as I hav...
asked by 08.06.2016 / 21:34
2
answers

How to call specific fields Firebase Database Android

Good morning, I have this model private Button verdosis, verhipo; private String Lista="dosis"; private String lis2="Hipoglucemia"; private TextView textViewf,textViewhipo; FirebaseDatabase database = FirebaseDatabase.getInstance(); FirebaseD...
asked by 26.09.2018 / 18:45
1
answer

Integrate Facebook into an App with WebView

How can I integrate a Facebook page in my application with WebView , I did it in a basic way but it only shows me the header of the page, when I start to scroll down it stays there in the header. This is my code: WebView myWebView =...
asked by 07.08.2018 / 22:40
1
answer

java.lang.NumberFormatException using jsonObject.optString ()

Good, I have the following problem only on certain occasions. The app brings information from an external url by means of a Volley request taking the data from a php file with json data. Of 900 devices I had a problem in 17, it is little but the...
asked by 27.07.2018 / 15:08
1
answer

What is the path to a file located in the raw folder in android studio?

I would like to get the path to the file "datos.txt" located in the folder "raw" in "res", in Windows it would be something similar to "app / res / raw / data", but I can not get it to work. I've already tried it with the String path = "a...
asked by 26.08.2018 / 23:03
1
answer

How would you erase a line ex: "position 6" in a .txt file or in a String string?

Try several ways but I can not do it. One of them would be this and I get an error: try { java.io.BufferedWriter bufferedWriter = new BufferedWriter(new FileWriter("Archivo.txt")); bufferedWriter.append("Esto es la linea 1");...
asked by 29.08.2018 / 00:37
1
answer

Doubt about APIs and Android versions: minSdkVersion

Currently I develop my small applications always in "minSdkVersion 17", which I would swear is the same as the famous API. If I use functions implemented in API 26 for example, would phones with the most outdated operating system be out of my...
asked by 20.06.2018 / 22:41