Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Android
  4. How to port my HTML5 Websocket site to cordova app?

How to port my HTML5 Websocket site to cordova app?

Scheduled Pinned Locked Moved Android
mobilehtmlandroidgame-devsysadmin
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TonyManso
    wrote on last edited by
    #1

    So, I built this HTML5 multiplayer online game, https://SpaceBlaster.io, and now I want to put it in the Google Play Store. It already works on mobile and computer browser. Can I just slap the HTML5 code into a cordova project and it will work as an android app? How does the app know which Websocket server to connect to? Have any of you done this sort of thing before? I'm kind of at a loss as to how to proceed. I already have one cordova app in the Play Store, so I'm familiar with that routine, but that was a standalone app designed from the beginning to be just a mobile app. I hope that all wasn't too confusing. Thanks in advance! :)

    You can't win. You can't break even. You can't quit. You're welcome.

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups