Questions tagged as 'android'

1
answer

Error in android API 22 and 21 java.lang.RuntimeException: Unable to instantiate activity ComponentInfo

Good morning! I have a problem with android studio, when running my app on devices with API 21 and 22, I show my Log: 03-16 10:52:33.930 3387-3387/com.lms_la.njoyapp E/AndroidRuntime: FATAL EXCEPTION: main Process: com.lms_la.njoyapp, PID: 338...
asked by 16.03.2017 / 17:59
1
answer

Error in Database

I'm creating a database, and this is the code I have in JAVA: String strNombre = nom.getText().toString(); String strPregCinco = preg5.getText().toString(); String strPregCuatro = preg4.getText().toString();...
asked by 06.03.2017 / 13:23
1
answer

how can I show only the content of a notification

if(getIntent().getExtras() !=null){ for (String Key:getIntent().getExtras().keySet()){ String value = getIntent().getExtras().getString(Key); tvMostrarInfo.append("\n" + Key+":"+value); //... } This is the code and if it sh...
asked by 07.03.2017 / 04:06
2
answers

Error passing string strings to another activity

I have this code to receive a chain of strings that passes from another activity. TextView infoEnviada; infoEnviada = (TextView) findViewById(R.id.reslt); String[] array = getIntent().getStringArrayExtra("resultados"); infoEnviada....
asked by 06.03.2017 / 22:25
0
answers

Send mail with javamail, show Exception

Hello to everyone who reads, as the title says I need to send mail with javamail, I have already implemented it and it works super well, the problem is with the exeption, because I use AsyncTask it always tells me to send even if there is not se...
asked by 07.03.2017 / 20:55
0
answers

How to change the image of a View?

Cordial greeting, I have a Navigation Drawer Activity and I have managed to change my font type of a Textview that is in a nav_header_options.xlm, from this it deletes the image. How to change the default image for another, this to take it in...
asked by 05.03.2017 / 06:30
2
answers

In which path can I find the file of my SQLite DB?

I created a database to store answers from a survey, but I can not see my database, I do not see the package of my application and I can not even access the data / data / mi.example.myapplication / databases directory No may l!! Please, I need h...
asked by 08.03.2017 / 00:00
2
answers

Error versions com.google.android.gms

apply plugin: "com.android.application" import com.android.build.OutputFile apply from: "../../node_modules/react-native/react.gradle" project.ext.vectoricons = [ iconFontNames: [ 'MaterialIcons.ttf', 'EvilIcons.ttf' ] /...
asked by 03.03.2017 / 19:02
1
answer

Can I change the package ID or bundle ID and update my app in the google play store?

I have a question about this topic since I have read on sites that I can not do it and on others that I do. I have a published and active Google Play app, I have changed Admob with my ID, I would like to know if I can also change the package...
asked by 16.05.2017 / 19:18
4
answers

Log in but it does not show the next view

I have a login problem correctly in LoginActivity does not show the next view that is MainActivity.    LoginActivity.java public class LoginActivity extends AppCompatActivity { // Creo los elementos EditText etMatricula, etPass; public Bu...
asked by 15.05.2017 / 22:54