Thursday, July 11, 2013

Best way to earn maximum per download and monetize your android app for maximum revenue

Android Developer? StartApp offers the best app monetization and now you get a great sign up bonus!

Sign Up Here : http://startapp.com/rfy71e8

If you want to monetize your android app for getting the maximum revenue then follow these simple steps and you will get 25$ free bonus when your app reach 100 downloads.

You will earn per android app download:
0.05$ per download from US
and
0.01$ per download from non US.

Its very easy to integrate in your app:

[1] Sign Up Here : http://startapp.com/rfy71e8

[2] Add your android app to startapp dashboard.

[3] Integrate Startapp SDK to your android app.

[4] Publish your app in Google Play Market.

You're Done !!

Now just sit back and see your revenue getting collected in your account.

If you want to get 25$ free bonus on first 100 downloads then you must have to signup from this link.

StartApp SignUp

Happy Earning :)

Enjoy :)

Monday, July 1, 2013

Android Network Booster

Android Network Booster is one of the best tool to get excellent network signal speed and faster internet connection.

Android Network Booster will allows you to connect with better network signal from best available cell towers.

Boost up your network with just single click !!

Its absolutely free to use, so go for it.


Feedback and Suggestions are most welcome to encourage more.

Screenshots :






Download Link :


Enjoy :)

Sunday, June 16, 2013

Android Volume Booster

Android Volume Booster is the great tool to optimize your phone's volume.

Android Volume Booster will make your phone sound and overall volume much more stronger.




Download Link :
https://play.google.com/store/apps/details?id=com.pratik.androidvolumebooster

Enjoy !!

Love Calculator Test HD

Love Calculator Test HD is an excellent tool to find love between your loved ones.

If you are in love with someone then you must give a try to Love Calculator Test HD app and find how much you are in love with your partner.









Download Link :

Friday, June 7, 2013

Way to Identify Mobile and Tablet Devices with simple flag condition

You can identify Mobile and Tablet Devices with simple flag condition.

Set a boolean value in a specific value file like say (res/values-xlarge/):

<resources>
    <bool name="isTabletDevice">true</bool>
</resources>

Then, in the "standard" value file like say (res/values/):

<resources>
    <bool name="isTabletDevice">false</bool>
</resources>

Then from your activity, fetch this flag value to check device type :

boolean tabletDeviceSize = getResources().getBoolean(R.bool.isTabletDevice);
if (tabletDeviceSize) {
    //use tablet code
} else {
    //use mobile code
}

Thanks.

Way to define a min and max value for EditText in Android

First make this class :

public class InputFilterMinMax implements InputFilter {

    private int min, max;

    public InputFilterMinMax(int min, int max) {
        this.min = min;
        this.max = max;
    }

    public InputFilterMinMax(String min, String max) {
        this.min = Integer.parseInt(min);
        this.max = Integer.parseInt(max);
    }

    @Override
    public CharSequence filter(CharSequence source, int start, int end, Spanned dest, int dstart, int dend) {   
        try {
            int input = Integer.parseInt(dest.toString() + source.toString());
            if (isInRange(min, max, input))
                return null;
        } catch (NumberFormatException nfe) { }     
        return "";
    }

    private boolean isInRange(int a, int b, int c) {
        return b > a ? c >= a && c <= b : c >= b && c <= a;
    }
}

Then use this from your Activity :

EditText et = (EditText) findViewById(R.id.myEditText);
et.setFilters(new InputFilter[]{ new InputFilterMinMax("1", "12")});

This will allow user to enter values from 1 to 12 only.
NOTE : Set your edittext with android:inputType="number".
Thanks.

Thursday, May 30, 2013

Android Phonegap Integration


First create one Android application with Eclipse and then
Follow this Steps : [Example to fetch all Contacts from device]
[1] Import cordova-2.2.0.jar file into your project.
[2] Add cordova-2.2.0.js file into your assets/www folder.
[3] Copy xml folder came with cordova source into res folder
[4] Replace your activity with this.
package com.cordovatest;

import org.apache.cordova.DroidGap;

import android.os.Bundle;

public class MainActivity extends DroidGap {

    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        super.setIntegerProperty("loadUrlTimeoutValue", 60000);        
        super.loadUrl("file:///android_asset/www/index.html",1000);
    }


}

[5] Add index.html file into assets/www folder with this content.
<!DOCTYPE html>
<html>
  <head>
    <title>Contact Example</title>

    <script type="text/javascript" charset="utf-8" src="cordova-2.2.0.js"></script>
    <script type="text/javascript" charset="utf-8">

    document.addEventListener("deviceready", onDeviceReady, false);

    function onDeviceReady() {    
        callFetchContacts();
    }

    function callFetchContacts(){
        var options = new ContactFindOptions();
        options.multiple=true; 
        var fields = ["id","name", "displayName", "organizations","emails","phoneNumbers","addresses"];
        navigator.contacts.find(fields, onSuccess, onError, options);   

    }

    function onSuccess(contacts) {

        alert('Done');
        alert(contacts.length);

        for(var i = 0; i < contacts.length; i++){
            alert(contacts[i].displayName);                                                 // use your logic here to display this contact values on screen.
        }


    };

    function onError(contactError) {
        alert('onError!');
    }

    </script>
  </head>
  <body>
    <h1>Example</h1>
    <p>Display Contacts</p>
  </body>
</html>

[6] Add following permissions into your Manifest file.
<uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.VIBRATE" />
    <uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.RECEIVE_SMS" />
    <uses-permission android:name="android.permission.RECORD_AUDIO" />
    <uses-permission android:name="android.permission.RECORD_VIDEO"/>
    <uses-permission android:name="android.permission.MODIFY_AUDIO_SETTINGS" />
    <uses-permission android:name="android.permission.READ_CONTACTS" />
    <uses-permission android:name="android.permission.WRITE_CONTACTS" />   
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />   
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.GET_ACCOUNTS" />
    <uses-permission android:name="android.permission.BROADCAST_STICKY" />


That's It.
You will have your contacts details on your screen.
Hope it helps you.

Thanks and Regards,
Pratik Sharma