change ringvibrate pattern of mobile
<p>Hi all i want to change the default ring pattern of android and same i want to do for sms ring i want to change the pattern of smsring too please help</p>

<pre><code>           protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_main);

    btvib = (Button) findViewById(R.id.btvib);
    vib = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);
    btvib.setOnClickListener(new View.OnClickListener() {



                    @Override
        public void onClick(View arg0) {
            // TODO Auto-generated method stub






                          vib = (Vibrator) getSystemService(Context.VIBRATOR_SERVICE);



            }

        }
    });
</code></pre>

<p>i want to set this pattern to default ring pattern of android phone please can share any tutorial or give me any link so i can get this working</p>
