Back to project page call_b4u_drink.
The source code is released under:
GNU General Public License
If you think the Android project call_b4u_drink listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.beltcan.sponsor; // ww w . jav a2 s . com import org.beltcan.sponsor.R; import android.app.Activity; import android.os.Bundle; import android.content.Intent; import android.net.Uri; import android.view.View; public class MeetingActivity extends Activity { private final String LANDLINE = "029395917"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.meeting); setTitle(R.string.title_two); } public void onCallLandlineClick(View view) { Intent callIntent = new Intent(Intent.ACTION_CALL); callIntent.setData(Uri.parse("tel:" + LANDLINE)); startActivity(callIntent); } public void onShowMapClick(View view) { Intent intent=new Intent(android.content.Intent.ACTION_VIEW); intent.setData(Uri.parse("geo: 14.708956, 121.078503")); startActivity(intent); } }