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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T22:17:56+00:00 2026-06-10T22:17:56+00:00

I have just started working on Samsung smart tv platform. I am coding a

  • 0

I have just started working on Samsung smart tv platform.
I am coding a ticker application which utilizes google api for rendering the data.
So part of the script is on google. Now to run the dependent functions i have to include

<script lang="javascript" type="text/javascript" src="https://www.google.com/jsapi"></script>

Button control events are handled in a seperate Main.js file as below
`

switch(keyCode)
{
    case tvKey.KEY_RETURN:

    case tvKey.KEY_PANEL_RETURN:
        alert("RETURN");
        widgetAPI.sendReturnEvent();
        break;
    case tvKey.KEY_LEFT:
        alert("LEFT");
        break;
    case tvKey.KEY_RIGHT:
        alert("RIGHT");
        break;
    case tvKey.KEY_UP:
        alert("UP");
        break;
    case tvKey.KEY_DOWN:
        alert("DOWN");
        break;
    case tvKey.KEY_ENTER:
    case tvKey.KEY_PANEL_ENTER:
        alert("ENTER");
        break;
    default:
        alert("Unhandled key");
        break;
}`

Now i need to run the function which uses Google API in case of button press event (in Main.js). Trying to do so is giving me the following error

##[JAVASCRIPT ERROR]
##File         : file://localhost/C:\Program%20Files\Samsung\Samsung%20TV%20SDK(3.5.1)\Apps/_temp_20100108_/app/javascript/gfdynamicfeedcontrol.js
##Line No      : 87
##Error Detail : TypeError: google.feeds is undefined

The probable workaround for the situation seems to find out a way to include

<script lang="javascript" type="text/javascript" src="https://www.google.com/jsapi"></script>

in Main.js

Is there a way to do so ?

Any other workaround for the problem ?

  • 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-10T22:17:57+00:00Added an answer on June 10, 2026 at 10:17 pm

    If loading an external resource you may have to block your script execution until the file has completely loaded. You can using something like $(document).ready or set a timeout and check to see if a constant defined in the script exists.

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

Sidebar

Related Questions

I have just started working on my first Android application and am going ok.
I have just started working on localization of this application. Starting with three tab
Since I have just started working with Facebook's api I had a few questions
I have just started working on NASA world Wind Application in C#. But I
I have just started working on an existing Wicket application that uses Hibernate. I
I just started working with VB.NET. In my application I will need to have
I have just started leaning and working on xquery with java. I have a
I just started working with Android and I have a problem with my map.
I've just started working with Propel and I love it, but I have a
I have started working on a simple XML pull-parser, and as I've just defuzzed

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.