Tuesday, January 31, 2017
Hyderabad metro sub urban chart
This post is intended to share the Hyderabad metro sub urban chart to help you in travelling, if you are new :)
Tuesday, January 24, 2017
Shayri
इन्तहा :
चाहत की इन्तहा तो ये हैं
उन्हें ढूंढते-ढूंढते , हम ये भूल गए
के हम कौन हैं |
चाहत की इन्तहा तो ये हैं
उन्हें ढूंढते-ढूंढते , हम ये भूल गए
के हम कौन हैं |
Sunday, January 22, 2017
Such an invaluable advice
BEING FAIR
In an episode of Louis C.K’s hit TV show “Louie”, Louis who is normally known for his wit, provides his daughter with invaluable insight about fairness and equality.
We all want life to be fair. The older you get, the more you realize this just isn’t possible. We want to have as much as everyone else. Your neighbor just bought a BMW, making you look differently at the perfectly fine Hyundai Sonata you just purchased. Your friends are going on an epic month long trip to Asia, you are going to Florida for a week. Appreciate what you have.
It’s important to realize for ourselves and to teach children that life isn’t always fair, some people come out on top while some people are less fortunate. I’m not talking cars or trips, I’m talking food and shelter. We all must make sure that ‘our neighbors bowl has enough’.
Louie puts it best….
Daughter (I presume): Why does she get one, and not me?Louis: You’re never gonna get the same things as other people. It’s never going to be equal. It’s not gonna happen ever in your life so, you must learn that now, okay?Louis: Listen. The only time you should look in your neighbor’s bowl is to make sure they have enough. You don’t look in your neighbor’s bowl to see if you have… as much as them.
Source: http://dadgab.com/louis-c-k-teaches-his-daughter-about-life-not-being-fair/
How to set width of EditText in android
I wanted to create an EditText box of specific width in Android (160 characters - the standard SMS size)
The best approach I found is to create a hint message of required characters
Set hint message as EditText hint with 0% opacity as hint color. So that it is invisible. :)
Example : To create an edit text of 160 characters I created a hint message of 160 characters
Layout.xml
<EditText android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="top" android:id="@+id/input" android:hint="@string/hint_message" android:textColorHint="#00FFFFFF"/>
Strings.xml<string name="hint_message">Enter message here.............................................................................................................................................</string>Note: Setting maxLength attribute of EditText will only decide the number of characters the user can input. It does not have any effect on physical width of EditTextDo comment if this helped you. Happy coding! :)
Saturday, January 21, 2017
A good post on marriage
THE BEST MARRIAGE ADVICE EVER!!
Choose to love each other even in those moments when you struggle to like each other. Love is a commitment, not a feeling.
Always answer the phone when your husband/wife is calling and when possible, try to keep your phone off when you’re together with your spouse.
Make time together a priority. Budget for a consistent date night. Time is the “currency of relationships” so consistently invest time into your marriage.
Surround yourself with friends who will strengthen your marriage and remove yourself from people who may tempt you to compromise your character.
Make laughter the soundtrack of your marriage. Share moments of joy, and even in the hard times, find reasons to laugh.
In every argument, remember that there won’t be a “winner” and a “loser.” You are partners in everything so you’ll either win together or lose together. Work together to find a solution.
Remember that a strong marriage rarely has two strong people at the same time. It’s usually a husband and wife taking turns being strong for each other in the moments when the other feels weak.Prioritize what happens in the bedroom. It takes more than sex to build a strong marriage, but it’s nearly impossible to build a strong marriage without it!
Remember that marriage isn’t 50-50, divorce is 50-50. Marriage has to be 100-100. It’s not splitting everything in half, but both partners giving everything they’ve got!
Give your best to each other, not your leftovers after you’ve given your best to everyone else.
Learn from other people, but don’t feel the need to compare your life or your marriage to anyone else’s. God’s plan for your life is masterfully unique!
Don’t put your marriage on hold while you’re raising your kids or else you’ll end up with an empty nest and an empty marriage.
Never keep secrets from each other. Secrecy is the enemy of intimacy.
Never lie to each other. Lies break trust and trust is the foundation of a strong marriage.
When you’ve made a mistake, admit it and humbly seek forgiveness. You should be quick to say, “I was wrong. I’m sorry. Please forgive me.”
When your husband/wife breaks your trust, give them your forgiveness instantly which will promote healing and create the opportunity for trust to be rebuilt. You should be quick to say, “I love you. I forgive you. Let’s move forward.”
Be patient with each other. Your spouse is always more important that your schedule.
Model the kind of marriage that will make your sons want to grow up to be good husbands and your daughters want to grow up to be good wives.
Learn from other people, but don’t feel the need to compare your life or your marriage to anyone Else. God’s plan for your life is masterfully unique!
Never talk badly about your spouse to other people or vent about them online. Protect your spouse at all times and in all places.
Always wear your wedding ring. It will remind you that you’re always connected to your spouse and it will remind the rest of the world that you’re off limits!
Connect into a community of faith. A good church can make a world of difference in your marriage and family.
Pray together. Every marriage is stronger with God in the middle of it.
When you have to choose between saying nothing or saying something mean to your spouse, say nothing every time!
Never consider divorce as an option. Remember that a “perfect marriage” is just two imperfect people who refuse to give up on each .
Writer : Unknown
www.thealexanderhouse.org
Choose to love each other even in those moments when you struggle to like each other. Love is a commitment, not a feeling.
Always answer the phone when your husband/wife is calling and when possible, try to keep your phone off when you’re together with your spouse.
Make time together a priority. Budget for a consistent date night. Time is the “currency of relationships” so consistently invest time into your marriage.
Surround yourself with friends who will strengthen your marriage and remove yourself from people who may tempt you to compromise your character.
Make laughter the soundtrack of your marriage. Share moments of joy, and even in the hard times, find reasons to laugh.
In every argument, remember that there won’t be a “winner” and a “loser.” You are partners in everything so you’ll either win together or lose together. Work together to find a solution.
Remember that a strong marriage rarely has two strong people at the same time. It’s usually a husband and wife taking turns being strong for each other in the moments when the other feels weak.Prioritize what happens in the bedroom. It takes more than sex to build a strong marriage, but it’s nearly impossible to build a strong marriage without it!
Remember that marriage isn’t 50-50, divorce is 50-50. Marriage has to be 100-100. It’s not splitting everything in half, but both partners giving everything they’ve got!
Give your best to each other, not your leftovers after you’ve given your best to everyone else.
Learn from other people, but don’t feel the need to compare your life or your marriage to anyone else’s. God’s plan for your life is masterfully unique!
Don’t put your marriage on hold while you’re raising your kids or else you’ll end up with an empty nest and an empty marriage.
Never keep secrets from each other. Secrecy is the enemy of intimacy.
Never lie to each other. Lies break trust and trust is the foundation of a strong marriage.
When you’ve made a mistake, admit it and humbly seek forgiveness. You should be quick to say, “I was wrong. I’m sorry. Please forgive me.”
When your husband/wife breaks your trust, give them your forgiveness instantly which will promote healing and create the opportunity for trust to be rebuilt. You should be quick to say, “I love you. I forgive you. Let’s move forward.”
Be patient with each other. Your spouse is always more important that your schedule.
Model the kind of marriage that will make your sons want to grow up to be good husbands and your daughters want to grow up to be good wives.
Learn from other people, but don’t feel the need to compare your life or your marriage to anyone Else. God’s plan for your life is masterfully unique!
Never talk badly about your spouse to other people or vent about them online. Protect your spouse at all times and in all places.
Always wear your wedding ring. It will remind you that you’re always connected to your spouse and it will remind the rest of the world that you’re off limits!
Connect into a community of faith. A good church can make a world of difference in your marriage and family.
Pray together. Every marriage is stronger with God in the middle of it.
When you have to choose between saying nothing or saying something mean to your spouse, say nothing every time!
Never consider divorce as an option. Remember that a “perfect marriage” is just two imperfect people who refuse to give up on each .
Writer : Unknown
www.thealexanderhouse.org
Thursday, January 19, 2017
Solving problem in moving data to sd card for redmi note 3
So the other day, I could not move my data to sd card using ES File explorer
This weird dialog left me puzzled
But after some google search I found there is an app called 'Documents' (Settings > Installed apps> All)
For some reason it is disabled
Just click the app and click 'Enable'
Select sd card on the next screen
Click select.
Viola! ES File explorer should be able to move data to sd card now.
Comment, if this helped you. :)
This weird dialog left me puzzled
But after some google search I found there is an app called 'Documents' (Settings > Installed apps> All)
For some reason it is disabled
Just click the app and click 'Enable'
Select sd card on the next screen
Click select.
Viola! ES File explorer should be able to move data to sd card now.
Comment, if this helped you. :)
Creating and using multiple profiles on firefox
Task 1 : Create multiple profile
Press Windows Key + R to open Run dialog and type the following commandfirefox.exe -ProfileManager
Now you can create profiles according to requirement. I have 2 profiles
1. Work
2. Personal
Task 2: Using Profile
Press Windows Key + R to open Run dialog and type the following command
firefox.exe -ProfileManager -no-remote
Select the profile you want to use.
Let me know if you face any issues. Comment if it helped you. :)
Saturday, January 14, 2017
How to enable side loading of apps on Redmi note 3
In order to install apps using APK file. You need to allow your phone to install from sources other than Google play
For this
Go to Settings -> Additional settings
Go to Privacy
Check Unknown sources (Allow installation of apps from unknown sources)
Click OK on warning message
Viola! Now your phone is ready to sideload apps using APK files. Just click APK files and install apps.
Let me know if you face any issues. Comment if this helped you. :)
For this
Go to Settings -> Additional settings
Go to Privacy
Check Unknown sources (Allow installation of apps from unknown sources)
Click OK on warning message
Viola! Now your phone is ready to sideload apps using APK files. Just click APK files and install apps.
Let me know if you face any issues. Comment if this helped you. :)
Wednesday, January 11, 2017
Android Developer aims
Targeting android 4.1 version and above should get your app running on 98% devices
http://www.androidheadlines.com/2017/01/nougat-reaches-0-7-latest-android-distribution-numbers.html
Sunday, January 1, 2017
My messages app
Hi visitor,
Telemarketing SMS have become a problem due to creating unnecessary disturbance and diverting attention from work you are busy in. So I have written an app to prevent disturbance from unknown contacts SMS as well as keep your inbox clean by easily deleting SMS from unknown contacts. The app makes notification sound only if you receive SMS from somebody in your contacts.
Features in the app
Click below to download
Link
Go in settings of your phone and allow installation from unknown sources to install the apk.
Also change settings of default SMS sound to silent/disable to enable app to manage the SMS sound.
Do comment if you find the app useful. :)
Telemarketing SMS have become a problem due to creating unnecessary disturbance and diverting attention from work you are busy in. So I have written an app to prevent disturbance from unknown contacts SMS as well as keep your inbox clean by easily deleting SMS from unknown contacts. The app makes notification sound only if you receive SMS from somebody in your contacts.
Features in the app
- Prevents disturbance from unknown contacts SMS
- Categorizes your messages into known and unknown contacts SMS for easy reply and access
- Easy delete promotional sms
Click below to download
Link
Go in settings of your phone and allow installation from unknown sources to install the apk.
Also change settings of default SMS sound to silent/disable to enable app to manage the SMS sound.
Do comment if you find the app useful. :)
Subscribe to:
Posts (Atom)