[codenameone-discussions] Re: hide notification

2016-10-15 Thread howudodat1
I will look into UITimer.  What I have done for now is in showListener I 
create a timer.  In the timer event i check if 
(Display.getInstance().getCurrent() != this) and kill the timer.  That 
seems to work so far.

On Saturday, October 15, 2016 at 7:47:24 PM UTC-7, Shai Almog wrote:
>
> If you use UITimer it will not invoke if the form is hidden. However it 
> will keep counting down so it might invoke immediately if the form is shown.
>

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/c4fc5804-f70f-4fa9-8fc1-a274a06cc7e9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: iOS OTA Install

2016-10-15 Thread Shai Almog
I had this for a device that I let my kids play with where I turned on the 
parental lock.

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8959c3de-e8ad-45eb-a3c7-d47fc013f4af%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: hide notification

2016-10-15 Thread Shai Almog
If you use UITimer it will not invoke if the form is hidden. However it 
will keep counting down so it might invoke immediately if the form is shown.

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/ba0c5dc8-7d79-4e90-8919-14cf4c9d8236%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: iOS barcode scanning issue

2016-10-15 Thread Shai Almog
Great!

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/2dd47116-4f4f-4b52-bc34-2752baabfbed%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Issue with Samsung Galaxy S3 Neo

2016-10-15 Thread Shai Almog
Do you have a filter on ddms (something typed in the title area). If you 
use the Android SDK DDMS utility you should see too much output not too 
little.

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/0254dff5-d928-4c5e-8f80-76c373d24d77%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: feature suggestion

2016-10-15 Thread Shai Almog
And expensive.

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/278499b7-d8df-4e48-af84-8b830bc7a835%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] hide notification

2016-10-15 Thread howudodat1
I can override onShow or cal addShowListener() in order to know when a form 
is being displayed.  I use this to start a timer.  I'd like to cancel the 
timer when the form is not visible (ie user went home, or turned the 
display off, or selected another form).  How can I do 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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/18484563-0ca8-4c06-a4a7-a37288109bd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] CN1JSON + parse4cn1 together make builds fail

2016-10-15 Thread Carlos Verdier
Hi

Today I updated my cn1 libs and suddenly Android and iOS builds started to 
fail.

After a little research, I found out that latest versions of CN1JSON and 
parse4cn1 are responsible for the failure. I got back to an earlier version 
of CN1JSON and it worked again, so I guess there is some kind of 
incompatibility between the two libs.

Here is the error log for Android (pay attention to the firsts lines, where 
there are references to parse4cn1)


Initializing...
Note: the configuration refers to the unknown class 
'com.google.vending.licensing.ILicensingService'
Note: the configuration refers to the unknown class 
'com.android.vending.licensing.ILicensingService'
Note: the configuration refers to the unknown class 
'com.android.vending.licensing.ILicensingService'
Note: the configuration refers to the unknown class 
'com.apperhand.device.android.EULAActivity$EulaJsInterface'
Note: the configuration refers to the unknown class 
'com.codename1.location.BackgroundLocationHandler'
Note: the configuration refers to the unknown class 
'com.codename1.location.CodenameOneBackgroundLocationActivity'
Note: the configuration refers to the unknown class 
'com.codename1.location.GeofenceHandler'
Warning: com.parse4cn1.ParsePush: can't find referenced method 
'JSONArray(java.util.ArrayList)' in program class 
ca.weblite.codename1.json.JSONArray
Warning: com.parse4cn1.encode.ParseDecoder: can't find referenced method 
'JSONArray(java.util.ArrayList)' in program class 
ca.weblite.codename1.json.JSONArray
Note: android.support.v4.text.ICUCompatApi23: can't find dynamically 
referenced class libcore.icu.ICU
Note: android.support.v4.text.ICUCompatIcs: can't find dynamically 
referenced class libcore.icu.ICU
Note: com.codename1.impl.android.AndroidImplementation: can't find 
dynamically referenced class 
com.codename1.location.AndroidLocationPlayServiceManager
Note: com.codename1.system.NativeLookup calls 
'(com.codename1.system.NativeInterface)Class.forName(variable).newInstance()'
Note: com.codename1.testing.DeviceRunner calls 
'(com.codename1.testing.UnitTest)Class.forName(variable).newInstance()'
Note: the configuration keeps the entry point 
'android.support.v4.view.ViewPager { void 
setAdapter(android.support.v4.view.PagerAdapter); }', but not the 
descriptor class 'android.support.v4.view.PagerAdapter'
Note: the configuration keeps the entry point 
'android.support.v4.view.ViewPager { void 
setOnAdapterChangeListener(android.support.v4.view.ViewPager$OnAdapterChangeListener);
 
}', but not the descriptor class 
'android.support.v4.view.ViewPager$OnAdapterChangeListener'
Note: the configuration keeps the entry point 
'android.support.v4.view.ViewPager { void 
setOnPageChangeListener(android.support.v4.view.ViewPager$OnPageChangeListener);
 
}', but not the descriptor class 
'android.support.v4.view.ViewPager$OnPageChangeListener'
Note: the configuration keeps the entry point 
'android.support.v4.widget.DrawerLayout { void 
setDrawerListener(android.support.v4.widget.DrawerLayout$DrawerListener); 
}', but not the descriptor class 
'android.support.v4.widget.DrawerLayout$DrawerListener'
Note: the configuration keeps the entry point 
'android.support.v4.widget.NestedScrollView { void 
setOnScrollChangeListener(android.support.v4.widget.NestedScrollView$OnScrollChangeListener);
 
}', but not the descriptor class 
'android.support.v4.widget.NestedScrollView$OnScrollChangeListener'
Note: the configuration keeps the entry point 
'android.support.v4.widget.SlidingPaneLayout { void 
setPanelSlideListener(android.support.v4.widget.SlidingPaneLayout$PanelSlideListener);
 
}', but not the descriptor class 
'android.support.v4.widget.SlidingPaneLayout$PanelSlideListener'
Note: the configuration keeps the entry point 
'android.support.v4.widget.SwipeRefreshLayout { void 
setOnRefreshListener(android.support.v4.widget.SwipeRefreshLayout$OnRefreshListener);
 
}', but not the descriptor class 
'android.support.v4.widget.SwipeRefreshLayout$OnRefreshListener'
Note: the configuration keeps the entry point 
'com.codename1.impl.android.AndroidNativeUtil { void 
addLifecycleListener(com.codename1.impl.android.LifecycleListener); }', but 
not the descriptor class 'com.codename1.impl.android.LifecycleListener'
Note: the configuration keeps the entry point 
'com.codename1.impl.android.AndroidNativeUtil { void 
removeLifecycleListener(com.codename1.impl.android.LifecycleListener); }', 
but not the descriptor class 'com.codename1.impl.android.LifecycleListener'
Note: the configuration keeps the entry point 
'com.codename1.impl.android.AndroidNativeUtil { void 
startActivityForResult(android.content.Intent,com.codename1.impl.android.IntentResultListener);
 
}', but not the descriptor class 
'com.codename1.impl.android.IntentResultListener'
Note: the configuration keeps the entry point 
'com.codename1.impl.android.AndroidNativeUtil { void 
registerViewRenderer(java.lang.Class,com.codename1.impl.android.AndroidNativeUtil$BitmapViewRenderer);
 

[codenameone-discussions] Re: iOS barcode scanning issue

2016-10-15 Thread mcw


On Friday, October 14, 2016 at 7:41:24 PM UTC-7, Shai Almog wrote:
>
> Sorry I misunderstood this as a change to the build.xml. 
>
> The impl file is an internal part of NetBeans so it's hard to tell what 
> sort of effect this would have.
> I'm a bit stumped with this as we changed a lot of things since 2012 but I 
> can't think of anything that would impact this. Are you using any cn1libs?
>

No, this is my first cn1lib
 

>
> After using refresh libs is the cn1lib expanded under the lib/impl 
> hierarchy?
>

Yes
 

> Is that hierarchy in the classpath for compilation?
>

No
 

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/67eed644-a988-441e-9589-28eff11933c6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Issue with Samsung Galaxy S3 Neo

2016-10-15 Thread Lorenzo Sheogorath


On Saturday, October 15, 2016 at 4:35:10 AM UTC+2, Shai Almog wrote:
>
> Can you provide more of the logs, this doesn't give me enough context.
>
> Thanks.
>
I will try but I'm unable to copy the log, and they tend to disappear after 
10 seconds.

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/8e4b9742-a182-4723-85ca-231ad18c0727%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: feature suggestion

2016-10-15 Thread Dave Dyer
Very inconvenient.  Keep and upload/download would be much better.

-- 
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+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/91fd02af-8ec5-456a-a078-1b381ec4b837%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.