Recent

Author Topic: Application licencing  (Read 4433 times)

huberte

  • Jr. Member
  • **
  • Posts: 78
Application licencing
« on: May 04, 2012, 08:21:05 pm »
Hi,

When trying to uplad an app to google play, I saw this :

Protection against copy is gonna change, please use app licencing : http://developer.android.com/guide/market/licensing/index.html

did someone try it ?

huberte

  • Jr. Member
  • **
  • Posts: 78
Re: Application licencing
« Reply #1 on: May 05, 2012, 10:37:57 pm »

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: Application licencing
« Reply #2 on: May 06, 2012, 10:26:21 am »
I have no idea, never used this. But I am interrested in the answer.

One good place to ask would be: http://groups.google.com/group/android-developers

If you ask elsewhere please add a link here to the question so that people can check what answers are given.

huberte

  • Jr. Member
  • **
  • Posts: 78
Re: Application licencing
« Reply #3 on: May 07, 2012, 07:50:05 pm »
I will.

I think we have to modify the java file located in src/com/myproject and merge it with the file in attachment. I would like to try but I'm afraid to break something.

Moreover, we need to merge this to the AndroidManifest.xml

Quote
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.example.android.market.licensing"
    android:versionCode="2"
    android:versionName="1.1">
    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".MainActivity"
            android:label="@string/app_name"
            android:configChanges="orientation|keyboardHidden">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <!-- Devices >= 3 have version of Android Market that supports licensing. -->
    <uses-sdk android:minSdkVersion="3" />
    <!-- Required permission to check licensing. -->
    <uses-permission android:name="com.android.vending.CHECK_LICENSE" />
</manifest>

Voilà :)

felipemdc

  • Administrator
  • Hero Member
  • *
  • Posts: 3541
Re: Application licencing
« Reply #4 on: May 08, 2012, 07:20:26 am »
I think we have to modify the java file located in src/com/myproject and merge it with the file in attachment. I would like to try but I'm afraid to break something.

I think you forgot to attach the file. It is not in this post

huberte

  • Jr. Member
  • **
  • Posts: 78
Re: Application licencing
« Reply #5 on: May 08, 2012, 08:09:51 am »
Sorry :(

 

TinyPortal © 2005-2018