iPad wireless connection problem and fix

No WiFi Connection on iPad

My iPad lost connections to the Internet although all signs indicated that it’s connected to my network. I found many others are experiencing this wireless connection problem also. Apple has issued instructions on this issue. They suggest the following: Continue Reading »

BlackBerry Storm Delete Multiple Emails

On my Blackberry Storm 9500, I had a hard time finding how to delete multiple messages from my email accounts because I started noticing that the BB OS was running slow and constantly displayed the progress watch. Here are two methods for deleting multiple messages.

  1. Use two figures and select two messages simultaneously. To select additional messages, slide one of those fingers across other messages. They should highlight in a light blue color.
  2. Press the Menu button (the Blackberry icon).
  3. Select Delete Messages.

Or you can also go about this using the time period bar. This bar is used to group the messages by day/time span.

  1. Select the time period bar.
  2. Press the Menu button (the Blackberry icon).
  3. Select Delete Prior.
  4. Select Delete.

Apple bans Flash CS5 iPhone App Compiler

Update: Today April 9th 2010, Lee Brimelow, an Adobe platform evangelist responded to the latest poster from Apple with “Go screw yourself “ on his popular web blog TheFlashBlog.com. It’s hard not to notice the frustration of developers across the blogosphere fuel by Apple’s refusal to allow third party API compiled apps in to the iTunes store.

The language from Apple’s agreement states “Applications may only use Documented APIs in the manner prescribed by Apple and must not use or call any private APIs”. This stipulation is a loathsome move by Apple to render the new Flash CS5 feature of porting Flash files as iPhone/iPad apps totally useless.

I wonder how many flash developers will delay upgrade to CS5 once they get wind of Apple’s stipulation. I’ve noticed a few developers complaining that their apps were rejected because of the use of third party APIs such as Corona, PhoneGap & Titanium

Read the Titanium’s rejection forum post here:
http://developer.appcelerator.com/question/3921/about-the-iphone-private-api-in-use

John Gruber of Daring Fireball was the first to post these changes:
http://daringfireball.net/2010/04/iphone_agreement_bans_flash_compiler

iPad Camera and SD Reader Connector

I purchased the iPad on Saturday (4/3/10)  and had a lot of fun (including my kids) playing around with all the new cool features. I did feel a little boxed in with out the support of a camera an other USB devices. However, Apple has released their own add-ons to satisfy this need. It call the iPad Camera Connection Kit

Fix SQL INSERT problems with PHP addslashes function

If you’ve created you own custom content management system using PHP, you may have noticed problems inserting data. One of the problems could be that your data may have characters that prevent it from being inserted. Some of the character that would cause this type of problem are single or double quotes, backslash, and NUL characters.

You can escape these problematic characters using the PHP function addslashes(). As explained by the PHP manual: It returns a string with backslashes before characters that need to be quoted in database queries etc. These characters are single quote (), double quote (), backslash (\) and NUL (the NULL byte).

As you can see from my example below, I first run the content through the addshashes function and than return it to the same named string “$Page_Content” before passing it to my SQL UPDATE or INSERT statement.

$Page_Content = addslashes($Page_Content);
$query = "UPDATE site_content SET Page_Title='$Page_Title', Page_Content='$Page_Content' WHERE id_f='$id_f'";
query_db($query);

iPod stuck on eject before disconnecting screen

My wife’s iPod mini got stuck on the “connected, eject before disconnecting” screen. She was so upset because this was a replacement for the first bad iPod mini. This time it wasn’t the mini, it was a human error.

To reset the iPod mini, or any iPod for that with the wheel, toggle the top hold switch on and off then press and hold the middle select button and the “menu” button togather for a few seconds (until it resets to the apple logo).
The problem, I’m sure, was failed to disconnect the iPod before ejecting it from the iTunes device list.

Adobe Flash not on Apple iPad or iPhone

app-shots

Why is it that Apple refuse to assets Adobe in their effort to deploy Flash on iPhones and iPads? Some people believe that Apple fearful that Flash will reek havoc on their battery life. Some think it’s purly profit driven. Think about it. Apple only used Flash on their web site for about a year or two before strictly used QuickTime to handle all of their site’s rich-media content. So they are keep in the same vain by not supporting flash on their Mobile devices.

As a consumer and as a Flash developer, I’m split on this issue. Why? Well I’ve been a Apple user (designer) long before I became a Flash user (developer). Plus I’ve always enjoyed Apple product because they have the tendency of being much more stable than their competitors.

I do feel that Adobe is getting the short end of the stick though. Together, Apple’s OS coupled with Adobe’s creative suits has been such a perfect relationship for those of us in the creative industry. But now with all of the new growth that Apple has had in the mobile sector, they are leaving Adobe to fend for themselves.

The good new is Adobe took some huge steps to remedy this problem by adding a new publishing option in the new Adobe® Flash® Professional CS5. We will now beable to publish AS3 projects files as native iPhone apps. I’m note sure on all the technoligy behine it but they have a few apps up on line now ready for your iPhone… all build using Adobe CS5 beta. Here are a few iPhone applications build using Flash and downloadable via the Apple App Store.

http://labs.adobe.com/technologies/flashcs5/appsfor_iphone/

Can’t delete file on external hard drive – Mac

I ran out of space on my external hard drive so I selected some folder file and pressed command-delete on my keyboard. They files looked as if though they were deleted but I notice the available space did not budge. I knew right than it was time to whip out the terminal to force the hard drive in to submission.

1) Type these command into Terminal window. MAKE SURE TO replace “disk” with the name of your external drive. If you have a problem creating a path to your external hard drive, type “cd” than a space and drag the icon of your hard drive to the terminal window. A path will be filled in automatically.

Code:

cd /Volumes/disk

2) Type out the remove command on then hidden trash directory.

Code:

sudo rm -rf .Trashes

3) It will ask you for your password. You will not see your password as you type for extra security. Once you are done,  press enter.

Code:

Password:

If you have a lot of files that needed deleting (ex: over 20GB) you may notice a dalyed response. If so, just keep an eye on the drive’s avalible memory and you will notice a gradual increase of space right before your vary eyes.

How to backup MySQL Database via SSH

First you log in using your terminal application by typing the flowing SSH command:

ssh yourusername@hostname-or-ipaddress

After that, you will be prompted to enter your password. As you enter your password, the text will be hidden. Next we should switch to the “root” user. You can do so by typing the following in your terminal window:

su – root

You will have to enter a password once more. Now navagate to where you would like to store your MySQL database file. For an example of changing the directory to the “public_html” direcotry, type this:

cd /var/www/html_public

Now you can back up your db here using the following command. This command will backup all of your databases. I also chose to compress them after the pipe “|” as a gzip file. Type the following but be sure to change the user name and password to your info:

mysqldump -u yourusername -p yourpassword –all-databases | gzip >databasebackup.sql.gz

You can also target single database using the following:

mysqldump -u yourUserName -p yourDBName | gzip >databasebackup.sql.gz

CSS Center Web Page Using Styles Sheets

How to center a fixed box container using CSS? The sample below dose a few things. First it centers all body content  using the body tag text-align center attribute. This is done to fix a bug in IE and other browsers that do not support margin auto styles. Next thing it will do is take your div with an id of “container” and auto center the margin with a width of 900 pixels. You can change the width to match your content as needed. Lastly it will reset the text to align left. You can align the text as you see fit but here we just wanted to make sure it set back to the default Firefox & Safari text alignment.

Place the following code in your styles tag.

body
{
text-align: center;
}

div#container
{
margin-left: auto;
margin-right: auto;
width: 900px;
text-align: left;
}

Page 3 of 141234510Last »