Category: Android
Android related blogs
How to Determine the Connectivity Status In Android
While developing the Android applications, most common use cases is to schedule regular updates of application data from Internet resources, cache data, or execute long running downloads. But if you aren’t connected to the Internet, or the connection is too slow to complete your download, why the waking the device to schedule the update at all? …
Read MoreKeyboard shortcuts in Eclipse IDE
Editors are an integral part of the programming. There are lot of editors available. Eclipse is my favourite Java IDE (Integrated Development Environment) since I started coding in Java. Shortcuts make life very easy when you are working with any IDE. Eclipse also comes with lot of shortcuts that makes life of a developer easy.…
Read MoreHow to reference xml elements using findViewById within fragment
While developing the Android application using activity, we use to reference the XML elements using findViewById method as below: TextView name = (TextView) findViewById(R.id.Config_name); This works only if we extend the class with Activity. It gives the compilation error as method not found if we extend the class with Fragment. Though we are extending the…
Read MoreConverting an activity to a Fragment in android
Earlier I developed an android application using the Activity. But now the trend is to develop the android application using the Fragments. So I thought of converting the Activity based android application to Fragment based Android application. Earlier I thought it’s very difficult to do it. But It’s very simple. Here are the steps how…
Read MoreHow to integrate whatsapp with android application or a website
We can integrate whatsapp with the android app in two ways: 1, Using the Android Intent System which we discussed in my previous blog: “How to share the media and text with the social android apps“ 2. Using the custom URL scheme provided by whatsapp itself. We will discuss the second one in this blog. …
Read More
How to share the media or Message Text with social apps in your android application
Normal 0 false false false EN-IN X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:”Table Normal”; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:””; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:”Calibri”,”sans-serif”; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;} I was developing an android application to a customer. One of the requirement was to share some media…
Read More