END CALL Api

by Rain » Tue, 28 Apr 2009 15:55:02 GMT


Sponsored Links
 HI,

   Does anyone could end up connected phone call by api not to click
the end call button?


--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. WIP pre-release - MoDaCo Custom ROM for Nexus One with Online Kitchen - FRF50 Froyo - Android @ MoDaCo

Ada yg bisa bantu cariin link donlot rom nya?

http://android.modaco.com/content/google-nexus-one-nexusone-modaco-com/309718/27-may-r16-wip-pre-release-modaco-custom-rom-for-nexus-one-with-online-kitchen-frf50-froyo/

-- 
"Indonesian Android Community [id-android]" 

2. Problem with threading....

In the code showed as below i create a process dialog for doing some long
operation (in this case waiting
4 seconds)... It runs as it should. And shows the "Starting..." and "Done"
message but when it finishes
and i click Button1 again it terminates. What am i doing wrong?

----- code -----

public class main extends Activity {
public ProgressDialog dialog = null;

final Handler handler = new Handler(){
public void handleMessage(Message msg){
 dialog.dismiss();
TextView tv2 = (TextView) findViewById(R.id.TextView02);
 tv2.setText("Done");
}
};
 Thread runlongjob = new Thread(){
public void run(){
SystemClock.sleep(4000);
 handler.sendEmptyMessage(0);
}
};
     /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

    }
    public void clickhandler(View v){
     switch(v.getId()){
     case (R.id.Button01):
TextView tv1 = (TextView) findViewById(R.id.TextView01);
     tv1.setText("Starting...");

     dialog = ProgressDialog.show(main.this, "Please wait", "Doing Job...",
true);
     runlongjob.start();
     break;
     }
    }

}

-- 

3. Scan wireless networks periodically

4. How can we restrict apps to a country/region

5. spicandroid boros batre

6. Motorola apa ?

7. Komentar Obama soal iPad