Douglas Farias Expert Licensed User Longtime User Oct 30, 2015 #1 Hi all, i m not good with english, i made a video to show this. why apps made in b4i show a black screen when you touch on the icon? here is a video, its my phone (iphone 4s) i see that only on b4i apps, all anothers are normal, on video i open 5+ apps to show. i m tryed this tutorial https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#content but no success, i edit B4iProject-Info.plist file, when i compile my app the code of iphone 4s is removed, and if i put read only the app dont compile. code iPhone 4s Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> why this black screen and how fix this?
Hi all, i m not good with english, i made a video to show this. why apps made in b4i show a black screen when you touch on the icon? here is a video, its my phone (iphone 4s) i see that only on b4i apps, all anothers are normal, on video i open 5+ apps to show. i m tryed this tutorial https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#content but no success, i edit B4iProject-Info.plist file, when i compile my app the code of iphone 4s is removed, and if i put read only the app dont compile. code iPhone 4s Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> why this black screen and how fix this?
JonPM Well-Known Member Licensed User Longtime User Oct 30, 2015 #2 Did you also follow step 3 in that tutorial and add the Default images? Upvote 0
Douglas Farias Expert Licensed User Longtime User Oct 30, 2015 #3 yes 640x960 image with name [email protected] on Files\Special Upvote 0
narek adonts Well-Known Member Licensed User Longtime User Oct 30, 2015 #4 I think iPhone 4s is not retina so trye rename the file to Default.png Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Oct 30, 2015 #5 You are doing too many things in Application_Start. Finish Application_Start quickly. If you need use CallSubDelayed to do more work afterwards. Last edited: Nov 1, 2015 Upvote 0
You are doing too many things in Application_Start. Finish Application_Start quickly. If you need use CallSubDelayed to do more work afterwards.
Douglas Farias Expert Licensed User Longtime User Oct 30, 2015 #6 You are doing to many things in Application_Start. Finish Application_Start quickly. If you need use CallSubDelayed to do more work afterwards. Click to expand... the same continue, tested with all apps made in b4i here on forum. any way to change to white screen this black? i dont need put any image, only change this to white. Last edited: Oct 30, 2015 Upvote 0
You are doing to many things in Application_Start. Finish Application_Start quickly. If you need use CallSubDelayed to do more work afterwards. Click to expand... the same continue, tested with all apps made in b4i here on forum. any way to change to white screen this black? i dont need put any image, only change this to white.
Erel B4X founder Staff member Licensed User Longtime User Nov 1, 2015 #7 You can add a launch image. Follow the instructions in that thread carefully. It works. Upvote 0
Douglas Farias Expert Licensed User Longtime User Nov 4, 2015 #8 Hi @Erel Its hard to explain it in english. i m made a video, on this video i show the bug. i folow your tutorial on the video, i try use callsubdelayed too, i test in release, i open anothers apps to show but the same bug continue. the IDE delete the changes. Pls i made this video to show the complete bug, pls look all video (b4i 2.30), i m using real device, iphone4s Upvote 0
Hi @Erel Its hard to explain it in english. i m made a video, on this video i show the bug. i folow your tutorial on the video, i try use callsubdelayed too, i test in release, i open anothers apps to show but the same bug continue. the IDE delete the changes. Pls i made this video to show the complete bug, pls look all video (b4i 2.30), i m using real device, iphone4s
Erel B4X founder Staff member Licensed User Longtime User Nov 4, 2015 #9 I'm sorry Douglas but I will not go over the 6 minutes video unless you better explain the problem. Upvote 0
Douglas Farias Expert Licensed User Longtime User Nov 4, 2015 #10 Simple, the tutorial dont work for iphone 4s on the video i show this, b4i apps and anothers apps. the B4i remove this Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> the launch image its ignored, on the video i folow the tutorial step by step. https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#content and dont work, 4,5 seconds to open the app with a black screen. i try on the video use callsubdelayed on Application_Start but the same black screen continue.(i show this on video too) how can i solve this? my app its 99% white, i dont want black screen at start Last edited: Nov 4, 2015 Upvote 0
Simple, the tutorial dont work for iphone 4s on the video i show this, b4i apps and anothers apps. the B4i remove this Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> the launch image its ignored, on the video i folow the tutorial step by step. https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#content and dont work, 4,5 seconds to open the app with a black screen. i try on the video use callsubdelayed on Application_Start but the same black screen continue.(i show this on video too) how can i solve this? my app its 99% white, i dont want black screen at start
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2015 #11 Please create a small project with the launch image and upload it. Upvote 0
S sorex Expert Licensed User Longtime User Nov 5, 2015 #12 Erel said: You can add a launch image. Follow the instructions in that thread carefully. It works. Click to expand... I never got it to work on my 4S tho, the black page as seen in his first video is still there even on empty projects. I got a "broken" iPhone 5 from a nephew since last week and I'll see this evening if it happends there aswell. Upvote 0
Erel said: You can add a launch image. Follow the instructions in that thread carefully. It works. Click to expand... I never got it to work on my 4S tho, the black page as seen in his first video is still there even on empty projects. I got a "broken" iPhone 5 from a nephew since last week and I'll see this evening if it happends there aswell.
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2015 #13 I've uploaded a short video that shows a red launch image on iPhone 4s: https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#post-378465 Upvote 0
I've uploaded a short video that shows a red launch image on iPhone 4s: https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597/#post-378465
Douglas Farias Expert Licensed User Longtime User Nov 5, 2015 #14 hmm the black screen continue later the red the screen its not the problem, the real problem its the black, where its black? its possible to change this black to white? if all screen white, no problem, but black with white its strange Upvote 0
hmm the black screen continue later the red the screen its not the problem, the real problem its the black, where its black? its possible to change this black to white? if all screen white, no problem, but black with white its strange
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2015 #15 As I wrote in the other thread you will only see this very short black screen on iPhone 4s as it is a slower device (it is much shorter than the black screen in your video). You can load the layout after Application_Start and only set the page color at that point. Last edited: Nov 5, 2015 Upvote 0
As I wrote in the other thread you will only see this very short black screen on iPhone 4s as it is a slower device (it is much shorter than the black screen in your video). You can load the layout after Application_Start and only set the page color at that point.
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2015 #16 There is no black screen at all when you run it without recording the video. The black screen is only visible for a very short moment when recording the screen with AirPlay. Upvote 0
There is no black screen at all when you run it without recording the video. The black screen is only visible for a very short moment when recording the screen with AirPlay.
Douglas Farias Expert Licensed User Longtime User Nov 5, 2015 #17 I m added Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> on B4iProject-Info.plist later i m downloaded your red image. i m put it in Special folder. now i compile in release i see the red image on Objects\src when i compile in release. i will test the app on iphone 4s and i dont see red image. only the black. if i open the B4iProject-Info.plist again the code of iphone4s is not here. if i put read only dont compile the b4i its removing the iphone4s code of B4iProject-Info.plist what i can make in this case? Upvote 0
I m added Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> on B4iProject-Info.plist later i m downloaded your red image. i m put it in Special folder. now i compile in release i see the red image on Objects\src when i compile in release. i will test the app on iphone 4s and i dont see red image. only the black. if i open the B4iProject-Info.plist again the code of iphone4s is not here. if i put read only dont compile the b4i its removing the iphone4s code of B4iProject-Info.plist what i can make in this case?
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2015 #18 You are not following the instructions correctly. See steps #1 and #2: https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597 Upvote 0
You are not following the instructions correctly. See steps #1 and #2: https://www.b4x.com/android/forum/threads/how-to-add-launch-images-in-b4i.55597
Douglas Farias Expert Licensed User Longtime User Nov 5, 2015 #19 [email protected] size = 640x960 (iphone4s) [email protected] size = 640x1136 [email protected] size = 750x1334 [email protected] size = 1242x2208 on i tested with B4iProject-Info.plist Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> and later with Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{640, 960}</string> </dict> when i compile release or debug the code are removed from B4iProject-Info.plist every time, when i compile the code its removed. the red image dont show only the black for 3/5 seconds. can you upload your project of the video? Upvote 0
[email protected] size = 640x960 (iphone4s) [email protected] size = 640x1136 [email protected] size = 750x1334 [email protected] size = 1242x2208 on i tested with B4iProject-Info.plist Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{320, 480}</string> </dict> and later with Code: Copy <dict> <key>UILaunchImageMinimumOSVersion</key> <string>7.0</string> <key>UILaunchImageName</key> <string>Default</string> <key>UILaunchImageOrientation</key> <string>Portrait</string> <key>UILaunchImageSize</key> <string>{640, 960}</string> </dict> when i compile release or debug the code are removed from B4iProject-Info.plist every time, when i compile the code its removed. the red image dont show only the black for 3/5 seconds. can you upload your project of the video?
Erel B4X founder Staff member Licensed User Longtime User Nov 5, 2015 #20 Step #1: Close the IDE. Step #2: Edit B4iProject-Info.plist file. It is located in the installation folder under Project subfolder. Click to expand... You need to update the file in the installation folder (under Program Files). Last edited: Nov 5, 2015 Upvote 0
Step #1: Close the IDE. Step #2: Edit B4iProject-Info.plist file. It is located in the installation folder under Project subfolder. Click to expand... You need to update the file in the installation folder (under Program Files).