Disable blue screen on shutdown - raspberry-pi

I am having a Raspbmc image on my Raspberry Pi. To meet one of the requirements I need to restart xbmc. When I restart xbmc is displays screens of various colors. I do not want these different colors. I want a completely black screen. Can anyone help me with this?

You could try issuing <splash>false</splash> per the following under the heading "Splash Screen:
http://cybernetnews.com/xbmc-advanced-settings/

Related

WatchOS 2.2 Large Modular Complication Fails To Initally Display Image

I've discovered a new issue in WatchOS 2.2 large modular complication. I have a work-around, but was wondering if anyone knows of a fix for this?
Install your WatchOS app that includes a large modular complication with an image. Go to the Watch face configuration by hard pressing. Choose the modular layout (second one to the right). Customize to add your large modular complication to the center of the watch face. Hit the home button twice to return to the Watch face. Note that your image only shows as a shadow when holding down the complication.
Return to the Watch face configuration by hard pressing. Change the text color of your watch face. Hit the home button twice to return to the Watch face. Note that your image now shows correctly. You can now change the color back to the original color and the watch complication image will still show.
Anyone else seen this bug in WatchOS 2.2? Anyone have a programatic fix instead of a user work-around as I describe above?
Thanks!
Justin

Reachability graphic overlay

The app I'm writing depends on having a network connection (both to the internet in general and to a specific host). The app works completely offline but the user needs to know it's offline.
I am using Reachability to watch for changes to the connection.
I was thinking of using a traffic light type system...
Red = no connection to the internet.
Yellow = connection to the internet but no connection to the host.
Green = connection to host.
At the moment I am changing the tint colour of the UINavigationBar (until I can get something better). I was thinking of putting a coloured circle into the UIStatusBar to show red, yellow, green but I'm not sure if this is possible?
I don't want to hide anything on the status bar, just add my own graphic.
Is that possible? Could anyone explain how to do this? Or is there a better way of doing this that anyone could suggest?
You can't add anything to the status bar, however this project may be of interest to you: https://github.com/myell0w/MTStatusBarOverlay and this question and it's answers: Write some text in (or on) UIStatusBar

How to remove background of image during runtime in iPhone sdk

I have an image in UIImageView. Those images are generally of clothes or accessories captured from camera on plain backgrounds. Now, I have to give a functionality to users so that they can remove the background from the actual image which is being shown. Something like what is shown in the picture here. As the slider will move the background will start getting removed more and more. Something like the 'instant alpha' brush in the Preview application available in Mac OS X. I wish to do this in native iPhone app.
I know I'll require some algorithm for image processing to do this. Does anyone have anything helpful which I can refer or use in order to get this done? Thank you so much in advance.
You can render your image in some context, than change all points you need to the color you want, get image from your context and display it again.
This link should help you to get color of a pixel in context.
Note, that this method is too slow, so I think you should remember all positions of pixels you
need to change to make your app a bit faster.

How to make Night Mode for display in iPhone app

I need to implement different colors and background images for all UI elements in my app in day and night.How can i implement this other than giving two nibs for two modes.Please help me.
I've done this myself and it ends up being a lot more work than you think to do it properly.
In the end I had to subclass nearly every GUI item to hold state information (I had a night mode and also an intensity) so there was a different base colour used for all the drawing. You also need to have a basic (almost monochrome) theme to the app so that controls look the same in night mode and day mode. Gradients and textured backgrounds dont tend to work very well, for example.
Once you've created your dual mode controls you then need to decide how to let them know about changes of mode - whether to manually set or register for notifications.
This is not too bad for the controls you've listed in the comments, not sure about the map view though.
You can achieve a crappy night mode by using a semitransparent overlay.

How to create background image for site

I have just made background image for my web-site. But I'm confused - if user have resolution no similar mine, then he will see wrong image right? How can I fix this problem and what resolution is normal for browser?
They will see the correct image, but it will repeat itself.
You have two options:
Create an image, which looks nice when it's repeated. Then you just have to exchange the image.
otherwise you have to disable image repeating, so that the image is just displayed once.
see: http://www.w3schools.com/cssref/pr_background-repeat.asp
It usually looks nice if you define an appropriate background-color after the image ends.
Otherwise there are more advanced ways for full scale background images: http://css-tricks.com/3458-perfect-full-page-background-image/
The "normal" Screen resolution on webpages range from the Smartphone screen (320x480) to 30" screens (2.560 x 1.600). Those are the both (not so uncommon!) extremes. The average is between 1024x768 and 1920x1200.