Blackberry development UI - user-interface

I am new to Blackberry dev, I want to port my android app to BB, but I found out it wont be possible for BB 7 Dev. So I've decided to create a simple app. However, I am having problems with the mainscreen, I do not know how to invoke the bitmapbuttons layout at app startup in the emulator. Any tutorials will be appreciated.

GridFieldManager will do this sort of layout for you, but I have problems using it, so I always end up using the TablelayoutManager code that you can find in this article:
Create-a-rich-UI-layout-with-TableLayoutManager/ta-p/445299
You will want to put images that act as Buttons in the layout. There is no BB supplied class to do this, but plenty of samples if you search using a term like "image button", for example this one:
image-button-in-blackberry

Related

Configure platform page with platform specific options

We've begun evaluating Xamarin for a up and coming project involving both iOS and Android, with the overriding intention to produce a single UI layer (and some share code, obviously) (I'm also new to C#)
TL;DR
I've begun exploring Xamarin on iOS. I started with the Phoneword example and it worked well enough.
The first issue I found was running the code on the iPhone X, which I was able to solve by using MainPage.On<Xamarin.Forms.PlatformConfiguration.iOS>().SetUseSafeArea(true); in the platform App class
While testing this, I noticed some issues with the ListView not scrolling properly (the core issue was actually with the platform padding).
I then used (MainPage as Xamarin.Forms.NavigationPage).On<iOS>().EnableTranslucentNavigationBar(); to enable translucent navigation bars (as we're targeting iOS 11+) and now everything appears under the navigation bar.
This is easily fixed in xCode and after some research I've found that I need to be using UIKit.UIViewController.EdgesForExtendedLayout Property, the immediate problem I'm facing is, the only "snippets" of code I can find are from the View is displayed under status bar in iOS 7 and EdgesForExtendedLayout doesn't help forum post.
Issue at hand...
The example solution snippets posted seem to be making use of a platform (iOS) specific solution. The problem is, I want to keep using the "cross-platform" code in the "platform" project and simply provide some custom configuration for the iOS platform which can apply these states.
I understand it could be possible to use a renderer, but this seems to counter-interactive, as I'd need one for both iOS and Android, where the platform page is doing just fine as it.
I understand that I could setup a DependencyService, but this seems annoying to have to include a specific "configuration" service just to solve this issue for iOS
I was hoping it might be possible to setup a iOS Page which would "override" some of the functionality of the platform page and would allow me to make use of things like viewDidLoad so I can apply the iOS specific configurations on a page by pages bases, so we could keep the platform page as it, but when running under iOS, it would provide me access to iOS life cycle of the actual view...
I've been trying to search the documentation and tutorials and haven't yet come across anything which would seem to do this or something similar (not to say there isn't one, but I'm just not finding it).

Open Microsoft Edge while running app in Hololens

I want to open Microsoft Edge while running an app with the HoloLens. In my particular case, I'm developing a simple 2D app in Unity, where the idea is to press a button and open a pdf file, image, etc. Currently I've managed to open these files with the WWW class by pressing a button, but everytime I do it the app gets closed...
Is it possible achieve it? what would I need to implement in order to do it?
Thanks in advance!
To open EDGE or the default web browser you can use Application.OpenURL
https://docs.unity3d.com/ScriptReference/Application.OpenURL.html
In any case your app will go to the background, In case you need to show a website inside your app you will need to use any Plugin/Asset like this one https://github.com/gree/unity-webview that sadly doesn't support Windows.

Can anyone help me think of an app that uses a set of almost wireframe instructional elements before the user starts using the app?

Can anyone help me think of an app that uses a set of almost wireframe instructional elements before the user starts using the app? I know I have used a few apps like that. They will show a stencil of a hand and show you how to work through the app. I am working on a UX exercise and I need some ideas on how to incorporate something like that into my project to help the user to get up and running faster in my application. Any help would be much appreciated.
Yes, that pattern is called "coach marks" and is available in many apps. You can see it on The Weather Channel's new weather app for the iPhone or iPad (shameless plug). There is also a reference on coach marks, with many examples which can be found here.

Multilevel expander View in windows phone 8

I am developing windows phone application and got stuck in a problem where I need use ExpanderView (using Telerik or phonetoolkit) but at Multiple levels (0-5), much like TreeView.
Please share any tutorial if anybody got one.
I just spent many hours in playing with this control but no luck.
Zauk
Have you checked the Telerik Examples app in the store? I belive there is an example like the scenario you want.
You can download sample code provided by Codplex for windows phone-8 and see Expanderview it's very clear and easy to use.

How do you get your WP7 app to show up in the Games Hub?

I've made a simple game for WP7 but apparently simply using the XNA template isn't enough to get your game to show up in the games hub. What code do I need to make that happen?
Also, can I get games made in silverlight to show up in the Games Hub as well? If so, how do I do that?
Thanks!
You need to edit the WMAppManifest.xml file (in Properties [C#] or My Project [VB.NET]) to set Genre="apps.normal" (in the <App> element) to Genre="apps.games". This will work for both XNA and Silverlight apps. See Application Manifest File for Windows Phone for more details.
Give it a try and side-load it to your phone for testing - it's pretty cool to see it show up in the Games Hub.

Resources