Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP Mr.HB

23rd June 2014, 01:23 AM   |  #1  
OP Member
Thanks Meter: 12
 
69 posts
Join Date:Joined: May 2014
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/...llesson-1.html

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

http://forum.xda-developers.com/show....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/andr...r.zip/download
2) The main file is select.html .


Now for the calculator
1) Download the zip file here http://sourceforge.net/projects/pfbw....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.

---------------------------------------------------------------------------------------------------------------------
D) Monetizing Web Apps you have 2 choices Notifymob and Leadbolt . I suggest NotfiyMob as they pay much higher and have great customer service.

https://www.notifymob.com/

http://leadbolt.com/developers_signup.php?ref=10060171
Last edited by Mr.HB; 23rd June 2014 at 01:38 AM.
23rd June 2014, 01:33 AM   |  #2  
OP Member
Thanks Meter: 12
 
69 posts
Join Date:Joined: May 2014
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/discussion....uSundpMX.dpuf
27th June 2014, 12:10 AM   |  #3  
OP Member
Thanks Meter: 12
 
69 posts
Join Date:Joined: May 2014
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.

https://play.google.com/store/apps/d...om.maxbomb.app

The Following User Says Thank You to Mr.HB For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
android, apps, coding, html, javascript
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes