Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

Search In

Stop asyncTask in background

We know that asyncTask class has four override methods and three methods runs in main ui thread but one method doInBackground runs in background thread. In case if we want to stop this background service based on same condition then we can use this l

kill android application all activities process

We know that on back press of button in any android application can finish the app or an activity but some process of application still works in background so if you want to kill all the processes of any application you can kill app process like this

Change application language programatically

Now its possible to change the application specific language programatically It is working by setting locale. But you have to set it in all activities. Here is a code you can try these code. you can get the local language using locale and can then s

HTML5 Gamepad API

The Gamepad specification defines a low-level interface that represents gamepad devices. As HTML games begin to gradually increase in popularity, vendors are starting to introduce some exciting new APIs to make gaming that little bit sweeter. One of

How to Disable Ctfmon.exe at startup

Ctfmon.exe is a Microsoft Office process that works with the Windows operating system. This process activates the language bar and alternative user input. It is a non- essential system process which runs in the background even after quitting all prog

How talent is luring technology to smaller towns

Resources have to be made available for people to learn to adapt to them. In the past, people traveled by foot to major cities to get their hands on better seeds and fertilizers. The ones who took the pains, fared way better than the ones who dint, e

Service center congestion in telesign mobile sms gateway

Hi all, I am using telesignmobile sms gateway for one of my website. Everything was working properly but suddenly sms sending was stopped and I was getting "Service center congestion" in my status report. I googled it and found nothing. Then I conta

How to use for each in java

Using for each In place of Normal loops in java for each can be used to display the all the elements of the array. Syntax : for(datatype variablename : array) { // Do the work with varialble } example public class Main {

In cakephp Generate different session timeouts for admin and users

I added this code in core.php file and it works for me. if(strripos($_SERVER['REQUEST_URI'],"admin")) { Configure::write('Session', array( 'defaults' => 'php', 'cookieTimeout' => 1440, 'timeout' => 30, 'checkAgent' => fa

How to copy entire folder in linux

While working on linux we usually need command to copy folder from one location to another , this can be archived by simple console commands in a simple way : cp -r sourcedir targetdir : Where -r means recursively i.e all the files in a folder For

1 39 409
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: