[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
I could do Android side but not iOS, then we got 2 coders and Im not in 
control. Of course that is how I calm my clients, I say hey do yoy really 
think you could maintain 2 code bases perfectly? And release on time? NO 
WAY..

On Saturday, May 28, 2016 at 12:41:32 PM UTC+8, Gareth Murfin wrote:
>
> PS very angry clients, every single day they telll me im out and its being 
> done natively.
>
> On Saturday, May 28, 2016 at 12:39:48 PM UTC+8, Gareth Murfin wrote:
>>
>> And I say this cause I just spent 5 DAYS working on your LikeButton, 
>> which doesnt work!. I asked right at the bstart is it broken/ and I only 
>> see that it is becausei m on the gubhub list. Dudes, if you wanna make us 
>> love you more than say Xamarin, please be moremopen and honest, everyone 
>> who has left cn1 is because of the bugs and poor functionality (Ive chatted 
>> to many of them).. You got some good guys here please keep us up to date 
>> just tell me right away the like button is broken. As I say literally a 
>> thousand or more pound has been wasted on this because you maintained it 
>> was OK.
>>
>> On Saturday, May 28, 2016 at 12:36:09 PM UTC+8, Gareth Murfin wrote:
>>>
>>> I love cn1, but I hate wasting a week or 2 before u guys admit the 
>>> functionality is broken and out of date, it has cost me literally thousands 
>>> of pounds. This is a constant occurrence 
>>>  and my clients all literally say how much they hate cn1 almost every 
>>> day. If you can be honest about what works and what doesnt, its gonna help. 
>>> My clients pretty much hate cn1, I have to spend 2 days a week convincing 
>>> them why we are not wasting our time, and sometimes even I cannot 
>>> explain.
>>>
>>>
>>> On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:

 It seems like you can do this with a native button, you can try to use 
 the PeerComponent to display this button in a Form.

>>>

-- 
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/7b897af8-67d6-4dcc-bdf8-72d48273c64f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
PS very angry clients, every single day they telll me im out and its being 
done natively.

On Saturday, May 28, 2016 at 12:39:48 PM UTC+8, Gareth Murfin wrote:
>
> And I say this cause I just spent 5 DAYS working on your LikeButton, which 
> doesnt work!. I asked right at the bstart is it broken/ and I only see that 
> it is becausei m on the gubhub list. Dudes, if you wanna make us love you 
> more than say Xamarin, please be moremopen and honest, everyone who has 
> left cn1 is because of the bugs and poor functionality (Ive chatted to many 
> of them).. You got some good guys here please keep us up to date just tell 
> me right away the like button is broken. As I say literally a thousand or 
> more pound has been wasted on this because you maintained it was OK.
>
> On Saturday, May 28, 2016 at 12:36:09 PM UTC+8, Gareth Murfin wrote:
>>
>> I love cn1, but I hate wasting a week or 2 before u guys admit the 
>> functionality is broken and out of date, it has cost me literally thousands 
>> of pounds. This is a constant occurrence 
>>  and my clients all literally say how much they hate cn1 almost every 
>> day. If you can be honest about what works and what doesnt, its gonna help. 
>> My clients pretty much hate cn1, I have to spend 2 days a week convincing 
>> them why we are not wasting our time, and sometimes even I cannot 
>> explain.
>>
>>
>> On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:
>>>
>>> It seems like you can do this with a native button, you can try to use 
>>> the PeerComponent to display this button in a Form.
>>>
>>

-- 
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/1ef57f1e-08e4-4455-aefd-d3da63934393%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
And I say this cause I just spent 5 DAYS working on your LikeButton, which 
doesnt work!. I asked right at the bstart is it broken/ and I only see that 
it is becausei m on the gubhub list. Dudes, if you wanna make us love you 
more than say Xamarin, please be moremopen and honest, everyone who has 
left cn1 is because of the bugs and poor functionality (Ive chatted to many 
of them).. You got some good guys here please keep us up to date just tell 
me right away the like button is broken. As I say literally a thousand or 
more pound has been wasted on this because you maintained it was OK.

On Saturday, May 28, 2016 at 12:36:09 PM UTC+8, Gareth Murfin wrote:
>
> I love cn1, but I hate wasting a week or 2 before u guys admit the 
> functionality is broken and out of date, it has cost me literally thousands 
> of pounds. This is a constant occurrence 
>  and my clients all literally say how much they hate cn1 almost every day. 
> If you can be honest about what works and what doesnt, its gonna help. My 
> clients pretty much hate cn1, I have to spend 2 days a week convincing them 
> why we are not wasting our time, and sometimes even I cannot 
> explain.
>
>
> On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:
>>
>> It seems like you can do this with a native button, you can try to use 
>> the PeerComponent to display this button in a Form.
>>
>

-- 
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/353201ea-f7c8-4a9d-8519-3994426362e7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Gareth Murfin
I love cn1, but I hate wasting a week or 2 before u guys admit the 
functionality is broken and out of date, it has cost me literally thousands 
of pounds. This is a constant occurrence 
 and my clients all literally say how much they hate cn1 almost every day. 
If you can be honest about what works and what doesnt, its gonna help. My 
clients pretty much hate cn1, I have to spend 2 days a week convincing them 
why we are not wasting our time, and sometimes even I cannot 
explain.


On Friday, May 27, 2016 at 3:37:44 PM UTC+8, Chen Fishbein wrote:
>
> It seems like you can do this with a native button, you can try to use the 
> PeerComponent to display this button in a Form.
>

-- 
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/151bb14b-fea6-4139-8c12-fa1a5bd2fb1a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Class.forName and class.getConstructor

2016-05-27 Thread Shai Almog
Hi,
so the way we do an abstraction of implementation is thru class literals. 
E.g. see the native interface support: 
https://www.codenameone.com/manual/advanced-topics.html#_native_interfaces

This works by using code such as:

MyNative my = NativeLookup.create(MyNative.class); 
if(my != null && my.isSupported()) { 
   Log.p(my.helloWorld("Hi")); 
}

Notice that "MyNative" is an interface not the implementation class and the 
build server injects the glue code to 
the native code. Once it has that glue code in place it just does a 
put(class,impl) into the native lookup map 
which we can then query for the real implementation.


-- 
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/89c1de04-68a2-4e86-a48b-c28867a14f8c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Dan
Shouldn't the keystore file path be the one in whatever JDK you're using?

See this:
http://stackoverflow.com/a/27928213/503246

On Friday, 27 May 2016 11:59:55 UTC-3, Kaya TC wrote:
>
>
> 
> This is how it looks for me right now :\
>
> Am Freitag, 27. Mai 2016 16:56:42 UTC+2 schrieb Dan:
>>
>> Honestly, this is all I remember at this point.
>>
>> Maybe try to list the content of the keystore and see if it was imported 
>> correctly? I suspect the command can be run from anywhere, providing the 
>> full path to the keystore be provided in the call?
>>
>> On Friday, 27 May 2016 11:50:02 UTC-3, Kaya TC wrote:
>>>
>>> Hey Dan,
>>>
>>> i have indeed 2 JDKs installed, the JDK8 is the one i enabled in 
>>> Eclipse, atleast it has the tick on it, i dont have a JRE installation 
>>> beside of the JDKs because they may interfere with each other.
>>>
>>> Right after your last message i went into the Keytool settings and 
>>> loaded my keystore so it does now appear right after eclipse start.
>>>
>>> I went further and put in the .pfx file in to the keystore beside of the 
>>> steps i as described in the previous posting.
>>>
>>> What i am beeing totally unsure is where i have to call that keytool 
>>> command, i did it in the Windows command line without navigating to any 
>>> eclipse directory etc...
>>>
>>> Am Freitag, 27. Mai 2016 16:45:40 UTC+2 schrieb Dan:

 There can be many versions of the JRE or JDK on your system. Are you 
 sure that you updated the keystore on the appropriate one (ie. the one 
 Eclipse is configured to use)?

 On Friday, 27 May 2016 11:40:35 UTC-3, Kaya TC wrote:
>
> Did you do any other steps?
>
> i can see the keystore.jks in keytool on eclipse after opening it and 
> typing password, but i still cant do a https connection.
>
> Did it as you said, downloaded the cert from my site, used this 
> command on command line: "keytool -import -trustcacerts -alias 
> *mydomain* -file *mydomain.crt* -keystore *keystore.jks"*
>
> Am Freitag, 27. Mai 2016 16:26:14 UTC+2 schrieb Dan:
>>
>> Been a while :)
>>
>> If I remember correctly, I visited the site using my browser and used 
>> it to extract the public cert. Then, using keytool, I imported said cert 
>> (ie. file exported on disk), into my Java keystore using commands found 
>> here:
>>
>> https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
>>
>> HTH
>>
>> On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:
>>>
>>> I´d be happy if you guys could provide more info on this, i have 
>>> installed keytool on eclipse etc. but still dont have a right clue what 
>>> to 
>>> do afterwards
>>>
>>> Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:

 It works now.

 I simply added my cert into the JRE keystore and rebooted Eclipse.

 On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  
 wrote:

> Assuming this doesn't help:
>
> https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
>  
>
> Take a look here:
>
> http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
>
> There are several suggestions for properties you can pass to the 
> JVM to workaround this, you can use the -D command line argument to 
> pass 
> System properties to the JVM.
>
> -- 
> You received this message because you are subscribed to a topic in 
> the Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email 
> to codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at 
> http://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
>  
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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 emai

Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Kaya TC



This is how it looks for me right now :\

Am Freitag, 27. Mai 2016 16:56:42 UTC+2 schrieb Dan:
>
> Honestly, this is all I remember at this point.
>
> Maybe try to list the content of the keystore and see if it was imported 
> correctly? I suspect the command can be run from anywhere, providing the 
> full path to the keystore be provided in the call?
>
> On Friday, 27 May 2016 11:50:02 UTC-3, Kaya TC wrote:
>>
>> Hey Dan,
>>
>> i have indeed 2 JDKs installed, the JDK8 is the one i enabled in Eclipse, 
>> atleast it has the tick on it, i dont have a JRE installation beside of the 
>> JDKs because they may interfere with each other.
>>
>> Right after your last message i went into the Keytool settings and loaded 
>> my keystore so it does now appear right after eclipse start.
>>
>> I went further and put in the .pfx file in to the keystore beside of the 
>> steps i as described in the previous posting.
>>
>> What i am beeing totally unsure is where i have to call that keytool 
>> command, i did it in the Windows command line without navigating to any 
>> eclipse directory etc...
>>
>> Am Freitag, 27. Mai 2016 16:45:40 UTC+2 schrieb Dan:
>>>
>>> There can be many versions of the JRE or JDK on your system. Are you 
>>> sure that you updated the keystore on the appropriate one (ie. the one 
>>> Eclipse is configured to use)?
>>>
>>> On Friday, 27 May 2016 11:40:35 UTC-3, Kaya TC wrote:

 Did you do any other steps?

 i can see the keystore.jks in keytool on eclipse after opening it and 
 typing password, but i still cant do a https connection.

 Did it as you said, downloaded the cert from my site, used this command 
 on command line: "keytool -import -trustcacerts -alias *mydomain* 
 -file *mydomain.crt* -keystore *keystore.jks"*

 Am Freitag, 27. Mai 2016 16:26:14 UTC+2 schrieb Dan:
>
> Been a while :)
>
> If I remember correctly, I visited the site using my browser and used 
> it to extract the public cert. Then, using keytool, I imported said cert 
> (ie. file exported on disk), into my Java keystore using commands found 
> here:
>
> https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
>
> HTH
>
> On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:
>>
>> I´d be happy if you guys could provide more info on this, i have 
>> installed keytool on eclipse etc. but still dont have a right clue what 
>> to 
>> do afterwards
>>
>> Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:
>>>
>>> It works now.
>>>
>>> I simply added my cert into the JRE keystore and rebooted Eclipse.
>>>
>>> On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  
>>> wrote:
>>>
 Assuming this doesn't help:

 https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
  

 Take a look here:

 http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al

 There are several suggestions for properties you can pass to the 
 JVM to workaround this, you can use the -D command line argument to 
 pass 
 System properties to the JVM.

 -- 
 You received this message because you are subscribed to a topic in 
 the Google Groups "CodenameOne Discussions" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to 
 codenameone-discussions+unsubscr...@googlegroups.com.
 Visit this group at 
 http://groups.google.com/group/codenameone-discussions.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
  
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>

-- 
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/d8d0eaeb-625d-4175-955e-1e3b3ecef2f6%40googlegroups.com.
For

Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Dan
Honestly, this is all I remember at this point.

Maybe try to list the content of the keystore and see if it was imported 
correctly? I suspect the command can be run from anywhere, providing the 
full path to the keystore be provided in the call?

On Friday, 27 May 2016 11:50:02 UTC-3, Kaya TC wrote:
>
> Hey Dan,
>
> i have indeed 2 JDKs installed, the JDK8 is the one i enabled in Eclipse, 
> atleast it has the tick on it, i dont have a JRE installation beside of the 
> JDKs because they may interfere with each other.
>
> Right after your last message i went into the Keytool settings and loaded 
> my keystore so it does now appear right after eclipse start.
>
> I went further and put in the .pfx file in to the keystore beside of the 
> steps i as described in the previous posting.
>
> What i am beeing totally unsure is where i have to call that keytool 
> command, i did it in the Windows command line without navigating to any 
> eclipse directory etc...
>
> Am Freitag, 27. Mai 2016 16:45:40 UTC+2 schrieb Dan:
>>
>> There can be many versions of the JRE or JDK on your system. Are you sure 
>> that you updated the keystore on the appropriate one (ie. the one Eclipse 
>> is configured to use)?
>>
>> On Friday, 27 May 2016 11:40:35 UTC-3, Kaya TC wrote:
>>>
>>> Did you do any other steps?
>>>
>>> i can see the keystore.jks in keytool on eclipse after opening it and 
>>> typing password, but i still cant do a https connection.
>>>
>>> Did it as you said, downloaded the cert from my site, used this command 
>>> on command line: "keytool -import -trustcacerts -alias *mydomain* -file 
>>> *mydomain.crt* -keystore *keystore.jks"*
>>>
>>> Am Freitag, 27. Mai 2016 16:26:14 UTC+2 schrieb Dan:

 Been a while :)

 If I remember correctly, I visited the site using my browser and used 
 it to extract the public cert. Then, using keytool, I imported said cert 
 (ie. file exported on disk), into my Java keystore using commands found 
 here:

 https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html

 HTH

 On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:
>
> I´d be happy if you guys could provide more info on this, i have 
> installed keytool on eclipse etc. but still dont have a right clue what 
> to 
> do afterwards
>
> Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:
>>
>> It works now.
>>
>> I simply added my cert into the JRE keystore and rebooted Eclipse.
>>
>> On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  
>> wrote:
>>
>>> Assuming this doesn't help:
>>>
>>> https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
>>>  
>>>
>>> Take a look here:
>>>
>>> http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
>>>
>>> There are several suggestions for properties you can pass to the JVM 
>>> to workaround this, you can use the -D command line argument to pass 
>>> System 
>>> properties to the JVM.
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in 
>>> the Google Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> codenameone-discussions+unsubscr...@googlegroups.com.
>>> Visit this group at 
>>> http://groups.google.com/group/codenameone-discussions.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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/bf30883a-922d-4123-b447-3fb03f975f5f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Kaya TC
Hey Dan,

i have indeed 2 JDKs installed, the JDK8 is the one i enabled in Eclipse, 
atleast it has the tick on it, i dont have a JRE installation beside of the 
JDKs because they may interfere with each other.

Right after your last message i went into the Keytool settings and loaded 
my keystore so it does now appear right after eclipse start.

I went further and put in the .pfx file in to the keystore beside of the 
steps i as described in the previous posting.

What i am beeing totally unsure is where i have to call that keytool 
command, i did it in the Windows command line without navigating to any 
eclipse directory etc...

Am Freitag, 27. Mai 2016 16:45:40 UTC+2 schrieb Dan:
>
> There can be many versions of the JRE or JDK on your system. Are you sure 
> that you updated the keystore on the appropriate one (ie. the one Eclipse 
> is configured to use)?
>
> On Friday, 27 May 2016 11:40:35 UTC-3, Kaya TC wrote:
>>
>> Did you do any other steps?
>>
>> i can see the keystore.jks in keytool on eclipse after opening it and 
>> typing password, but i still cant do a https connection.
>>
>> Did it as you said, downloaded the cert from my site, used this command 
>> on command line: "keytool -import -trustcacerts -alias *mydomain* -file 
>> *mydomain.crt* -keystore *keystore.jks"*
>>
>> Am Freitag, 27. Mai 2016 16:26:14 UTC+2 schrieb Dan:
>>>
>>> Been a while :)
>>>
>>> If I remember correctly, I visited the site using my browser and used it 
>>> to extract the public cert. Then, using keytool, I imported said cert (ie. 
>>> file exported on disk), into my Java keystore using commands found here:
>>>
>>> https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
>>>
>>> HTH
>>>
>>> On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:

 I´d be happy if you guys could provide more info on this, i have 
 installed keytool on eclipse etc. but still dont have a right clue what to 
 do afterwards

 Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:
>
> It works now.
>
> I simply added my cert into the JRE keystore and rebooted Eclipse.
>
> On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  
> wrote:
>
>> Assuming this doesn't help:
>>
>> https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
>>  
>>
>> Take a look here:
>>
>> http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
>>
>> There are several suggestions for properties you can pass to the JVM 
>> to workaround this, you can use the -D command line argument to pass 
>> System 
>> properties to the JVM.
>>
>> -- 
>> You received this message because you are subscribed to a topic in 
>> the Google Groups "CodenameOne Discussions" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> codenameone-discussions+unsubscr...@googlegroups.com.
>> Visit this group at 
>> http://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/9827600e-3504-42db-8bdc-d813916f30f7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Dan
There can be many versions of the JRE or JDK on your system. Are you sure 
that you updated the keystore on the appropriate one (ie. the one Eclipse 
is configured to use)?

On Friday, 27 May 2016 11:40:35 UTC-3, Kaya TC wrote:
>
> Did you do any other steps?
>
> i can see the keystore.jks in keytool on eclipse after opening it and 
> typing password, but i still cant do a https connection.
>
> Did it as you said, downloaded the cert from my site, used this command on 
> command line: "keytool -import -trustcacerts -alias *mydomain* -file 
> *mydomain.crt* -keystore *keystore.jks"*
>
> Am Freitag, 27. Mai 2016 16:26:14 UTC+2 schrieb Dan:
>>
>> Been a while :)
>>
>> If I remember correctly, I visited the site using my browser and used it 
>> to extract the public cert. Then, using keytool, I imported said cert (ie. 
>> file exported on disk), into my Java keystore using commands found here:
>>
>> https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
>>
>> HTH
>>
>> On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:
>>>
>>> I´d be happy if you guys could provide more info on this, i have 
>>> installed keytool on eclipse etc. but still dont have a right clue what to 
>>> do afterwards
>>>
>>> Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:

 It works now.

 I simply added my cert into the JRE keystore and rebooted Eclipse.

 On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  wrote:

> Assuming this doesn't help:
>
> https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
>  
>
> Take a look here:
>
> http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
>
> There are several suggestions for properties you can pass to the JVM 
> to workaround this, you can use the -D command line argument to pass 
> System 
> properties to the JVM.
>
> -- 
> You received this message because you are subscribed to a topic in the 
> Google Groups "CodenameOne Discussions" group.
> To unsubscribe from this topic, visit 
> https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an email to 
> codenameone-discussions+unsubscr...@googlegroups.com.
> Visit this group at 
> http://groups.google.com/group/codenameone-discussions.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
>  
> 
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
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/b9afa619-1f97-430a-8051-cd77ed1104e5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Kaya TC
Did you do any other steps?

i can see the keystore.jks in keytool on eclipse after opening it and 
typing password, but i still cant do a https connection.

Did it as you said, downloaded the cert from my site, used this command on 
command line: "keytool -import -trustcacerts -alias *mydomain* -file 
*mydomain.crt* -keystore *keystore.jks"*

Am Freitag, 27. Mai 2016 16:26:14 UTC+2 schrieb Dan:
>
> Been a while :)
>
> If I remember correctly, I visited the site using my browser and used it 
> to extract the public cert. Then, using keytool, I imported said cert (ie. 
> file exported on disk), into my Java keystore using commands found here:
>
> https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html
>
> HTH
>
> On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:
>>
>> I´d be happy if you guys could provide more info on this, i have 
>> installed keytool on eclipse etc. but still dont have a right clue what to 
>> do afterwards
>>
>> Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:
>>>
>>> It works now.
>>>
>>> I simply added my cert into the JRE keystore and rebooted Eclipse.
>>>
>>> On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  wrote:
>>>
 Assuming this doesn't help:

 https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
  

 Take a look here:

 http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al

 There are several suggestions for properties you can pass to the JVM to 
 workaround this, you can use the -D command line argument to pass System 
 properties to the JVM.

 -- 
 You received this message because you are subscribed to a topic in the 
 Google Groups "CodenameOne Discussions" group.
 To unsubscribe from this topic, visit 
 https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
 .
 To unsubscribe from this group and all its topics, send an email to 
 codenameone-discussions+unsubscr...@googlegroups.com.
 Visit this group at 
 http://groups.google.com/group/codenameone-discussions.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
  
 
 .

 For more options, visit https://groups.google.com/d/optout.

>>>
>>>

-- 
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/666b1c69-c447-4503-a4b5-4ac4e495a5a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Dan
Been a while :)

If I remember correctly, I visited the site using my browser and used it to 
extract the public cert. Then, using keytool, I imported said cert (ie. 
file exported on disk), into my Java keystore using commands found here:
https://www.sslshopper.com/article-most-common-java-keytool-keystore-commands.html

HTH

On Friday, 27 May 2016 11:18:51 UTC-3, Kaya TC wrote:
>
> I´d be happy if you guys could provide more info on this, i have installed 
> keytool on eclipse etc. but still dont have a right clue what to do 
> afterwards
>
> Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:
>>
>> It works now.
>>
>> I simply added my cert into the JRE keystore and rebooted Eclipse.
>>
>> On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  wrote:
>>
>>> Assuming this doesn't help:
>>>
>>> https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
>>>  
>>>
>>> Take a look here:
>>>
>>> http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
>>>
>>> There are several suggestions for properties you can pass to the JVM to 
>>> workaround this, you can use the -D command line argument to pass System 
>>> properties to the JVM.
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "CodenameOne Discussions" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
>>> .
>>> To unsubscribe from this group and all its topics, send an email to 
>>> codenameone-discussions+unsubscr...@googlegroups.com.
>>> Visit this group at 
>>> http://groups.google.com/group/codenameone-discussions.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
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/ef0bb049-4f23-4f7a-ac4e-66d5041178fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: Need help understanding the use of HTTPS/SSL with CN1

2016-05-27 Thread Kaya TC
I´d be happy if you guys could provide more info on this, i have installed 
keytool on eclipse etc. but still dont have a right clue what to do 
afterwards

Am Donnerstag, 16. Oktober 2014 20:34:09 UTC+2 schrieb Dan:
>
> It works now.
>
> I simply added my cert into the JRE keystore and rebooted Eclipse.
>
> On Thu, Oct 16, 2014 at 9:27 AM, Shai Almog  > wrote:
>
>> Assuming this doesn't help:
>>
>> https://groups.google.com/forum/#!searchin/codenameone-discussions/SSLHandshakeException/codenameone-discussions/GkJrNv9DO9k/TYIPeMeFvt0J
>>  
>>
>> Take a look here:
>>
>> http://stackoverflow.com/questions/9828414/receiving-sslhandshakeexception-handshake-failure-despite-my-client-ignoring-al
>>
>> There are several suggestions for properties you can pass to the JVM to 
>> workaround this, you can use the -D command line argument to pass System 
>> properties to the JVM.
>>
>> -- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "CodenameOne Discussions" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/codenameone-discussions/_SMs4jrGubg/unsubscribe
>> .
>> To unsubscribe from this group and all its topics, send an email to 
>> codenameone-discussions+unsubscr...@googlegroups.com .
>> Visit this group at 
>> http://groups.google.com/group/codenameone-discussions.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/codenameone-discussions/95718775-32ef-411d-aaa0-840de3399325%40googlegroups.com
>>  
>> 
>> .
>>
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
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/7d0f8ec0-7fe8-45b8-9f58-5a0e0fa26f16%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Network not working with iphone_new

2016-05-27 Thread Carlos Verdier
I found this post, which answer all posible situations, including the one I 
was asking. Good to know that you can opt out all with exceptions

http://code.tutsplus.com/articles/apple-tightens-security-with-app-transport-security--cms-24420

On Friday, May 27, 2016 at 7:13:30 AM UTC+2, Shai Almog wrote:
>
> Probably not. 
> I think the limitation only applies to http POST but I'm not sure about 
> that...
>

-- 
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/ff34d2a1-48a3-4898-9593-24ccde7e558b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Class.forName and class.getConstructor

2016-05-27 Thread Dario Licci
Hi Shai,
I try to explain.
In attach you can see the structure that I am realizing, for example, the 
application starts with the method called "Login" of 
"app.controller.UserController", in this method I set the layout that should be 
used (app.view.layout .LoginLayout). 
The controller method I instantiate the corresponding view 
(app.view.user.Login) that will present to me the classic form of 
authentication.



When authentic me the controller redirects me to the "Profile" method which 
uses the "app.view.layout.Default” layout, this layout I have also created the 
"Sidebar" where I wanted to use dynamic call other controllers.


I hope I explained it clearly.



> On May 27, 2016, at 7:11 AM, Shai Almog  wrote:
> 
> 
> Hi,
> can you be more clear about what specifically you are trying to accomplish?
> 
> Using class.forName() won't give you an advantage of abstraction as you can't 
> link code dynamically anyway.

-- 
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/5D386F21-6993-4F82-8EAD-AD116AFB48FD%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: LikeButton

2016-05-27 Thread Chen Fishbein
It seems like you can do this with a native button, you can try to use the 
PeerComponent to display this button in a Form.

-- 
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/1b6fe65d-df0e-47cc-8dd7-068294ff0b9a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.