Customize/show/hide navigation bar in BB10 for Android app - navigationbar

I have ported an Android app to BB10 and it works smoothly except for 1 0r 2 issues.
One being an issue with bottom navigation bar that holds "Back", "Hide", "Info" and "Overflow" buttons. It shows up by default when the app is launched and can be hidden using the "Hide" button. To retrieve it back on screen we use a BB10 gesture(Swipe from top bezel downwards) and pin it back.
The above behavior works fine in BB10 Simulator, but not in actual device(Z10), which may be due to OS issues as mentioned in some of the posts.
To overcome the issue I wanted to know is there anyway to Customize/Show(always)/Hide the navigation bar either through Android source code or any settings in Config. Please suggest a way to resolve the issue. Thanks in advance.

I have a similar issue. But based on official answers from the Blackberry forums it appears that they would give users some control only in a 'future' release. Please take a look at this link.
http://supportforums.blackberry.com/t5/Android-Runtime-Development/Detecting-navigation-bar-presence/m-p/2466821/highlight/true#M5243
This is the exact quote,
We are looking at an option to allow users to hide the navigation bar.
Hopefully this will be available in a future release.

Related

UIImagePickerController shows a blank sheet in Simulator

I have this very odd situation in Xcode 12.01. In one of the simulators iPhone 11-14.0 when calling UIImagePickerController a blank screen pops-up showing no images and even the Cancel button is not visible. It looks like that the screen is not fully loading.
using the call:
PHPhotoLibrary.authorizationStatus()
I have authorisation to access the photo library as it returns status is .authorized:
This is happening for just that particular simulator and the others work as expected.
Any ideas?
Thanks
I finally erase all content and settings from the device menu and it seemed to have resolved the situation.
I was having similar issue. The solution is, upgrade your Xcode to version 12.2, this issue is resolved in Xcode(12.2).
Hop this helps.
Thanks

Xcode 9 - Simulator - Hide Title Bar

In Xcode 9, I haven't found a way yet to disable the title bar when the bezel is turned off. I'm trying to make the simulator go full screen for a demo on a touchscreen TV and the little gray bar at the top is preventing it from getting there. I've tried many different things from changing plist items to trying to add code for NStitlebar but to no avail. Does anyone know how to accomplish this?
This is what I see:
Simulator Image with Title Bar
This is what I want to see:
Mockup removing the title bar
So the best way I've found in my research is to do it not in the code of the app but through the hidden Internal menu option of Simulator. Apple has placed a hidden Internal menu with additional features that can only be enable through some Terminal commands.
Link here to a simple tutorial: http://www.cansurmeli.com/blog/enabling-hidden-xcode-simulator-features/
Once that is enabled, then turn the "Allow Fullscreen Mode" in the Internal menu as well as change the options in "Floating Name" to remove the bar and expand fully.

iOS 9 status bar appears below black bar

What is happening to my app in Xcode 7 / iOS 9?
The whole screen looks condensed, as if an iPhone 4S app is displaying on an iPhone 6. It looks normal in the iPhone 4S simulator.
I thought it was a problem with the auto layout constraints in the main storyboard, so I eventually deleted everything apart from the root view in the root view controller (blue screen), and there's still a problem with it.
I tried enabling size classes, thinking that this was the problem due to previously being disabled, but the result was the same.
Is anyone else getting this problem in their existing apps running in iOS 9?
Target>General>Launch Image Source>use asset
it will create new asset named BrandAsset, place your launch images over here. Create LaunchScreen.storyboard if already not existing and select it to Target>General>Launch Screen File.
Thanks for the answers. They pointed me in the right direction, as I wasn't aware it was anything to do with the launch screen.
I found out I had no LaunchScreen.storyboard file. Digging around in the docs led me onto this:
New projects are created with a launch screen storyboard file called
LaunchScreen.storyboard. Alternately, you can create a new launch
screen file using File > New, selecting the User Interface category,
and choosing a file type of Launch Screen.
It was weird that I had to do this, as I only started developing this app in iOS 8, and apparently this was a change in iOS 8. But with iOS 9 Apple are obviously getting more aggressive with deprecating incorrectly set up projects, and the consequences were that it was bug to my app.
The positive I guess, is that all of this forced me to at least create a launch image instead of having nothing.

WatchKit Menu Items Not Displaying

I'm in Xcode 6.2 Beta 3 (Build 6C101), I've added a menu and two menu items to my Interface Controller, and created IBActions for both. I've given them titles and images, but when I run the app nothing displays.
I've read
https://developer.apple.com/library/prerelease/ios/documentation/General/Conceptual/WatchKitProgrammingGuide/Menus.html
and can't see anything about need to show menu items programatically - what am I missing?
You do not need to present the menu programmatically. The only thing you need to do is wire each button to IBActions in your Watch app extension.
The most likely issue is caching of the previous Watch app storyboard. Do a clean build and try again.
Finally, as you likely know WatchKit menus only display on a "force press". They cannot be used for the main interface of the Watch app. In the Simulator, a click and hold with the mouse will simulate a force press, and the animation will make it clear when you have done one, even in contexts where it doesn't do anything.
This was solution for me- Go to Hardware->Touch Pressure->Deep Press then try tap on watch simulator.
I have recently encountered this issue on a real device, although the menu was working as expected on the watch simulator. In my case, the problem was in SF Symbol that I've used as an image.
Everything was fixed after replacing it with an image from the assets catalogue.

Qt widget goes behind the taskbar. How to keep it above?

I’ve an issue that my application window goes behind the taskbar of my PC. I use win 8. same issue i found when i use in an android device also.
The same issue is found to be discussed in a link screen-area
I tried the same.. but it is visible to user that the widget resize after show. Is there a better way to resolve this?

Resources