November 1, 2011

Recently when I want to upgrade one of my android apps to the latest build, I found out that I have lost the original android keystore for that particular apps.

android-upload-upgrade-problem

Without using the same keystore, I won’t be able to create an upgrade for my apps. So what you should do in that event?

1. Contact Google to recover the keystore.

I tried but unable to get anyone from Google to respond to my email

2. Reach Google to remove the original apps or unpublish it.

A. Go to https://market.android.com/publish/Home and then click the apps you want to remove from your Android market listings

B. On the top right hand side, you can only see 2 button, Unpublish and Save.

C. Based on that the conclusion is you will be unable to remove the apps, only unpublish it.

3. Change the package name

A. Google Android market does not allow 2 apps with the same package name such as

com.package_name.apps, you will need to update the original package_name to something else such as com.new_package_name.apps

B. Once you make the changes you are ready to upload your new

4. Change the original apps title name

A. Say you have an apps called twitter, you can go to https://market.android.com/publish/Home and then click on the original apps

B. Go to the Listing Details box and then Title (English) text box, and update the apps name to something else (such as twitter to twitter basic) and then save it

C. Go to your new apps, and then edit it, and go to the Listing details box and then edit the Title (English) text box with the original name of the applications.

D. Now you will have a new updated apps with the original name of the apps.

5. Update the description of the original apps to point to the new apps

6. The only issue is your original apps won’t be able to do automatic upgrade.  They will need to download and install the apps again, and then remove the old apps.

Related Link:

Android Market

October 30, 2011

Sophos provides a free antivirus for Mac that also just updated to Mac OS X 10.7 Lion.

This is how you install it after you download it

1.

2011-10-30_installing-sophos-antivirus-for-mac-_01

Read More

August 31, 2011

One of the best thing about web apps is that you can access all of the information on the go, and with HTML5 the sky is the limit. Today Google announced that they are introducing a new ways to read your Gmail on your chrome internet browser without the need to be connected to the internet.

Some of the highlight features such as

A. The Gmail web app was built to function with or without internet access

B. The Gmail app will synchronize mail whenever you have internet connection even if the app isnt open.

C. You can read, reply, send and organize email regardless of internet connection

So here is some steps to follow in order to install it on your Chrome browser:

Read More

December 17, 2010
2010-12-17-eaccelerator-fedora-installation

eAccelerator is an open source PHP accelerator and optimizer.  It increases the performance of PHP scripts by caching them in compiled state.  Typically eAcceleartor reduces server load and increases your PHP code by 1 to 10 times.

It seems like it is installed by default on Fedora 14 64bit installation

Read More

May 15, 2010

As a developer myself, frequently I have used google as a mean to find answers to some of the technical questions that I don’t know about.

Here are the list of some of the websites I used frequently:

www.stackoverflow.com

April 30, 2009

Other than your own home, usually a lot of websites are getting blocked by network administrator at your work or school, preventing you from accessing some of more popular sites such as facebook or gmail.  On the other hand, the world wide web is so huge that it is simply just impossible for network admin to block everything.  

Read More

October 30, 2008
February 8, 2008

1. To login (from unix shell) use -h only if needed.

# /usr/bin/mysql -h hostname -u root -p password -P port_number 

2. Create a database on the sql server.

mysql> create database [databasename];

3. List all databases on the sql server.

mysql> show databases;

4. Switch to a database.

mysql> use [db name];

5. To see all the tables in the db.

mysql> show tables;

6. To see database’s field formats.

mysql> describe [table name];

7. To delete a db.

mysql> drop database [database name];

8. To delete a table.

mysql> drop table [table name];

9. Show all data in a table.

mysql> SELECT * FROM [table name];

10. Returns the columns and column information pertaining to the designated table.

mysql> show columns from [table name];

11. Show certain selected rows with the value “apple”.

mysql> SELECT * FROM [table name] WHERE [field name] = "apple";

12. Show all records containing the name “Paul” AND the phone number ’888999′.

mysql> SELECT * FROM [table name] WHERE name = "Paul" AND phone_number = '888999';

13. Show all records not containing the name “Merry” AND the phone number ’732788′
order by the phone_number field.[/sql]

mysql> SELECT * FROM [table name] WHERE name != "Merry" AND
phone_number = '732788' order by phone_number;

13. To list all of the table in a particular database

mysql> SHOW FULL TABLES IN rs_hugodb_beta7 WHERE TABLE_TYPE LIKE 'BASE TABLE';

or

mysql> SELECT TABLE_NAME FROM information_schema.tables WHERE TABLE_TYPE LIKE 'BASE TABLE' AND TABLE_SCHEMA LIKE 'database_name';

where database_name is your database name

14. To list all of the view in a particular database

mysql> SHOW FULL TABLES IN database_name WHERE TABLE_TYPE LIKE 'VIEW';

or

mysql> SELECT TABLE_NAME FROM information_schema.tables WHERE TABLE_TYPE LIKE 'VIEW' AND TABLE_SCHEMA LIKE 'database_name';

where database_name is your database name

Reference: