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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T15:49:15+00:00 2026-05-27T15:49:15+00:00

I want to use to start an activity from jar file with my application.

  • 0

I want to use to start an activity from jar file with my application. In my jar file i use

Intent intent=new Intent(cl,com.jar.Adview.class);
            cl.startActivityForResult(intent,0);

Where, cl is Activity of my application. Adview.class is in my jar package called com.popupjar.But it throws null pointer exception. How to do this. Please give me a solution.

Note: The intent will be in a method. When i call the method in my apllication the intent activity want to be start.

  • 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-27T15:49:15+00:00Added an answer on May 27, 2026 at 3:49 pm

    Check this: Integrate zxing barcode scanner into your Android app natively using Eclipse

    Check the step 4(Include ZXing Android into your project). You can see how the activity for scan (which is in the jar) is being called.

    Hope this would help.

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

Sidebar

Related Questions

Whenewer I want to start new activity, I use this code: Intent myIntent1 =
Normally, if I want to start a new activity I can use StartActivity(typeof(foo)); This
Suppose you want to start a new activity and pass it some data from
I created a new MapActivity class MapProba . From main Activity I want to
I want to use SwiftMailer in Symfony2. To start with, I created a new
I want to start an application which will use ajax push, however the web
Hello have to start a new Activity from the BroascastReceiver or the Service, but
I have an activity which I want to use to display data sent from
Here's what I want to do: If I use startActivity I start a new
To start my service from an Activiy I use startService(MyService.class) . This works great,

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.