Making the most of your mobile devices

If you’ve got an iPhone and you’ve recently made the decision to upgrade to iOS 7, you may find that your smartphone isn’t quite so smart anymore.

There are plenty of reports all over the place that show that iPhone 4 and 4S models are struggling with the new operating system. So if this is getting in the way of your gaming, your instagramming or even your betting on X Factor at http://www.freebets.org/ – yes, millions of people are doing just that – then you’re going to need a few pointers on how to tweak your phone to make it work faster.

Can you go back?

Sadly not – Apple have made it impossible to downgrade from iOS 7 to iOS 6 so your choice is either to carry out some tweaks of your own or upgrade to an iPhone 5. The new OS was designed expressly for the new models (iPhone 5S and 5C) but it doesn’t feel quite fair to have to upgrade as Apple had said that everyone with Apple devices would be able to use the new system.

While you can still use the older handsets, they don’t work very well with the new software and although there’s nothing you can do to make your older phone as good a an iPhone 5, you can help it run better.

Why doesn’t iOS 7 work on an old phone?

It’s all down to the processor. The new OS works with the most powerful chip they’ve come up with yet, the 64 bit A7, which is in the iPhone 5 models. The iPhone 4 works with the A4, which most definitely doesn’t support iOS 7.

The iPhone 4 models also have less RAM, meaning you can’t access data quickly. The iPhone 5 models have 1GB of RAM whereas the iPhone 4 gets by with just 512 MB.

So how does the new OS work at all with the older models? Apple basically got rid of some features, including things like translucency effects and Maps Flyover. While some people may not mind this, others might just want to be able to use everything on their phone.

Many people are finding apps are crashing, the screen swipe doesn’t work so well, the keyboard is slow and launching, closing or downloading apps is extremely slow.

How to improve your iPhone 4 and 4S

Concentrate on freeing up space, keep processes to a minimum and get rid of features you don’t use. Get rid of Apps you don’t use a well as files that are lingering for no reason. Making the weight of data stored on your phone less will help it run better. To see how much space you have and to work out which Apps are taking all the room follow these steps:

Launch Settings, go to General, go to Usage and see the section under Storage. You will find your Apps listed from large to small – if you don’t use some of the bigger ones then uninstall them. Aim to have at least 15% space free.

Automatic processes should be deleted. This includes the automatic App updates – just make them manual. Also get rid of automatic downloads, it means you’ll have to manually sync going forward but then at least it’s under your control.

What if that doesn’t help?

If you still feel your phone is useless then you can try wiping it and starting all over again. If you go back to the beginning you will know for sure that you don’t have anything working away in the background and slowing it down. Hopefully it won’t be necessary and you’ll be able to use iOS 7 on your older phone and not hate it!

All you need to do is go to Settings, go to General and hit Reset. You can either reset certain bits of your device or get rid of all content and settings.

 

C++ tip: Check if input is of valid data type using cin.fail()

When accepting user inputs in C++ console applications using cin object, it is always a good idea to check the input stream for possible errors.

If you intend to read a numeric value using cin and the user inputs a character or string instead then it can lead to unexpected results and run-time errors later in program.

For example if you are using a do…while loop to implement a menu driven program, and instead of a numeric choice the user accidentally (or maliciously?) enters a character, your program can run into an infinite loop.

cin.fail() returns true if the input stream encounters errors, most commonly which happens due to reading incorrect data type.

Here is how you can prevent it:

 int i;
 cin>>i;
if(cin.fail()) {
  // do error handling here
}

You can also check for cin.fail() using the shortcut method :

if(!cin) {
  // this is same as cin.fail()
}

When cin fails, it is also very important to clear the input stream of any garbage value and reset the internal error flags. It can be done using the cin.clear() and cin.ignore() methods as follows :

if(!cin) {
 cin.clear(); // clears error flags
 cin.ignore(999,'\n'); // the first parameter is just some arbitrarily large value, the second param being the character to ignore till 
}

Putting it all together

Here is a more robust way to read any input from user which uses the functions cin.ignore() and cin.clear() :

 int i;
 while(!(cin>>i)) {
 	cin.clear();
 	cin.ignore(999,'\n');
 	cout<<"Invalid data type! Please enter 'i' again";
 }
 
webBluePrint

Top Mistakes to Avoid while Designing A Website

While using the Internet, sometimes you don’t find some sites as attractive as others are. While web designing is not a difficult task, still few people fail to accomplish his job. It is very important for a website to be user friendly and interactive. It helps in directing visitors towards your site. An ill designed website will drive your visitors away from your site.
Read more…

 
Essentials of mobile web designing

Essentials of Mobile Website Designing

It is very essential for the mobile website designers to put an extra effort on the aspects of the website design. As the designed website should not only be user friendly but also complement your site. A few considerations while designing mobile website are as follows:
Read more…

 
suture-thumb

Decrease Page Load Time by Suturing CSS and JavaScript files

While designing a medium-large site, one may require linking to multiple stylesheets and JavaScript files in the head section of HTML document.
Here is a sample HTML document that similarly includes many CSS and JavaScript files

< !DOCTYPE html>
    <html>
        <head>
            <title>My Site</title>
            <link rel="stylesheet" type="text/css" href="path/to/cssReset.css">
            </link><link rel="stylesheet" type="text/css" href="path/to/960framework.css">
            </link><link rel="stylesheet" type="text/css" href="path/to/base.css">
            </link><link rel="stylesheet" type="text/css" href="path/to/navigations.css">
                
            <script type="text/javascript" src="path/to/jQuery.js"></script>
            <script type="text/javascript" src="path/to/functions.js"></script>
            <script type="text/javascript" src="path/to/handlers.js"></script>
            <script type="text/javascript" src="path/to/ajax.js"></script>
            <script type="text/javascript" src="path/to/audio.js"></script>
            <script type="text/javascript" src="path/to/script.js"></script>
        </link></head>
        <body>
            <!-- body content -->
        </body>
    </html>

Read How to Decrease Page Load Time

 
Change Text Selection Background Color using CSS

Change Text Selection Background Color with CSS

Almost all web browsers by default highlight the selected text on a webpage with a light blue background. But did you know that using CSS, you can change the color, background-color or any other CSS property of a selected chunk of text?

You may have seen such effect on several beautifully designed websites and may have wondered how is it achieved.

Read more…

 
DIEthumb

Quick Tip: Prevent listing of files in your site’s sub-directories

If you are using Apache web server chances are that it is configured by default to show an index of available files in a directory if the standard index files; index.php or index.html are not available in that particular directory.

To avoid such behavior and prevent listing of files in a sub-directory of your site, you can of course configure Apache using .htaccess rules but there is an extremely simple solution that works just as well.
Read more…

 
© 2014 All rights reserved | Powered by WordPress
Back to top ↑
Theme by dynamicguru.com