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 5838687
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T11:29:40+00:00 2026-05-22T11:29:40+00:00

I am trying to start the ApiDemos application inside of my Application using an

  • 0

I am trying to start the ApiDemos application inside of my Application using an intent.
I created the following intent:

Intent i = new Intent();
i.setAction("android.intent.action.MAIN");
i.addCategory("android.intent.category.LAUNCHER");
i.setComponent(ComponentName.unflattenFromString("com.example.android.apis/com.example.android.apis.ApiDemos"));
i.addCategory(Intent.CATEGORY_LAUNCHER);

When my code calls this intent it catches a SecurityException and gives the following detailed message: Requesting code from com.example.android.apis (with uid 10035) to be run in process com.TICE.customtabs (with uid 10036)

Is there any way for me to call ApiDemos app from within my own application?
Will I have to just import all of the ApiDemo code and compile it into my app instead?

  • 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-22T11:29:41+00:00Added an answer on May 22, 2026 at 11:29 am

    You don’t need category LAUNCHER. This is enough:

    Intent i = new Intent(Intent.ACTION_MAIN);
    i.setClassName("com.example.android.apis", "com.example.android.apis.ApiDemos");
    startActivity(i);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to start a new activity in my android app, and I'm trying
I'm trying to start a new Process by using Process.Start() which works great when
I am trying to start a service on a remote computer using the following
When trying to start up my Android AVD emulator, I get the following error
I am trying to start a method from my main() as a new thread
I am trying to start a service from the command line using net start
I'm trying to start using LINQ and specifically LINQ to SQL but I'm having
I am trying to start a new MVC project with tests and I thought
I'm trying to start a program using QProcess (Qt4.4 on vista64bit, developing in MSVC2005).
I'm trying start java application but in browser i see standard tomcat's page. Server

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.