[codenameone-discussions] Re: tablelayout not spanning

2016-07-18 Thread Shai Almog
You can't reuse a constraint for two separate components. We should 
probably detect and fail on such cases.

-- 
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/7b46e503-f89f-47eb-90c3-9c0b8e6e4775%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Android Native Bluetooth Sample Code

2016-07-18 Thread Shai Almog
Currently only the demo that comes with the project is available: 
https://github.com/chen-fishbein/bluetoothle-codenameone/tree/master/BTDemo

-- 
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/403ef532-5453-43e5-a3cd-c6539527a2a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Share with FB, Login with FB

2016-07-18 Thread Shai Almog
I'm not sure if it's been improved since you worked with it. Login with 
facebook should work fine as should "invite a friend".

-- 
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/ae79eecb-7478-4781-ae7b-6cb529cd7c21%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: How to have a toolbar on left and right?

2016-07-18 Thread Shai Almog
This is only about the side menu both for the side menu bar and the 
toolbar. The unit is in percentage.

-- 
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/5a60a064-fff2-4092-b29b-f90b9391e2bd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Image drawing on iOS is erratic

2016-07-18 Thread Shai Almog
Yes, I refined the JavaDoc there. We didn't touch it since 2007.
The EDT section in the developer guide explains this 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/c6ec0f6d-2390-44ea-9c00-96b8c6ff1a3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: iOS on camera preview form keep listening click events

2016-07-18 Thread Ulises Escobar
Of course, it is the issue # 1831

On Saturday, July 16, 2016 at 12:04:41 AM UTC-5, Shai Almog wrote:
>
> Can you file an issue on that?
>
> Thanks.
>

-- 
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/8e2fdac4-7821-4d85-ab17-b25e6ff9d8e1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] How do I create Android Build? (I don't have the keystore executable file in my jdk)

2016-07-18 Thread kamilah . carlisle
Hello, I am trying to send an android build of my app to the build server. 
After perusing the instructions that would allow me to do this, I noticed 
that I don't have the keystore executable file located in my system's jdk 
that would allow me to generate a keystore. What should I do?

-- 
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/1ee4cfee-5a3c-4eba-b908-936b5121af7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] tablelayout not spanning

2016-07-18 Thread howudodat1
The following code doesn't render as I would have expected.  Not sure how 
many columns it's actually showing:


TableLayout layout = new TableLayout(4,4);
private Label lblVersion = new Label();
private Label lblEmployee = new Label();
Picker cmbTheme = new Picker();
private Container cnt1 = new Container(layout);
Button btnSave = new Button("Save", 
FontImage.createMaterial(FontImage.MATERIAL_FOLDER, 
UIManager.getInstance().getComponentStyle("Command")));
Button btnRestart = new Button("Restart", 
FontImage.createMaterial(FontImage.MATERIAL_SWAP_VERTICAL_CIRCLE, 
UIManager.getInstance().getComponentStyle("Command")));

protected void initManualComponents() {
TableLayout.Constraint cn1 = 
layout.createConstraint().horizontalSpan(1).widthPercentage(25);
TableLayout.Constraint cn2 = 
layout.createConstraint().horizontalSpan(2).widthPercentage(25);
TableLayout.Constraint cn3 = 
layout.createConstraint().horizontalSpan(3).widthPercentage(25);
TableLayout.Constraint cn4 = 
layout.createConstraint().horizontalSpan(4).widthPercentage(25);
cmbTheme.setType(Display.PICKER_TYPE_STRINGS);
cmbTheme.setStrings("Native", "Blue", "Chrome", "Dark", "Green");
lblVersion.setText(GLOBALS.version);
lblEmployee.setText(GLOBALS.employee.toString());
layout.setGrowHorizontally(true);
cnt1.add(cn1, new Label("Version:"));
cnt1.add(cn3, lblVersion);
cnt1.add(cn1, new Label("Employee:"));
cnt1.add(cn3, lblEmployee);
cnt1.add(cn1, new Label("Theme:"));
cnt1.add(cn3, cmbTheme);
cnt1.add(cn4, new Label("Note: Theme changes require a restart"));
cnt1.add(cn2, btnSave);
cnt1.add(cn2, btnRestart);
this.add(BorderLayout.CENTER, cnt1);
}


 

-- 
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/6f6d61ff-3d8a-4052-93c2-a2a64766a46d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: How to have a toolbar on left and right?

2016-07-18 Thread Gareth Murfin
Also how do I specify the width of the toolbar's side menu ? Like so it 
takes up only 50% when its pulled out?

On Monday, July 18, 2016 at 3:54:01 PM UTC+8, Gareth Murfin wrote:
>
> What units do these use? is it a percentage ?
>
> On Monday, March 21, 2016 at 11:46:32 AM UTC+8, Shai Almog wrote:
>>
>> Yes see the theme constants from here: 
>> https://www.codenameone.com/manual/advanced-theming.html 
>>
>> sideMenuSizeTabPortraitInt
>>
>> The size of the side menu when expanded in a tablet in portrait mode
>>
>> sideMenuSizePortraitInt
>>
>> The size of the side menu when expanded in a phone in portrait mode
>>
>> sideMenuSizeTabLandscapeInt
>>
>> The size of the side menu when expanded in a tablet in landscape mode
>>
>> sideMenuSizeLandscapeInt
>>
>> The size of the side menu when expanded in a phone in landscape mode
>>
>>

-- 
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/08af789b-cf3b-4176-be39-d6830263a5cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] Re: How to have a toolbar on left and right?

2016-07-18 Thread Gareth Murfin
What units do these use? is it a percentage ?

On Monday, March 21, 2016 at 11:46:32 AM UTC+8, Shai Almog wrote:
>
> Yes see the theme constants from here: 
> https://www.codenameone.com/manual/advanced-theming.html 
>
> sideMenuSizeTabPortraitInt
>
> The size of the side menu when expanded in a tablet in portrait mode
>
> sideMenuSizePortraitInt
>
> The size of the side menu when expanded in a phone in portrait mode
>
> sideMenuSizeTabLandscapeInt
>
> The size of the side menu when expanded in a tablet in landscape mode
>
> sideMenuSizeLandscapeInt
>
> The size of the side menu when expanded in a phone in landscape mode
>
>

-- 
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/d58e5376-6344-4b0c-9074-b0dc5c9d5c3b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.