Questions tagged as 'android'

1
answer

Error in the xml page of android

I'm very new to android and following strictly the example provided by my teacher and using a PC of the Faculty I copied and pasted and had no problems, using my notebook I have the following error:    Error: (1) No resource found that matche...
asked by 18.04.2017 / 22:39
1
answer

How many apps you can have on Google Play [closed]

If it's possible, does anyone know how many apps are possible to have in the same Google Play account?     
asked by 18.01.2017 / 17:46
1
answer

How to leave the first uppercase character on the keyboard?

How to make keyboard start with a capital letter so the user can start typing without having to tap the arrow to leave the capital letter? I used android:inputType="textCapCharacters" but it did not work right because it writes the who...
asked by 18.01.2017 / 21:07
1
answer

Recover Data Firebase

With the code below I retrieve data from a post, okay, with FirebaseRecyclerAdapter I retrieve the comments that are in recyclerview , ok, but the comment appears in all posts, what I want is to retrieve the comments only for the co...
asked by 19.01.2017 / 17:23
1
answer

How to use a SQLServer script to create a database in SQLite?

I have a SQL Server generated script it contains several tables and views, I intend to carry this database to my Android SQLite. How do I run the script in SQLite on Android?     
asked by 16.02.2017 / 21:39
1
answer

have you declared this activity in your AndroidManifest.xml?

Hello, I created a Data Entry Activity and another of "Result", when the button event is activated, to perform the calculation and to open the activity Result, the error appears that was not declared in the manifest. Can anyone help? My Mani...
asked by 12.02.2017 / 22:35
1
answer

Remove auto-focus from Edit_text when putting windowSoftInputMode="adjustResize"

I'm putting in my manifest attribute windowSoftInputMode="adjustResize" so edittext is above keyboard when it is active. The problem is that by doing this, auto-focus is turned on in edittext once activity is...
asked by 22.03.2017 / 22:31
1
answer

Android Studio does not matter AdRequest or AdView

The part that gets written android both of them turn red and it does not matter import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdView; import android.os.Bundle; import android.support.v4.app.Fragment; import...
asked by 30.03.2017 / 15:55
1
answer

Set button text color programmatically

I have a button created in my class Main via code, that is, programmatically. See: Button btnJonSnow = new Button(this); btnJonSnow.setText("Jon Snow"); How can I set the color of the button text programmatically?     
asked by 03.04.2017 / 07:48
2
answers

Error inserting data into SQLite database [closed]

Class that creates the bank public class CriaBanco extends SQLiteOpenHelper { private static final String NOME_BANCO = "lista.db"; private static final int VERSAO_BANCO = 1; public CriaBanco(Context context) { super(context, NOME_BANCO,...
asked by 04.04.2017 / 01:34