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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T18:09:47+00:00 2026-06-01T18:09:47+00:00

I am new with android development.I am creating an app that will tell the

  • 0

I am new with android development.I am creating an app that will tell the meaning of name entered by user, for this I am using http://www.babynamesworld.parentsconnect.com to fetch the data and parse the meaning of name out of it.Here is the code but it doesn’t seem to work.

Button b=(Button)findViewById(R.id.button1);

        b.setOnClickListener(new Button.OnClickListener() 
        {

            TextView tv=(TextView)findViewById(R.id.textView1);

            @Override
            public void onClick(View arg0) {
                // TODO Auto-generated method stub

                try {
                    EditText et=(EditText)findViewById(R.id.editText1);
                    Document document = Jsoup.connect("http://babynamesworld.parentsconnect.com/meaning_of_"+et.getText().toString()+".html").get();
                    Element firstMeta = document.select("meta").first();
                     String title = firstMeta.attr("DESCRIPTION"); 
                     tv.setText(title);
                } catch (IOException e) {
                    // TODO Auto-generated catch block
                    e.printStackTrace();
                }


        }});



    }

As soon I click on the button, program crashes. I’ve added internet access permission too.

  • 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-01T18:09:49+00:00Added an answer on June 1, 2026 at 6:09 pm

    It looks like the Virtual Machine can’t find the Jsoup class definitions. Have you included either the source files or a jar in your project?

    If you’ve already added the jar try cleaning the project.

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

Sidebar

Related Questions

I am working on an Android app that has multiple screens the user will
I am new to Android development and am creating a ToDoList app in Android.
I'm new to android development, and im trying to create an app that is
I'm new to Android development. I have an application that allows the user to
I am new to android development. I have a doubt that while creating an
I'm new to Android development, i'm trying to port an IOS app to Android.
I am new to android development, I apologize that similar questions has been asked
I am new to Android development and facing a problem while using AndEngine. I
I'm new to android development and I've developed a small app but I'm facing
I'm breaking my head over this one. I'm kind of new in android development.

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.