W/Bundle(521): Key string-array expected String[] but value was a
java.util.ArrayList. The default value was returned.
W/Bundle(521): Attempt to cast generated internal exception:
W/Bundle(521): java.lang.ClassCastException: java.util.ArrayList
W/Bundle(521): at android.os.Bundle.getStringArray(Bundle.java:1459)
W/Bundle(521): at
android.content.Intent.getStringArrayExtra(Intent.java:3630)
W/Bundle(521): at
com.example.TEENEINSTIEN.Videoplayer.onCreate(Videoplayer.java:20)
W/Bundle(521): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
Я получаю это как предупреждение, а во второй секунде действия получаю нулевое значение.
[code] W/Bundle(521): Key string-array expected String[] but value was a java.util.ArrayList. The default value was returned. W/Bundle(521): Attempt to cast generated internal exception: W/Bundle(521): java.lang.ClassCastException: java.util.ArrayList W/Bundle(521): at android.os.Bundle.getStringArray(Bundle.java:1459) W/Bundle(521): at android.content.Intent.getStringArrayExtra(Intent.java:3630) W/Bundle(521): at com.example.TEENEINSTIEN.Videoplayer.onCreate(Videoplayer.java:20) W/Bundle(521): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047) [/code]