Questions tagged as 'android'

1
answer

How to create a text file on Android?

I've looked for several examples and scripts on the internet and even here in stackoverflow but I still can not create a text file in android, the last code I tried to use was unsuccessful: How to create a txt file? I simply compiled and...
asked by 12.09.2016 / 18:32
1
answer

Crashing when 2nd activity starts

The first screen is a login, normal logon, communicates with the server and such, there goes to the second, there is a fragment of google maps, when it will go to second crash the app, the error that appears is this (senai world is the name of t...
asked by 14.09.2016 / 01:07
1
answer

Error android Studio + Firebase

I developed an application was registering and everything, but the time I implemented the function to display the data in a LogCat, my application even stopped starting the Activity. Has anyone had this error? Thanks for the help right away....
asked by 25.09.2016 / 21:37
1
answer

Carousel Loop

I'm making a Carousel , which I got friend help from here . But now a small problem has arisen, in the example there are 6 images, and upon arriving at the last it stops. I would like to know how I do it so that when I get to the last one...
asked by 24.08.2016 / 22:59
1
answer

uploading images + web service php

Good people, I'm a little late in my tcc because of not being able to upload the image. What I have hj worked and take the photo, save in the flock sqlite the path and latitude and longitude, however I have a screen in my app that I should send...
asked by 25.08.2016 / 20:04
2
answers

How to round the doubles values returned by Interface Location

I have a ArrayList that stores GPS coordinate objects and their elements are always compared to the double values returned by the getLatitude() and getLongitude() methods of Interface . Problem From the tests I've done...
asked by 16.10.2016 / 18:31
1
answer

Attempts to send emails

Someone could clarify the following code: Intent intent = new Intent(Intent.ACTION_SENDTO); intent.setType("text/plain"); intent.putExtra(Intent.EXTRA_SUBJECT, "Subject of email"); intent.putExtra(Intent.EXT...
asked by 15.10.2016 / 04:21
1
answer

In-app connections

I am trying to make my application make an emergency call and call a pre-defined emergency number, but when I open Activity it simply to have already looked and refiled the code 3 times, but the error persists, it presents the following e...
asked by 11.09.2016 / 07:07
1
answer

Problem with login using sqlite

My method is not returning the teacher logged in. public Professor autenticarUsuario(String usuario, String senha) { String SQL = "select * from PROFESSOR where USUARIO = ? and SENHA = ? "; String[] selectionArgs = new String[] {...
asked by 09.09.2016 / 04:27
1
answer

Call activity after the thread is executed

I have an app that logs in to a teacher in a webservice and after logging in, it inserts the user into the android database. If the result is other than null, I want it to call the activity menu. But my application is closing. Follow the code....
asked by 08.09.2016 / 18:36