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

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)

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.

ViewFlipper Example–a simple FlashCard

UPDATE: Improved with Fling gesture (Sept 2012) UPDATE: ViewFlipper with Flip-In and Flip-Out Animation (August 2012) This tutorial is to demonstrate the ViewFlipper layout that is almost similar to CardLayout (in Java). The app will produce a simple Flash card that provide several screens with different picture for each card. Flip-in and Flip-out animation provided. Added in Sept 2012 – an improvement to support Fling gesture – enjoy… The amendment is only on the coding part. Some how the layout design (main.xml) is quite long. Later I’ll produce separated screen by including several XML layout from outside files. Screenshots;

ASK kerul pls...

Ask me please, just click the button... Any question related to the web, PHP, database, internet, this blog, my papers, or anything. I'll answer to you as soon as I can, if related to my domain. If not I'll try to find out from Google and provide you a link that can help you solve a problem. Sincerely, kerul. ASK kerul pls... http://kerul.blogspot.com