• How to shutdown a computer using a C program?

    Hello all I have been posting Android posts for months, now there is a slight change, Here is a simple C program to shutdown your computer. Let’s start. If you are using Windows XP then use this code. For Windows […]

     
  • JSON IN ANDROID.

    Complex JSON String parsing in ANDROID http://www.coderzheaven.com/2011/06/10/complex-json-string-parsing-in-android/ Parsing JSON Object in ANDROID. http://www.coderzheaven.com/2011/06/09/parsing-json-objects-in-android/

     
  • How to explicitly free memory in android OR Release unwanted memory in Android?

    If you are writing memory consuming applications there is a bigger chance that your application may be running out of memory after sometime. So there are some methods in android that invokes the garbage collector explicitly. See the following function […]

     
  • Java check memory Allocation

    When run the code the output will be similar to this Total memory is: 5177344 Initial free memory: 4986744 Free memory after garbage collection: 5063784 Free memory after allocation: 5045296 Memory used by allocation: 18488 Free memory after collecting discarded […]

     
  • Complex JSON String parsing in ANDROID

    Hello all….. In the previous post I have shown you how to parse a Simple JSON String in ANDROID. In today’s tutorial I will show you how to parse a complex JSON String. Take a look at the example Here […]

     
  • Program for Palindrome checking in C Sharp/C#

    Hi, Sometimes you need to check for whether the given string is Palindrome or not. Given below is a sample code to check whether the given string is Palindrome or not using C Sharp/C#. 🙂

     
  • Global variables in ANDROID……

    Hi all……. In today’s exampl e I will show you how to deal with global variables in ANDROID. You know global variables are those variables that you can access across any variables. It’s value becomes changed when you change it […]

     
  • How to use Global variables in ANDROID?

    Hi all……. In today’s exampl e I will show you how to deal with global variables in ANDROID. You know global variables are those variables that you can access across any variables. It’s value becomes changed when you change it […]

     
  • Copy a file in C Sharp/C# without using FileInfo

    Hi, We have discussed here copying a file using FileInfo. Now we are going to see how we can do the same without using FileInfo in C Sharp/C#.

     
  • Copying a file using FileInfo – C Sharp/C#

    Hi, For copying a file using FileInfo in C Sharp/C#, use the following code. For copying a file without using file info check the example given here. 🙂

     
  • C Sharp/C# – Read a complete text file

    Hi, Use the following code example to read a complete text file using C Sharp/C#.

     
  • C Sharp/C# – Writing to a text file

    Hi, Use the following example code, if you want to write to a text file using C Sharp/C#. 🙂

     
  • How to split a String in ANDROID?

    Hi all….. Splitting a string in android is really easy.checkout the following snippet. Check the Logcat for output. Note: Make sure to put the escape character before the delimiter for splitting,otherwise the output may be each character.

     
 

Theme by HermesThemes

Copyright © 2018 CoderzHeaven. All Rights Reserved

Please wait...

Subscribe to our newsletter

Want to be notified when our article is published? Enter your email address and name below to be the first to know.