Resources to learn how to build mobile games and apps using HTML+javascript

Search This thread

Mr.HB

Senior Member
May 31, 2014
188
38
play.google.com
Ok I see a lot of question of basically how to start building games and apps using web languages. Here I will put together very useful information and you will be able to make games and apps with these resources.

A)Tutorials for Beginners to HTML there are 10 step by step tutorials that are extremely easy to follow.

http://htmlforlearning.blogspot.com/2013/07/introduction-to-htmllesson-1.html

---------------------------------------------------------------------------------------------------------------------------------------
B)Framework to build a pop quiz app in HTML with a little Javascript here on xda-developers

http://xdaforums.com/showthread.php?t=2785378

-------------------------------------------------------------------------------------------------------------------------------------
C)Free 2014 calender and Calculator ready made in HTML . All you have to do is add the files to your project

2014 Calender activity

1) Download the zip file here http://sourceforge.net/projects/andromoapps/files/calender.zip/download
2) The main file is select.html .


Now for the calculator
1) Download the zip file here http://sourceforge.net/projects/pfbw/files/calculator.html/download
2) The main file is calculator.html .

These can be used as stand alone apps or best used as an added feature to your app. I suggest you add these as extra activities to your main app so that users will have a reason to come back to use your app example lets say they need the 2014 calender they will just go to your app since they know its in there already. Its all about using as many activities as you can so that your app has a lot of functionality.

---------------------------------------------------------------------------------------------------------------------
 
Last edited:

Mr.HB

Senior Member
May 31, 2014
188
38
play.google.com
For Advanced Users How to Add facebook and Twitter intergration inot your apps.


Ok the facebook intergration is easy , first I will post the code then explain it.

<img src="fshare.png" onclick=location.href="http://m.facebook.com/sharer.php?u=http://androidfreegamesapps.forumotion.com/t1136-8-bit-super-mario-bros-spiky-jump-for-android#2464";
style="position:absolute;left:0px;top:80px;height:60px;width:100px" />

WHAT IT MEANS AND HOW TO EDIT

<img src="fshare.png" means I am placing a image onscreen as a button "fshare.png" is the name of the image I used.

onclick= means I am making this image clickable

location.href= means this is the website I want the button to open

http://m.facebook.com/sharer.php?u=" PLACE YOUR WEBSITE LINK HERE "


style="position:absolute;left:0px;top:80px;height:60px;width:100px" this is to set the location of the button onscreen.

Now on to twitter intergration , the code is much longer but you only have to add the link.

<a href="https://twitter.com/share" class="twitter-share-button"
data-text="http://androidfreegamesapps.forumotion.com/t1136-8-bit-super-mario-bros-spiky-jump-for-android#2464 Super Mario Bros for #Android"
data-count="none">Tweet</a>

<script>!function(d,s,id)
{var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';
if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}
(document, 'script', 'twitter-wjs');</script>

HOW TO EDIT AND WHAT IT MEANS
All you have to change is

data-text="http://androidfreegamesapps.forumotion.com/t1136-8-bit-super-mario-bros-spiky-jump-for-android#2464
Super Mario Bros for #Android"

data-text=" YOUR LINK GOES HERE + YOU CAN TYPE IN A MESSAGE"

I advise you to just copy and paste my code then make the slight changes. Any questions just ask!! - See more at: http://forums.andromo.com/discussio...itter-share-in-your-app-#sthash.uSundpMX.dpuf
 

Mr.HB

Senior Member
May 31, 2014
188
38
play.google.com
Game made with HTML + Javascript and made into an apk using phonegap.

Play as Max avoiding bombs being thrown at him by angry miners. Casual and Hard modes plus simple tap controls make this the best pick up and play game.
http://androidfreeware.net/download-bomb-attack-max.html

BbCatFdnKKfvU6YUVLuf0tcNA0qIZ82AvjD6MkhU7N2pg7jKUI1ayB7SJs6sdd0awHrQ=h900
 
Last edited:

Top Liked Posts