[codenameone-discussions] ios builds failing, again

2016-11-09 Thread Dave Dyer


CompileC 
build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Objects-normal/armv7/com_codename1_ui_Component.o
 Develop-src/com_codename1_ui_Component.m normal armv7 objective-c 
com.apple.compilers.llvm.clang.1_0.compiler
cd 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist
export LANG=en_US.US-ASCII
export 
PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 -x objective-c -arch armv7 -fmessage-length=0 
-fdiagnostics-show-note-include-stack -fmacro-backtrace-limit=0 -std=c99 
-Wno-trigraphs -fpascal-strings -O3 -Wno-missing-field-initializers 
-Wno-missing-prototypes -Werror=return-type -Wno-implicit-atomic-properties 
-Werror=deprecated-objc-isa-usage -Werror=objc-root-class 
-Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch 
-Wunused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable 
-Wunused-value -Wno-empty-body -Wuninitialized -Wno-unknown-pragmas -Wno-shadow 
-Wno-four-char-constants -Wno-conversion -Wconstant-conversion 
-Wno-int-conversion -Wbool-conversion -Wno-enum-conversion -Wshorten-64-to-32 
-Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match 
-Wundeclared-selector -Wno-deprecated-implementations -DCOCOAPODS=1 
-DNS_BLOCK_ASSERTIONS=1 -isysroot 
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.3.sdk
 -fstrict-aliasing -Wprotocol -Wdeprecated-declarations 
-miphoneos-version-min=6.0 -g -fvisibility=hidden -Wno-sign-conversion -iquote 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-generated-files.hmap
 
-I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-own-target-headers.hmap
 
-I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-all-target-headers.hmap
 -iquote 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Develop-project-headers.hmap
 
-I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/BuildProductsPath/Release-iphoneos/include
 
-I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/Pods/Headers/Public
 
-I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/DerivedSources/armv7
 
-I/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/DerivedSources
 
-F/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/BuildProductsPath/Release-iphoneos
 -isystem 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/Pods/Headers/Public
 -include 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/PrecompiledHeaders/Develop-Prefix-drzvswrlzzplyfaovoewrfyalshx/Develop-Prefix.pch
 -MMD -MT dependencies -MF 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Objects-normal/armv7/com_codename1_ui_Component.d
 --serialize-diagnostics 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Develop.build/Objects-normal/armv7/com_codename1_ui_Component.dia
 -c 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/Develop-src/com_codename1_ui_Component.m
 -o 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build3834360684307989244xxx/dist/build/Build/Intermediates/ArchiveIntermediates/Develop/IntermediateBuildFilesPath/Develop.build/Release-iphoneos/Deve

[codenameone-discussions] Re: Is there a way to add a textfield to the command bar?

2016-11-09 Thread Shai Almog
Why not use the search feature:
https://www.codenameone.com/blog/toolbar-search-mode.html

-- 
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/783228ca-0d9a-406f-9bbf-5025884c5d5b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: How to track the current duration of media (audio only)

2016-11-09 Thread Shai Almog
Media.getTime().

-- 
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/4e2dd8ed-a317-4b41-9850-3c54c6e4a0d8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [codenameone-discussions] WindowsUWP Status

2016-11-09 Thread Steve Hannah
This issue will be fixed in the next server update (Friday).

Best regards

Steve

On Wed, Nov 9, 2016 at 3:35 PM, mcw  wrote:

>
> 
> Just started testing my apps with the Windows UWP port. Right now the only
> device I have for testing is a Windows 10 laptop. I do plan on getting a
> phone.
>
> The road block I have run into is that I cannot make a network connection.
>
> When I try and connect to another machine on my network the app displays
> the attached image.
>
> I have remote logging on as you suggest. The exception I receive is:
>
>
> [EDT] 0:0:0,15 - Codename One revisions: 
> 0f2d45dad0cfa03daf0554ba1d3c00aa14cb425c
>> 2105
>>
>> [EDT] 0:0:0,31 - Log.getUniqueDeviceId()->5147588393435136
>> [EDT] 0:0:0,47 - AWMain - init
>> [EDT] 0:0:0,94 - RW - Music 3.53
>> [EDT] 0:0:0,94 - AWMain - start
>> [EDT] 0:0:0,109 - _osVer=3.53
>> [EDT] 0:0:0,109 - osMajVer=3
>> [EDT] 0:0:0,187 - Database open failure: AWareDB.aw3 not found
>> [Thread-1] 0:0:8,772 - Connection to Hobo...
>> [Thread-1] 0:0:8,772 - SENT: PING
>> [Timeout Thread] 0:0:9,819 - Exception: java.lang.Error - interrupt0 
>> NotImplemented
>>
>>at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
>>at System.Environment.get_StackTrace()
>>at UWPApp.IKVMReflectionHelper.getCurrentStackTrace()
>>at java.lang.ThrowableHelper.getCurrentStackTrace()
>>at java.lang.Throwable..ctor(String message)
>>at java.lang.Error..ctor(String message)
>>at java.lang.Thread.interrupt0()
>>at java.lang.Thread.interrupt()
>>at com.codename1.io.NetworkManager.NetworkThread.interrupt()
>>at com.codename1.io.NetworkManager.kill9(ConnectionRequest request)
>>at com.codename1.io.ConnectionRequest.kill()
>>at com.codename1.io.NetworkManager.1.run()
>>at com.codename1.impl.CodenameOneThread.run()
>>at com.codename1.impl.SilverlightImplementation.CodenameOneUWPThread.run()
>>at java.lang.Thread.threadProc2()
>>at java.lang.Thread.threadProc()
>>at java.lang.Thread.1.Invoke()
>>at com.codename1.impl.NativeThreadImpl.<>c__DisplayClass6_0.b__0()
>>at System.Threading.Tasks.Task.InnerInvoke()
>>at System.Threading.Tasks.Task.Execute()
>>at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
>>at System.Threading.ExecutionContext.Run(ExecutionContext 
>> executionContext, ContextCallback callback, Object state)
>>at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& 
>> currentTaskSlot)
>>at System.Threading.Tasks.Task.ExecuteEntry(Boolean 
>> bPreventDoubleExecution)
>>at 
>> System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(Object 
>> obj)
>>at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
>>at System.Threading.ExecutionContext.Run(ExecutionContext 
>> executionContext, ContextCallback callback, Object state)
>>at System.Threading.ThreadHelper.ThreadStart(Object obj)
>> Originating from:
>> Message=interrupt0 NotImplemented
>>at java.lang.Thread.interrupt0()
>>at java.lang.Thread.interrupt()
>>at com.codename1.io.NetworkManager.NetworkThread.interrupt()
>>at com.codename1.io.NetworkManager.kill9(ConnectionRequest request)
>>at com.codename1.io.ConnectionRequest.kill()
>>at com.codename1.io.NetworkManager.1.run()
>>at com.codename1.impl.CodenameOneThread.run()n())
>>
>>
> Here is my code:
>
> NetworkManager networkManager = NetworkManager.getInstance
> ();
> ConnectionRequest connectionRequest = new
> ConnectionRequest();
> connectionRequest.setUrl("http://"; + _host + ":" + _port +
> "/Query?REQ=" + command);
> connectionRequest.setPost(false);
> connectionRequest.setContentType("text/html");
> connectionRequest.setPriority(ConnectionRequest.PRIORITY_
> HIGH);
> connectionRequest.setTimeout(1);
> connectionRequest.setFailSilently(false);
>
> MLog.debug("SENT: " + command);
> networkManager.setTimeout(1);
> networkManager.addToQueueAndWait(connectionRequest);
>
>
> Is this a known issue?
>
> In order to verify network connectivity I also did a Windows Desktop build
> which ran on the same laptop without a problem.
>
> 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/e63fe9aa-24df-46ef-a443-
> 0d97b83dfa57%40googlegroups.com
> 

[codenameone-discussions] WindowsUWP Status

2016-11-09 Thread mcw



Just started testing my apps with the Windows UWP port. Right now the only 
device I have for testing is a Windows 10 laptop. I do plan on getting a 
phone.

The road block I have run into is that I cannot make a network connection. 

When I try and connect to another machine on my network the app displays 
the attached image.

I have remote logging on as you suggest. The exception I receive is:


[EDT] 0:0:0,15 - Codename One revisions: 
0f2d45dad0cfa03daf0554ba1d3c00aa14cb425c
> 2105
>
> [EDT] 0:0:0,31 - Log.getUniqueDeviceId()->5147588393435136
> [EDT] 0:0:0,47 - AWMain - init
> [EDT] 0:0:0,94 - RW - Music 3.53
> [EDT] 0:0:0,94 - AWMain - start
> [EDT] 0:0:0,109 - _osVer=3.53
> [EDT] 0:0:0,109 - osMajVer=3
> [EDT] 0:0:0,187 - Database open failure: AWareDB.aw3 not found
> [Thread-1] 0:0:8,772 - Connection to Hobo...
> [Thread-1] 0:0:8,772 - SENT: PING
> [Timeout Thread] 0:0:9,819 - Exception: java.lang.Error - interrupt0 
> NotImplemented
>
>at System.Environment.GetStackTrace(Exception e, Boolean needFileInfo)
>at System.Environment.get_StackTrace()
>at UWPApp.IKVMReflectionHelper.getCurrentStackTrace()
>at java.lang.ThrowableHelper.getCurrentStackTrace()
>at java.lang.Throwable..ctor(String message)
>at java.lang.Error..ctor(String message)
>at java.lang.Thread.interrupt0()
>at java.lang.Thread.interrupt()
>at com.codename1.io.NetworkManager.NetworkThread.interrupt()
>at com.codename1.io.NetworkManager.kill9(ConnectionRequest request)
>at com.codename1.io.ConnectionRequest.kill()
>at com.codename1.io.NetworkManager.1.run()
>at com.codename1.impl.CodenameOneThread.run()
>at com.codename1.impl.SilverlightImplementation.CodenameOneUWPThread.run()
>at java.lang.Thread.threadProc2()
>at java.lang.Thread.threadProc()
>at java.lang.Thread.1.Invoke()
>at com.codename1.impl.NativeThreadImpl.<>c__DisplayClass6_0.b__0()
>at System.Threading.Tasks.Task.InnerInvoke()
>at System.Threading.Tasks.Task.Execute()
>at System.Threading.Tasks.Task.ExecutionContextCallback(Object obj)
>at System.Threading.ExecutionContext.Run(ExecutionContext 
> executionContext, ContextCallback callback, Object state)
>at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& 
> currentTaskSlot)
>at System.Threading.Tasks.Task.ExecuteEntry(Boolean 
> bPreventDoubleExecution)
>at 
> System.Threading.Tasks.ThreadPoolTaskScheduler.LongRunningThreadWork(Object 
> obj)
>at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
>at System.Threading.ExecutionContext.Run(ExecutionContext 
> executionContext, ContextCallback callback, Object state)
>at System.Threading.ThreadHelper.ThreadStart(Object obj)
> Originating from:
> Message=interrupt0 NotImplemented
>at java.lang.Thread.interrupt0()
>at java.lang.Thread.interrupt()
>at com.codename1.io.NetworkManager.NetworkThread.interrupt()
>at com.codename1.io.NetworkManager.kill9(ConnectionRequest request)
>at com.codename1.io.ConnectionRequest.kill()
>at com.codename1.io.NetworkManager.1.run()
>at com.codename1.impl.CodenameOneThread.run()n())
>
>
Here is my code:

NetworkManager networkManager = NetworkManager.getInstance
();
ConnectionRequest connectionRequest = new ConnectionRequest
();
connectionRequest.setUrl("http://"; + _host + ":" + _port + 
"/Query?REQ=" + command);
connectionRequest.setPost(false);
connectionRequest.setContentType("text/html");
connectionRequest.setPriority(ConnectionRequest.
PRIORITY_HIGH);
connectionRequest.setTimeout(1);
connectionRequest.setFailSilently(false);

MLog.debug("SENT: " + command);
networkManager.setTimeout(1);
networkManager.addToQueueAndWait(connectionRequest);

 
Is this a known issue?

In order to verify network connectivity I also did a Windows Desktop build 
which ran on the same laptop without a problem.

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/e63fe9aa-24df-46ef-a443-0d97b83dfa57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Is there a way to add a textfield to the command bar?

2016-11-09 Thread howudodat1
I have a form with a map component.  I want to add a simple search field to 
the map and dont want to use the entire NORTH section, just a small part 
between the title and the right command  
this.getToolbar().addCommandToRightBar(cmdList);
How can I add a textfield to the toolbar?  I tried:
Command cmd = new Command("");
cmd.putClientProperty(SideMenuBar.COMMAND_SIDE_COMPONENT, 
tfGoogleSearch);
cmd.putClientProperty(SideMenuBar.COMMAND_ACTIONABLE, 
Boolean.FALSE);
cmd.putClientProperty("TitleCommand", Boolean.TRUE);
this.getToolbar().addCommandToRightBar(cmd);


but that didn't work.  I also tried:

this.getToolbar().addComponentToSideMenu(tfGoogleSearch);



but that put it in the left fly out menu and I want it in the titlebar

-- 
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/21307385-4efe-44bb-b086-7b35062ca101%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Include XML layout for Android?

2016-11-09 Thread Gareth Murfin
Thanks mate im gonna recreate it on the Android side, when that works ill 
bring it back into cn1, probably just some dumb error of mine. I dont see 
much in ddms and tapping them does nothing. 

On Wednesday, November 9, 2016 at 1:54:20 PM UTC+8, Shai Almog wrote:
>
> It should work fine not sure why you are seeing the black screen. If you 
> try to interact with the black screen are the components physically there?
> Do you see anything suspicious in DDMS?
>

-- 
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/5b3d31fc-d3af-436f-bd7b-21159461063e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] How to track the current duration of media (audio only)

2016-11-09 Thread CODENAME1
how to bind the current media (audio) position to slider.

-- 
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/2ff9a767-359d-4a0e-9354-b9d6e6269e57%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.