- Home
- Archives
Android – Fetch Inbox SMS
Problem: Fetch Inbox SMS programatically Description: In this tutorial, I just have fetched SMS from the Inbox and displayed inside the ListView. SMS is fetched inside the ArrayList and then using this arraylist, I have created ArrayAdapter. Now just set this adapter to the ListView, that’s it. Now, We can fetch the SMS from Inbox […]
-
Paresh Mayani
- November 17, 2011
Just reached 5 digits on StackOverflow :)
Today I just want to share one good news which is I just crossed 5 digits reputations on stackoverflow and now have hands on Moderator tools 🙂 , I am being a member of Stackoverflow since almost one and half year.
-
Paresh Mayani
- November 16, 2011
Android – keep the screen always in landscape mode
Problem: How do I keep the screen always in Landscape mode? Description: I have an activity which should always be displayed in Landscape mode. So I added But When the tablet is moved upside done (inverted or rotate the device by 180 degrees) the application doesnt flip but stays locked in the same position. But […]
-
Paresh Mayani
- November 15, 2011
Android – "ERROR: Unknown command ‘crunch’"
Problem: How do I solve “ERROR: Unknown command ‘crunch'”? Solution: After updating to ADT r14, go to Window -> SDK Manager (in Eclipse) Check on ‘repository’, uncheck “installed” Wait for packages to load, then select all support packages, accept all and install them Restart Eclipse Run your apps on new ADT r14, without ‘crunch’ errors
-
Paresh Mayani
- November 14, 2011
Android – Interview Questions/Answer Part – 1
Que 1: Describe the APK format. Ans: Android application package file (APK) is the file format used to distribute and install application software and middleware onto the Google Android operating system. (Same as .exe in windows) Each Android application is compiled and packaged in a single file that includes all of the application’s code (.dex […]
-
Paresh Mayani
- November 8, 2011
Android – findViewById() in a loop
Problem: How do we iterate through all the views(taken in XML layout) programatically? Description: I am sure you don’t get the problem exactly. So let me give more idea for the better understanding of this problem. Consider, i have declared 10 button with ‘id’ like button1, button2, button3, button4, button5, button6 and so on. So To […]
-
Paresh Mayani
- November 7, 2011
Android – check Internet connection
Problem: How To check whether the device has network connection or not? Solution: Update: This will work for both Emulator & Device. I got this helpful information from this SO answer. Note the use of isAvailable – without this isConnected can return TRUE even when WIFI is disabled.
-
Paresh Mayani
- November 5, 2011
Search
Explore Topics
Short Stories
From Payroll to People: The Evolution of
- 7 min read
How to Host a Web App :
- 6 min read
Why Hiring a Flutter Developer is the
- 10 min read