Questions tagged as 'android'

2
answers

How to connect Virtual Android with PostGreSQL on Local Machine?

Good morning, I'm trying to create a connection of Android Virtual created in% with% with% with%. As my knowledge in Eclipse ADT I spent very little time trying to connect and did not have success. public String conectarDB() t...
asked by 28.09.2016 / 15:16
2
answers

My App does not load list of items

I have a App Xamarin.Forms that consumes two rest services. The first service, it consumes normally. But the second, I need to pass a parameter, it is not being consumed. I've tried it in many ways and it does not work. I know my c...
asked by 10.09.2017 / 23:27
1
answer

How to put EditText in the middle of the screen? [duplicate]

I used Gravity.CENTER , which centered the text in EditText and not EditText in Activity. package com.example.wbsoftware.testetcc; import android.content.Intent; import android.graphics.Color; import android.support.v7.app.ActionBar;...
asked by 11.09.2017 / 03:38
1
answer

How to compare data from different activities?

I'm developing a simple application just to increase my knowledge, and I want to know how I can do to compare data between activities ? Example :    Activity1: In this activity I have variable A that has value 1       Activity2: In this...
asked by 12.09.2017 / 09:09
1
answer

Put the first letter of each word in uppercase

I want to standardize what the user typed in edittext, placing the first letter of each word in upper case and the rest of the letter lower case. How do I do this? The part that directs the variables in the model class Contato c = new Conta...
asked by 15.09.2017 / 00:49
1
answer

Change domain android project

I need to change the domain of my android project. Example: When I created the project I put a fictitious domain: br.com.domain-x Then when the project evolved, I registered a valid domain: br.com.domain-and I need to make this c...
asked by 14.09.2017 / 14:42
1
answer

How do I call a progressBar within Dialog?

I would like to know if there is any way to call a ProgressBar within an AlertDialog ... If so, how do I?     
asked by 17.08.2017 / 21:08
1
answer

Webview changing the url according to the day

I made a blog, to use only in this app, it is about liturgy, and every day there is a liturgy, so there are 365 liturgies, if I put 365 activity the app will get very heavy, so I thought I'd put one activity with webview, I wanted to know if I h...
asked by 17.08.2017 / 02:18
1
answer

Interfaces can be instantiated?

Hello. I know interfaces can not be instantiated, but I came across a code that does not make much sense to me. EditText nameField = (EditText) findViewById(R.id.name_field); String name = nameField.getText().toString(); This second line th...
asked by 29.10.2017 / 06:50
1
answer

How to solve SQLite auto increment gap?

I have a code that deletes a whole row of a database , but there is a problem because I get a hole getting an ID with no data (which I deleted) by this being autoincrement , does not delete the ID value. How do I solve the problem?    ...
asked by 19.07.2017 / 00:08