Skip to main content

Posts

Android Studio Issues

Android Studio is a new IDE from Google  apparently   intended to try to make Android application development easier. However, there seems to be a few issues that get in the way. Two potential sources of headaches are: "Locked cache" error and Unable to install cradle Two possible solutions: Start Android Studio as Administrator if using Windows. I have not tried starting it as root in Linux. It is not recommended to run applications as root in Linux. Set up the HTTP proxy server IP address and port in the File->Settings menu. Google still needs a lot of work to simplify the interface. IntelliJ IDEA is still the simplest Android IDE in my experience. Eclipse ADT is getting close.        R

Blurred Text in Windows 8 Applications

Some applications that are not native Windows 8 display with slightly blurred text even when the rest of the apps have sharp crisp appearance. As an example, see the distorted modem app shown below. Click on each image to see it in full size: The settings are as shown below: With some doctoring of compatibility settings, you can modify the application interface to be as crisp and sharp as native |Windows 8 applications. The settings I used are shown below. To access the settings, right click the application shortcut on your desktop and select the Compatibility tab shown below. New settings: Note the new settings for colour depth (now 16-bit, 65536) and "disable scaling on high DPI settings". You can experiment with different settings to see what works best for you. Unfortunately, pre-Windows 7 apps may be very challenging to sort out in this way.

Import .csv Contacts into Android

The problem is simple: You have an Android phone that is new or reset to wipe contacts or phone book. Your phone book or contacts are in a .CSV file or Excel and you want to import into the Android phone. All kinds of strange and convoluted solutions are given out there but the one that worked for me on several occasions is a tool called CSV to VCard. It is free software that accepts .CSVfiles, allows you to make adjustments, then converts into VCard (.vcf) format. You can copy the .vcf onto your phone and then open that file via Android to import into Android Contacts. The process is shown graphically below: Launch "CSV to VCard": 2. Open .CSV File: 3. Edit Fields in VCard (Right side is editable by clicking "select" and scrolling the list to select best filed name): 4. Edit the export file name  (It is a .vcf)  and location: 5. Click "Convert" to convert and save. You get the following message in about 1/2 a second...: ...

Will my phone work in USA?

What if you are travelling to a foreign country and you need to know if your phone will work there? The answer is simple. There are two things to check: 1. GSM frequencies for making telephone calls  (some phones use CDMA,these are not dealt with here) 2. Data service frequencies for accessing the Internet. There are two GSM frequency groups: 1. 900 and 1800 Mega Hertz (MHz) 2. 850 and 1900MHz. Most of the world is in the first category except USA. See the map . The next question is: Now that I have found that USA uses 850 and 1900MHz for making telephone calls, can my phone use these frequencies? As an example, take the  LG Optimus L3 E400 . What are the GSM frequencies of this phone? You can get these details from the  http://www.gsmarena.com/ website. If you search for LG E400, you will get the following page . For this phone, the key frequencies are: 2G Network GSM 850 / 900 / 1800 / 1900 3G Network HSDPA 900 / 2100 This data says ...

Tchzz!

Tchzz! is not Polish. Its the sound your laptop charger makes as it dies! This article is very short. It has one purpose: To warn you, dear reader, against using cheap  extension  cords and lose electrical sockets. I am told that if you hope to keep your laptop charger for any length of time, ensure your extension cord has a surge suppressor and has very good fit with your electric plug. Do the math: A good extension cord will cost you KES 2,000 (USD22) and up while a new laptop charger will cost you KES3,000 and up (USD34). A good extension cord will last years and years if not abused and  definitely  outlast the laptop which is obsolete within a few years. Have a very optimistic year and make sure you look very closely at this site . It will change they way you look at life.

How to Install Packet Tracer 6.0.1 for Linux

This article is intended to help me remember the installation process for Cisco Packet Tracer 6 details of which seems to be hard to come by on the web. 1. Log in in to your Cisco Netspace account. Yes, you need to be logged in. 2. The " Download PT 6.0.1 " link on is on the NetSpace home page. 3. Click this " Cisco Packet Tracer " link shown below the folder icon as shown in the figure below: 4. Select  Cisco Packet Tracer 6.0.1 5. Select download location. 6. After completion of download, use your file manager to open that folder and rename the file to something such as "CPT6". It is a shell script so no file extension is required. 7. Change the file permissions to executable using command: sudo chmod 777 CPT6 from a terminal window opened in the download directory. This assumes your downloaded file is renamed CPT6 8. Launch the file with command: ./CPT6 from the terminal window. You will get the message: Self extracting archive... We...

Android Applications with Intellij IDEA - 1

This article applies to Android applications in Windows using IntelliJ IDEA development tools. Windows 7 was used in this example but the explanation will work for other recent versions of Windows. It is quite a task learning how to use mobile application development tools. This page describes how to digitally sign your .apk file which is the  Android application package file. In short, your Android program file. Once you have created an APK file to launch it, simply copy to your device and use the Android file manager to install it. The picture below shows the digital signature keystore file, the unsigned APK file and the signed APK file. The procedure of signing the APK file is quite straighforward but first you must ensure your Java JDK is properly installed and that the Java tools are accessible on your commandline (Windows command console - what used to be called the DOS window). Most important is that your PATH environmental variable (In Windows 7 find thi...