Answered

ios widget

Question asked by Daniel Rincon on Feb 22, 2017 07:51 EST

Hi! I have a combo box that show many options to select. The combo show is the native of each tecnology. For Android works well but for iOS when you tap and select a value, it shows again to select but I didn't tap. That happens until I repeat the select that...

View all replies

It was a code problem, we put the line "source.setFocus(false);" and it seems that it solved. Thanks

View full answer

Answered by: Daniel Rincon Feb 27, 2017
Answered

image resize

Question asked by Roelof Koelewijn on Feb 22, 2017 06:07 EST

Hi, I'm trying to find a way to resize captured images from the camera widget in code. I know there are functions in 7.2 to compress and scale images. But I'm wondering if it is possible to resize the image to a certain width and height. For example the captured image on an iPhone...

View all replies

Hi Roelof, You can use the maxSideOfTheImage camera property to control the size of the image, please check the below link for...

View full answer

Answered by: Shaik Mohammad Jabiulla Feb 23, 2017
Answered

kony.contact.add

Question asked by Arjun Sharma on Feb 21, 2017 05:25 EST

I am trying to add a contact using kony.contact.add for the first time but I am getting this error. var ob = {firstname:"John",phone:[{Mobile:["+919999999999"]}],postal:[{Work:[""]}]}; var res = kony.contact.add(ob); Error is: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.intern()' on a null object reference, Name : Unknown Error, stack

View all replies

Hi Arjun, Can you please try the below code and check in your application. var mycontact = { firstname : "John", lastname...

View full answer

Answered by: Shaik Mohammad Jabiulla Feb 23, 2017
Answered

Image 'clicked' in Segment widget

Question asked by Humberto Trinh on Feb 21, 2017 03:28 EST

Hi, We have a segment with 2 images (working as a button). We have configured onTouchEnd event that provides information about the clicked widget and location, but in addition to this, we need to know the row it belongs. For example a message in an alert when you click the first image in...

View all replies

I think this can be achieved using context.  function frmName_onclickImageButton(context){       var selecteditem = context.widgetInfo.selectedRowItems[0]; } First you have to create the function...

View full answer

Answered by: Roelof Koelewijn Feb 22, 2017
Answered

Assign Segment's internal control's Event

Question asked by Ning Ye on Feb 17, 2017 15:32 EST

I have a simple segment with some switch widget in it.  See image attached below.  Is there a way to assign an event during init or preshow event to assign OnSlide event call back?  I need to access the row context so that it knows how to handle the event....

View all replies

Found a way to do it during the data load ...

View full answer

Answered by: Ning Ye Feb 17, 2017
Solved

Android png transparency is black

Problem posted by Alan Alencar da Silva on Feb 16, 2017 11:49 EST

Hi A Image in png format (transparent), does not display transparent background when loaded in image2 component via rawByte property. IDE Kony 6.5.2 Platform Android      

View all replies

Posted In
Kony Inc Kony Studio
Tags:

Hi Alan, Before you convert the transparent image as raw bytes, if you have modified the image in paint or in...

View full answer

Solved by: Shaik Mohammad Jabiulla Feb 16, 2017
Answered

Iphone Simulator Not Coming Fully

Question asked by Karthik G on Feb 15, 2017 06:11 EST

I buliding appliation in Kony 6.5 and Using Xcode 8.2.1 While lanuching application simulator, Kony application not coming fully. 

View all replies

Posted In
Kony Inc Kony Studio

Hi Karthik, Please use the device specific splash screen images to the application to avoid the black patches at top and...

View full answer

Answered by: Shaik Mohammad Jabiulla Feb 15, 2017
Answered

paging in FlexScrollContainer

Question asked by AK00118498 AK00118498 on Feb 08, 2017 07:36 EST

For FlexScrollContainer there is property to paging on/off. How to add contents/widgets to FlexScrollContainer with paging property on to give the pagination feel.      

View all replies

Make the first flex scroll container layout type as Horizontal - when you scroll horizontally it scrolls page by page   Make...

View full answer

Answered by: Pavan Kurella Feb 13, 2017
Answered

New Cannot set info of label

Question asked by Kaustav Ghosh on Feb 07, 2017 12:09 EST

Hi team, I need to know this in a very,very urgent basis. I have created a label dynamically: var lblValue = new kony.ui.Label({ "id": "lblValue"+DYNAMIC_DESTINATION_COUNT, "left": "115dp", "top" : lbl_top, "height": "preferred", ...

View all replies

Posted In
Kony Inc Kony Studio

Hi Kaustav, have you tried setting an object to the info property instead of a primitive? Documentation always talks about the...

View full answer

Answered by: Robin Lichtenthaeler Feb 16, 2017
Answered

App struck on splash screen

Question asked by Martin Krischik on Feb 07, 2017 10:23 EST

My app stopped working. It's now stuck on the login screen and no error message to be seen in the logs. Does anybody know what could have gone wrong?

View all replies

I found it. I have got a form header template called “HamburgerMenu“  and to handle events from this created a script...

View full answer

Answered by: Martin Krischik Feb 08, 2017

Pages