Why kannada film industry opposing dubbing???

Its a hot topic now, after satya meva jagate was denied to be dubbed in Kannada language.Kanandiga kids are not having chances to see NGO , cartoon network in kannada. what a bane.
These people say that kannnada samskruti will be spoilt if they allow dubbing and all kannada artists would loose their jobs in kannada industry.
But contrary to their statements they remake almost every good movie  from all the languages. Never ever they can come up with good story(if so very rare). These days its very rare to see some good swamake movie coming up in kannada leaving apart few good directors. If these people say they oppose dubbing then we as audience oppose remake movie. Let all movies be make from scratch with stealing stories from other language.
Every time a new remake movie comes up, we are fed up listening to the same old dialogues by the directors we have adapted the story to our culture and made it suite to our nativity. What a lie. They are coping almost everything story, music, appearance for actor and actress and other roles. What great thing are these people achieving from remaking.

If they can allow dubbing,we can see the movies in kananda and that to in original.There will be good competition to come up with good movies.
The product they are coming out is for audience, audience should have the final word about having dubbed  movies or not.
As a famous statement by Rajkumar  goes “abimanu devarugalu”, these people keep repeating that statement often. Why can’t they consider our wishes and fulfil them.

As if they come on TV and pose as if they are only saachas in karnataka, saving kannada culture even thought most of them don’t know what is kannada culture , making good money by promoting non-kannada movies.
Its big non-sense that kannada should not have dubbed movies, even though there is no rule any where thaat dibbing is banned.If they keep repeating this, then the time would come when one of kannadiga would file a PIL in the high court of karnataka and make dibbing legal in kannada.

-D.Sunil

Java Coding practices to be followed

  • Prefer composition over inheritance ie prefer has-A over is-A.
  • All the methods have to re-throw the exceptions to the user facing code, so that the user facing code can show proper message on success and also on failure.

Android Menus

Reblogged from Android Partaker:

Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post
  • Click to visit the original post

Menus are one of the most important parts of any application and when it comes to mobile Menus become more important considering the fact that area available is restricted. Through this blog we will  look at the following various type of Android Menus available with example for each of them:

  • Options Menu
  • Context Menu
  • Submenu

Options Menu:

Menu opened when MENU key on the device is clicked is called…

Read more… 1,152 more words

Android Menus

Some Comedy worth remembering:

13/04/2012:
Its Sachin birthday .
I informed all my friends that today is Sachin’s birthday and few friends didn’t have Sachin number, so they asked me to share his number with them. Among them , Sumanth also asks Sachin no, I give it to him.
Then i get a message from Sumanth “Hi Sachin Sumanth here…Happy Birthday maga God bless” :-) :-) :-)
1st of all i inform him that its sachin’s birthday and he collects sachin’s number with me and sends birthday message to me only…
Thanks sumanth was creating such laughter moment. :-) :-) :-)

Android Learnings-2

Date:04/05/2012

How to set the value of a spinner programatically:

String myString = “Karnataka”; // the value you want the position for

ArrayAdapter stateAdapter = (ArrayAdapter) spstates.getAdapter(); // cast to
// an  ArrayAdapter
int spinnerPosition = stateAdapter.getPosition(myString);

// set the default according to value
spstates.setSelection(spinnerPosition);

 

Date:19/04/2012

SQLLite Database:

  • Foreign Key

Foreign key  constraint is not enabled in SQLLite by default.
We have to explicitly enable foreign key constraint by executing the following query

PRAGMA foreign_keys = ON;

  • JOINS

select * from artist a join track t on  a.artistid=t.trackartist;

select * from artist a join track t on  a.artistid=t.trackartist where a.artistid=1;


Date:17/04/2012

    • Menus in Android

Create a samplemenu.xml in resources folder

<?xml version=”1.0″ encoding=”utf-8″?>
<menu xmlns:android=”http://schemas.android.com/apk/res/android” >

<item
android:id=”@+id/MENU_VIEW”
android:title=”View”/>

<item
android:id=”@+id/MENU_UPLOAD”
android:title=”Upload”/>


 <item
android:id=”@+id/MENU_SEND”
android:title=”Send”/>
<item
android:id=”@+id/MENU_SEARCH”
android:title=”Search”/>
<item
android:id=”@+id/MENU_SETTINGS”
android:title=”Settings”/>
<item
android:id=”@+id/MENU_MY_LOCATION”
android:title=”My Location”/>
<item
android:id=”@+id/MENU_INFO”
android:title=”Info”/>

</menu>

public boolean onCreateOptionsMenu(Menu menu)
{

MenuInflater inflater = new MenuInflater(this);
inflater.inflate(R.menu.samplemenu, menu);
return true;
}

public boolean onOptionsItemSelected(MenuItem item)
{
switch (item.getItemId())
{
//Add employee
case R.id.MENU_VIEW:
Intent addIntent=new Intent(this,AddEmployee.class);
startActivity(addIntent);
return true;

case R.id.MENU_UPLOAD:Toast.makeText(this, “Upload clicked”, Toast.LENGTH_LONG).show();
System.out.println(“Toast.makeText(this, Upload clicked Toast.LENGTH_LONG).show();”);
startActivity( new Intent(this,AddEmployee.class));
return true;
case 3:Toast.makeText(this, “Send clicked”, Toast.LENGTH_LONG).show();
return true;
case 4:Toast.makeText(this, “Search clicked”, Toast.LENGTH_LONG).show();
return true;
case 5:Toast.makeText(this, “Settings clicked”, Toast.LENGTH_LONG).show();
return true;
case 6:Toast.makeText(this, “My Location”, Toast.LENGTH_LONG).show();
return true;
}
return false;
}

Date:05/04/2012

  • Specifying onClickListener of button in XML:

XML:

<?xml version=”1.0″ encoding=”utf-8″?>
<LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android”
android:layout_width=”fill_parent”
android:layout_height=”fill_parent”
android:orientation=”vertical” >

<Button
android:id=”@+id/button1″
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:text=”Button”
android:onClick=”onButtonClick”/>

</LinearLayout>

Java Activity:

public class SpecifiyingOnClickInXMLActivity extends Activity {

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

}
public void onButtonClick(View view)
{
Toast.makeText(getApplicationContext(), “Button was clicked maga” , 10).show();
System.out.println(“Button was clicked maga”);
}
}

Android Learnings-1

Date : Before 29/03/2012

  • AlertDialog on click of a editText and containig date picker in it…In the same activity

etDateOfListingOfVacancy.setOnClickListener(new View.OnClickListener() {

public void onClick(View v)
{

dpListingOfVacancyOn = new DatePicker(
BWEmployerRegistrationFormActivity.this);
new AlertDialog.Builder(BWEmployerRegistrationFormActivity.this)
.setTitle(“Date of Listing of Vacancy”)

.setView(dpListingOfVacancyOn)
.setPositiveButton(“OK”, new DialogInterface.OnClickListener() {

public void onClick(DialogInterface dialog, int whichButton)
{
day = dpListingOfVacancyOn.getDayOfMonth() + “”;
month = (dpListingOfVacancyOn.getMonth() + 1)
+ “”;
year = dpListingOfVacancyOn.getYear() + “”;
if (day.length() == 1)
day = “0″ + day;
if (month.length() == 1)
month = “0″ + month;

dateOfVacancy = day + “/” + month + “/” + year;
etDateOfListingOfVacancy.setText(dateOfVacancy);
System.out.println(dateOfVacancy);

}
})
.setNegativeButton(“Cancel”, new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int whichButton)
{
// Do nothing.
}
}).show();

}
});

<EditText
android:id=”@+id/etdateoflistingofvacancy”
android:layout_width=”wrap_content”
android:layout_height=”wrap_content”
android:focusable=”true”
android:focusableInTouchMode=”false”
android:text=”@string/etselectdate” />

Make this property false:
android:focusableInTouchMode=”false”
In usual case the editText will take the foucus and then click will be exectued so we have click the editText twice to execute onClickListener.

So if we make android:focusableInTouchMode=”false” then the editText exectutes onClick on its first click itself

  •  How to make an element take focus programatically :

etName.requestFocus();

  •  Drawing a line in between tablerows in table layout May be applies in any layout:

<View
android:layout_height=”2dip”
android:layout_marginBottom=”10dp”
android:layout_marginTop=”10dp”
android:background=”#FF0000″ />

Date: 29/03/2012

  • To disable back button

//for key back
public boolean onKeyDown(int keyCode, KeyEvent event) {

if (keyCode == KeyEvent.KEYCODE_BACK) {

return true; //do nothing
}
return super.onKeyDown(keyCode, event);
}
// end

  • To do something on press of back button

//for key back
public boolean onKeyDown(int keyCode, KeyEvent event) {

if (keyCode == KeyEvent.KEYCODE_BACK) {
//Your code to do something
//do something
}
return super.onKeyDown(keyCode, event);
}
// end

Date: 02/04/2012

  • Visible , Invisible, Gone properties for visibility for a view: 
 In XML,
android:visibility can take
visible – view is visible
invisible – view takes the space, but is invisble.
gone – view is not visible and its gone. other view get aligned without wasting the space taken by this view if it was invisible.
In Java :
View.setVisibility(visibility);
visibility can take following values:
0 -Visible
4-Invisible
8- Gone
//End

We can’t control the way people will think about any thing.

http://vbhat.in/breaking-news/noorentunota_09021/

Got to do what you do on a regular basis at the same time at any cost

We Got to do  what you do on a regular basis at the same time at any cost

C A Rudra Murthy’s Advice.

I attended a free session on Stocks  and Shares on Sunday 5th Feb 2012. I invited most of my RNSIT friends so that it would be a kind of meetup. But then as expected none of them turned up as everyone would be busy with their works on weekends and to rest completely after working for all the 5 days of the weekdays and exhausted completely. May be  even I wouldn’t have gone if someone else had invited me to such meetups. Who Knows.

And I was immensely impressed by Rudra Murthy s Speech. Having acquired 5 Master degrees with in age of 30. He was a treat to listen and watch exactly like our Vikram Shastry sir. What a humble person.

His advices were as follows:

  • He didn’t do some course on Stocks and Shares as he had done CA highest degree  in India and he did tell us one story. Teacher asked his students if price of 1 Kuri is 10 rupees then whats the price of 10 kuries. He asked a bindas student Sidlingu in the class. He replied  I don’t know lekka sir. Then sir said don’t  you knoe such simple lekka and asked him to get him father . Then he gets his father to the school and master tells his father the problem and sidling s father , then his father beats him for not knowing such simple problem , nan mariyade kalithiya. Finally Sidlingu opens his mouth “sir market alli 1 kg Kuri ge 350 rupaai ide ond kuri 10 rupaaige en nim appa kodthara” antha helthane.      What we can infer from this story is “master library suttadidru, nam sidling market suttadthane. Pustakad badnekai inda yenu upayoga illa, We need to get into the real world to explore it. There is tons of difference between reading a book about how to swim and swimming in the pool”. This hold true for all the cases in this world
  • If you loose money you loose nothing, if you loose health , you loose something but if you loose Chararcter you loose everything. So never loose your character and build up a good character.
  • Keep track of your performance either in studies or at work or investing in Stocks and shares. If you keep track of your performance by looking at your bad performances or failures you can work on them to make them your strengths.  Keeping track of your performance always raises you to great positions.

-D.Sunil

Five life lessons my driver taught me

Prakash Iyer

He is 58 years old, bespectacled with distinguished silver grey hair. He’s spent 25 years working for one of India’s most respected corporate houses. I have learnt a lot from him. But it is unlikely you would have ever heard of him. His name is Karunan. And he worked with me as my driver.

Sometimes, the biggest lessons in life come from very unlikely sources. And as Karunan spoke to me one morning about his life and times, I thought young people would benefit from listening to what he has to say. Since Karunan will probably never be invited to deliver a convocation speech or a commencement.

1. Getting a driving license does not make you a driver.

“I was 18 when I got my license. But it was only after several months of driving a car that I actually learnt to drive, and became a real driver.” A license is only a permit — and not a stamp of authority. An MBA does not make you a manager. It is only after you spend several more years learning on the job that you truly qualify to call yourself a manager.

Many young people confuse getting a degree as signifying the end of their learning. Wrong. It’s just the beginning. A degree or a diploma — the licence — simply marks you out as someone qualified to learn from real life experiences. It doesn’t make you an expert.

2. The real world is very different from a classroom

I learnt to drive a car. But my first job required me to drive a little tempo. The steering wheel was different, and so were the gears. I thought I knew how to drive — but I couldn’t even get the tempo started.”

The world outside the classroom is a very different place. That’s as true for engineers and MBAs and accountants as it is for drivers. Get ready to get surprised.

3. Slog. Get your hands dirty.

I spent nights working as a cleaner. That’s when I learnt all about the insides of an automobile. Knowing what’s under the bonnet has made me a better driver today.”

The brightest marketing professionals in the country will tell you that they learnt their biggest lessons in the days they spent slogging in small towns selling soaps or colas. There’s no other way. If you want to be successful, work hard, dirty your hands — and go beyond your specific role.

4. Initially, what you learn is more important than what you earn.

In my first job, the pay was bad but the boss was good. He gave me opportunities to learn, make mistakes. I banged his tempo quite a bit. While the dents were quickly repaired, the lessons I learnt remain firmly etched in my mind.”

In your first job — don’t worry about pay packet or the size of the organisation. Get a good boss. A good mentor. That’s priceless.

5. Don’t worry about which car you drive. Focus on being a good driver.

I always wanted to drive the best cars — but rather than complain about having to drive a tempo or a school van or the city transport bus, I focused on driving well. I told myself that if I do that, the good cars will come. And they did.”

Now that’s a great lesson. It’s not about the company. It’s about you. Do the best with what you have, wherever you are. Karunan spent 15 years struggling in odd jobs before landing a driver’s job in one of India’s largest companies. We could all benefit by staying focused on doing a great job — rather than worrying about the next job, or the next promotion. Do a good job. Success and happiness will follow. Inevitably.

Those then are five fabulous life lessons from an unlikely guru. Follow Karunan’s advice and I guarantee they’ll make a difference to your career. And to your life!

Follow

Get every new post delivered to your Inbox.