Category : sms

my app should inform the user as soon as you receive an SMS. The rights etc. I have already assigned everything, in my emulator everything works perfectly but unfortunately not with my real phone (Xiaomi). The Android version is the same, what is the reason? [BroadcastReceiver(Enabled = true, Exported = true, Permission = "android.permission.RECEIVE_SMS")] [IntentFilter(new[] ..

Read more

i cant find my app at SMS default list i tried everything and nothing work . . . manifest: <application android:allowBackup="true" android:hardwareAccelerated="false" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:largeHeap="true" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" android:theme="@style/Theme.ImportantMessagesOnly"> <activity android:name=".blockListActivity"/> <activity android:name=".ImportantWordsActivity" /> <activity android:name=".SettingsActivity" /> <receiver android:name=".MySmsReceiver" android:enabled="true" android:exported="true" android:permission="android.permission.BROADCAST_SMS"> <intent-filter> <action android:name="android.provider.Telephony.SMS_DELIVER" /> <action android:name="android.provider.Telephony.WAP_PUSH_DELIVER" /> <action android:name="android.intent.action.RESPOND_VIA_MESSAGE" /> <action android:name="android.intent.action.RESPONSE_VIA_MESSAGE" /> <action ..

Read more

I need to send sms to 1000+ users and am doing so in a loop. I’ve updated global sms_outgoing_check_max_count to 999999 and global sms_outgoing_check_interval_ms to 100. I’m able to send 500+ sms in about 20 minutes so in average it takes 2.4secs to send an sms. I’m measuring this by taking the time when calling ..

Read more

I read SMS information just after receiving SMS_RECEIVED in android. Uri message = Uri.parse("content://sms/"); Cursor c = null; try { ContentResolver cr = GlobalApplication.getGlobalApplicationContext().getContentResolver(); c = cr.query(message, null, null, null, "date DESC"); I used above code the read the latest SMS. but some user reported my app failed to read latest SMS. I want to ..

Read more

Testing on a device with Android 4.4 API19 works fine (showing Toast), but on device with API above the 19 this does not work. Any queston about? Im requesting permissions on Manifest Im requesting permissions at runtime Im registering the receiver on Manifest Part of the Manifest: <uses-permission android:name="android.permission.SEND_SMS" /> <uses-permission android:name="android.permission.RECEIVE_SMS" /> <uses-permission android:name="android.permission.READ_SMS" ..

Read more

I want to read received SMS in my inbox and sentbox from a special number. Sentbox SMS are shown but inbox SMS aren’t shown. I want to show the message that received from number: 3000253001 in inbox page. I give permissions for read SMS in java code and manifests. my codes are in below: btnInbox ..

Read more