Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 951731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T23:46:59+00:00 2026-05-15T23:46:59+00:00

Can anyone please give me code or links or concept for running an android

  • 0

Can anyone please give me code or links or concept for running an android application on android device automatically.. whenever the device is switched on, application should start on its own, with out the interference of the user.

Thank you..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T23:46:59+00:00Added an answer on May 15, 2026 at 11:46 pm

    You need to declare a broadcast listener that listens for RECEIVE_BOOT_COMPLETED

    <uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED"/>
    

    In your listener:

    Intent myStarterIntent = new Intent(context, YOUR_CLASS_TO_START.class);
    /* Set the Launch-Flag to the Intent. */
    myStarterIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    myStarterIntent.addFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP);
    /* Send the Intent to the OS. */
    context.startActivity(myStarterIntent);
    

    another example using the above ideas: auto start app

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 536k
  • Answers 536k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer To call the appropriate one, you'll need to make the… May 17, 2026 at 1:25 am
  • Editorial Team
    Editorial Team added an answer Yes it's called the UserAgent, see HttpContext.Current.Request.UserAgent IIRC: http://msdn.microsoft.com/en-us/library/system.net.httpwebrequest.useragent.aspx Note… May 17, 2026 at 1:25 am
  • Editorial Team
    Editorial Team added an answer You can wrap the code in a function: function mycode(){… May 17, 2026 at 1:25 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Please can anyone give me links or code or concept for Running an activity
Can anyone give me code or links for sample 128 bit CFB type of
Can anyone please give me a real life, practical example of Polymorphism? My professor
Can anyone please help me on the following: I have created a SQL Server
I've bound the DataContext of the following Window to the code behind to give
I'm using Delphi 7 and can't predict the target version of Windows. I need
Hey! I was looking at this code at http://www.gnu.org/software/m68hc11/examples/primes_8c-source.html I noticed that in some
Im abit of a noob to Powershell so please dont chastise me :-) So
I have the following code I want to detect the screen off of the
i have a c problem can any one help me . i wrote a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.