Questions tagged [mainscreen]
23 questions
3
votes
1 answer
BlackBerry - MainScreen with labels vertical scroll
I am trying to create a MainScreen with vertical scrolling. From what I've read in the documentation, MainScreen has a VerticalManager inside, so it should be possible to enable vertical scrolling only with proper construction,…

pajton
- 15,828
- 8
- 54
- 65
2
votes
1 answer
Making a main screen in Ursina
I am currently making a game with Ursina and i've been struggling to find a code to make a Main-Starting-Screen to start the game or show controlls.
Here is my game code:
game = Ursina()
ground = Entity(model = "untitled.blend", texture = "Soul…

Sanipower
- 21
- 2
2
votes
2 answers
How to make the windows form open only on the main screen
I am writing a simple windows form application.
I want that the form will open only in the main screen, no matter in which screen the application was invoked (Assuming that the user has more than one screen).
The purpose of the main screen is for…

Maor.I
- 47
- 9
2
votes
2 answers
Open a MainScreen from another MainScreen
In my app, I want to open a MainScreen from another MainScreen. How can I do this?
From UiApplication I can use pushScreen(Screen) to go to a MainScreen. But when I try the same from a MainScreen I get a JVM error 104.

jfalexvijay
- 3,681
- 7
- 42
- 68
1
vote
0 answers
Name mainscreen is not defined
I'm a beginner and I have recently started using the tkinter library.I have a proglem : I declared MainScreen in a function using global, but it says that the Name Mainscreen is not defined. Pls help.
import tkinter
from tkinter…

Mickey
- 11
- 1
1
vote
0 answers
Android Main Screen glitch on Rapberry Pi3
I'm beginner in Android OS development and I tried to compile Android 6.0.1 from here: https://github.com/peyo-hd/device_brcm_rpi3/tree/npv
And everything was fine until I installed it on my Raspberry. I faced with some glitches on the Main…

A.Yakymenko
- 11
- 2
1
vote
1 answer
Detecting iPhone 6 and plus
I know there is some questions like this but i got no solution. I am trying to understand if it is iPhone 6 or not.
#define IS_IPHONE_5 (IS_IPHONE && [[UIScreen mainScreen] bounds].size.height == 568.0)
#define IS_IPHONE_6 (IS_IPHONE && [[UIScreen…

Yucel Bayram
- 1,653
- 2
- 22
- 41
1
vote
2 answers
Screen height for iPhone4 with 4-inch screen
I wanna update my app, that is created using iOS5 SDK, to fit iPhone5's 4-inch screen. I simulate it with iPhone5 simulator. The following code tells us that the screen height is still 480.00 but not 548. What should I do to let my app to be taller…

lu yuan
- 7,207
- 9
- 44
- 78
0
votes
1 answer
BlackBerry - statusbar overlapping screen
I have defined a status bar in my BlackBerry app as a HorizontalFileManager containing 2 buttons, but when the bar is displayed, it overlaps the bottom part of the screen. If I drag the screen, I can read the information on the bottom, but as soon…

G B
- 2,951
- 2
- 28
- 50
0
votes
2 answers
Blackberry BarcodeScanner - barcodeDecode switch to MainScreen
Can somebody tell me how to close the Screen (which opened by the BarcodeScanner) and show the mainscreen again after the barcodeDecoded method was invoked?
I can't get it right. I tried a lot, one of them was this:
public void…

Digital Human
- 1,599
- 1
- 16
- 26
0
votes
2 answers
how to show Screen within MainScreen in application
My application have one screen below the detail of that. Screen name EventList . This screen have designed full. There are two ButtonField Next and Previous . At the bottom of these two Button ListField is placed in this screen.
When i click on…

Hitarth
- 1,950
- 3
- 27
- 52
0
votes
1 answer
Switch pages/classes in BlackBerry
I am currently developing a blackberry app. the scenario is when a user clicks on a menu item, it will go to another page. Currently there are 3 classes, MyApp, SecondPage and MyScreen. the codes below belongs to SecondPage.
From MyApp, I am trying…

Hend
- 589
- 5
- 15
- 35
0
votes
1 answer
Blackberry: select item in a list, return to previous screen
I have prepared a very short test case (s. below) for my question.
On a button click I would like to display a list of strings in a new screen.
After the user selects one item in the list, the previous screen should be displayed again and the…

Alexander Farber
- 21,519
- 75
- 241
- 416
0
votes
0 answers
UIScreen class is gone in ios10 simulator sdk
I used
[[UIScreen mainScreen] bounds].size.width
code before ios10.
But when I build this code using ios10 simulator sdk, it occurs error like
"Receiver 'UIScreen' for class message is a forward declaration No
known class method for selector…
0
votes
1 answer
WPF : Keep the window maximized when switch main screen
I want to keep the window always maximized, it works perfectly in a single screen. But when I use two screen(especially when the main screen change), I catch the resolution changed event and make it maximized,but it doesn't work. And I have tried to…

McHo
- 23
- 5