Android, the world's most popular mobile platform

Android gives you a world-class platform for creating apps and games for Android users everywhere, as well as an open marketplace for distributing to them instantly.

ios The world’s most advanced mobile operating system.

iOS is the world’s most advanced mobile operating system, continually redefining what people can do with a mobile device. Together, the iOS SDK and Xcode IDE make it easy for developers to create revolutionary mobile apps.

Open marketplace for distributing your apps

Google Play is the premier marketplace for selling and distributing Android apps. When you publish an app on Google Play, you reach the huge installed base of Android.

Develop apps for iPhone and iPad

Create mobile apps using the programming skills, knowledge and code that you already have. Your Delphi iOS apps will have fast native performance and better security than web-based or scripting language based apps. Full visual designer for iOS user interfaces with multiple device types, resolutions, and orientations.

Powerful development framework

Android gives you everything you need to build best-in-class app experiences. It gives you a single application model that lets you deploy your apps broadly to hundreds of millions of users across a wide range of devices—from phones to tablets and beyond.

Sunday, 25 May 2014

Samsung Developing Smartwatch That Works Without a Smartphone

Samsung Developing Smartwatch That Works Without a Smartphone

  Samsung is working on a Smart watch that doesn't need to sync with smartphone to work .

A report says that south Korean manufacturer is in talk with various telecommunications carriers that would turn the smart watch into phone itself.

User will be able to make call by holding the smart watch to the mouth.

Although most on the market right now need to be tethered to a 

smartphone to receive phone calls, send text messages, check email and use other features, Samsung has its sights set on creating a smart watch that doesn't need a smartphone to work.
The Smart watch will  reportedly run on Samsung's tizen Smart watch  operating system.

Samsung's second-generation Gear 2 is lighter,thinner and more powerful- overall it works better than previous model.  

The Samsung smart watch is said to be launch in June or July.     

Thursday, 22 May 2014

MultiSelection Mode Enabled In ListView By Adding Toggle Button Using Custom Layout In Android

MultiSelection Mode Enabled In ListView By Adding Toggle Button

1)Create a new android application project in eclipse 

2))Then after craeting a new project you have to edit the activity_mail.xml file , As shown below.

3)Create a layout file for customizing list view items in the file 

4) Now you have to code the main activity  file as shown below
                                                                      public class MainActivity extends Activity {
    String[] countries = new String[] {
        "Sri Lanka",
        "North Korea",
        "South Korea",
    // Array of booleans to store toggle button status
    public boolean[] status = {
    public void onCreate(Bundle savedInstanceState) {
        /** Restore from the previous state if exists */
            status = savedInstanceState.getBooleanArray("status");
        ListView lvCountries = (ListView) findViewById(;
        OnItemClickListener itemClickListener = new OnItemClickListener() {
            public void onItemClick(AdapterView<?> lv, View item, int position, long id) {
                ListView lView = (ListView) lv;
                SimpleAdapter adapter = (SimpleAdapter) lView.getAdapter();
                HashMap<String,Object> hm = (HashMap) adapter.getItem(position);
                /** The clicked Item in the ListView */
                RelativeLayout rLayout = (RelativeLayout) item;
                /** Getting the toggle button corresponding to the clicked item */
                ToggleButton tgl = (ToggleButton) rLayout.getChildAt(1);
                String strStatus = "";
                    strStatus = "Off";
                    strStatus = "On";
                Toast.makeText(getBaseContext(), (String) hm.get("txt") + " : " + strStatus, Toast.LENGTH_SHORT).show();
        // Each row in the list stores country name and its status
        List<HashMap<String,Object>> aList = new ArrayList<HashMap<String,Object>>();
        for(int i=0;i<10;i++){
            HashMap<String, Object> hm = new HashMap<String,Object>();
            hm.put("txt", countries[i]);
        // Keys used in Hashmap
        String[] from = {"txt","stat" };
        // Ids of views in listview_layout
        int[] to = {,};
        // Instantiating an adapter to store each items
        // R.layout.listview_layout defines the layout of each item
        SimpleAdapter adapter = new SimpleAdapter(getBaseContext(), aList, R.layout.lv_layout, from, to);
    /** Saving the current state of the activity
    * for configuration changes [ Portrait <=> Landscape ]
    protected void onSaveInstanceState(Bundle outState) {
        outState.putBooleanArray("status", status);
    public boolean onCreateOptionsMenu(Menu menu) {
        getMenuInflater().inflate(, menu);
        return true;

5)Now the listview with toggle button  is ready             

  Download Sourcecode

Total Pageviews

Contact Form


Email *

Message *