android unlocker for myself
<p>How can I do a unlocker ad for myself? </p>

<p>I have second application and what I want is that ask user an offer if user install my second application I will give him some bonus..</p>

<p>but I dont know how to open Market Installing Screen in my application and how to know if he installed or not?</p>

<pre><code>public void GetFreeBonus(View v) {

    Intent intent = new Intent(Game.this, Bonus.class);
    startActivity(intent);

}

public class Bonus extends Activity {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE); 
        getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);  
        setContentView(R.layout.bonus);

}
}
</code></pre>
