How can i change the format of a custom android widget on Android studio and alter the code so it can be usable when i import the jar file to kony?

This thread was migrated from an old forum. It may contain information that are no longer valid. For further assistance, please post a new question or open a support ticket from the Customer Support portal.

i have many custom widgets but i dont know exactly how to alter their code so i can use it on kony. they is only one example i found on the documentation of an android code that can be used on kony as a custom widget(the CustomRange class) and when i import it on Kony is says "cant read property 'value' of undefined".

Hi @Chwistophew Dowd​ ,

Please refer the following for more information on how to add custom widgets from Android to Kony.

http://docs.kony.com/konylibrary/visualizer/visualizer_user_guide/Content/Android_Custom_Widget.htm

The following has a sample application to showcase Android custom widget (native Map) import in Kony Visualizer Enterprise.

https://github.com/kony/Android-Custom-Widget-NativeMap

@Luke Mvwtin​ Thank you but i have already seen this documentation as i mentioned. this documentation alone is not enough to get familiar with the importing and creating of the custom widget. I need more resources please.

Hi @Chwistophew Dowd​ ,

The sample application link which I have given, has 2 files. (https://github.com/kony/Android-Custom-Widget-NativeMap)

It has the Kony application and the Android custom widget.

You can use that file to understand the changes which needs to be made.

Please check it. It should help you.