GithubHelp home page GithubHelp logo

Comments (4)

mwbrooks avatar mwbrooks commented on June 15, 2024

Hi @MarinoRaul

I think your question belongs on the PhoneGap Google Groups.

When you post your question on the Google Groups, I think you should clarify what you mean by "node.js."

node.js is a programming language that could integrate with a PhoneGap project in many ways. Can you specify what library you are using? For example, you could use the express library to be a web server that servers JSON to a PhoneGap application. You could build a command-line tool with node.js that compiles your PhoneGap application. You could also add this library (phonegap-build-api-js) to your command-line tool to build the app on PhoneGap Build.

In any case, this library (phonegap-build-api-js) is simply a way to programmatically interact with the PhoneGap Build API. It doesn't do anything more than that.

Hope that helps!
Michael

from node-phonegap-build-api.

MarinoRaul avatar MarinoRaul commented on June 15, 2024

Thanks for that answer.

Y have my node app with socket io express tuiter express, i run node in console and i see my app in the browser. Well i want do this app for mobile devices with phonep.

I want to know which is the correct way to do this, i can with phonegap-build-api?

Can yo explain how do this.

Thanks for the help.

Raúl

Enviado desde mi iPad

El 26/01/2013, a las 16:43, "Michael Brooks" [email protected] escribió:

Hi @MarinoRaul

I think your question belongs on the PhoneGap Google Groups.

When you post your question on the Google Groups, I think you should clarify what you mean by "node.js."

node.js is a programming language that could integrate with a PhoneGap project in many ways. Can you specify what library you are using? For example, you could use the express library to be a web server that servers JSON to a PhoneGap application. You could build a command-line tool with node.js that compiles your PhoneGap application. You could also add this library (phonegap-build-api-js) to your command-line tool to build the app on PhoneGap Build.

In any case, this library (phonegap-build-api-js) is simply a way to programmatically interact with the PhoneGap Build API. It doesn't do anything more than that.

Hope that helps!
Michael


Reply to this email directly or view it on GitHub.

from node-phonegap-build-api.

mwbrooks avatar mwbrooks commented on June 15, 2024

Hi @MarinoRaul,

No, phonegap-build-api-js cannot do this for you. There are many ways that you can connect PhoneGap and Express. The easiest is to change the PhoneGap application's starting point from index.html to the address of your Express application. However, there are other ways too.

I see you've posted on the PhoneGap Google Groups, so I'm linking it here for anyone else.

from node-phonegap-build-api.

MarinoRaul avatar MarinoRaul commented on June 15, 2024

Hello!

I was trying all ways and I can not connect to the server, and click me io socket object.

You can integrate it? Phonegap, node js, express and socket io. I run the local server in my browser and it works perfectly, and when armed the index in assets / www io.connect call this object and click me ...

Already tried calling socket.io / socket.io.js and other ... but not working.

Someone could send me an example or some kind of more detailed help and take away the doubt if it can be local, and others!

Thank you!

Raul. -

from node-phonegap-build-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.