How can I run html project in libgdx?
I am using libgdx with android studio.
I believe you can click on "html", or go to http://localhost:8080/html
Related
I have been searching whole internet but there are tons of outdated things about this issue
I simply have PhoneGap project.
some contents
And its working flawlesly when I use the PhoneGap app for my iPhone.
Really perfectly!
So I want to really try it and test it before I maybe purchase dev acc.
But I don't know how to test it and upload the contents of PhoneGap project (which is nearly basicaly HTML and CSS website) to my iPhone.
I can do it just for my device to send a project from xcode to my iPhone.
But it "god damnned!!!" does not look like from the PhoneGap "emulator" or what so ever.
This is not right:
pubnub.com/blog/2014-10-30-converting-your-javascript-app-to-an-ios-app-w-phonegap/
and this is far beyond working
adobe.com/devnet/archive/html5/articles/getting-started-with-phonegap-in-xcode-for-ios.html
I can see that there is really some "Gap" and the know how is maybe "well paid" feature.
So please how can I simply test the "contents" - app from PhoneGap.
Its kind a template and then HTML website.
I see that there is lots of third party websites doing some mojo and magicaly wrap you HTML5 website, but when I wrap it as one of the tutorials above showed..its not what it supose to be.
Xcode
And for example the Onsen.io templates are just broken..
Is there any working tutorial how to put PhoneGap project to iPhone through Xcode? for testing?
Hint: Adobe does not allows me to make an app without signing key..so.I cannot even test it. And even if...its an APK. file and that I cannot run either..useless.
if you gave installed phonegap/cordova locally then run this command in project folder.
cordova platform add ios
after running that cordova will create a ios project inside
<projectfolder>/platforms folder. You can open it in Xcode and run it like any other Xcode project. and also deploy it to attached device to test it.
i'm beginner in phnegap. while searching easy testing tool for phonegap i found appmobi xdk for desktop and app.lab for mobile. it looks easy to work with it. but when i tried to run some phonegap functions like:
function captureVideo() {
// Launch device video recording application,
// allowing user to capture up to 2 video clips
navigator.device.capture.captureVideo(captureSuccess, captureError, {limit: 2});
}
etc. it throws and error "can't read property 'capture' of undefined". i'v set the
<script src="phonegap.js"></script>
inside head tag but no luck. when i tried it with phonegap build in https://build.phonegap.com/apps. it works fine.
i'm bit confused here. is XDK and app.lab are just for testing html5 apps or it supports phonegap features too like notification, camera, capture etc.
Thanks !
I ran in the same issue times ago. Depending on your configuration device or capture is the undefined object. You have to add the Device, Capture and Camera plugins.
If you are using intel xdk you can set them by going to the project view -> plugin and permissions
see: https://github.com/apache/cordova-plugin-media-capture/blob/master/doc/index.md
I can't normally launch html5 the version of application in which there are scene2d ui elements. After transition to the Screen with Scene2dUI it turns out here
To look as application "works" it is possible.
The last version of a plug-in of gwt for Eclipse is set.
Why so occurs? The android and a desktop of the version work good.
In archive a test project. The source code from this example
The project was developed in Intellij Idea, html5 the version was compiled in Eclipse. Version Libgdx libgdx-nightly-20121213.zip. In http:// of compiled html5 isn't present.
In game where there are screens from use of Scene2d and screens with Scene2dUI screens without Scene2dUI work very well. If I switch to the screen from Scene2dUI there is an error as now on http://
Edit:
Issue 1169
This issue is now fixed. just get a pull the sources from github to update.
related post: http://www.badlogicgames.com/wordpress/?p=2704
I just got my MacBook and am trying out the Flash BUilder on said platform. I've installed Firefox and Google Chrome on my MacBook but I can't seem to find a way to set which browser would launch my Flex apps whenever I hit the Run button inside Flash Builder. As far as I know, I can locate the Browser property on the Project Properties on my Windows copy of Flash Builder but I couldn't over here at my Mac. Any thoughts?
You can change the browser associated with Flash Builder in the Flash Builder preferences window. It's under General -> Web Browser. This sets the default web browser for all items launched from FB I believe. I don't know of a method for doing this on a per-project basis, but this should solve your immediate problem. This is on FB 4.5, by the way, but I believe it's the same for previous versions as well.
This website wants to run the following add-on: Adobe Flash Player from ...
why would i be getting this if i am not running any flash on my page?? thanks
There must be some toolbar or add-on trying to access it. Or most of the .cab or .dll uses the ActiveX. May be the reason but not sure.
I had the same problem, and flash was triggered by the Google Analytics tracking code that was added to the page. However this doesn't happen on all IE8 setups. My configuration was Windows XP SP3, IE 8.0.6001.18702.
A quick workaround is disabling the flash tracking by adding _gaq.push(['_setDetectFlash', false]); just before _gaq.push(['_trackPageview']);