package com.teambroadcast.einsatz;import java.util.List;import android.content.BroadcastReceiver;import android.content.Context;import android.content.Intent;import android.content.pm.PackageManager;import android.content.pm.ResolveInfo;import android.net.Uri;import android.os.Bundle;import android.telephony.SmsMessage;import android.widget.Toast;public class SmsReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { Bundle bundle = intent.getExtras(); SmsMessage[] msgs = null; String str = ""; if (bundle != null){ Object[] pdus = (Object[]) bundle.get("pdus"); msgs = new SmsMessage[pdus.length]; for (int i=0; i<msgs.length; i++){ msgs = SmsMessage.createFromPdu((byte[])pdus); str += msgs.getMessageBody().toString(); } Toast.LENGTH_SHORT).show(); if(msgs[0].getOriginatingAddress().equals("111")){ Toast.makeText(context,"Gleich!" , Toast.LENGTH_SHORT).show(); Toast.makeText(context,str , Toast.LENGTH_SHORT).show(); Uri adresse = Uri.parse("geo:0,0?q=1600+Amphitheatre+Parkway,+Mountain+View,+California"); Intent mapIntent = new Intent(Intent.ACTION_VIEW, adresse); context.startActivity(mapIntent); } } }}[/code]Hat jemand eine Idee/Anregung für mich?Stefan