try { Intent gforce=new Intent(GPS2Activity.this,GforceService.class); gforce.putExtra("NUMBER", number); ct.startService(gforce); } catch (Exception e) { Toast.makeText(this, e.toString(), 2000).show(); }
@Override public void onStart(Intent intent, int startId) { phn=intent.getStringExtra("NUMBER"); super.onStart(intent, startId); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)