[codenameone-discussions] ImageDownloadService(deprecated) / URLImage - does not download image on iOS version 9.3.5

2017-01-31 Thread CODENAME1
I am using ImageDownloadService (even tried using URLImage) to download images . While it works on iPhone 6,6+(as tested ) with iOS 10.X.X. The image does not seems to work for previous iOS version like iOS 9.3.5( i.e 4S which is not upgradable to 10.x.X) Is this known or i am missing

[codenameone-discussions] is there a longpress event for button click

2017-01-25 Thread CODENAME1
in the button click action , event.islognpress() always returns true. is the button.longress functionality supported? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it,

[codenameone-discussions] xml.parse(new inputstreamreader(inputstream,"UTF-8") - does not parse completely(sometimes) when there is ""

2017-03-02 Thread CODENAME1
Hi, in the Readresponse when i try to parse the imputstream using Element h = xml.parse(new inputstreamreader(inputstream,"UTF-8") sometimes, h childcount is only 1 - [GroupInfo Name="Test" Type="0" Fixed="False" Active="False"/>] the rest two are not parsed. is this because of

[codenameone-discussions] how to activate the UITimer once the app is resume

2016-09-14 Thread CODENAME1
Ihave attached a UITimer to a form. THis form has a calling functionality. when a user makes a call, the app will be move to background as the dailing screen (active android dialing) comes to the foreground. How to activate this UITimer again. Once the app is resumed, Start() method will be

[codenameone-discussions] any event that triggers when a request timeout

2016-09-15 Thread CODENAME1
when a request timeout, i would like to show a message. how to handle this -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[codenameone-discussions] Re: how to activate the UITimer once the app is resume

2016-09-15 Thread CODENAME1
it works fine on the simulator but on real android device..it does not On Thursday, September 15, 2016 at 7:01:19 AM UTC+2, Shai Almog wrote: > > It should still be there. Try simulating it using pause/resume in the > debugger. > -- You received this message because you are subscribed to the

[codenameone-discussions] how to dynamically update status on App icon

2016-09-22 Thread CODENAME1
Is it possible to change the color on the App icon (the color will represent my current status and should change as the status changes ).. like in the attached screen shot -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To

[codenameone-discussions] requirement for push notification

2016-09-22 Thread CODENAME1
for implementing push notification what are the basic requirment. DO i need a pro account? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[codenameone-discussions] How to track the current duration of media (audio only)

2016-11-09 Thread CODENAME1
how to bind the current media (audio) position to slider. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: [codenameone-discussions] StringUtil.tokenize incorrect results

2016-11-07 Thread CODENAME1
Thanks..Util.split works :) On Friday, November 4, 2016 at 4:36:51 PM UTC+1, Carlos Verdier wrote: > > If I don't recall incorrectly, Util.split returns the kind of results you > want... > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions"

Re: [codenameone-discussions] Connection request freeze

2016-11-07 Thread CODENAME1
Looking at the network monitor, when i fire async( addtoqueue) which has a default timeout of 1min (longpoling- if there is an update , the response is received immediately else a default response is sent after 1 min ). In the mean time, if anyother request is fired( async( addtoqueue) with

[codenameone-discussions] MediaManager Audio

2016-11-08 Thread CODENAME1
I am trying to play an audio. It works well on the simulator but on android device, its not working Util.downloadUrlToStorageInBackground((voicemailURL, fileName, new ActionListener(){ public void actionPerformed(ActionEvent evt) { try { mp=

Re: [codenameone-discussions] Connection request freeze

2016-11-11 Thread CODENAME1
Is it good to write poling conenction request inside UITImer. (which will try to fetch the response at regular interval)??? or can it lead to UI freeze. On Wednesday, November 9, 2016 at 6:51:08 AM UTC+1, Shai Almog wrote: > > If you used addToQueue without wait then the request is happening on

[codenameone-discussions] Re: How to track the current duration of media (audio only)

2016-11-10 Thread CODENAME1
HOw to update this value continously as the media is playing. I am able to update once, when play button is clicked. findMediaSlider(c.getComponentForm()).setProgress(mp.getTime()); On Thursday, November 10, 2016 at 5:45:24 AM UTC+1, Shai Almog wrote: > > Media.getTime(). -- You received this

[codenameone-discussions] Re: How to use updatethreadcount()

2016-10-18 Thread CODENAME1
It should be written in the init(Object) method ? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[codenameone-discussions] Unable to generate build for app store.

2016-10-18 Thread CODENAME1
Signing Identity: "iPhone Distribution: Unexus B.V. (JBN2VE753X)" Provisioning Profile: "UnexusDistrAppStore" (7493dd3a-85b5-4814-896d-b1b8d74f28c9) /usr/bin/codesign --force --sign 42DDF5F9F98DAF4D96EDFC7446C677A0E252BE3D --entitlements

[codenameone-discussions] How to use updatethreadcount()

2016-10-18 Thread CODENAME1
NetworkManager n = NetworkManager.getInstance(); n.updateThreadCount(10); n.shutdownSync(); n.start(); is this the right way to use updatethreadcount(). as SetThreadcount() is now deprecated. If i use setthreadcount().. app works fine..if i use updatethreadcount() i get

Re: [codenameone-discussions] Connection request freeze

2016-11-12 Thread CODENAME1
If the long poling connectionrequest(with addtoqueue)which has a default timeout of 60 sec is fired inside uitimer?!? Will it freeze or slow UI. If yes, what is the best way to handle. On Saturday, November 12, 2016 at 6:15:46 AM UTC+1, Shai Almog wrote: > If you keep it at 1 second interval

[codenameone-discussions] chnage the "InfiniteProgress" default image and add label before calling Util.downloadUrlToStorage(String,String, true);

2016-11-24 Thread CODENAME1
HI, i have defined a constant image for the infiniteprogress in the GUI builder. IS it possible to change the infiniteprogress animation image and layout before calling While calling the below method the image defined in the constant varaible is being used for showprogress. I would like to

[codenameone-discussions] iOS alert message

2016-11-28 Thread CODENAME1
This message is shown only while installing iOS build on OS 10.1.1. Any idea? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[codenameone-discussions] CheckBox custom check ucheck image

2016-11-18 Thread CODENAME1
I have defined the check /uncheck image for checkbox ( in the GUI bilder constants) . When i use the checkbox in the GUI builder. It shows corectly(the unselcted/pressed/selected state). BUt when i try to manually add the checkbox (setting the same UIID as the GUI builder checkbox), the look

Re: [codenameone-discussions] Connection request freeze

2016-11-13 Thread CODENAME1
But I need to fetch the data at regular interval. thereby firing the connectionrequest after every 1 min. I do this inside a UiTimer . Is this the correct way to do..wil this freeze the ui. As the response will arrive max after 1 min On Sunday, November 13, 2016 at 4:27:16 AM UTC+1, Shai

Re: [codenameone-discussions] StringUtil.tokenize incorrect results

2016-11-03 Thread CODENAME1
simulator On Wednesday, November 2, 2016 at 5:10:02 PM UTC+1, Steve Hannah wrote: > > Which platform do you see this on? Simulator? iOS? > > Steve > > On Wed, Nov 2, 2016 at 6:04 AM, CODENAME1 <prity19...@gmail.com > > wrote: > >> if i have a string

[codenameone-discussions] Connection request freeze

2016-11-03 Thread CODENAME1
Hi, When I fire a request ( that implements long poking) which has a default timeout of 1min. And fire another request . Even though the response for the second request is received , the UI doesn't update since it waits for the response of the first request . This gives a freeze effect on the

[codenameone-discussions] StringUtil.tokenize incorrect results

2016-11-02 Thread CODENAME1
if i have a string say str = busy,,hello1,hllo2,hello3 then StringUtil.tokenize(str,',') -> the list should have 4 times ..at index 0->busy..at index 1->emptyat index 2 hello1at index 3 hello2at index 4 hello3 but the current behaviour gives .

[codenameone-discussions] no identity found: iOS App store build

2016-10-12 Thread CODENAME1
CodeSign build/Build/Intermediates/ArchiveIntermediates/UnexusMobileClient/InstallationBuildProductsLocation/Applications/UnexusMobileClient.app cd /var/folders/p_/xlvwhg4101z8r81_nl13cds8gn/T/build3934954615893893151xxx/dist export

[codenameone-discussions] Read contacts that have linked Contacts information on iPhone

2016-12-08 Thread CODENAME1
Contacts are shown more than once, if they are linked. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[codenameone-discussions] difference between "addResponseListener" and "ReadResponse/PostResponse"

2016-12-08 Thread CODENAME1
is there any difference in performance when handling the response in the "addResponseListener" or "ReadResponse/PostResponse" -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails

[codenameone-discussions] Media.play() {audio) runs on speaker mode. Is it possible to avoid running on speaker mode

2016-12-14 Thread CODENAME1
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] voicemail Media.play() running on speaker mode

2016-12-14 Thread CODENAME1
HI, I am trying to play the voicemail . By downloading (Util.downloadurltostorage) the voicemail and playing it [Media.play()], the media is played in speaker mode. is it possible to avoid running on speake mode . -- You received this message because you are subscribed to the Google Groups

[codenameone-discussions] how to set ConnectionRequest priority on Util.downloadUrlToStorage

2016-12-13 Thread CODENAME1
If you are experiencing an issue please mention the full platform your issue applies to: IDE: NetBeans/Eclipse/IDEA Desktop OS Simulator Device -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop

[codenameone-discussions] Add contacts to device address book

2016-11-30 Thread CODENAME1
I am trying to add contact to device contact book using com.codename1.contacts.ContactsManager.createContact(name, familyname, officephone,homephoe,mobilephone,emailaddress); is it possible to add the image to contact as well? -- You received this message because you are subscribed to the

Re: [codenameone-discussions] Re: Unable to generate android build

2017-03-28 Thread CODENAME1
classpath="lib/CodenameOne.jar:${build.classes.dir}:lib/impl/cls"> - this is what i have on line 155 this is part of the below code. Also, java variables are set as below JAVA_HOME C:\Program Files\Java\jdk1.8.0_121 if i replace java 1.8 with 1.7 everything works well... i

[codenameone-discussions] Unable to generate android build

2017-03-24 Thread CODENAME1
[echo] Compile is forcing compliance to the supported API's/features for maximum device compatibility. This allows smaller [echo]code size and wider device support [copy] Copying 6 files to C:\Users\XX\workspace\MobileClientApp\build\tmp [javac]