Thanks in advance. please help me.In Activity-1 whare we passing int values using intent to next activity but Activity-2 we are using intent.getStringExtra("fossID")it throwing an typecasting error, to solve this i change code as below its works for me. var foss=intent.getIntExtra("RefferFossId", -1) var language=intent.getIntExtra("RefferLanguageId",-1)
sir, despite of writing all the codes correctly its not opening in my phone .i have run my other app earlier,others runned out. But this app is not opening.kindly help .I will be very obliged to you.as I am trying it last 5 hours. ---
Please this line of code is giving me compiling error "languageOptions.addAll(ArrayList(fossVsLanguage.get(selectedFoss)))".This is the compiler error below:Type inference failed. Please try to specify type arguments explicitly. Type mismatch: inferred type is kotlin.collections.ArrayList<string>? /* = java.util.ArrayList<string>? */ but (MutableCollection<out string!="">..Collection<string!>) was expected</string!></out></string></string> Please I restart it but the problem persist.I also read the blog you send but the problem keep on coming.Thank you.
Type inference failed. Please try to specify type arguments explicitly. Type mismatch: inferred type is kotlin.collections.ArrayList? /* = java.util.ArrayList? */ but (MutableCollection..Collection) was expected
sir, despite of writing all the codes correctly its not opening in my phone .i have run my other app earlier,others runned out. But this app is not opening.kindly help .I will be very obliged to you.as I am trying it last 5 hours. ---SUBHASHINI
5479 visits
Outline:Create a new Android Studio project as ST search Data identification in Spoken tutorial server Design the App with Text views, Spinner and Search button How to store the FOSS and Language IDs in HashMap data structure? How to declare Array list to store Languages of a particular FOSS? Use of Mutable list Create adapter for FOSS and Language spinner Source code for selecting an item from the spinner Launch the app in the phone Run the App to see the selected FOSS ID and Language ID as output in the Android phone
Create a new Android Studio project as ST search Data identification in Spoken tutorial server Design the App with Text views, Spinner and Search button How to store the FOSS and Language IDs in HashMap data structure? How to declare Array list to store Languages of a particular FOSS? Use of Mutable list Create adapter for FOSS and Language spinner Source code for selecting an item from the spinner Launch the app in the phone Run the App to see the selected FOSS ID and Language ID as output in the Android phone
Show video info
Pre-requisite