BREAKING:

Paresh Mayani

CEO & Co-Founder at SolGuruz® | Organiser @ GDG Ahmedabad | Top 0.1% over StackOverflow | 15+ years experienced Tech Consultant | Helping startups with Custom Software Development

Android – GridView example

Problem: Simple GridView example Description: What do you say, is this simple GridView example?, I think it is not 🙂 :). The main purpose of this post is to give demo for creating nicely laid GridView and also to make GridView more fancy. Same as previous Android – ListView articles, we are going to create […]

Read More

Android – ToggleButton example

Problem: ToggleBar Example Description: This is just the simple example for implementing ToggleButton in android application. Below are some methods which we have used in this example: setOnClickListener – Used to register a callback whenever view is clicked setChecked() – used to mark toggle button as checked/unchecked setTextOn() – used to display text on toggle […]

Read More

Android – Show error in EditText

Problem: How to show error/alert for some cases in EditText? Description: Consider a case that we are supposed to collect information from users by filling EditText box and user leaves EditText blank, at that we display alert/error message “Please enter string”. But here is a best way to display alert/error message in EditText for the […]

Read More

Android JSON Parsing tutorial

Android JSON Parsing Example I have found many newbie android programmers are facing issues in implementing JSON Parsing, this article is for them with step by step demo. Now a days, almost all the web APIs are REST based and it returns JSON response. We have to parse the JSON string either into array, objects […]

Read More

Android – Secret codes

Hi, Today Let me discuss about some secret codes that we developer and android users are not knowing mostly but it can be helpful to us in some way. Around 2 days ago, i got one article describing iPhone secret codes those i have posted here: http://fb.me/16v9zEEdK. So i thought same as iPhone secret codes there […]

Read More

Android => Re-installation failed due to different application signatures.

Problem: Re-installation failed due to different application signatures. Description:  While developing an android application, I tried to run the application and got the below error: Solution: After searching and checking the phone, I came to know I am currently developing 2nd version of this application which is already downloaded from android market in my phone, now […]

Read More

Android – Get/access file(path) from SD-card

Problem: How do we get/access file from SD-card? Solution: Output:Output of Environment.getExternalStorageDirectory() can be either /sdcard or /mnt/sdcard. As i have tested it, it returns the below output on different brand device: In Samsung Galaxy 3 => /mnt/sdcard/test.mp3 In HTC Hero => /sdcard/test.mp3

Read More