Skip to main content

Thanks to MS Windows Live Writer

The most important tools I’m using to develop content in my blogs is the article editor. The MS Windows Live Writer provides the most user friendly and easy of all the blog composer. And it’s FREE…

More information and download here at http://windows.microsoft.com/en-US/windows-live/essentials-other-programs

windows-essential-live-writer-download

And the my favourite (coder blog) plug-ins is the Code Snippets (http://plugins.live.com/writer/detail/code-snippet-plugin-for-windows-live-writer). Below is Code Snippets in action. With lots of color coding schemes for programming languages.

windows-essential-live-writer-code-snippets

   1: //code sample
   2: package com.kerul.kamusmm;
   3:  
   4: import android.app.TabActivity;
   5: import android.content.Intent;
   6: import android.database.Cursor;
   7: import android.database.sqlite.SQLiteDatabase;
   8: import android.graphics.Typeface;
   9: import android.graphics.drawable.Drawable;
  10: import android.os.Bundle;
  11: import android.widget.TabHost;
  12: import android.widget.TabHost.TabSpec;
  13: import android.widget.Toast;
  14:  
  15: @SuppressWarnings("deprecation")
  16: public class kamusmm extends TabActivity {
  17:     protected TabHost tabHost;
  18:     protected MyDBHelper myDBHelper;
  19:     protected Cursor cursor;
  20:     protected SQLiteDatabase db;
  21:     @Override
  22:     public void onCreate(Bundle savedInstanceState) {
  23:         super.onCreate(savedInstanceState);        
  24:         
  25:         //set tab for dictionaries
  26:         tabHost = getTabHost();
  27:         //setTypeface(Typeface.createFromAsset(getAssets(),"dejavusans.ttf"));
  28:         String internetneeded="This app requires Internet connection to download image and pronunciation.";
  29:         Toast.makeText(this.getApplicationContext(), internetneeded, Toast.LENGTH_LONG).show();
  30:         newTabIntent("Melayu", null, m2a.class);
  31:         //newTabIntent(ArabicUtilities.reshape("\u1575\u1604\u1593\u1585\u1576\u1610\u1577"), null, a2m.class);//العربية
  32:         newTabIntent("Arab", null, a2m.class);
  33:         newTabIntent("English", null, e2ma.class);
  34:         tabHost.setCurrentTab(0); 
  35:         
  36:     }
  37:  
  38:     protected void newTabIntent(String label, Drawable icon, Class<?> pageClass) {
  39:         TabSpec tabSpec = tabHost.newTabSpec(label);
  40:         tabSpec.setIndicator(label, icon);
  41:         //tabSpec.set
  42:         tabSpec.setContent(new Intent(this, pageClass));
  43:         tabHost.addTab(tabSpec);
  44:     }
  45: }

Comments

Popular posts from this blog

Several English proverbs and the Malay pair

Or you could download here for the Malay proverbs app – https://play.google.com/store/apps/details?id=net.kerul.peribahasa English proverbs and the Malay pair Corpus Reference: Amir Muslim, 2009. Peribahasa dan ungkapan Inggeris-Melayu. DBP, Kuala Lumpur http://books.google.com.my/books/about/Peribahasa_dan_ungkapan_Inggeris_Melayu.html?id=bgwwQwAACAAJ CTRL+F to search Proverbs in English Definition in English Similar Malay Proverbs Definition in Malay 1 Where there is a country, there are people. A country must have people. Ada air adalah ikan. Ada negeri adalah rakyatnya. 2 Dry bread at home is better than roast meat home's the best hujan emas di negeri orang,hujan batu di negeri sendiri Betapa baik pun tempat orang, baik lagi tempat sendiri. 3 There's no accounting for tastes We can't assume that every people have a same feel Kepala sama hitam hati lain-lain. Dalam kehidupan ini, setiap insan berbeza cara, kesukaan, perangai, tabia...

Applications of Web 2.0

Web 2.0 describes the changing trends in the use of World Wide Web technology and web design that aim to enhance creativity , secure information sharing, collaboration and functionality of the web. Web 2.0 concepts have led to the development and evolution of web-based communities and hosted services , such as social-networking sites , video sharing sites , wikis , blogs . Find a website or web application that conform to the criteria of Web 2.0. Put the name of the application and the URL in the comment below. Please provide your full name and matrix number. Make sure the application you choose is not already chosen by your friend in the previous comment.

Using Fling Motion Gesture in Android

The layout . I’m using the ViewFlipper to demonstrate this simple fling application. So, what is Fling… It’s also known as the swiping action on your mobile device screen. In this demo, I prepared an Activity with ViewFlipper layout that has 3 screens. Green, Blue and Yellow. <? xml version="1.0" encoding="utf-8" ?> < LinearLayout xmlns : android = "http://schemas.android.com/apk/res/android" android : orientation = "vertical" android : layout_width = "fill_parent" android : layout_height = "fill_parent" > < TableLayout android : id = "@+id/LinearLayout01" android : layout_width = "fill_parent" android : layout_height = "wrap_content" > < TableRow > < TextView android : id = "@+id/btnback" android : text = "Fling left - Back " android : layout_width = ...

Developing Login Page with password verification

file 1 - login.php < html > < head > < title > Login Form </ title > </ head > < body > < strong > Login to MYCOMPANYHR system </ strong > < form name = "formlogin" method = "post" action = "verify.php" > < table width = "400" border = "0" > < tr > < td > Employee No </ td > < td >< input name = "EMPNO" type = "text" maxlength = "6" > Eg : 999999 </ td > </ tr > < tr > < td > Password </ td > < td >< input name = "PASSWORD" type = "password" ></ td > </ tr > < tr > < td >& nbsp ;</ td > < td >< input name = "submit" type = "submit" value = "Login" ></ td > </ tr > </ table > </ form > ...

Submit your blog address here

Create your own blog and send the address by submitting the comment of this article. Make sure to provide your full name, matrix and URL address of your blog. Refer to the picture below. Manual on developing a blog using blogger.com and AdSense, download here … Download Windows Live Writer (a superb offline blog post editor)