Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Problem in Boot Receiver

Problem in Boot Receiver

Put your problem here if it does not fit any of the other categories.

Problem in Boot Receiver

Postby Chitra » Fri Sep 09, 2011 1:42 pm

Hi All,

I have HTC Desire Device. In that we have three Reboot options.
1) Power Off
2) Restart
3) Battery Remove

Here, android.intent.action.BOOT_COMPLETED listening on Restart ad Battery Remove scenarios. In power Off i didn't receive any broadcast listener. :oops:

Below My code
Manifest.xml
Code: Select all
<receiver
   android:name=".receiver.BootReceiver">
   <intent-filter>
      <action
         android:name="android.intent.action.BOOT_COMPLETED" />
   </intent-filter>
</receiver>


BootReceiver.class
Code: Select all
public class BootReceiver extends BroadcastReceiver {
     @Override
        public void onReceive(Context context, Intent intent) {
      Log("~~~~~~~~BootReceiver~~~~~~~");
           }
}


any issues?? :roll:
Thanks,
Chitra
User avatar
Chitra
Master Developer
Master Developer
 
Posts: 213
Joined: Mon Mar 01, 2010 7:59 am
Location: Bangalore

Top

Re: Problem in Boot Receiver

Postby Chitra » Thu Sep 15, 2011 8:26 am

Here "Power Off" is not consider as "Restart". Its just phone in sleeping Mode.
Thanks,
Chitra
User avatar
Chitra
Master Developer
Master Developer
 
Posts: 213
Joined: Mon Mar 01, 2010 7:59 am
Location: Bangalore

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: No registered users and 9 guests