Categories

Twitter

Blogs

Archives

Feeds

  • Subscribe
  • Share/Save/Bookmark

Meta


HTC Desire S Android freezing at market download

September 23rd, 2011 by J

*In order to help others who might also have this issue please feel free to share this or drop me a comment with other answers that have worked for you and I shall add to the list, might save someone a few hours searching*

Ok so the last few days I have had an issue with my HTC Desire S. Every time I try to download anything from the Google market my phone starts the download and then freezes solid.

The only way to break this is to take the battery out, replace it, turn the phone back on and as it is booting hit the download and cancel it at the market before it freezes again.

As you can understand not an exact science and rather annoying. The upshot is that I have been unable to download or update anything, so as is normal in these cases I turned to the Internet.
It seems this is not a new issue as the first info I found about this started in 2010 and is 17 pages long. It seems to appear on different handsets proving that it is a Google issue not a handset/carrier issue and generally revolves around google wanting to move everyone to @gmail. In true Google style (and one of my few concerns when I gave up my trusty treo for Android) they have basically ignored it.

However users have stuck with it and come up with answers. In an attempt to avoid a factory reset I tried most of these before hitting on one that worked.

Below is a list of possible thing to do to get you downloading again.

The one that worked for me:

Phone: HTC Desire S
Network: Orange (uk)
Version: 2.3.3

1. Set Airplane mode on
2. Perform all cache clearing below:
>> settings->(applications on desire s then) “manage applications”  then scroll down to,
>> “Checkin Service”          then select  “clear data”     (Not on Desire S)
>> “Download Manager”   then select “clear data”
>> “Google Apps”                then “clear data”                  (Not on Desire S)
>> “Google Talk Service”  then select “clear data”    (Called Talk on Desire S)
>> ” Market”                         then select “clear cache”
3. Power off/on phone
4. Switch off Airplane mode
5, try your download again.

Other possable answers:

1. A) settings / manage applications / market and select uninstall updates. (Not available in Desire S)

2. A) I also have an HTC Desire and found that if I turned off Talk it worked.

3. A) >> log on to your google account on a computer
>>click on Manage Account
>>On personal settings click on Change Password4
>>Change the password
>>Now restart your phone (no need for me even!)
>>Try connecting to google mail it then tells you that you cannot login and you have to edit the account. there you can then use gmail instead of googlemail.

4. A) Change the googlemail.com account to a gmail.com account.

5. A) >>Connected my Desire to the computer and mounted it as diskdrive; the SD card is now not readable for the Desire itself
>>Went to Settings > Applications > Manage Applications > All, clicked on the Market app and pressed the Clear Data, Clear Cache and Force Stop buttons
>> Opened the Market app
>>Had fun browsing and downloading apps until I disconnected the USB cable from the computer and make the SD card readable for the phone again

6. A)  Turn on 3G (my unit is HTC Desire, check the tick box near Wireless network. You should see the 3G icon near your signal bar
>>Go to Talk, this should now be able to login
>>Turn off 3G. You will notice your previous downloads will resume automatically
>>Turn on wifi, and the download will continue.

7. A) Shut down the phone –> take out the battery –> wait 20 sec –> put in the battery –> start the phone.

8. A) Change back to googlemail if you have recently changed to gmail and vice versa

9. A) I found a gmail help page ‘Google Mail is becoming Gmail in the UK’ and there they say:

10. A) I created a brand new Gmail account just to use with my phone, Hard reset my phone, Registered the new account on the phone.

11. A)
>> log on to your google account on a computer
>> click on Manage Account
>> On personal settings click on Change Password
>> Change the password
>> Now restart your phone
>> Try connecting to google mail it then tells you that you cannot login and you have to edit the account. there you can then use gmail instead of googlemail.

12. A) Factory reset:
>> Log into Google Mail on the web and change your email address to @gmail
>> Do a factory reset on your phone
>>When inputting your google mail account settings on the phone, use the new, @gmail address
Android users: If you use an Android device and change your address, the following apps may not connect properly: Google Talk and Android Market. The current solution for this is to change back to @googlemail.com, or do a full reset of your Android device and use @gmail.com. We are working on resolving this issue as soon as possible.


Websites that may help you find ideas.

http://myhtcdesire.com/tag/gmail

http://androidforums.com/

Android market help forum

Good luck.

Seam carving

March 5th, 2011 by J

A little while ago I posted about a new system called seam carving, a way of effectively removing items from an image from a photograph while keeping the image intact or resizing an image with little degradation.

Well with the new Photoshop CS5 this has now been implemented as their own “content aware” system. So I set myself a little challenge.

20mins, random image, quick selection tool and content aware fill only.

These are the results:

horse and rider

Original image.

ghost horse

horse removed

I also had a play with the resize as well.

resized

I know some of the removal images are a little scrappy but this was a 20min challenge so with a little more time and playing this could be very effective.

Personaly i am liking it.

Joomla Tips – CSS Menu List Styling

April 2nd, 2010 by J

This is very helpful post provided by the Awareness engine and it saved me hours of stress when it comes to the Joomla Menu system.

Thanks.


I thought I’d have a whirl at explaining how to style Joomla menu’s when set to List format, which is probably the best method to use and more versatile. First things first, is to look at some HTML output from a main_menu module.

1
2
3
4
5
6
7
8
9
10
<div class="moduletable"> _menu suffix applied to default menu that includes homepage
  <ul class="menu">
    <li class="parent active item299"><a href="#"><span>Design</span></a>
      <ul>
        <li class="active item313" id="current"><a href="#"><span>3D</span></a></li>
        <li class="item304"><a href="#"><span>File/Media Types</span></a></li>
      </ul>
    </li>
  </ul>
</div>

The Design menu example is formatted via administration, as below. Normally, all items are listed straight down without being sub-items, however, this is List formatting and because the default .moduletable <h3> heading CAN’T be styled as ‘active’, this is why you would use this structure. See this article for creating custom module styles.


Fig. 1.

The CSS definitions applied to the <li> items depending on their state are as follows:

#menu CSS ID is applied to the first main <ul> only
#current CSS ID applied to <li> for the current item
.active CSS Class applied to <li> for the current item
.parent CSS Class applied to <li> if child links exist
.item[ItemID] class applied to the <li>

Where ID is termed below, this refers to CSS ID and not Joomla menu item ID’s.
From the above rules, different definitions are applied to li items below the main #menu ID, which makes for exact state styling (and potentially very mind-numbing), as opposed to the older mainlevel style used in Legacy formats, which was limited to two-levels main and sub level, and sub level couldn’t be styled as singularly active. With Lists, you can achieve this.

As CSS is cascading one thing to be considered is the structure of your menu’s and how many levels you’re going to use. With unordered lists you can have as many levels as required, though you wouldn’t sensibly style more than three to four levels below the #menu ID. Additionally, the rules you define for ul and li items at the top of the structure from the second level on, will affect lower ul and li items unless you override those definitions with new ones.

For each li item that has a child element, a new ul is created with child li element(s). For example, if we had a menu structure that was three levels deep, the HTML structure would be similar to:

<div>
<ul> LEVEL ONE
<li><a href=”#”><span>Design</span></a>
<ul> LEVEL TWO
<li id=”current”><a href=”#”><span>3D</span></a></li>
<li><a href=”#”><span>File/Media Types</span</a></li>

<ul> LEVEL THREE
<li><a href=”#”><span>Online Proofing</span></a></li>
<li><a href=”#”><span>Portfolio</span></a></li>
</ul>

<li><a href=”#”><span>Printing</span></a></li>
<li><a href=”#”><span>Creative Articles</span></a></li>
</ul>

</li>
</ul>

</div>

For CSS styling purposes, it’s better to forget about the possible states at the beginning and concentrate on the hierarchy, as follows:

  1. Define any CSS ID areas in your template for your navigational menus, in this example this will be #navleft.
  2. Define, if any, the styling of the module wrapper .moduletable.
  3. Define, the first #menu ul ID. In the Design menu above, this is the styling of the Design text and background image #navleft .moduletable ul.menu. You can leave out .moduletable if desired here, or if using a CSS suffix applied in the module parameters, leave off #navleft and style something like .moduletablemysuffix ul.menu.

Okay, firstly we’re going to think about the Unordered Lists and remove all default bullets and padding. This will affect all <ul> tags within #navleft:

1
2
3
4
#navleft ul {
    list-style-type: none;
    padding-left: 0;
}

Next, you want to define any spacing, text styling values for subsequent <ul> tags, drilling down the hierarchy as many times as you need to:

1
2
3
4
5
6
#navleft ul ul {
    padding-left: 18px;
}
#navleft ul ul ul {
    padding-left: 10px;
}

You can also do the <li> tags in the same way: #navleft li, #navleft li li. YOU DON’T HAVE TO INCLUDE ALL THE UL AND OTHER CSS PREFIXES BEFORE THEM! This is only useful for spacing and the like where states such as active and parent don’t count.

The Levels


Fig. 2.

Level One

Now to think about styling the top menu item, see Fig. 2. In our List navigation menus, there’s actually three possible states and they should be defined with active and inactive before hovered:

  1. Active.
    #navleft ul li.active a:link, #navleft ul li.active a:visited { }
  2. Inactive.
    #navleft ul li a:link, #navleft ul li a:visited { }
  3. Hovered.
    #navleft ul li a:hover, #navleft ul li a:focus { }

Level Two

Next are the second level items or sub-level items, again 3 states with essentially just ul li and ul li.active added to the above:

  1. Active.
    #navleft ul li.active ul li.active a:link, #navleft ul li.active ul li.active a:visited { }
  2. Inactive.
    #navleft ul li.active ul li a:link, #navleft ul li ul li a:link, #navleft ul li.active ul li a:visited, #navleft ul li ul li a:visited
  3. Hovered.
    #navleft ul li.active ul li a:hover, #navleft ul li ul li a:hover, #navleft ul li.active ul li a:focus, #navleft ul li.active ul li a:focus

Level Three

Next are the third level items or sub-level items, again 3 states with essentially just ul li and ul li.active added to the above:

  1. Active.
    #navleft ul li.active ul li.active ul li.active a:link,#navleft ul li.active ul li.active ul li.active a:visited { }
  2. Inactive.
    #navleft ul li.active ul li.active li a:link,#navleft ul li ul li li a:link,#navleft ul li.active ul li.active li a:visited,#navleft ul li ul li li a:visited
  3. Hovered.
    #navleft ul li.active ul li.active li a:hover,#navleft ul li ul li li a:hover,#navleft ul li.active ul li.active li a:focus,#navleft ul li ul li li a:focus

Rather than show the CSS definitions for each level, I’ve included the CSS file for this design, which reminds me to mention to create a unique CSS file for menu styling.

Active / Parent States

You’ll see from Fig. 2 above that I’ve styled a little down and up arrow depending on whether the parent item is active. You can achieve this with the following CSS:

1
2
3
4
5
6
7
8
9
10
11
12
13
#navleft ul li.active ul li.parent span {
    background-image: url(../images/downarrow.gif);
    background-position: right center;
    padding-right: 12px;
    background-attachment: scroll;
    background-repeat: no-repeat;
}
#navleft ul li.active ul li.parent.active span {
    background-image: url(../images/uparrow.gif);
    background-position: right center;
    padding-right: 12px;
    background-attachment: scroll;
    background-repeat: no-repeat;

VirtueMart Tips – mod featured items not displaying images?

March 17th, 2010 by J

A useful peice of info discoverd on Spiral Scripts.

Thanks


The featured items modules should be able to detect the images automatically and resize them.

Occasionally there are problems: these are nearly always due to mistakes in the image path and file name, which mean that the module cannot read the image file in order to resize it.

The things to check are:

  • You are using relative rather than absolute urls, eg images/stories/image001.jpg,NOT http://www.mysite.com/images/stories/image001.jpg.The module can often handle absolute URLS, but relative URLS are much less likely to lead to problems.
  • Remember that file names are usually case sensitive, so check whether you are using image001.jpg or image001.JPG for example. These are not the same, and using the wrong one will mean that the image will not display.
  • Don’t have spaces in an image file name.  If there are spaces it is not a valid URL, it can cause problems reading the image file, and you will need to replace the spaces with another character such as ‘-’. This is what Google recommend, they interpret this as a space. The confusion comes about because the Joomla editor will upload images with spaces in the name, and link to them by replacing the space character with ‘%20′. This is not good from a search optimization point of view though, because it is not a valid URL.
  • Make sure that you have not put any leading or trailing spaces by accident in your image tags, for example if you use the html code <img src=”/images/stories/image001.jpg ” /> that will cause problems because there is a trailing space.

These are all good practice anyway, so it helps to get used to doing things this way. The confusion arises because image URLS are a lot more forgiving of mistakes than file names, which have to be exact, so an image may display correctly in an html page even if there are mistakes. However these mistakes will make it impossible for the image file to be read by the module.

Other reasons why there might be problems:

  • You have an article read-more link before the image. In that case the image will not display because it needs to be in the intro part of the article in order to be detected, so you need to make sure it is in the intro part of the article.
  • Your server does not support the GD graphics module. In that case you will not be able to use GD for image resizing, so you need to disable that parameter in the module admin.
  • The file permissions are incorrect on the script which resizes the image thumbnails. This script is called resize.php and is in the module assets folder. Usually this script will run with permissions set to 644. Occasionally, depending on your PHP configuration, this may need to be set to 755.

Joomla Tips – How To Use The Random Image Module

March 11th, 2010 by J

This is a very useful post i discoverd on the Joomla forum while on the hunt.

Thanks to all the guys at the Joomla Forum.


The following tutorial is released under the Joomla! Electronic Documentation License.

This document will lead you through the process of using the Joomla! 1.5 Random Image module to display a different random image, from a specific directory on each page load.
The following is a step by step guide that will lead you through the process:

1. Install Joomla! 1.5, install the sample data and set up your administrator account details as you will need these later.

2. The Random Image module is installed with the default Joomla! template. So it is not necessary to install the module separately.

3. Browse to the index of your new Joomla! Installation and log in to the administrator area of your Joomla! installation using the administrator link on the menu to the left hand side of the page. Use the details you set up you used earlier to set up your administrator account.

4. Select “Module Manager” from the “Extensions” drop down box on the menu towards the top of the page.

5. Click on the “Random Image” module from the list of modules. You may have to browse to the second page of modules to see this depending how many modules you have Joomla! set to list per page.

6. The Random Image module allows you to show a different random image, from a directory of images, on each page load. You can choose which pages on the site you wish the random image module to appear on using “Menu Assignment” options. For the purpose of this guide we want the random images to appear on each page. So, find the “Menus” set of radio buttons and click the one labeled “All”.

7. You can configure the parameters of the module in the “Module Parameters” section. Make sure “Image Type” is set to “jpg”. For example, set “Image Folder” to “images/stories/food” and set “Link” to “http://www.joomla.org”. Finally, set “Width (px)” and “Height (px)” to “100”. This will ensure all the images are displayed at the same size, 100 pixels in both height and width. The link can be internal or external to the site.

8. Select “Save” from the top right menu to save your changes to the module.

9. Now click the “Preview” link on the top right of the screen and you will return to the index page of your Joomla! installation. At the right of the page you will see the random image area. In this area you will see pictures of food from the joomla sample images provided, scaled to 100px in both dimensions. If you click on the image you will be taken to the Joomla! homepage. Finally, refresh the page and you will see that the image changes.

Congratulations. You have now successfully learned how to use the Random Image module of your Joomla! 1.5 installation.

VirtueMart Tips – Finding the right File to edit.

March 5th, 2010 by J

This was pulled out of the Developer Manual after i spent a little while swearing.

When you want to modify a part of your Shop (that can’t be changed in its layout using the Joomla template’s CSS), you must know, which file you have to modify, to create the layout you want.

To quickly find the file, which produces the HTML output you’re seeing, you can enable the DEBUG mode

  • “Admin” / “Configuration” / “Path & URL” / check “DEBUG?” and save.

After having done that, you will see blue info icons all over the Shop, which show the file name of the included file on mouseover.

The most changed files are

  • .../html/shop.browse (the product listing / category overview)
  • .../html/shop.product_details.php (the product detail page / view)
  • .../html/shop.index.php (the default Shop Homepage (when the parameter page is omitted)

VirtueMart Tips – Removing “Recently Viewed Products”

February 28th, 2010 by J

How to go about removing “Recently Viewed Products” from Joomla 1.5.3 and VirtueMart 1.1.0 (seems to work on V1.1.4 as well)

If you want to remove this, just head to:

Admin -> Configuration -> Site -> Layout & click “Config”
Then just change the “Number of recent products to Display?” to 0

Tech #1 Computer switches off after seconds.

October 18th, 2009 by J

Whats this all about…..

Every time I have an issue with my computer hardware/software, one of the first places I head for is the great wide web in search on answers. Usually I find them but it can take a little while to get there and usually I find four or five possible answers spread over different forums around the net.

My idea was to try and pool some of these ideas in to some sort of coherent posts. What follows is by no means always going to suit your problem and I take no responsibility for anything you do to your computer it is purely a list of possible answers that may help in your fault finding or strike a cord. If you have any other ideas, comments or advice please feel free to add it into comments and I shall add it to the post.

#1 You switch on your computer and a couple of seconds later it switches off (before Bios or beep).

Possible problems/solutions:

  • Heat – Sounds dumb but your PSU and Motherboard have thermal cutouts and in the height of a hot summer could heat could cause an issue
  • Power outlet – Try a different socket
  • Dodgy power switch – Try an air duster to clean it or purchase a new case switch (takes about 5mins to replace)
  • Dodgy reset switch – as above
  • Incorrect PSU size – **This may only apply if you have just added a piece of hardware or replaced your PSU check the wattage of the PSU and and the demands of your system**
  • PSU on the way out – Find a similar PSU, hook it up and test it. If it works Time to crack out the credit card and get yourself a new PSU remember to take note of the voltage and connectors needed.
  • CPU fan/heat sink issue – If you have been moved the CPU fan lead may have become dislodged or your CPU fan may be dying and the Motherboards protection is kicking in. Check the CPU fan/heat sink leads or try a different Fan/heat sink
  • Motherboard dying – If you can get hold of a spare or test your PSU on another computer this should help yo narrow it down. Sorry time for a new motherboard

Before replacing anything Be sure that you know what you are doing and make sure you unplug your computer before poking about inside.

For more advice and help, below are a couple of forums that have proved useful to me.

Tech Support forum
pcworld forums
Techimo
Tech Guy

Hope this helps.