[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-08-20 Thread Shai Almog
I suggest opening a separate question for this as it is unrelated. -- 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...

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-08-20 Thread jsa41394
Is there a way to make native code consume less battery? WhileIdle runs even while in low-power standby mode. On Tuesday, July 5, 2016 at 4:28:45 AM UTC-4, ahs...@gmail.com wrote: > > Dear Sir, > > On Android 6.0 when I wanna do AlarmManager and onReceive, it is quickly > found out that of the

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-13 Thread Shai Almog
Create a hello world application and add to it code that reproduces the problem so we can reproduce it on our builds. Submit it based on the guidelines here: https://www.codenameone.com/blog/issue-submission-guideline.html -- You received this message because you are subscribed to the Google G

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-13 Thread mispro . ahsay
Hi, thank you for your response. I can't see any error log , it just stop once the native interface call after schedule kick start. What test case exactly do you want? Thanks and Regards! -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" gr

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-13 Thread Chen Fishbein
Are you seeing an exception in the android ddms log? can you open an issue with a test case? and I'll have a look -- 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

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-13 Thread mispro . ahsay
I see. Would you have another assignment if he is quite busy? Thanks and Regards! On Tuesday, July 12, 2016 at 12:14:32 PM UTC+8, Shai Almog wrote: > > I assigned this to Chen but he's under a bit of a heavy load with a few > enterprise customers and hasn't been as responsive lately. I pinged hi

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-11 Thread Shai Almog
I assigned this to Chen but he's under a bit of a heavy load with a few enterprise customers and hasn't been as responsive lately. I pinged him again. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group an

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-11 Thread zeusching via CodenameOne Discussions
Any news? Thanks! On Friday, July 8, 2016 at 10:28:30 AM UTC+8, ahs...@gmail.com wrote: > > Already using android api 23. Please help to check up the problem, many > thanks! > > On Thursday, July 7, 2016 at 12:23:22 PM UTC+8, Shai Almog wrote: >> >> Did you set the API level to a newer API level

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-07 Thread ahsayqa
Already using android api 23. Please help to check up the problem, many thanks! On Thursday, July 7, 2016 at 12:23:22 PM UTC+8, Shai Almog wrote: > > Did you set the API level to a newer API level to work with this? > Maybe Chen has an idea here. > -- You received this message because you are s

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-06 Thread Shai Almog
Did you set the API level to a newer API level to work with this? Maybe Chen has an idea here. -- 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 codenam

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-06 Thread ahsayqa
Any updates? Thanks! On Wednesday, July 6, 2016 at 1:52:04 PM UTC+8, ahs...@gmail.com wrote: > > As the code presented, we would like to set a schedule at which time to > start the application. Once the application start, it checks something from > native function e.g. permission, get intent val

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-05 Thread ahsayqa
As the code presented, we would like to set a schedule at which time to start the application. Once the application start, it checks something from native function e.g. permission, get intent value. However, after the alarm manager trigger app start, all the native function call is no return su

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-05 Thread Shai Almog
You shouldn't use your own activity or implement/extend additional classes in the native interface itself. We already have a portable way for background notifications so it's unclear to me what you are trying to achieve with native interfaces here? -- You received this message because you are

[codenameone-discussions] Re: Native interface not work after AlarmManager/onReceive in Android 6.0

2016-07-05 Thread ahsayqa
any ideas? Many thanks! On Tuesday, July 5, 2016 at 4:28:45 PM UTC+8, ahs...@gmail.com wrote: > > Dear Sir, > > On Android 6.0 when I wanna do AlarmManager and onReceive, it is quickly > found out that of the Doze mode issue, the "setRepeating" is not work but > using "setExactAndAllowWhileIdle"