Posts

Showing posts from 2010

Windows 7 USB Startup download tool

Image
Finally decided to create a Windows 7 Startup USB to install Windows 7 on my laptop with faulty DVD-drive. Searched through the net for USB startup creator, and found out that theres a free tool from Windows available at Microsoft Store . Requirements : Windows 7 ISO (more than) 4GB removable USB flash drive* *Note: If your USB is advertised capacity 4GB, then you might want to consider getting a 8GB USB drive. During the USB creation, I stumbled across this issue of "The selected file is not a valid ISO file. Please select a valid ISO file and try again".  A quick Google search shows that there are solution to this at http://www.withinwindows.com/2009/11/01/use-the-windows-7-usbdvd-download-tool-with-custom-isos/ You can download the quick hack/fix for your from the site . You can also find out about how the tool works from the site . Here are the mirrors for the tool and the fix . Credits to owners.

Openinviter for Wordpress - Hotmail Plugin Fix

Image
Been having issue with OpenInviter  Hotmail plugin for Wordpress. Can't find the fix from the site or the support forum, so decided to do a quick fix for it. For those who are looking for quick/temp fix. You can download it here. Hotmail openinviter-for-wordpress v1.7.0 :  http://www.mediafire.com/?w6zd2f10ectg2da Yahoo! openinviter-for-wordpress v1.7.0 :  http://www.mediafire.com/?jl7y3ljcaki6lmd Quick guide : Choose the plugin from the list above. Upload it to " /your-wordpress-folder/wp-content/plugins/openinviter-for-wordpress/oi_includes/plugins "

Mobile Tracker for Samsung Galaxy S

Image
For Samsung Galaxy S owner (like me) out there, this is a post that guide you step by step to turn on Mobile Tracker on your phone. Mobile Tracker allows you to Receive notification when the SIM card in the phone is changed Remotely lock your phone Remotely wipe your phone Receive the location of your phone (not available in Singapore) To turn on the service. Go Settings -> Location and Security -> Mobile Tracker . You will be prompted to key in new password. Register (or login) a Samsung Account by selecting "Join Now" button at the bottom. Set the recipients to who you will want to be notified new SIM is inserted. Set the recipients to who you will want to be notified new SIM is inserted. Login at  http://www.samsungdive.com  to control your phone. :) References: http://www.samsung.com/sg/support/howtoguide/supportHowToGuidePopupPrint.do?howto_guide_seq=6182&howto_guide_step_no=1&prd_ia_cd=01010000&map_seq=35963

Gmail with iPad 2-panel layout in Chrome

Image
Gmail 2-panel Layout Ever wanted to use Gmail 2-panel layout for iPad on your desktop chrome? Now you can, just change your chrome properties target to the following. "C:\Users\stiucsib86\AppData\Local\Google\Chrome\Application\chrome.exe" --user-agent="Mozilla/5.0(iPad; U; CPU iPhone OS 3_2 like Mac OS X; en-us) AppleWebKit/531.21.10 (KHTML, like Gecko) Version/4.0.4 Mobile/7B314 Safari/531.21.10" Then login your gmail as per normal. Woahlah! Enjoy! :)

Mobile Redirection Script

This is the code for Mobile Detection and redirection. For Joomla , add this in the [joomla-folder]/emplates/[your-theme]/index.php , <head> section. Remember to change the mobile redirection site, the example used here is " http://m.your-site.com/ " <script type="text/javascript"> if((navigator.userAgent.match(/ipad/i))             || (navigator.userAgent.match(/ipod/i)||navigator.userAgent.match(/iphone/i))             || (navigator.userAgent.match(/android/i))             || (navigator.userAgent.match(/opera mini/i))             || (navigator.userAgent.match(/blackberry/i))             || (navigator.userAgent.match(/(pre\/|palm os|palm|hiptop|avantgo|plucker|xiino|blazer|elaine)/i))             || (navigator.userAgent.match(/(iris|3g_t|windows ce|opera mobi|...

New Android Market

Image
Saw the post on new Android Market on XDA-Developers, and after restarting my Samsung Galaxy S, I found that my market has been updated too! For those who are looking for the apk (installer) for the new market, head over to the thread for the download.

Permanent Root for Android 2.2

Image
If you are looking for a permanent root solution for Android 2.2 Froyo, can try z4root from xda-developers .

Samsung Omnia 2 - Singapore Official Firmware list

This is the list for Samsung i8000 Singapore Official firmware. Note: For newbies, read this post to understand the code for firmware version. 2010-09-26 | Reference  | Download PDA: I8000NXXJE4 CSC: I8000XSOJC3 Phone: I8000DXJE1 2010-05-28 | Reference  | Download PDA: I8000NXXJC4 CSC: I8000XSOJC3 PHONE: I8000DXJC1 2010-03-30 PDA: I8000NXXJA5 CSC: I8000XSOJA2 PHONE: I8000DXJA1 2010-02-10 PDA: I8000NXXIF4 CSC: I8000FAMIF4 PHONE: I8000XXIF4 2009-11-12 PDA: I8000NXXIJ9 CSC: I8000XSOIJ2 PHONE: I8000DXIJ1 2009-11-09 PDA: I8000NXXIH5 CSC: I8000XSOIH1 PHONE: I8000DXIH2 Firmware Downloader : Samsung Mobile Firmware Downloader Samsung Kies Samsung NPS (New PC Studio) References : http://www.handy-faq.de/forum/samsung_i8000_omnia_2_forum/98997-samsung_omnia_2_offizielle_firmware_rom_downloads.html http://www.modaco.com/content/i8000-omnia-ii-gsm-rom-discussion/318897/official-firmware/ http://www.samfirmware.com/WEBPROTECT-i8000.htm http...

Samsung Omnia 2 - Latest Firmware

Image
For newbies, read this post  to understand how to read firmware version. OFFICIAL ROM Last Update: 28 June, 2010 Singapore PDA: I8000NXXJE4 CSC: I8000XSOJC3 Phone: I8000DXJE1 Previous firmwares . CUSTOM ROM Last updated: 24 Nov 2010 WM EN 6.5 / 6.5.3 | 21916/21682 | Sense 2.5 2018 / Titanium / Cookie 2.0 by NRGZ28 Original Thread:  here . Review: here . WM EN 6.5/6.5.3 | I8000NXXJE4 (Latest Singapore) | [Lite ROM] by Lancez http://www.modaco.com/content/i8000-omnia-ii-gsm-rom-discussion/313590/i8000nxxje4-lastest-singapore-lite-rom/ WM EN 6.1 / 6.5.5 / 6.5(21908 RC3) / 6.5.3 (23127 JF5 Beta) | Sense 2.5.2016 by shadowangel http://www.modaco.com/content/i8000-omnia-ii-gsm-rom-discussion/311366/rom-13-07-2010-sense-2-5-2016-multilang/ WM 6.5.x | 21914 | darksense and GTX special by Sonblack http://www.modaco.com/content/i8000-omnia-ii-gsm-rom-discussion/305461/08-07-2010-rom-i8000-custom-wm6-5-x-rom-from-pdaviet-by-sonblack/ 0...

Samsung i8000 Firmware Code

Image
Credits to bratboo . Example PDA version. Region codes : BD Cyprus, Greece CP Finland DB Vietnam DC Thailand DD India DT Australia DX Indonesia, Malaysia, Philippines, Singapore, Vietnam DZ Malaysia, Singapore JA South Africa JC Algeria, Morocco, Nigeria, South Africa, Tunisia JP Arabic JR Arabic JV Algeria, Egypt, Iran, Iraq, Kuwait, Morocco, Nigeria, Oman, Pakistan, Saudi Arabia,South Africa, Syria, Tunisia, Turkey MT Switzerland XA Austria, France, Germany, Italy, Netherlands, Switzerland, United Kingdom XB Denmark, Norway, Sweden XC Portugal, Spain XD Croatia, Czech, Hungary, Slovakia XE Bulgaria, Estonia, Kazakhstan, Latvia, Lithuania, Russia, Ukraine XF Bulgaria, Croatia, Romania XX Austria, Belgium, France, Germany, Hungary, Italy, Spain, United Kingdom ZC China, Hong Kong ZH Hong Kong ZT Taiwan Release years : D = 2004 E = 2005 F = 2006 G = 2007 H = 2008 I = 2009 J = 2010 Release months : A = January B = February C = March D = April...

Latest Samsung Kies

Image
I find that different Samsung sites update at different rate (For example:  samsungmobile.com.sg  always gives older Kies version than  samsung.com/sg/ .),  so I've decided to record the list of Samsung Kies that I've found here. Latest : [Feb 2011] - 2.0.0.11014.49  (Official Download) Older versions (Get the download mirror from the SamFirmware link below) : [01 Dec 2010] - Kies_1.5.3.10103_102  (Official Download) [15 Oct 2010] - Kies_1.5.3.10103_100_2 (Official Download) Kies_1.5.3.10093_31_1 Kies_1.5.3.10092_14 Kies_1.5.3.10092_2_1 Kies_1.5.1.10074_45 Kies_1.5.1.10074_2 Kies_1.5.1.10071_32 Kies_1.5.1.10062_42_2 Kies_1.5.1.10062_42_2 Kies_1.5.1.10054_79 Kies_1.5.0.10052 How to check your Kies version : References/Download Mirror(s) : http://www.samfirmware.com/samsungkies.htm

Icon Pack

Image
List of compilations of icon packs for Android that I collect from the net. Windows Phone 7 Theme (80 icons) HD Icon Pack (1) by mikebeecham

One Click Lag Fix for Samsung Galaxy S

Image
Can't wait for Samsung Singapore to release 2.2 Froyo with lag fix, so decided to give this One Click Lag Fix for Galaxy 2.1 Eclair a try. Prerequisites : Rooted Samsung i9000. (Follow this post , if you haven't root your phone). Instructions : Download OCLF2 .apk from xda-developers . Copy the .apk to your device, and install the application. Note: Make sure you have " Unknown sources " applications checked in " Settings > Applications > Unknown Sources ". Install the application (by clicking on it in " My Files "). Run the application. "Install EXT2 Tools". "OneClickLagFix V2.2+". Done, wait for the phone to reboot :) References : http://forum.xda-developers.com/showthread.php?t=784691

OneClick (un)root Samsung i9000 Galaxy S

Image
Been looking around for ways to (un)root my Singtel Samsung i9000. Instructions: Plug in your phone, make sure it is in debugging mode. Settings > Application > Development > USB Debugging Download the latest version of SuperOneClick (desktop) application from xda-developers . Extract the zip file. Right click " SuperOneClick.exe ", and select " Run as Administrator ". Click "Root". You will see the following log. Wait for the "Installing Superuser.apk" to finish. Killing ADB Server... OK Starting ADB Server... * daemon not running. starting it now on port 5037 * * daemon started successfully * OK Waiting for device... OK Pushing rageagainstthecage... 585 KB/s (5392 bytes in 0.009s) OK chmod rageagainstthecage... OK Running rageagainstthecage... ROOTED Getting mount path... /dev/block/mtdblock2 OK Remounting system with read-write access... OK Pushing su... 625 KB/s (26264 bytes in 0.041s) OK chmod su... OK Re...

[Samsung I9000] Remove Singtel startup animation

Image
Was looking around for Froyo update for Samsung Galaxy S and stumbled upon this guide to remove Singtel startup animation at xda-developers , by changing the Sales Code of your CSC (Customer Specific Customization) version of your phone. Update : Thanks to Peng Sian for emailing me regarding the changes for changing CSC. For Android 2.2 Froyo : Make sure you've your data (files, sms, contacts, etc.) properly backed up. Open dialer and press  *#06# . Record down the 15 digit IMEI number. Open dialer and press *#272*XXXXXXXXXXXXXXX# (XXXX is your IMEI). Select XSP and click on the "Install" button. Your phone will reboot & do a wipe on itself. Enjoy your Galaxy S without SingTel's customizations. For Android 2.1 Eclair . Make sure you've your data (files, sms, contacts, etc.) properly backed up. Open dialer and press *#272*HHMM# (HHMM refers to the time on your device in 24hrs format when you entered this code). Select XSP and click on the ...

Samsung i9000 Official ROM (using Kies)

Sweden: (Currently upgrades to I9000XWJM2/I9000XEEJM1/I9000XWJM1) ProductCode: XEE HIDSWVER: I9000XXJF3/I9000SWC/I9000XXJF3/I9000XXJF3 Test Mode: OFF TMN Region (portugal? spain? Something ): (Currently upgrades to XWJM8) ProductCode: GT-I9000HKDTMN HIDSWVER: I9000XWJM2/I9000TMNJM1/I9000XXJM1/I9000XWJM2 Test Mode: OFF Unknown region: (currently unverified, will test when I have an opportunity) ProductCode=GT-I9000HKDXSG HIDSWVER=I9000JPJG8/I9000OJPJG9/I9000JXJG2/I9000JPJG8 Test Mode: Probably not necessary References: http://forum.xda-developers.com/showpost.php?p=7239696&postcount=4 Firmware Product Code 1 http://forum.xda-developers.com/showthread.php?t=823635 http://www.samfirmware.com/WEBPROTECT-i9000.htm

[Virtuemart] Customize Order List - adding extra column

In this post, I am going explain on how to add an extra column in Virtuemart Administrator Order List page. (Note that, in this example, I'm going to add a new address_1 column). Note: Please refer to my previous post on " adding search keywords " for the SQL query code for the other fields that you want. Getting Started. In /administrator/components/com_virtuemart/html/order.order_list.php locate this section, around line 27. Then add " address_1 " into the line, as below. //$list .= "first_name, last_name FROM #__{vm}_orders, #__{vm}_order_user_info WHERE "; // This is the modified line. $list .= "first_name, last_name, address_1 FROM #__{vm}_orders, #__{vm}_order_user_info WHERE "; After that, locate this section, as usual and note that " Address_1 " is already the added column. $columns = Array( "#" => "width=\"20\"", "<input type=\"checkbox\" name=\"tog...

Virtuemart Add-to-cart not working

Image
Check whether you are using '  (direct input from keyboard) instead of ’  for your product name. For example: Virtuemart potential source of problem :) References : http://forum.virtuemart.net/index.php?action=printpage;topic=26822.0

[Haskell] [Oz] Function that computes the permutation of a list

Mozart Oz Programming Language declare fun {Permutation L} case L of nil then [nil] [] H|T then {FoldR {Map {Permutation T} fun {$ X} % Inser H into all position IntFrom in fun lazy {IntFrom K} K|{IntFrom K+1} end {Map {List.take {IntFrom 0} {List.length X}+1} fun {$ Pos} {FoldR X (fun {$ J K} case K of nil then nil [] S#I then if I \= Pos-1 then {Append [J] S}#(1+I) else {Append [H J] S}#(1+I) end end end) ({List.drop [H] Pos}#0) }.1 end} end } fun {$ X Y} {Append X Y} end nil } end end %{Browse {Permutation [a]}} % shows [[a]] %{Browse {Permutation nil}} % shows [nil] {Browse {Permutation [a b c]}} % shows [[c b a] [c a b] [a c b] % [b c a] [b a c] [a b c]] Haskell Programming Language -- function that computes the permutations of a list -- permutation ["a","b...

[Haskell] [Oz] Oz function that insert element to all possible positions in a list

function that insert X to all possible positions in the list L. Mozart Oz Programming Language declare fun {AllInsert X L} IntFrom in fun lazy {IntFrom K} K|{IntFrom K+1} end {Map {List.take {IntFrom 0} {List.length L}+1} fun {$ Pos} {FoldR L (fun {$ Z Y} case Y of nil then nil [] S#I then if I \= Pos-1 then {Append [Z] S}#(1+I) else {Append [X Z] S}#(1+I) end end end) ({List.drop [X] Pos}#0) }.1 end} end {Browse {AllInsert 10 [a b c d]}} %shows [a b c d 10] [a b c 10 d] %[a b 10 c d] [a 10 b c d] %[10 a b c d]] Haskell Programming Language -- function that inserts an element at all possible positions in a list allInsert :: a -> [a] -> [[a]] allInsert x [] = [[x]] allInsert x xs = map f [0..(length xs)] where f s = insert x s xs -- allInsert "x" ["a","b","c","d","e...

[Oz] [Haskell] Function that inserts element to a given position in a list

Below are example code in Oz and Haskell for the function that inserts an element at a given position in a list. The position should be counted from the end of the list. Mozart Oz Programming Language declare fun {Insert A Pos L} {FoldR L (fun {$ X Y} case Y of nil then nil [] S#I then if I \= Pos-1 then {Append [X] S}#(1+I) else {Append [A X] S}#(1+I) end end end) ({List.drop [A] Pos}#0)}.1 end {Browse {Insert 10 0 [a b c d e]}} %shows [a b c d e 10] Haskell Programming Language module Main where insert :: a -> Int -> [a] -> [a] insert x n [] = [] insert x n xs = f ++ [x] ++ drop (length xs - n) xs where f = (take (length xs - n) xs) -- insert "x" 1 ["a","b","c","d","e"] References: http://www.haskell.org/ghc/docs/6.12.1/html/libraries/base/src/Data-List.html#insert http://defowl.blogspot.com/2007/04/coding-in-haskell.html

Credit Card numbers for Testing

While testing, use only the credit card numbers listed here. Other numbers produce an error. Expiration Date must be a valid date in the future (use the mmyy format). Test Credit Card Account Numbers American Express 378282246310005 American Express 371449635398431 American Express Corporate 378734493671000 Australian BankCard 5610591081018250 Diners Club 30569309025904 Diners Club 38520000023237 Discover 6011111111111117 Discover 6011000990139424 JCB 3530111333300000 JCB 3566002020360505 MasterCard 5555555555554444 MasterCard 5105105105105100 Visa 4111111111111111 Visa 4012888888881881 Visa 4222222222222 Note : Even though this number has a different character count than the other test numbers, it is the correct and functional number. Processor-specific Cards Dankort (PBS) 76009244561 Dankort (PBS) 5019717010103742 Switch/Solo (Paymentech) 6331101999990016

[Virtuemart] Customize Order List search keywords

Image
The default Order List search keyword doesn't check for customer's email address, billing addresses, phone numbers, Custom Message... To include all these: In /administrator/components/com_virtuemart/html/order.order_list.php locate this section if (!empty($keyword)) { $q .= "(#__{vm}_orders.order_id LIKE '%$keyword%' "; $q .= "OR #__{vm}_orders.order_status LIKE '%$keyword%' "; $q .= "OR first_name LIKE '%$keyword%' "; $q .= "OR last_name LIKE '%$keyword%' "; $q .= "OR CONCAT(`first_name`, ' ', `last_name`) LIKE '%$keyword%' "; The add the keywords that you wish to include. Below is an example code. The codes are pretty self-explanatory. $list = "SELECT #__{vm}_orders.order_id,order_status, #__{vm}_orders.cdate,#__{vm}_orders.mdate,order_total,order_currency,#__{vm}_orders.user_id,"; $list .= "first_name, last_name...

bin/sh^M: bad interpreter: No such file or directory

Tried to install DirectAdmin on Ubuntu just now but encounter the following error. ./setup.sh: /bin/sh^M: bad interpreter: No such file or directory A quick Google search revealed that dos2unix can fix the problem. sudo apt-get install dos2unix Then fix the problem by. This will convert the file to unix format. dos2unix setup.sh Then just execute the file as per normal.

Token StartElement in state Epilog would result in an invalid XML Document

Image
Was trying to create an XML document and kept running into this error. Exception: Thrown: "Token StartElement in state Epilog would result in an invalid XML Document." (System.InvalidOperationException) A System.InvalidOperationException was thrown: "Token StartElement in state Epilog would result in an invalid XML Document." First check on the structure of your XML documents seems there aren't any syntax error. But if you notice the circled error in the above picture, you will realize that the problem is simply because "root" element was not included. So make sure you always have a root element. Attached below are sample code for creating a XML document. namespace ConsoleApplication1 {     class Program     {         static void Main(string[] args)         {             XmlTextWriter textWriter = new XmlTextWriter(D:\\myXmFile.xml, null);      ...

Windows 7 Sleep Problem [Solution]

Image
Problem: Windows 7 (x64) won't go to sleep / hibernate. Solution(s): Method 1 - Disallow Device to wake-up computer If you want to see which devices are enabled for waking up your computer. Run Command by typing " cmd " in Start Menu . enter powercfg -devicequery wake_armed If there is devices listed that are able to wake Windows up. You might want to consider turning the option off. In Start Menu , type " Device Manager ". for the device in the list just now, right click and select Properties . Go to the tab " Power Management " Uncheck "Allow this device to wake up" Done. Then, try to sleep your computer again. Method 2-  Generating energy report. If the problem still exist. Try this method instead. In Start Menu , type "cmd". Then press " CRTL + SHIFT + ENTE R" to run as Administrator. Issue this command, "powercfg -energy". Wait for 1 minute. Open the report generated in the spec...

Windows Live Messenger - Error code 800706ba

Get 800706ba error code for Windows Live Messenger Beta quite a number of times lately. Found the solution to this after Google-ed for a while. Apparently "Windows Live ID Sign-in Assistant" service is not started thats why Messenger cannot sign-in. To start the service. Go to start menu -> search box. Enter " services.msc ", and press OK. In the Services list, search for the Windows Live ID Sign-in Assistant . Startup type setting to Automatic. Start the service. Close the Services list, and retry to sign in to Messenger. Enjoy :) References: http://msn-errors.blogspot.com

mscorsvw.exe hogging 100% CPU

Helped a friend diagnose his slow computer, and found out that there was a process called mscorsvw.exe sucking up almost all the CPU. So did a Google search and found the following information about the process. When mscorsvw.exe takes up resources, it is precompiling .NET assemblies in the background. Once it's done, it will go away. Typically, after you install the .NET Redist, it will be done with the high priority assemblies in 5 to 10 minutes and then will wait until your computer is idle to process the low priority assemblies. Once it does that it will shutdown and you won't see mscorsvw.exe. One important thing is that while you may see 100% CPU usage, the compilation happens in a process with low priority, so it tries not to steal the CPU for other stuff you are doing. Once everything is compiled, assemblies will now be able to share pages across different processes and warm start up will be typically much faster, so we're not throwing away your cycles. There are...

PHP Extension “mcrypt” must be loaded

Image
Got this error while installing Magento PHP extension "mcrypt" must be loaded. After a Google search, found few solutions to the problem. One of the solution involve copying these two files: libeay32.dll and ssleay32.dll to your Windows/System32. This is not advisable . The proper way to install new extension would be: 1. Go to Control Panel 2. Click on Add/Remove Program (Or, Uninstall a program) 3. Select PHP MSI and click on 'Change'. Remember you should have installed PHP using the PHP MSI. If you have installed it using the ZIP file this won't work. 4. You will see the following window. 5. Click on Next ,then click 'Change' 6. Select 'IIS FastCGI' 7. Chose the extension (mcrypt, in this case) you want to install and click 'Next'. 7. Click on 'Finish' on next screen and you are done. DONE!

Joomla - Default login/logout page

Image
If you accidentally removed the component in your page. You can manually access the page via http://<your-site.com>/index.php?option=com_user&view=login As for the Logout link, http://<your-site.com>/index.php?option=com_user&task=logout I find that this is particularly useful when maintaining the site for client who does not want user registration functionality. Customising Login links to User-friendly link For those who are new to Joomla here are the steps to create a user-friendly link (or alias) for the login page. For example, user will be able to login via, http://<your-webpage>/login . Its pretty straight-forward, so I've screenshot the steps below. Customising the layout of the login page If you are looking for the layout of the login form, you can FTP to /components/com_user/views/login/tmpl/ folder to edit the files.

Android: UI Design Tips

Android UI Design Tips View more presentations from Android Developers .

Android Basics : Quick Start

Image
First of all, basic question: How to learn Android? “Google” it . (Sorry for the foul language =p) API & book references. http://developer.android.com/reference/packages.html Ask experienced people. Think yourself. Ask in forum or send email. http://developer.android.com/community/index.html Ok. Lets continue... There are 4 basic components in Android application. Activity Life-cycle 1. Activity Displays a user interface component and respond to system/user initiated. An Application may contain one or more Activities. One Activity is then considered as the main entry point by the system. Each Activity can be invoked from other Applications/Activities. Example: public class Activity extends ApplicationContext {    protected void onCreate(Bundle savedState);    protected void onStart();    protected void onRestart();    protected void onResume();    protected void onPause();    protected void onStop()...

Android: R.drawable.androidmarker not found

Image
Found this while following through the Android Hello-MapView guide at developer.android.com . Theres this particular line at when you copy over into your code, it will give you error for the " R.drawable.androidmarker cannot be resolved ". mapOverlays = mapView . getOverlays (); drawable = this . getResources (). getDrawable ( R . drawable . androidmarker ); itemizedoverlay = new HelloItemizedOverlay ( drawable ); You can solve this easily by replacing "androidmarker" with "icon", which shown in the code below. mapOverlays = mapView.getOverlays(); drawable = this.getResources().getDrawable(R.drawable.icon); itemizedoverlay = new HelloItemizedOverlay(drawable); Note that I am using the default "Icon" for application here. As a result, you will get the icon shown in the image below - the application icon. :) Actually, you can call the other default icons listed in Android API by calling android.R.drawable class. For example, mapOve...

Joomla - Creating custom Login Page

Image
There is an easy way to create a customized Login Page in Joomla. 1. Adding A Custom Module Position in Joomla 1.5 First, in Jooma administrator page, navigate to Extensions>Plugin Manager> and make sure " Content - Load Module " is enabled/active. If there is a red "x" beside the plugin, click it to change the status to active. The plugin you just activated will allow you to use a syntax such as " {loadposition left} " in your content item(s) in order to render modules. So now, lets say we want to create a custom module position , lets say "c_login_page". To create a module position  named "splash_page", you will need to open the file   /templates/your_current_template/templateDetails.xml . You should see an array of predefined positions such as: <position>left</position> <position>right</position> <position>top</position> /* Add this */ <position>c_login_page</position> ...