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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:09:05+00:00 2026-06-05T06:09:05+00:00

Anyone have sample code on how to launch a ST2 app from phonegap? I

  • 0

Anyone have sample code on how to launch a ST2 app from phonegap? I can only find ST1 tutorials and have not been able to make them work.

I have my working ST2 app with my code in app.js – I guess I need to use the ondeviceready event but not sure where to do so.

Thanks

  • 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-05T06:09:06+00:00Added an answer on June 5, 2026 at 6:09 am

    Even if you don’t need phonegap API its worth using Phonegap build:

    a. Build your Sencha App with phonegap-build website. Its free, easy and great.
    see details below.

    b. See Sencha Native API tutorial here. http://docs.sencha.com/touch/2-0/#!/guide/native_apis

    Details

    Use the Phonegap-Build free website. Its fantastic.

    a. Use it if you need phonegap specific functionality
    — AFAIK Sencha Native is missing contacts – please correct me if I’m wrong.

    b. Use it because you want the fantastic phonegap-build free online utility, that gives you immediate compiled code for iphone, Android, Windows mobile, blackberry(!) and more.

    How to compile you Sencha app on Phonegap-build

    a. You REMOVE the phonegap.js (or cordova-xxx.js file) from the folders.

    b. You must have a ref to the phonegap in your app.html.
    If its there, leave it. If not add the following line after the link to the css.

        <script type="text/javascript" id="phonegap" src="cordova-1.7.0.js"></script>
    

    c. You copy the app.html to a new index.html file (I didn’t try RENAME rather than COPY but it probably will work too)

    d. And upload the credentials from apple developer – which you can create from a PC using open SSL.

    e. You zip your directory, and in the phonegap-build site Edit and upload this zip.

    The compiled Sencha code works on all the devices (iphone, android, blackberry touch etc)!

    enjoy

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

Sidebar

Related Questions

I can attach a file with libesmtp? Does anyone have a sample code? Thanks
Anyone have some sample code for an in-app browser that they would like to
Does anyone have some sample code or can direct me to which class I
Does anyone have sample code, or a tutorial which demonstrates how to use Grappa
I have a sample application and wonder if anyone can shine a light on
Does anyone have some sample code of using a castle windsor InstallerFactory for ordering
Does anyone have sample VBS code that creates a switch statement based on whether
Does anyone have any sample code in Objective C for connecting to an external
Does anyone have sample code to copy open (in-use and locked by another program)
Does anyone have some sample code demonstrating how to make a file browser view?

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.