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

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.