Jump to content
MakeWebGames

Recommended Posts

Posted (edited)

Creating android apps for your game.

 

Price $150-

10316406.png

84171178.png

One of them i done, it is designed to fit all screen sizes perfectly.

-[ATTACH=CONFIG]423[/ATTACH]

[ATTACH=CONFIG]425[/ATTACH]

1.png.2143f0ab3b9dfcc3ec5a0db08349c87f.png

2.png.97e06035356910ee08c6637049076594.png

4.png.cd4e30a68bde92476a8fe3fba5c4d38e.png

Edited by modernmafiia
Posted

Hmm, misleading title? You mean you are creating a layout, creating an android app means you'll be using java (i think)

Posted
Well yeah, layout but it will be an app apk. format which you can add to market etc.. it just wont be a java style app more like a browser sort

So you create a stylesheet to fit it? You don't actually create the app?

Posted

What i do is i create the design, then use a program/site to get a apk browser for that certain link, that design fits to all screen sizes etc..it will create me an apk then you can upload etc.. and when downloaded it will display where the app was linked to such as http://www.link.com/mobile/ <--have your mobile files in a different folder or something

It works same as a normal app with the design and everything

Posted

Why have separate files for the mobile version? if you make it properly you could just make it check the user agent and display the correct style sheet for mobile, then you don't have to manage 2 separate games pretty much..

  • 2 weeks later...
Posted

first of all it created different sorts of apps, it does not create and app connected to your game does it?

An am charging that amount to create a layout for the mobile (template) so it fits most screens perfectly.

Posted

And for the app you don't even need another program to make it.. Just make a simple WebView that connects to that site, and checks links.

Example:

Browser Activity:

 

package com.yourgame.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.Window;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.widget.ProgressBar;

public class Browser extends Activity {
   /** Called when the activity is first created. */
WebView browser;
ProgressBar progressBar;
   @Override
   public void onCreate(Bundle savedInstanceState) {
       super.onCreate(savedInstanceState);
       this.getWindow().requestFeature(Window.FEATURE_PROGRESS);
       setContentView(R.layout.browser);

       getWindow().setFeatureInt(Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON);

       browser = (WebView) findViewById(R.id.browser);
       browser.setWebViewClient(new  browserClient());
       browser.getSettings().setUserAgentString("your-custom-user-agent"); 
       progressBar = (ProgressBar) findViewById(R.id.progressBar);
	browser.setWebChromeClient(new WebChromeClient(){
		public void onProgressChanged(WebView view, int progress){
			progressBar.setVisibility(View.VISIBLE);
			progressBar.setProgress(progress);
			if(progress == 100)
				progressBar.setVisibility(View.GONE);
		}
	});
       browser.loadUrl("http://yoursite.com/");
   }
}

 

Custom WebViewClient (makes it so when you click links it'll load the new link in your app instead of the default browser)

 

package com.yourgame.app;

import android.webkit.WebView;
import android.webkit.WebViewClient;

public class browserClient extends WebViewClient {
@Override
public boolean shouldOverrideUrlLoading(WebView v, String url){
	v.loadUrl(url);
	return true;
}
}

 

Just create a layout called Browser.xml with a WebView in it with the id "@+id/browser" and you're good to go.

 

EDIT: i'll make it even easier.

 

<WebView android:id="@+id/browser"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent" />

 

enjoy.

Posted

appsgeyser.com is another place you can create an android app, which really its just an app linked to your full site not an actual independent app, but it has no adds like andromo.com

Posted
You can do it free how ever, it wont be mobile type, it will be your PC version squashed up for your mobile it remains hard to navigate etc...

So all you are supplying is a modified template for McCodes which enables it to fit upon a mobile screen?

Posted

I use the appsgeyser app for my game, and it works much better than the mobile browser, I use Daves chat system which wont work correctly on a mobile browser, well not on my phone anyway which is a Mytouch 4G Slide, but with the appgeyser app it works fine, and it isnt "squashed up" :P

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...