Answered

ios widget

Questions 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
New

How to return byte[] from FFI?

Questions asked by Ganesh kelam on Feb 22, 2017 07:31 EST

I am developing a camera FFI plugin for Kony on Android environment. In this FFI, I have a method to return captured image as byte[] i.e rawBytes. Here is my FFI method code   public JSONObject getImageRawBytes(String imageID) { byte[] result = null; JSONObject jObject = null;   // ImageHelper will return...

No replies yet login to post reply

New

How to return rawBytes from FFI?

Questions asked by Ganesh Kelam on Feb 22, 2017 07:22 EST

I am developing a camera FFI plugin for Kony on Android environment. In this FFI, I have a method to return captured image as byte[] i.e rawBytes. Here is my FFI method code public JSONObject getImageRawBytes(String imageID) {         byte[] result = null;         JSONObject jObject = null; // ImageHelper will return byte[] here.   ...

No replies yet login to post reply

Answered

image resize

Questions 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
Unanswered

Switch widget on each segmet row

Questions asked by Avisha Seth on Feb 22, 2017 05:08 EST

Is there a solution for using switch widget on each row of segment but with separate onClicks for switch and row ? We have a requirement to create a UI (screenshot attached) -  each item/row having at least 2 rows, 1st row – 2 columns (lable and switch), 2nd row...

View all replies

Unanswered

iOS debugging crash

Questions asked by Daniel Rincon on Feb 21, 2017 07:45 EST

Hi! I´m trying to debug an iOS app with Safari debugger. In android works well but for iOS the app crash sometimes and others not and the debugger doesn't says where, only the Xcode says: Terminating app due to uncaught exception 'NSGenericException', reason: '*** Collection <__NSArrayM: 0x18952850> was mutated while being enumerated.' I...

View all replies

Answered

kony.contact.add

Questions 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

Questions 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
New

Class not found after AAR integration during runtime

Questions asked by Elia Yakoumi on Feb 21, 2017 01:01 EST

I have an android aar library which I want to integrate in a kony studio project. after integrating it i can build the project correctly. on run time when the aar is called, it calls for an activity (intent) inside the same aar. here I get the following error: java.lang.NoClassDefFoundError: Failed resolution of:...

No replies yet login to post reply

Unanswered

"opstatus":5001,"errmsg":"Invalid JSON Response: response is not starting with { or [

Questions asked by Swarajya Lakshmi Rajaboina on Feb 20, 2017 07:53 EST

Hi  Iam trying to integrate MF(App published) in kony.But unable to get the json response after user authendication.Getting the error like  "opstatus":5001,"errmsg":"Invalid JSON Response: response is not starting with      {          or [ I have gone through  http://community.kony.com/developer/forum/integrating-json-service-kony-603 but no luck. The same api i called from android native , its working fine and showing response...

View all replies

Pages