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

  • SEARCH
  • Home
  • 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 8084543
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:49:59+00:00 2026-06-05T17:49:59+00:00

Possible Duplicate: How to Start an Application on Startup? I am new to android

  • 0

Possible Duplicate:
How to Start an Application on Startup?

I am new to android and I have my android app. I just want to open my app at start up of my android mobile. Plz tell me How to do this? I am using Eclipse with android sdk 2.3.3

  • 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-06-05T17:50:00+00:00Added an answer on June 5, 2026 at 5:50 pm

    If you want to do it pragmatically

    <receiver android:name=".MyServiceManager"
            android:enabled="true" >
    
                <intent-filter>
                    <action android:name="android.intent.action.BOOT_COMPLETED" />
                     <category android:name="android.intent.category.DEFAULT" />
                </intent-filter>
    </receiver>
    

    then just add this code into application tag of your manifest file and add usages permission into manifest file.

    Then

    public class MyServiceManager extends BroadcastReceiver
    {
    
        @Override
        public void onReceive(Context context, Intent intent) {
    
            String action = intent.getAction();
    
            if(action.equalsIgnoreCase("android.intent.action.BOOT_COMPLETED"))
            {
                Intent myIntent=new Intent(context,package.YourActivity.class);
                myIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                context.startActivity(myIntent);
            }
    }   
    

    add this class into your project.
    Please check package name and class name and change it accordingly.
    If you still have problem then write me.

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

Sidebar

Related Questions

Possible Duplicate: Start android application without activity I want to do a download tool
Possible Duplicate: Android Launch an application from another application I want to start Another
Possible Duplicate: .Net Process.Start default directory? I have a C# application, mono to be
Possible Duplicate: start Activity at startup of phone in android i am trying to
Possible Duplicate: Application has failed to start because MSVCP100D.dll was not found, reinstalling app
Possible Duplicate: J2me detecting first start of application I'm developing a J2ME application and
Possible Duplicate: How to get notified of UITableViewCell move start and end I have
Possible Duplicates: how to create startup application in android? How to Autostart an Android
Possible Duplicate: License for C# desktop application I want to make my program lock
Possible Duplicate: How to make the startup form initially invisible or hidden My application

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.