How do you disable the Windows Phone 7 splash screen? - silverlight

Is there any way to disable the WP7 splash screen and just show a blank screen?
My splash screen only stays on for less than half a second, leaving the user with a rather jarring sensation. I'd rather they not see any splash screen at all.
I would have simply used a plain black image as my splash screen, but then that would result in an ugly experience for people using a light theme (since my app's background is white on light themes and black on dark themes)
Thanks!

Simply remove the file SplashScreenImage.jpg.

Right click on the image file, select "Exclude from project". Rebuild.

Just try to delete the SplashScreenImage.jpgas madd0 said :)
If you want your SplashScreen to last longer you can add a start page like this:
Customer Splash Screen
Modify the Timespan to suit your the time you want:
_splashTimer.Interval = new TimeSpan(0, 0, 2);

Like everyone says, you could delete it. But before that, just rename it - right-click on SplashScreenImage.jpg in the Solution Explorer, click rename and just name it something like: SplashScreenImage2.jpg - gives VS a chance to catch up with your intent depending on your machine. Then delete that file.
You can and should delete the splash screen as per the guidance in the Windows Phone 7 Application Certification Guide in section 5.2.1.a:
Microsoft recommends that the
application provides a splash screen
image only when it takes longer than 1
second to load the first screen.
However, one thing that I've discovered is that while many apps can fire up really fast the first time they are launched, they made load slower after that if they have data that has been tombstoned. Just FYI

Related

pgadmin 4 3.1 retiling data output panel

In the Query Tool, when trying to raise or lower the border between Query Sql Editor and Data Output Panel it is very common that when you move the mouse over the Data Output panel's header it changes the vertical - horizontal arrow icon to a cross arrow changing Data Output panel from its default tiling to floating
What should I do to return the Data Output panel to its initial tiling mode?
In addition, Data Output panel once in floating window stops showing queries's results, it only shows the messages, I suppose it's 3.1's bug.
My solution so far is to save the query, close it and reopen it to recover its tiling mode
Cursor's disappearance problems have not been corrected in full
What is the best free competitor of pgadmin 4?
In the pgadmin browser, click on the File menu and select reset layout.
Yes, will get all kinds of warnings, but the query tool returns to being useful.
I don't know in PgAdmin 4.3, but in 4.6 I found that way to re-arrange it.
First, right-click on somewhere to Add Panel -> Scratch Pad first to get a panel holder first (when clicking, notice the highlighted light blue space),
then right-click the lower half space to add another panel -> Scratch Pad at the lower half space (when clicking, notice the highlighted light blue space),.
After that, click on the tab and hold to drag and drop to where you want (when clicking, notice the highlighted light blue space).
I have pgadmin 4.15 and I found how to resolve this. On the upper left corner, click on File dropdown and then click on Reset Layout. It will ask to restart the application, click Ok.
No this is not a bug, those panels are meant to be floatable so that user can arrange the view as per their convince.
But yes user should have the option to lock the layout, and I see feature request for locking the layout is already in the pgadmin4 list.
Hopefully, we will get it in the next future release.
Ref: https://redmine.postgresql.org/issues/3155
------ UPDATE -----
Now you can lock the layout in pgAdmin4 (File menu -> Lock layout) option
To reset the panels to default position (File manu -> Reset Layout) option
------ UPDATE-2021 -----
This issue has been fixed, can you please check with pgAdmin4 v5.5 which is released on 15-july-2021.
Long press with left mouse button on title permits you to reposition the panel in layout
reset is also available as an icon on the top right area of the UI
File dropdown >> Reset Layout (reload issue)
this will reload but the changes/query will be lost. Better to store the query somewhere else before resetting layout
I'm still on 4.2.6, and as long as only one of the tabs has floated, I can click on the text "Data Output", and drag it onto the tab bar of the bottom panel. Note that you need to click the text, and not just anywhere in the panel's top bar, it acts as a kind of invisible tab.
If the other tabs (Explain, etc) have also floated I think you need a 'Scratch Pad' or Reset.
Then File, Lock Layout, Prevent Docking if this is never useful for you.
I was able to redock it in pgadmin 4, version 6.0 by dragging the floating window down to the bottom right of the screen. I drug it around down there until it started highlighting docking arrangements for it and it eventually shows a highlight for the original docking position and then you can let go and it'll dock. Not super exact instructions, but once you do it a couple times it's easy to recreate.

Codename One show image only on specific device

I'm coding an app via Codename One. Since the screen of an iPad or other tablet is bigger than a phone's display and that would leave me with a bunch of open space, I was wondering if there is something in Codename One to have an image pop-up on a tablet but that it is not visible on a phone's display.
So is there something like that? How can I use it?
Thank you in advance!
Nick van Kesteren
You can use Display.isTablet() to adapt the UI for a tablet. Normally you don't do this at the image level but rather at a Container level.
E.g. I could do something like this:
Form myForm = new Form("My Title", new BorderLayout());
// add the stuff that's always here...
if(Display.getInstance().isTablet()) {
myForm.add(BorderLayout.EAST, createAdditionalTabletUI());
}
You can also enable other things such as permanent side menu to make the UI use the tablet aspects more intelligently.

(Unity3d) How do I make a "move pad" on the screen? (Mobile)

In my game you can control the character by moving left and right, jumping and attacking. (This is a mobile game) I have a button that I use to jump and attack, which is easy because I just make a button and jump or attack with OnClick(). But for moving, I don't know how to find out if the user is pressing the button, I only know when it is clicked. How can I find this out? thanks.
If you dont understand what Im trying to say, basically here is my web game: http://dugelstudios.weebly.com/weapon-plus-plus.html
(Does not work on chrome, using safari or internet exploror)
and i am porting it to mobile, and i dont know how to make the player move left and right with touch controls.
You can use other MonoBehaviour methods such as OnMouseOver to check if a button is pressed, OnMouseEnter when a user begins to press a button, and OnMouseExit to check if a user has released the button.
You can also use OnMouseUpAsButton to mimic the behaviour of Button.onClick
For draggings movements, (like movement. For example, if you have a thumbstick, or something similar for movement), you can use OnMouseDrag.
Also, completely unrelated to your question, but something you have mentioned, you can enable NPAPI to enable WebPlayer builds in Chrome.
Just paste chrome://flags/#enable-npapi in a new tab in Chrome, and click the "Enable" button to get it running
I believe there is a thumb stick asset the standard Unity asset pack that's available on the store.

How do you design an image for Codename One TouchCommand?

I am 2 days in experimenting with Codename One and Mobile development in general and tested out some basic navigation and features so far. Now I want to work on the look and feel of the app.
I looked at the 9-border vid which was helpful, but not sure of the best way to add an image for the touchCommand that takes 3 tabs on that bar ( Example: home, profile, settings.. Similar to how instagram's TouchCommand is at the bottom of the app).
If I add the image, it does not line up with my Commands.
What is the best way to approach this to ensure the "TouchCommand" image appears as one, but is broken up to 3 parts for each individual commands when pressed, home, profile and settings? I might be asking this all wrong, forgive me as this is all new to me.
Thanks.
EDIT:
This is what was done.
In Theme -> Constants added commandBehavior= bar . This gives the default bar at the bottom. Created in photoshop a new bar 300x80 and added it to the TouchCommand. (See ScreenShot 1). Took this bar and broke it up in photoshop into 3 different buttons for the tab press etc. In GUI Builder, added Home, Profile, Settings in the commands. Added the image to Press Icon for Home and it didnt line up (screenshot 2). Very Frustrating to design layouts. I am hoping there is a much better technique as I am still experimenting with Codename one?
What is unclear to me, is I cant find any documentation on how to approach this and what the dimensions of each image should be as it seems that codename one has issue aligning them. I am assuming the steps would be to create the background image and add the icons as interactive layers for the user. I really care for the image being pressed and changes color like the instagram example. I dont see a way to do this in codename one GUI builder and themes.
EDIT:
Okay, I have decided to use tabs instead of the bar at the bottom. If I add my image to it, I get the results (screeshot 3). Is this the right method to use to accompolish what I want? If so, I dont see a way yet to alter this to become what I want :( .
Plus adding the background, shows one size in the display and looks different in the simulator. (screeshot4)
Answered Here: How do you get ActionBar from SocialBoo theme to show up in your GUI?
Tabs are customized individually so the border should apply for an individual tab to create the background. The foreground element is the icon which you define in the Tabs component itself thru the icons property which allows you to define 3 icons for the 3 tabs (assuming you use the GUI builder). If you add the tabs via addTab in the code you can specify an icon there.

winforms messagebox background colour

I am new to winforms and I want to keep things simple
When I create a message box: I notice the top half is white background while the lower half is grey (!!!)
(what I really want is all background white).
But even the VisualStudio dialog doesn't behave this way
Can someone please help me?
Do I need to write some custom code ?
I would post the image but not allowed;(
Thanks
MessageBoxes are displayed by the operating system. If the options that are available aren't good enough, then you have to make your own form.

Resources