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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T02:18:24+00:00 2026-05-22T02:18:24+00:00

i am tring to display tweets to my android emulator using phonegap and jquery

  • 0

i am tring to display tweets to my android emulator using phonegap and jquery plugin for twitter api.

when i run the code in browser its working fine but when i try to run it on emulator its showing me some reference error in ddms console….

here is error …

04-06 12:18:40.813: ERROR/Web Console(486): ReferenceError: Can't find variable: $ at file:///android_asset/www/index.html:32

and here is code which i have written…

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
  <meta charset="UTF-8" />
  <title>Tweet! Put Twitter on your site with this simple, unobtrusive jQuery widget</title>
  <link href="index.css" rel="stylesheet"/>
  <link href="jquery.tweet.css" rel="stylesheet"/>
  <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
  <script src="jquery.tweet.js" charset="utf-8"></script>
  <script>
    $(function(){
    alert("Hello . . .sms. .. . ");
      $(".tweet").tweet({
        join_text: "auto",
        username: "VJAnusha",
        avatar_size: 48,
        count: 10,
        auto_join_text_default: "we said,",
        auto_join_text_ed: "we",
        auto_join_text_ing: "we were",
        auto_join_text_reply: "we replied",
        auto_join_text_url: "we were checking out",
        loading_text: "loading tweets..."
      });
    });
  </script>
</head>
<body>  

  <div class='tweet query'></div>
  <script type="text/javascript">
    **$(function(){ $(".example").each(function(i, e){ eval($(e).text()); }); });**
  </script>

</body>
</html>

i have highlighten the line where it’s showing me error ….
thnks

  • 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-22T02:18:24+00:00Added an answer on May 22, 2026 at 2:18 am

    The error is saying that it couldn’t found the JQuery Library. Try verifying that your emulator is connecting to the internet.

    Anyway, when deploying an app instead of using JQuery from Google’s CDN you should just download JQuery and use a local version:

    <script src="jquery.min.js"></script>
    

    Otherwise your app won’t be able to work without an internet connection.

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

Sidebar

Related Questions

I'm trying to display my last tweets with the twitter api on my website.
I have a Java project where I am pulling tweets from twitter using the
Trying to display current time with PHP (using this ): $date = date('m/d/Y h:i:s
I'm trying to display an svg graph with associated javascript in my application using
I'm trying to display images using my web application written in Rails. I've come
I am tring to display a text box when a element of class numObj
I am trying to search a tweets using search method in twitter4j with effects
new here!! Im trying to get tweets to display on a site(framework is codeigniter).
I’m trying to get my account's time line and display it. I’m using Abraham
I'm trying to convert a unix time stamp to display like facebook and twitter.

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.