Hi
I am trying to make an app that opens android market page of selected app & lets user download it.I have used below intent to open market.
Intent intent = new Intent (Intent.ACTION_VIEW);
intent.setData (Uri.parse ("market://details?id=" + PackageName ));
intent.setFlags (Intent.FLAG_ACTIVITY_NEW_TASK);
startActivityFor...
I'm trying to autostart my nightclock app on charging using the following BroadcastReceiver implemented in the onPause() method:
BroadcastReceiver test = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
unregisterReceiver(this);
Intent i = new Intent(context, NightClock....
I am writing an app which needs to periodically check the server for new messages and notify the user. I have seen some examples using AlarmManager to hit a BroadcastReciever which seems like the right thing to do, but i cant seem to get it to work.
Can anyone show me a step by step tutorial for this sort of thing (repeating alarm which...
Hi all,
I need to find out which broadcast receivers can handle a given Intent.
It seems that queryBroadcastReceivers() does not return receivers registered in code using registerReceiver() but only receivers declared in AndroidManifest.xml.
Is this behavior by design?
Any other way to find all installed receivers for some Intent ?
...
My android app sends a Data sms. All the phones are able to receive that message except my android.
I have added a broadcast receiver in the manifest:
<receiver android:name=".SMSReceiver">
<intent-filter android:priority="10">
<action android:name="android.intent.action.DATA_SMS_RECEIVED" />
<data android:sc...
Hello,
I'm trying to receive SMS using broadcast receiver. MySMSReceiver :
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.telephony.SmsMessage;
import android.util.Log;
public class MySmsReceiver extends BroadcastReceiver {
/** Tag s...
What's the correct way (if any) to redirect a received Intent to another BroadcastReceiver?
I have two BroadcastReceivers set to listen to the same intent. It works in development, but in production, only the first one registered in the manifest gets the intent.
Can I call the other one's onReceive() method directly, passing the same ...
Need Help:
If anybody can decode this CBS message sent through RNC to one of the mobile handset in Srilanka.otherwise guide me to decode this message.Msg is
Quotation===
The message received by phone, with message id=1, is “[…][…][…][…][…][…][…][…][…][…][…][…][…][…]26vwFFFFFFFFFFFFFFF - continuing ‘F’ characters.
The “26vw” part changed...
I am unable to get my BroadcastReceiver onReceive method called using the BOOT_COMPLETED intent.
AndroidManifest.xml
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.jerrellmardis.umbrella"
android:versionCode="4"
android:versionName="1.0.3">
...
Hi! I have an Android service which sends broadcast intents. I'm trying to get those intents in another application, which is an Android service. I wrote this in my manifest:
<!-- Service -->
<service android:enabled="true" android:name="...MyService"></service>
<!-- Receiver -->
<receiver android:name="...MyReceiver">
<intent-filte...
Hi every one,
I am a new android app developer and I want to ask if it is possible to build an application that sense to a specific bluetooth device (through device MAC). if it finds this device it will show a message even if the application is not running (like SMS message or receiving a phone call)..
thanks in advanced for you help.
...
Hey guys,
Is there a way to capture a key event from the Menu button using an Intent or BroadcastReceiver?
Basically I want my app's Service to be activated when the Menu key is pressed.
Thanks
...
Hi guys,
I have an activity that starts a service like that:
Intent youtubeIntent = new Intent(this, YoutubeFeedService.class);
service = startService(youtubeIntent);
and to detect when the service stops I use a broadcast receiver:
@Override
public void onResume() {
IntentFilter filter;
filter = new IntentFilter(You...