Questions tagged as 'android'

1
answer

How to increase the font size of an EditText according to the size of the screen?

I would like the font size to be proportional to the screen size of the device that will run the application.     
asked by 03.03.2015 / 15:05
1
answer

What is the difference between Preference and SharedPreference?

Looking at some forms of data persistence in Android, I noticed that you have two very similar interfaces PreferenceChangeListener and SharedPreferenceChangeListener , which can be extended in Preference and SharedPreferen...
asked by 30.03.2017 / 18:40
1
answer

Requests in AJAX works in WebView?

I have the following WebView : WebView myWebView = (WebView) findViewById(R.id.webview); myWebView.getSettings().setJavaScriptEnabled(true); myWebView.getSettings().setBuiltInZoomControls(true); myWebView.loadUrl('http://192.168.0.4:8080...
asked by 23.05.2017 / 17:11
1
answer

Getting the features of your Android device

I'm a beginner in Android development with the SDK platform and would like to know how to get the features of the user's device. Ex: IMEI, Android version, device model, etc.     
asked by 03.10.2015 / 07:27
1
answer

How do I save locations of a map in an SQLite database?

I want to save locations displayed on a map to a SQLite database, so that the user can refer to them in the future and can add a description. Here's my class Description ... public class Descricao { private long id; private String comentar...
asked by 02.09.2015 / 01:01
2
answers

Send message Whatsapp by link on site

I'd like to know how to send a message by link to a certain number. I've already been able to do it for Android , but for iPhone it does not work. Link: <a href="intent://send/123456789#Intent;scheme=smsto;package=com.whatsa...
asked by 07.07.2015 / 14:54
1
answer

What is the best method to do login authentication in android and webservice php RESTFul?

I'm building an application that needs login, I've already created the webservice in php using Slim. I'm currently using a POST, passing a json with email and password to the webservice to return the corresponding user's json, but I believe t...
asked by 06.09.2015 / 19:12
1
answer

How to inflate a class on Android?

I needed to inflate a form on a tab, I always do the form in xml, but this time I did via code, does anyone know how I display my class instead of xml in a FragmentTab ? Code to inflate xml to View : if(this.getTag() == "formula...
asked by 23.06.2015 / 16:38
2
answers

Do not bring data in Json Array on Android

I have a problem in bringing data into an Array in Json . It looks like it does not execute the Try catch, but in the variable result it brings all the data. I would like to get the name field, but it does not run the Array. See my code...
asked by 18.06.2015 / 21:59
1
answer

Difference in performance for simple and for iterator

I have a list of clients and on a certain screen the user can search and edit the clients of the list that is very extensive, comparing these two examples what would be the best to work? Example 1: for (int i = 0, tamI = listAll.size(); i&l...
asked by 23.08.2017 / 15:45