netsistemas Active Member Licensed User Longtime User May 13, 2020 #1 I finding in foro solution for open spinner by code / programmatly in Web i find this: Possible to programmatically open a Spinner in Android app? If you have a handle to a Spinner object in an Android Activity, can you programmatically pop open the spinner options - thereby forcing the user to choose an option even though they did not click ... stackoverflow.com How to programmatically show spinner pop up in android I am facing a problem about spinner. Suppose an spinner dialog is pop up and if in that time locking of screed occur when I unlock the screen the spinner pop up is not shown there. Can anyone sugge... stackoverflow.com In this old thread i view that this is not posible: how to open Spinner ? Hello, Like the Title : How to open Spinner programmaticaly? www.b4x.com Open a Spinner Is it be possible to open a Spinner with a different button? www.b4x.com this code i think run ok, but... is correct? B4X: Copy Dim policy As JavaObject Try policy = SpinConductorOAcompanante policy = policy.RunMethodJO("performClick", Null) Catch Log(LastException) End Try If is correct, is ok that add a solution in previus message and link to this messae?
I finding in foro solution for open spinner by code / programmatly in Web i find this: Possible to programmatically open a Spinner in Android app? If you have a handle to a Spinner object in an Android Activity, can you programmatically pop open the spinner options - thereby forcing the user to choose an option even though they did not click ... stackoverflow.com How to programmatically show spinner pop up in android I am facing a problem about spinner. Suppose an spinner dialog is pop up and if in that time locking of screed occur when I unlock the screen the spinner pop up is not shown there. Can anyone sugge... stackoverflow.com In this old thread i view that this is not posible: how to open Spinner ? Hello, Like the Title : How to open Spinner programmaticaly? www.b4x.com Open a Spinner Is it be possible to open a Spinner with a different button? www.b4x.com this code i think run ok, but... is correct? B4X: Copy Dim policy As JavaObject Try policy = SpinConductorOAcompanante policy = policy.RunMethodJO("performClick", Null) Catch Log(LastException) End Try If is correct, is ok that add a solution in previus message and link to this messae?
Erel B4X founder Staff member Licensed User Longtime User May 14, 2020 #2 Your code is correct. The Try / Catch block is not needed. Upvote 0