Questions tagged as 'android'

1
answer

Android - Comparison between string and varchar [duplicate]

I'm having trouble comparing strings. One retreat from one EditText and the other from an SQL table. The app consists of a game of the genre " Who wants to be a millionare? " When it arrives at the if cycle of comparison between the two s...
asked by 07.12.2016 / 19:37
3
answers

how to send 2 values to the php get & get http // localhost / ... php? kk = par1 & zz = par2 ";

Hi, I'm having a problem with my web server, and I'm having problems with the web service. ... but I need to assign this to the url of the code ... I thought I had it but somehow my list goes back empty and does not return anything via gson .......
asked by 08.04.2016 / 20:15
2
answers

Popular Spinner with SQLite Database -

I have the following table in the database: CREATE TABLE turma(_id integer primary key autoincrement, nome varchar(20)) I need to fill in a SPINNER with this data, so that the class NAME is displayed, but actually when the user chooses the...
asked by 26.07.2016 / 16:40
2
answers

Pass activity object id to another

I'm trying to pass id from my object to another activity using Serializable , but it's returning me a damn error that I can not fix.    Obs: My object already implements serialiable My code is as follows: if...
asked by 08.10.2015 / 01:31
2
answers

Remove shadow between toolbar and rest of the layout

I'm working on a project where I need to put a CalendarView next to a Toolbar . The problem is that Toolbar gets a shadow on the bottom, where I'd like it to merge to CalendarView . I tried to search about, but I do not...
asked by 09.10.2015 / 03:56
1
answer

How do I put my list in alphabetical order?

I have ListView and would like to put it in alphabetical order by the names of the clients. I urge you to be as specific as possible because I do not have much experience. import static android.R.id.list; import android.app.Activity...
asked by 05.01.2016 / 19:35
2
answers

Web link in TextView without url display, type "Click here"

The goal is to create a dialog with some links to websites. The following code already does this, but the URLs appear explicit (www ....) and I wish they were 'hidden' behind words like 'click here'. public void show() { PackageInfo ver...
asked by 14.03.2017 / 14:49
2
answers

I'm not able to get a listView that uses an ArrayAdapterString

I have a main class that inherits from Activity where I have my views, but I needed to create another class that inherits ArrayAdapter. But I'm not able to present my listView, the strange thing is that when you take an item from the list and pr...
asked by 23.09.2015 / 16:14
1
answer

POST Request with token

Start an HTTP request via the POST method for the authentication URL, with the following parameters: login password response = link "MY_TOKEN" The response to the request made in 1 will be answered by another URL. This URL repre...
asked by 30.08.2014 / 04:11
2
answers

How to return Latitude and longitude on Android Google-Maps

I would like to know how I can return latitude and longitude from an address provided by the User. Example "Av. Sampaio Vidal,Centro, Marília, SP" Response coordenadas -22.225985,-49.94656     
asked by 04.09.2014 / 21:06