Questions tagged as 'android'

3
answers

How to get Gallery Uri on Android 7 nougat

I am making an application where I look for an image in the Android Nougat gallery and send it to a server. But I can not retrieve Uri with the image address to be sent. if(camera.equals("galeria")){ startActivityForResult(getPickImage...
asked by 22.08.2017 / 02:41
1
answer

URL is with Location as open in Webview Android

Personal in the url link I put in the webview location has been implemented. As soon as the user opens the site through chrome or any browser, a dialog will appear asking if it allows you to use the location. But in the webview does not appea...
asked by 05.08.2017 / 14:46
1
answer

how to check the internet before opening an ionic app?

I'm developing an app ionic with an iframe . At the moment the app is complete and running, but when accessing the same without internet appears an error message. I would like to put a message or a screen so that if you have internet acc...
asked by 30.08.2017 / 15:15
1
answer

Inserting float value into a JSONObject

I have the following situation, I have an object called Item , with a value variable in it. When I enter the value in the json object it changes from 1 or 2 houses after the comma to 15 houses after the comma. Ex: value is 8.9 and chang...
asked by 30.08.2017 / 20:18
1
answer

How to get value returned from Get using Volley on android

In the case I want to know how to get only the value of the GET of the link "... / possess_cadastro" to enter the If or Else. public class LoginRequest extends StringRequest { private static final String REGISTER_REQUEST_URL = "http://192.168....
asked by 21.09.2017 / 20:16
1
answer

Doubt on using Socket in java on android

I want to implement data transmission via Socket, I am trying to implement Socket.io but I do not understand the operation. I want to make communication between two android devices. I know it has the server side and the client side. But I can no...
asked by 25.06.2017 / 17:52
1
answer

Know the size of an image on Android

I'm developing an application on Android. I need to get the RGB of a particular image at 5 specific points in the image. as shown below: I am using the following code to capture the RGB of the image: int color = bitmap.getPixel(x,...
asked by 19.08.2017 / 00:29
1
answer

Error: "Psi and index do not match" Android Studio

Sometimes when cloning a new branch project or downloading a new code it builda successfully but does not recognize most of the functions of the android itself in the app. In%% error appears "Psi and index do not match"     
asked by 20.06.2017 / 16:32
1
answer

Pattern Background Color

What is the default background color of a new activity in Android Studio in Hexadecimal? Since it is not completely white (#FFFFFF) ...     
asked by 19.06.2017 / 20:13
1
answer

How to use an Intent to open a PDF file by the standard android application

I have an android application, and wanted to know how do I open a PDF file that will be in Firebase in my application. I do not need it to download the file, simply an attempt where I pass the file path (in this case the link) and when clicking...
asked by 29.07.2017 / 01:50