Thursday, November 15, 2012

android - media player

http://stackoverflow.com/questions/6776763/how-to-make-custom-media-player-or-videoview

How to Use Facebook SDK to Post Status From Android

http://www.londatiga.net/it/how-to-use-facebook-sdk-to-post-status-from-android/


How to Use Facebook SDK to Post Status From Android

Monday, November 5, 2012

Android - beginning

Download and install the JAVA SDK: 
http://www.oracle.com/technetwork/java/javase/downloads/index.html

Download Eclipse Classic: http://www.eclipse.org/downloads/

Download and install the Android SDK: http://developer.android.com/sdk/index.html

Install the ADT plugin to Eclipse: http://developer.android.com/sdk/installing/installing-adt.html

Start Coding: 
http://www.vogella.com/articles/Android/article.html ,
http://www.youtube.com/mobiledevtuts ,
http://mobile.tutsplus.com/


Some more sources: 

Thursday, November 1, 2012

10 things I hate about developing for Android (and some workarounds that help)



Takeaway: The open-ended nature of Android development fosters great opportunities, but it also brings its share of headaches. Here are 10 problems you’ll face — and some ways to deal with them.
Developers across the mobile space struggle to produce intuitive, beautiful apps for the Android platform. Their challenges spring from the plethora of devices available on Google’s operating system, as well as inconsistent operating system upgrades. Google’s arguably too-democratic vision for mobile development can also be a source of problems. Here’s a list of reasons why Android is often the bane of an app developer’s existence. Of course, given Android’s large and rapidly expanding customer base, figuring out how to develop a great app on Android is a must. Therefore, I also provide some effective workarounds for developers coping with the limitations of the Android platform.

1: Software fragmentation

Simply put, there are too many versions of the Android operating system in circulation. This means that developers can’t just focus on the most recent versions of the OS; not everyone has upgraded. It’s not easy for users to upgrade their operating systems, and carriers have little incentive to do so. For example, we bought an Android phone in February 2011 that came equipped with Android 2.1. Version 2.2 had been released way back in July of 2010!
Workaround: Learn which operating systems are most popular and develop with the latest widely adopted version in mind. Get to know handsets that are popular among your customers and familiarize yourself with the carriers’ upgrade schedules. Another alternative is the lowest common denominator approach: Don’t make an app that won’t work on the oldest OS that’s still in wide circulation.

2: Hardware fragmentation

Developing for the iPhone is easy from the hardware perspective. There are currently only five devices running iOS. By contrast, there are at least 170 running Android, with widely varying features, from keyboards (or lack thereof) to cameras to buttons, plus different screen shapes and sizes. It’s a development nightmare.
Workaround: Again, market research. Find out which handsets are most popular with your target audience and develop for those first. Expand from there if and when possible.

3: Lack of software/hardware integration

Button A on Handset 1 does Function X. The problem? Button A on Handset 2 does Function Y. Here’s a look at the variety of button configurations. Whoa. So obviously, you can’t design an app that relies on Button A to do the same thing for everyone. Users may grow frustrated and give up on an app that doesn’t perform intuitively.
Workaround: Once you understand which phones your users prefer and how they use features like touchscreens and keyboards, you can start designing an app that (hopefully) operates intuitively for most of your users. Focus groups or crowdsourcing through social media are two good ways to gather this information, but you will also want to play around with many different Android handsets yourself to get a feel for the user experience.

4: Too many carriers making too many changes to the core OS

Unlike Apple, whose devices are available only on two carriers in the U.S., Android phones are carried by all U.S. cell phone companies. And while Apple is strict when it comes to controlling the features of its phones, Android’s carriers have leeway to modify the OS for their purposes, adding, subtracting, and modifying features and libraries at will. This compounds fragmentation problems.
Workaround: Find out which carriers your users gravitate toward and work with their specifications first. At the moment, Verizon and Sprint have the lead, but be sure to keep an eye on the market and shift your development resources accordingly.

5: Google’s lack of authority

Google has taken a deliberately hands-off stance when it comes to the Android OS. Open source code provides a low barrier to entry for app developers, which can be a blessing and a curse. A lot of developers (myself included) would like to see Google police the ecosystem better, implementing more rigorous standards and an app review process. If Android provided more universal UI guidelines (and components) like Apple’s, we might see better apps as a result.
Workaround: The good news is that Google seems to be moving in the right direction with theupcoming OS update. It claims that the new version will make it easier to produce attractive, user-friendly apps for Android. We’ll see.

6: Security issues

Lack of governance in the Android market has led to a proliferation of malware programs that can masquerade as trusted apps. The openness of Android has made it susceptible to attack. To make matters worse, unlike traditional open source software, fragmentation on Android makes it difficult to roll out fixes, so many devices remain vulnerable. It’s hard to keep customers happy and retain trust when security problems can’t be fixed quickly.
Workaround: Monitor your apps for security issues and stay tuned to the happenings in the platform. When security problems do arise, have a plan to ensure that your users understand the scope of the problem and the extent to which it affects your application.

7: Market research cost

As mentioned, understanding your customer is the key to getting an Android app right. This, of course, requires lots of research into how customers use the software and hardware on their phones. And, yes, that takes time and can therefore be an expensive endeavor for developers to undertake.
Workaround: If you’re committed to developing on Android, just dig in. Google does provide some user statistics that can get you started. But the best thing you can do is to use focus groups and customer surveys to understand your user base’s behaviors and then allocate development resources appropriately.

8: Patent issues

In light of the recent lawsuits, there is a possibility that certain Android features could be declared in violation of patent law. Manufacturers might also be forced to pay licensing fees. If this happens, it could have a huge impact on the Android platform. It’s impossible to guess now how it will turn out, but this litigation is enough to make some people nervous about dedicating development manpower to Android.
Workaround: There’s nothing to be done about this now, but mobile app companies would be wise to stay abreast of this litigation and make development decisions accordingly. Google seems to be taking a strong stance against the patent litigation, so there’s good reason to believe they won’t just roll over on the platform.

9: iPad domination

As of now, Apple’s iPad has effectively cornered the market on tablets. That isn’t to say that we never will see a strong competitor (or many), but it doesn’t exist yet. For a lot of developers, it’s just not worth developing for the Android tablet platform yet.
Workaround: For now, just keep an eye on the tablet market. When a strong alternative with a competitive price tag does find its way to market (and they’re getting closer), you will want to be ready to develop on it. You should also consider rich, HTML5-based Web apps that work well on tablets until you can develop native apps for Android.

10: The Android Market search engine

The irony is painful. Google’s Android marketplace just isn’t very searchable. In some cases, even searching for an app by its exact title won’t bring it up. There are a lot of apps in the marketplace, and it’s hard to be sure yours will be found. The marketplace also doesn’t have a recommendation function, forcing customers to choose between apps without any reliable method for separating the wheat from the chaff.
Workaround: The best thing you can do is to understand how the app marketplace works and use search engine optimization techniques that take this into account. For example, while the Apple store seems to favor titles when returning searches, the Android store favors app descriptions. It may also be worth looking into secondary app marketplaces like Evernote’s Trunk. This can be a great way to drive potential customers to your app and to increase the likelihood of being found within the Android marketplace.

The upside

Of course, it’s worth noting that there are some really cool aspects of developing for Android. The open source nature of the Google operating system means developers have a good amount of leeway, for better or worse. Creative developers with good ideas may find that they can pioneer more interesting apps than they could on the closed iOS. Google also doesn’t police apps entering its marketplace, so getting in is as simple as submission. If you can develop an Android app that works intuitively, looks great, and can be found in the marketplace, you stand a strong chance of capitalizing on this strong and growing market.

Anand Rajaram is the cofounder and chief product officer for OfficeDrop, a digital filing cabinet with scan-to-cloud apps for Mac, PC, iPhone, iPad, and Android. Anand has extensive experience developing Web/mobile apps and playing Angry Birds. Shockingly, he prefers iOS.

Meanings

colloquially

col·lo·qui·al/kəˈlōkwēəl/

Adjective:
(of language) Used in ordinary conversation; not formal or literary.
Synonyms:conversational - spoken



sed·en·tar·y/ˈsednˌterē/

Adjective:
  1. (of a person) Tending to spend much time seated; somewhat inactive.
  2. (of work or a way of life) Characterized by much sitting and little physical exercise.
Synonyms:sitting



couch po·ta·to/ˈkouCH/

Noun:
A person who spends little or no time exercising and a great deal of time watching television.



COLLOQUIAL<===> बोलचाल संबंधी (pr. \\bolachal sanabanadhi\\)[Adjective]
Example:Colloquial expressions are not used in writing.COLLOQUIAL<===> बोलचाल का (pr. \\bolachal ka\\ )[Noun]





















Monday, October 29, 2012

Health Tips links, Recipes For Kids

http://www.bookmydoctor.com/health_tips_list.php

Recipes For Kids

Healthy and nutritious meals are necessary for everyone. But for kids it is much more important because they are in the growing phase of their life and require each and every nutrient in adequate amounts for the proper growth and development of body. Due to same taste and monotonous meals children often avoid the healthy foods. So following are some of the recipes which are very healthy for the kids and they will also enjoy them:
Broken Wheat Upma:
Ingredients: ¼ cup broken wheat (Dalia), 1 onion finely chopped, 1 green chili chopped, ¼ cup green peas, ¼ cup carrot cubes, 1 tbsp oil, salt to taste.
For the garnishing: 2 tbsp chopped coriander.
Method: clean and wash the broken wheat thoroughly and blanch in 2 cups of hot water for 4 minutes. Then drain it and keep aside. Heat the oil in a pressure cooker and add onion and green chili and sauté till the onion turns translucent. Add the peas, carrots, broken wheat and salt and sauté them for 3-4 minutes. Add 1 ½ cup of water and pressure cook for 1 whistle. Garnish it with the coriander and serve hot.
Sweet Oatmeal Pancakes:
Ingredients: 1 cup whole wheat flour, ½ cup milk, ¼ cup quick cooking rolled oats, ¼ tsp cinnamon powder, 2 tbsp powdered sugar, ½ tsp fruit salt, 1 tsp oil and a pinch of salt.
Other ingredients: 2 tsp butter for cooking.
For serving: 2 tbsp honey, 1 cup orange segments.
Method: Combine all the ingredients except the fruit salt in the bowl with enough water. Whisk into smooth batter. Heat the non stick pan and lightly grease it with little butter. Add the fruit salt to the batter and mix gently. Pour a ladleful of batter on the pan to make a pancake, cooking on both sides with little butter till golden brown. Repeat with the remaining batter to make more pancakes. Serve hot with honey and orange segments.
Rice And Moong Dal Idli:
Ingredients: ¼ cup rice, ¼ cup yellowish moong dal, ¼ tsp fenugreek seeds, a pinch of baking soda and salt to taste.
Method: Soak the rice, dal and fenugreek seeds in water for 5-6 hours. Grind the soaked ingredients in a mixer and leave the batter aside for atleast 8 hours or preferably overnight. After that add the soda bicarbonate and salt and pour a little mixture into the cavities of a small idli maker. Steam in a cooker for a few minutes and repeat the same with the remaining mixture. Serve hot with the chutney.
Tinny Tikkis:
Ingredients: 1 cup moong dal (split green gram), 1 cup sweet corn kernels, 3 tsp whole coriander powder, 2/3 tsp of lemon juice, 2tsp of ginger paste, 2 green chillies paste, salt to taste and oil for frying.
Method: grind corn and moong dal coarsely and sieve out the excess water. Mix ground moong dal, corn, Dhania powder, lemon juice, ginger and chilly pastes with salt in a bowl and mix thoroughly. Make 1 inch diameter thin tikkies. Heat the oil and deep fry on the medium heat till they turn golden brown from all sides. Serve with the toast and tomato ketchup.

How to Improve Kids Memory ?


Every parent wants their child to be good in academics but sometimes due to the lack of memory and concentration the child does not perform very well at school. This can be very disappointed for the parents. For the lack of memory and concentration many factors are responsible. Some children do not get the proper environment while in others there can be the lack of balanced and healthy diets. Some other serious reasons can be depression, anxiety, use of certain medications and seizers. Here I am discussing about the some of the tips which can help you to improve the memory and concentration in the child:

• Let your child solve puzzles, crosswords and memory games. This will be the brain exercise and the concentration and memory of the child will be improved. Crossword puzzles can improve the attention while picture puzzles can improve the attention and concentration.
• Adequate sleep is also very much important for the good memory. With the proper sleep brain can relax properly and the functioning of the brain will also be improved.
•  Physical exercise is important for the better functioning of the brain. Exercise supplies fresh oxygen to the brain which helps the brain to relax and unwind.
• Story telling can also be made more interesting and a good concentration booster by asking the related questions between the stories or let them recall a previous story. This will help to increase the concentration of the child and they can also become active listeners.
 Keep the environment free from distraction while the child is studying. Turn off the T.V. and also see that the other child is not playing in front of him. These things can distract the mind of the child and he will not be able to concentrate on the studies.

• Do not humiliate the child in front of others. It can be the loss of self esteem to the child and can affect the development of the child. Even if he is not succeeding keep motivating him and tell him that you have faith in him. Praise your child when he does something good this can be the best reward for the child and it can also motivate the positive thinking in him.
• Repeating the matter at home always reinforces the retention. So always repeat the things which he has studied in schools. By this way the things will be stored in the long term memory and the child will not forget it.
• The foods also play a very important role in the memory and concentration. Always keep in mind that the child does not skip his breakfast as this can also lead to the poor concentration at school. The diet of the child should be consisting of almost all the food groups that are cereals and pulses, sugars, milk and milk products, fruits and vegetables and nuts and oils. Almonds and walnuts are very good for boosting the functioning of the brain. So give them to the child to increase his efficiency.