[codenameone-discussions] Re: Google Play Warning: SSL Error Handler Vulnerability

2016-08-26 Thread Shai Almog
Do you use any cn1libs?
I just submitted a Codename One app the other day and didn't get that 
warning.

-- 
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/8b9c5832-abfa-4b3b-9b7c-50f3cdc08208%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Define Form created with the new GUI Builder as the default / first screen

2016-08-26 Thread Shai Almog
Yes, I guess we need to add something like that. It's non-trivial to add 
new templates as it needs to be done 3 times (for all IDE's). 
I'm not sure when we will get to 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/fdbdd788-29dc-4c96-a34c-4451e680c13b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-26 Thread Shai Almog
While that could be a performance problem the UI should still appear 
eventually. I don't see the stack you screenshotted earlier which is why I 
asked for the logs 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 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/698aefda-49b1-4138-ad88-47543b47a85b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Google Play Warning: SSL Error Handler Vulnerability

2016-08-26 Thread sergiocirasa
I recently submitted an app in the Play Store, developed using codenameone 
and I received a warning email from Google with the following message:

*"We detected that your app(s) listed at the end of this email are using an 
unsafe implementation of the WebViewClient.onReceivedSslErrorHandler. You 
can also see the list of affected apps, as well as details such as version 
numbers and class names, on the Alerts page in your Developer Console.*

*Your current implementation ignores all SSL certificate validation errors, 
making your app vulnerable to man-in-the-middle attacks. An attacker could 
change the affected WebView's content, read transmitted data (such as login 
credentials), and execute code inside the app using JavaScript.*

*What’s happening*

*Beginning November 25, 2016, Google Play will block publishing of any new 
apps or updates that contain this vulnerability. Your published APK version 
will remain unaffected, however any updates to the app will be rejected 
unless you address this vulnerability.*

*Action required*

*- To properly handle SSL certificate validation, change your code to 
invoke SslErrorHandler.proceed() whenever the certificate presented by the 
server meets your expectations, and invoke SslErrorHandler.cancel() 
otherwise.*
*- If you are using a 3rd party library that’s responsible for this, please 
notify the 3rd party and work with them to address the issue.*
*- After making changes, sign in to your Developer Console and submit the 
updated version of your app.*
*- Check back after five hours - we’ll show a warning message if the app 
hasn’t been updated correctly."*

I was researching but unfortunately I didn't find anything about that. I 
think that maybe is an internal issue of the platform but not sure. What do 
you think?

Thanks in advance.

Sergio

-- 
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/481bf432-55cc-48e0-882a-7bbbf5f51328%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Preferred IDE when debugging native Windows 10 apps

2016-08-26 Thread Steve Hannah
I've been using VS2015.  My recommendation, though, is to try to avoid
native debugging.  Debug in the CN1 simulator, and build for UWP once you
have it working.  Use Codename One's crash reporting features
(Log.bindCrashProtection(true), Log.e(..), Log.p(..), Log.sendLog(...)
etc.. ) to have errors and stack traces emailed to you.

But if you must debug natively, then VS2015 is what I've been using to
develop the port.

Steve

On Fri, Aug 26, 2016 at 2:40 AM,  wrote:

> Hello
>
> I notice you have beta support for Windows 10 apps. What I want to know
> is, if one ought to debug or run a Codenameone app natively on an actual
> Windows simulator in Visual Studio IDE, which version would you recommend?
> The 2013 or 2015? I would like to install the preferred one according to
> your recommendation.
>
> Thanks,
> George
>
> --
> 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/bc36d2b7-b506-4dab-86a6-
> 2a07d29ff3ac%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Steve Hannah
Software Developer
Codename One
http://www.codenameone.com

-- 
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/CAGOYrKW0thNzNDDA2hsVAEuO2JF9vokc-X5cdGsOv5_RYBEabw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Facebook connection, display problem

2016-08-26 Thread Gareth Murfin
good luck, I seem to remember the FK SDK is a nightmare even natively, I 
had once wrapped it all up entirely into a very simple object that could do 
everything nicely (for native android) if I can get back to that on Android 
I will make a lib, but it wont work on iOS.

On Friday, August 26, 2016 at 8:29:17 PM UTC+8, usabg...@gmail.com wrote:
>
> I'm trying to find a solution, everydays.
>

-- 
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/ed8872f5-b640-45df-8bd5-0cac746a9803%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Facebook connection, display problem

2016-08-26 Thread usabg63500
I'm trying to find a solution, everydays.

-- 
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/149ac6ac-8a31-4ed7-ae49-c786d0efbd2c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Error on fromNSString function in Codename one

2016-08-26 Thread mispro . ahsay
Dear Sir,

Please refer to the error shown below


Please suggest any solution for the error above. We are logged and sure 
there is a string value passed before that function be called.

Thanks and Regards,
Ronald

-- 
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/1781dfc8-6480-437b-a471-7a0203bf0ce0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-26 Thread Gareth Murfin
Works only if I have that title bar thing showing which I dont want I want 
my own button to pop open a menu on the right, on the left its a piece of 
cake, im not going to try with layerlayouts and animating them in

On Friday, August 26, 2016 at 5:08:54 PM UTC+8, Gareth Murfin wrote:
>
> It doesnt work, would be great if you could give an example, for now Im 
> just actually going to tell clients you cant have a right menu, far too 
> confusing and hard to do, wasted days trying to get something to appear
>
> On Saturday, August 6, 2016 at 1:25:01 PM UTC+8, Shai Almog wrote:
>>
>> If it's the container then you need to have a command and put the client 
>> property into that then add the command.
>>
>

-- 
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/923d52e7-155f-46d2-9926-58e95eae1fea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Preferred IDE when debugging native Windows 10 apps

2016-08-26 Thread gkent885
Hello

I notice you have beta support for Windows 10 apps. What I want to know is, 
if one ought to debug or run a Codenameone app natively on an actual 
Windows simulator in Visual Studio IDE, which version would you recommend? 
The 2013 or 2015? I would like to install the preferred one according to 
your recommendation.

Thanks,
George

-- 
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/bc36d2b7-b506-4dab-86a6-2a07d29ff3ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Facebook connection, display problem

2016-08-26 Thread Gareth Murfin
If you ever get it to work Id love to know how, I had to give up on FB 
altogether, I tell clients its not an option because i  couldnt get it to 
work on any level

On Tuesday, August 23, 2016 at 11:31:34 PM UTC+8, usabg...@gmail.com wrote:
>
> yes i know that, my facebook queries worked before, but know, i thing that 
> i have all, and my code it's complete. But when  push facebook button in 
> order to launch my home page, i see nothing. that makes me crazy.
>
> On Tuesday, August 23, 2016 at 7:28:42 AM UTC+2, Shai Almog wrote:
>>
>> If you have your login you can now use the Facebook Graph API webservice 
>> to query facebook.
>>
>

-- 
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/17a0831f-07da-4239-b712-3bdf2dc6ae03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Right Menu Examples - ANYONE!

2016-08-26 Thread Gareth Murfin
Is there anyone who can give me some simple example code that shows how to 
get even a single label top appear on a right side menu ? I have not 
managed this once in days of trying, Im beyond frustrated now, absolutely 
at punching walls stages.

-- 
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/3c8461a2-06d2-4b32-b8be-4ad7ff6f9267%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: How to have a right side menu, with container in it

2016-08-26 Thread Gareth Murfin
It doesnt work, would be great if you could give an example, for now Im 
just actually going to tell clients you cant have a right menu, far too 
confusing and hard to do, wasted days trying to get something to appear

On Saturday, August 6, 2016 at 1:25:01 PM UTC+8, Shai Almog wrote:
>
> If it's the container then you need to have a command and put the client 
> property into that then add the command.
>

-- 
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/cd98aacd-4c02-46ff-b873-6a672b3471c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] SCREEN/APP FREEZING

2016-08-26 Thread Jojiez
>From the Log(Attached) I can see the 'Choreographer : Skipped 36 Frames! 
The Application maybe doing too much work in its main tread' that happens 
whenever i touch on the freezed screen.

On Friday, August 26, 2016 at 7:44:49 AM UTC+3, Shai Almog wrote:
>
> That's a screenshot, not the text log and it shows something out of 
> context that would narrow down why this is happening.
>

-- 
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/2142a844-37e8-4e7b-b41a-b70dc5477e81%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
08-26 11:42:35.784: W/ActivityThread(24496): Application 
com.Smartchip.MobiReader can be debugged on port 8100...
08-26 11:42:35.834: I/GMPM(24496): App measurement is starting up
08-26 11:42:35.854: E/GMPM(24496): getGoogleAppId failed with status: 10
08-26 11:42:35.854: E/GMPM(24496): Uploading is not possible. App measurement 
disabled
08-26 11:42:35.934: D/PhoneWindow(24496): *FMB* installDecor mIsFloating : false
08-26 11:42:35.934: D/PhoneWindow(24496): *FMB* installDecor flags : -2139029248
08-26 11:42:35.984: W/ResourceType(24496): No package identifier when getting 
value for resource number 0x
08-26 11:42:35.984: W/ResourceType(24496): No package identifier when getting 
value for resource number 0x
08-26 11:42:36.034: W/art(24496): Suspending all threads took: 12.066ms
08-26 11:42:36.034: I/art(24496): Background sticky concurrent mark sweep GC 
freed 8153(483KB) AllocSpace objects, 4(64KB) LOS objects, 0% free, 8MB/8MB, 
paused 14.499ms total 37.775ms
08-26 11:42:36.064: I/art(24496): Background partial concurrent mark sweep GC 
freed 417(45KB) AllocSpace objects, 0(0B) LOS objects, 64% free, 8MB/24MB, 
paused 5.815ms total 24.542ms
08-26 11:42:36.074: D/OpenGLRenderer(24496): Render dirty regions requested: 
true
08-26 11:42:36.084: D/PhoneWindow(24496): *FMB* isFloatingMenuEnabled 
mFloatingMenuBtn : null
08-26 11:42:36.084: D/PhoneWindow(24496): *FMB* isFloatingMenuEnabled return 
false
08-26 11:42:36.114: W/ResourceType(24496): No package identifier when getting 
value for resource number 0x
08-26 11:42:36.124: D/SRIB_DCS(24496): log_dcs ThreadedRenderer::initialize 
entered! 
08-26 11:42:36.124: I/Adreno-EGL(24496): : EGL 
1.4 QUALCOMM build: 
SKARAJGA_AU_LINUX_ANDROID_LA.BR.1.1.2_RB1.05.00.02.031.018+PATCH[ES]_msm8916_32_refs/tags/AU_LINUX_ANDROID_LA.BR.1.1.2_RB1.05.00.02.031.018__release_ENGG
 (I856e09677e)
08-26 11:42:36.124: I/Adreno-EGL(24496): OpenGL ES Shader Compiler Version: 
E031.25.03.02
08-26 11:42:36.124: I/Adreno-EGL(24496): Build Date: 04/06/15 Mon
08-26 11:42:36.124: I/Adreno-EGL(24496): Local Branch: 
08-26 11:42:36.124: I/Adreno-EGL(24496): Remote Branch: 
refs/tags/AU_LINUX_ANDROID_LA.BR.1.1.2_RB1.05.00.02.031.018
08-26 11:42:36.124: I/Adreno-EGL(24496): Local Patches: 
112c106f3772623daa7b4181c6cf23491044ead1 Revert "Disable ASTC on A405"
08-26 11:42:36.124: I/Adreno-EGL(24496):  
58a118cb818fdc906095a49a90977c15f9d3b223 Remove ASTC
08-26 11:42:36.124: I/OpenGLRenderer(24496): Initialized EGL, version 1.4
08-26 11:42:36.144: D/OpenGLRenderer(24496): Get maximum texture size. 
GL_MAX_TEXTURE_SIZE is 4096
08-26 11:42:36.144: D/OpenGLRenderer(24496): Enabling debug mode 0
08-26 11:42:36.214: I/Timeline(24496): Timeline: Activity_idle id: 
android.os.BinderProxy@1cb69351 time:18599982
08-26 11:42:36.224: I/Codename One(24496): Resource not found: theme_phone.ovr
08-26 11:42:36.224: I/Codename One(24496): Resource not found: theme_android.ovr
08-26 11:42:36.224: I/Codename One(24496): Resource not found: 
theme_android-phone.ovr
08-26 11:42:36.224: W/ResourceType(24496): No package identifier when getting 
value for resource number 0x
08-26 11:42:36.284: I/Codename One(24496): Resource not found: theme_phone.ovr
08-26 11:42:36.284: I/Codename One(24496): Resource not found: theme_android.ovr
08-26 11:42:36.284: I/Codename One(24496): Resource not found: 
theme_android-phone.ovr
08-26 11:42:36.294: W/ResourceType(24496): No package identifier when getting 
value for resource number 0x
08-26 11:42:36.314: I/System.out(24496): showKeyboard false
08-26 11:42:36.344: D/Codename One(24496): sizechanged: 720 1230 
com.codename1.impl.android.CodenameOneView@236138f9
08-26 11:42:41.614: D/ViewRootImpl(24496): ViewPostImeInputStage ACTION_DOWN
08-26 11:42:41.694: W/ResourceType(24496): No package identifier when getting 
value for resource number 0x
08-26 11:42:41.724: W/ResourceType(24496): No package identifier when getting 
value for resource number 0x
08-26 11:42:41.724: