- Home
- Android
Android/Eclipse programming shortcuts
Initially when i was facing trouble to implement some re-usable things like making comments, organizing imports, etc. Here are some shortcuts which we can use while doing programming in Android / Eclipse: Toggle Comment => Shift + Ctrl + C Remove Block comment => Shift + ctrl + Generate Element Comment => Shift + Alt […]
-
Paresh Mayani
- March 14, 2011
Samsung Galaxy 3gt-i5801 is not being detecting in my pc => Repair Samsung USB connection
Here is the original question that i have raised at Samsung Galaxy 3gt-i5801 is not being detecting in my pc. Actually, Initially when i have purchased this phone, at that time i was developing applications and successful to run the applications on my phone. But after few days, phone is not being detecting by my […]
-
Paresh Mayani
- February 20, 2011
Android – Change Title bar Text and Image
In Android, mostly we see the activity with normal title bar i.e. Activity name in Title bar but here i am going to present how do we change the title bar text and title bar image (Background image, icon with text). From my point of view, there are 2 ways to change the title bar […]
-
Paresh Mayani
- February 11, 2011
Unix – Command line Arguments
What is command line argument? Those values which we pass at the time of running the shell scripts are known as Command line values(arguments). Command line arguments are treated as special variables within the script. They can be changed with the shift command. The command line arguments are enumerated in the following manner $0, $1, […]
-
Paresh Mayani
- January 26, 2011
Android – Difference between gravity and layout_gravity
Hi, Do you what’s the exact difference between gravity and layout_gravity attributes? android:gravity sets the gravity of the content of the View its used on. android:layout_gravity sets the gravity of the View or Layout in its parent. Here is the best example that i came across: How to Position Views Properly in. Here is my […]
-
Paresh Mayani
- December 30, 2010
Android – Making phone call – ACTION_CALL Intent
try { Intent intent = new Intent(Intent.ACTION_CALL); intent.setData(Uri.parse("tel:+98765")); startActivity(intent); } catch (Exception e) { Log.e("Demo application", "Failed to invoke call", e); } Don’t forget to add this permission into the AndroidManifest.xml file: <uses-permission android:name="android.permission.CALL_PHONE"/> Note: If you forget to add this permission inside the AndroidManifest.xml file then below Exception may be raised, and from exception […]
-
Paresh Mayani
- December 7, 2010
Android – Send email from your Android application – ACTION_SEND intent
The below code can be tested with the real device: But while testing it with an emulator, you need to make correction with: i.setType("text/plain");
-
Paresh Mayani
- December 7, 2010
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