Questions tagged as 'android'

1
answer

How to capture image from the camera of the mobile and send it to the server via rest using the volley?

I'm developing a MOBILE application that communicates with my web application, the application developed in Android Studio, and the web in PlayFramework . I created a form in APK that already consumes the service via rest using volleyball,...
asked by 31.12.2017 / 15:27
1
answer

How to write math symbol in xml android button?

How to write mathematical symbol in the Android xml button as root n of x, x high n, would have how to do so typed and not with image.     
asked by 17.02.2015 / 00:40
1
answer

How to lock a layout in ORIENTATION_LANDSCAPE and another in ORIENTATION_PORTRAIT

I am using the method for when changing position layout change however when application start in landscape it starts the layout test_01 landscape mode being that its format is portrait how to fix this. if (newConfig.orientation == Configuratio...
asked by 13.03.2015 / 01:34
2
answers

Using Google AdMob

I'm using google admob to place ads in my app, however I have some questions Can I use the same ad unit (id) for multiple activity (each with a block)? How do I make the ad the first thing to load? the idea is that the time it takes the us...
asked by 14.11.2017 / 20:32
2
answers

Create a Generic Adapter

Good Night! dear, I'm with a doubt, has anyone ever come across the situation of having multiple lists but with similar information? a simple listing of information coming from the service? I wonder if it's possible to create a generic Adapter....
asked by 12.11.2017 / 02:31
1
answer

How can I tell if a socket is "listening" to the server side?

When I use the isConnected() function of java.net.Socket ", on the client side, and it returns me true I can be sure that the server Are you listening? Otherwise how can I know? Just with a wait time between establishing a c...
asked by 25.05.2017 / 16:22
2
answers

Retrieve json object

I have the following object: { codigo : "1", nome : "Carlos" } Java class (POJO) public class usuario{ @SerializedName("codigo") private int codigo; @SerializedName("nome") private String nome; /* ... */ } The ca...
asked by 09.08.2017 / 16:20
1
answer

Save state of a CheckBox

I need to save the state of my CheckBox, they are inside a Spinner, and every time I open the Spinner it clears the CheckBox. AdmList.java final String[] select_qualification = { "Todos", "1", "2", "3", "4",...
asked by 13.09.2017 / 19:22
1
answer

What better method to create forms in adroid? [closed]

I am creating a registration form, to add and edit records in SQL. I found a place that I meant to do through ScrollView , so the form has a scroll, and in my case it would be accurate, since the fields exceed the size of the screen....
asked by 06.09.2017 / 04:55
1
answer

Update without where

How can I make an increase only in the child period of all students enrolled in Firebase? Ex: in SQL, I would use: UPDATE alunos SET periodo = periodo + 1 Updating all students to their later period. How can I do it in Firebase?     
asked by 20.10.2017 / 09:12