[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread Shai Almog
Looking at the code I see that the 6.0 value is only set if 
ios.bitcode=true and it defaults to false.

That last error is exactly why we reverted the iphone_new change and 
returned to the older build servers. We are working on a major overhaul to 
the build process to circumvent that error. Hopefully it should be out by 
mid July.

-- 
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/838b2517-6715-458d-9f31-3c2b2162c430%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: OutOfMemory Error in OneDrive uploading file over a little large file

2016-06-22 Thread Shai Almog
Hi,
I don't understand what design needs a buffered output stream. 

On which OS did it used to work and stopped?

-- 
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/61f91735-1d3e-422f-9f59-25ab2409bd18%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: ...-override file is missing and don't know how to proceed

2016-06-22 Thread Shai Almog
How did you create the project?
Did you try running it?
There is a directory that should exist under the project dir called 
override.

-- 
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/8c677b0f-f085-42d1-afb2-7c79dbc56609%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Parse4CN1 is now Parse Server-ready!

2016-06-22 Thread sidiabale
Hi,

I've just released version 3.0 of parse4cn1 which allows you specify your 
backend URL. This means parse4cn1 can now be used with Parse Server. More 
information at: 
https://www.smash-ict.com/blog/parse4cn1-is-now-parse-server-ready/ 

I've tested the release against an openshift-hosted instance of Parse 
Server, back4apps and, of course, Parse.com. Have a look and let me know if 
you face any problems. If your app currently uses parse4cn1, please fill 
the short survey on the page referenced above so that I can assess if/how 
soon push needs to be supported.

Cheers,
Chidi

-- 
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/d6a75ff3-fcc3-41f9-b949-43e4ef7513f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: new GUI Builder error creating new form

2016-06-22 Thread howudodat1
ok, the latest plugin fixes this problem.

On Tuesday, June 21, 2016 at 9:27:31 PM UTC-7, Shai Almog wrote:
>
> I was talking about OS system path but it seems you use Mac OS which makes 
> a difference here.
> Please check if this was resolved in the latest plugin update.
>

-- 
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/64cbe6b6-eff1-429e-8658-8436a5f256be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Android keyboard cuts screen in half when you proceed before closing

2016-06-22 Thread Gareth Murfin
That works great, thanks Shai!

On Wednesday, June 22, 2016 at 12:34:21 PM UTC+8, Shai Almog wrote:
>
> That method does nothing. You need to call stopEditing() on the text field 
> to actually close it. 
>

-- 
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/57a59b04-12b9-4531-883c-be0575db3a67%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread DVR Alarm
another iphone build failed right after a successful build

ProcessProductPackaging /Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision 
build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
cd 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build427251739850254216xxx/dist
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"
builtin-productPackagingUtility 
/Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision -o 
/var/folders/zh/kb_4hqhn4kg1h0r5dp_6htcmgn/T/build427251739850254216xxx/dist/build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
error: class '(null)' of input object does not respond to either selector 
writeToFile:options:error: or writeToFile:atomically

** BUILD FAILED **


The following build commands failed:
ProcessProductPackaging 
/Users/administrator/Library/MobileDevice/Provisioning\ 
Profiles/TempProfile.mobileprovision 
build/Release-iphoneos/[REDACTED].app/embedded.mobileprovision
(1 failure)



On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
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/254c63af-e529-44c3-9065-b6f4285a4967%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread DVR Alarm
the latest iphone build was successful, the Info.plist file looks like below

{
  "CFBundleName" => "[REDACTED]"
  "DTSDKName" => "iphoneos9.3"
  "DTXcode" => "0731"
  "CFBundleIcons~ipad" => {
"CFBundlePrimaryIcon" => {
  "CFBundleIconFiles" => [
0 => "AppIcon29x29"
1 => "AppIcon57x57"
2 => "AppIcon60x60"
3 => "AppIcon72x72"
4 => "AppIcon76x76"
  ]
}
  }
  "UIApplicationExitsOnSuspend" => 0
  "DTSDKBuild" => "13E230"
  "CFBundleDevelopmentRegion" => "en"
  "CFBundleVersion" => "1.0"
  "BuildMachineOSBuild" => "15F34"
  "NSMainNibFile" => "MainWindow"
  "CFBundleShortVersionString" => "1.0"
  "CFBundlePackageType" => "APPL"
  "DTPlatformName" => "iphoneos"
  "CFBundleSupportedPlatforms" => [
0 => "iPhoneOS"
  ]
 * "CFBundleInfoDictionaryVersion" => "5.1.1"*
  "CFBundleExecutable" => "[REDACTED]"
  "DTCompiler" => "com.apple.compilers.llvm.clang.1_0"
  "UILaunchImages" => [
0 => {
  "UILaunchImageSize" => "{414, 736}"
  "UILaunchImageName" => "LaunchImage-800-Portrait-736h"
  "UILaunchImageMinimumOSVersion" => "8.0"
  "UILaunchImageOrientation" => "Portrait"
}
1 => {
  "UILaunchImageSize" => "{414, 736}"
  "UILaunchImageName" => "LaunchImage-800-Landscape-736h"
  "UILaunchImageMinimumOSVersion" => "8.0"
  "UILaunchImageOrientation" => "Landscape"
}
2 => {
  "UILaunchImageSize" => "{375, 667}"
  "UILaunchImageName" => "LaunchImage-800-667h"
  "UILaunchImageMinimumOSVersion" => "8.0"
  "UILaunchImageOrientation" => "Portrait"
}
3 => {
  "UILaunchImageSize" => "{320, 480}"
  "UILaunchImageName" => "LaunchImage-700"
  "UILaunchImageMinimumOSVersion" => "7.0"
  "UILaunchImageOrientation" => "Portrait"
}
4 => {
  "UILaunchImageSize" => "{320, 568}"
  "UILaunchImageName" => "LaunchImage-700-568h"
  "UILaunchImageMinimumOSVersion" => "7.0"
  "UILaunchImageOrientation" => "Portrait"
}
  ]
  "MinimumOSVersion" => "6.0"
  "CFBundleIdentifier" => "[REDACTED]"
  "UIPrerenderedIcon" => 1
  "UIAppFonts" => [
0 => "material-design-font.ttf"
  ]
  "CFBundleIconFiles" => [
0 => "Icon.png"
1 => "i...@3x.png"
2 => "ic...@3x.png"
3 => "i...@2x.png"
4 => "Icon-72.png"
5 => "Icon-Small-50.png"
6 => "Icon-Small.png"
7 => "icon-sm...@2x.png"
8 => "Icon7.png"
9 => "ic...@2x.png"
10 => "Icon-76.png"
11 => "Icon-152.png"
  ]
  "CFBundleIcons" => {
"CFBundlePrimaryIcon" => {
  "CFBundleIconFiles" => [
0 => "AppIcon29x29"
1 => "AppIcon57x57"
2 => "AppIcon60x60"
  ]
}
  }
  "LSRequiresIPhoneOS" => 1
  "UISupportedInterfaceOrientations" => [
0 => "UIInterfaceOrientationPortrait"
1 => "UIInterfaceOrientationPortraitUpsideDown"
  ]
  "CFBundleDisplayName" => "[REDACTED]"
  "CFBundleSignature" => ""
  "DTXcodeBuild" => "7D1014"
  "DTPlatformVersion" => "9.3"
  "DTPlatformBuild" => "13E230"
  "UIDeviceFamily" => [
0 => 1
  ]
}


On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
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/0778d8eb-ce34-45da-aa04-f3f4a1b135a3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: Airwatch App wrapping

2016-06-22 Thread DVR Alarm
Hi Shai,  last four requests at minimum were for distribution build.  Not 
only that, I changed the build target to use "iphone_new" for the following 
ant tasks.  The last successful iPhone release build from CN1 still has 
CFBundleInfoDictionaryVersion as 5.1.1.

build-for-ios-device
build-for-ios-device-release

Unfortunately, the route I took not originally intended for but it is my 
only way at this moment;  I downloaded the sources from CN1 after the 
successful build and compiled locally with Xcode.  I was able to generate 
an archive from Xcode and that has CFBundleInfoDictionaryVersion set to 
6.0; of course I had to change the build settings here and there.




On Monday, June 20, 2016 at 4:50:49 PM UTC-4, DVR Alarm wrote:
>
> our corporate Airwatch MDM solution is throwing the following error during 
> app-wrapping when deploying the iOS version of the application.  The 
> android version is working.  Upon research with the Info.plist file I found 
> that the file has "CFBundleInfoDictionaryVersion" => "5.1.1", is it 
> possible to send a build hint to use 6 or higher?
>
> Unsupported Info.plist version: 5.1.1
>
>
>

-- 
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/ab6bbda0-7c22-43d8-b89b-32de018a79db%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[codenameone-discussions] Re: OutOfMemory Error in OneDrive uploading file over a little large file

2016-06-22 Thread ahsayqa
Hi,
It is because our design is required another buffered output stream, would 
you have any suggestion for that if really we need it?

Actually we have successfully uploaded in previous build about few months 
ago, and this problem is just happen recently. May you have any solution 
suggested for that size of file upload?

Thanks and Regards,
Ronald

On Thursday, June 16, 2016 at 12:32:20 PM UTC+8, Shai Almog wrote:
>
> Hi,
> all output streams in Codename One are buffered so you should never wrap 
> them in another buffered output stream.
>
> You are allocating a single array of 150MB this will blow up on most 
> devices... Writing it will usually trigger further allocations of similar 
> size and will prevent the GC from doing anything about it since you are 
> doing it in a loop. You need to work with smaller data sets.
>

-- 
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/2a6c17fc-65a5-42e3-ad8b-aa3a6cc5824e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.