How to create Add On Packages

by Warren » Sat, 24 Oct 2009 04:19:40 GMT


Sponsored Links
 I have seen several applications that are free, but allow for add on
packages to be installed.

Gang Wars sells Respect Points
Mafia sells Favors
Dungeon Quest sells Gems

The central game is a free app, but you purchase these add on apps for
in-game benefit.

Has anyone purchased one of these add on apps?  What is the experience
like?  Do you have to leave the add on installed on your phone?

How does this work technically?  Do you think they set shared
preferences?  How would you handle the 24 hour uninstall rule?



I am considering releasing a free game with 10 levels, but offering a
full set of levels (say 25) as a separate paid app.  I'm looking for
the best way to accomplish this and thought the above might have some
bearing.

Thanks for your time,
Warren
--~--~---------~--~----~------------~-------~--~----~



How to create Add On Packages

by Warren » Sun, 29 Nov 2009 12:23:01 GMT


 No answers in a month. Doesn't anyone know something about how these
apps work?

--


Sponsored Links


Other Threads

1. Consuming an ASP.NET Webservice

Hi,

I'm trying to build an Android application which consumes an ASP.NET
Webservice. In the future I plan to send audio files between the two.

So far I've been experimenting with a simple application which sends a
parameter to a simple webservice which is supposed to store the value
in a database, but with no success.

When debugging the webservice I saw that it received the following
soap request:
---------------------------------------------------------------------------------------------
<v:Envelope xmlns:i="http://www.w3.org/2001/XMLSchema-instance"
xmlns:d="http://www.w3.org/2001/XMLSchema" xmlns:c="http://
schemas.xmlsoap.org/soap/encoding/" xmlns:v="http://
schemas.xmlsoap.org/soap/envelope/">
  <v:Header />
  <v:Body>
    <UpdateTest2 xmlns="http:///WebWithWcf/" id="o0" c:root="1">
      <id i:type="d:int">19</id>
    </UpdateTest2>
  </v:Body>
</v:Envelope>
---------------------------------------------------------------------------------------------

When continuing to debug I noticed that the webservice successfully
recognized the Webmethod ("UpdateTest2") but failed to pass on the
parameter ("19").

The Android application uses the ksoap2 library. Here is the code:
---------------------------------------------------------------------------------------------
package test.Client1;


import android.app.Activity;
import android.os.Bundle;
import org.ksoap2.SoapEnvelope;
import org.ksoap2.serialization.SoapObject;
import org.ksoap2.serialization.SoapPrimitive;
import org.ksoap2.serialization.SoapSerializationEnvelope;
import org.ksoap2.transport.AndroidHttpTransport;


public class Client1 extends Activity {

        private static final String NAMESPACE = "http:///WebWithWcf/" ;
        private static final String URL = "http://192.168.2.100/WebWithWcf/
WebService1.asmx";


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        String soapAction = "http://localhost/WebWithWcf/
UpdateTest2";
                String methodName = "UpdateTest2";

                Object soapIn = new Object();
                SoapObject request = new SoapObject(NAMESPACE, methodName);
                request.addProperty("id",19 );

                SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
                envelope.dotNet = true;
                envelope.setOutputSoapObject(request);
                AndroidHttpTransport aht = new AndroidHttpTransport(URL);
                try
                {
                        aht.call(soapAction, envelope);
                        SoapPrimitive resultString = 
(SoapPrimitive)envelope.getResponse();
                }
                catch(Exception e)
                {
                        e.printStackTrace();
                }



    }
}
---------------------------------------------------------------------------------------------

Any ideas?


Thanx

-- 

2. androud emulator and no gui

i was wondering if its possible to boot the emulator into a shell only
and not have the gui boot. has anyone done this? or know of how to do
it?

-- 

3. Any way to make activity lauch timeout longer?

4. OpenGL ES 2.0 Development

5. TCP connections from android device as client

6. CopyOnWriteArrayList Problem

7. Font rendering problem?