Thursday, March 1, 2012

Easy Wifi Tether App

I just wanted to post something real quick to let the users that have downloaded Easy Wifi Tether app from the market and are wondering what that advertisement is when you start the app. This ad is a content locker that is displayed every time a user starts the app.

I gave the option to allow the user to click the X button on the top right of the ad to close it out and continue using Easy Wifi Tether app for free. I only put this advertisement in the free version to help support development, but decided it would be best to let the user control if they wanted to click on the ad or exit the ad and continue with the app.

If some of you were wondering what that was I hope this cleared it up. I am all for trying to give the best support to the users but at the same time it takes a lot of time and dedication to keep updating applications to users needs/expectations and the amount of Android phone's running different versions. That is why most developers offer free versions with 'Advertisements'.

Even though an application is free and may be great or horrible.. It still took that developer a great amount of time trying to get that app to work to the standard Android users expectation. A developer has to earn money or you will be left with developers leaving Android and publishing horrible applications.

Thank you to all the users!


Advertisers looking to promote app or business?

If you are an advertiser looking for another way to promote your application or business then you need to check into advertising with Leadbolt.

If your not seeing the returns you are used to on other advertising sites.. Please have a look into leadbolt for advertisers.

Click the link to sign up today! Leadbolt Advertiser Sign Up

Friday, February 24, 2012

Android Code Snippet - Check if tablet or smartphone

Here is how to check if the user is using a smartphone or a tablet...

  private boolean isTabletDevice() {
    if (android.os.Build.VERSION.SDK_INT >= 11) { // honeycomb
        // test screen size, use reflection because isLayoutSizeAtLeast is only available since 11
        Configuration con = getResources().getConfiguration();
        try {
            Method mIsLayoutSizeAtLeast = con.getClass().getMethod("isLayoutSizeAtLeast", int.class);
            Boolean r = (Boolean) mIsLayoutSizeAtLeast.invoke(con, 0x00000004); // Configuration.SCREENLAYOUT_SIZE_XLARGE
            return r;
        } catch (Exception x) {
            x.printStackTrace();
            return false;
        }
    }
    return false;
}

Thursday, February 16, 2012

Tutorial - Autostart an application at bootup


In your AndroidManifest.xml put this is with the following permission

<receiver android:enabled="true" android:name=".BootUpReceiver"
        android:permission="android.permission.RECEIVE_BOOT_COMPLETED">

        <intent-filter>
                <action android:name="android.intent.action.BOOT_COMPLETED" />
                <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
</receiver>
[..]
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
[..]

Create a new activity named BootUpReceiver and put this code in..

public class BootUpReceiver extends BroadcastReceiver{

        @Override
        public void onReceive(Context context, Intent intent) {
                Intent i = new Intent(context, MyActivity.class);
                i.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
                context.startActivity(i);
        }

}

Tuesday, February 14, 2012

Market Fix Android App

This is our newest app on the Android Market.

*ROOT IS REQUIRED TO WORK!*

Market Fix will let you change your build.prop file fingerprint to allow the Android Market to show you protected and paid/all apps. Some users that are on CM7 or other ROMS are not able to see certain apps in the Market.

This app will allow you to quickly click a button to change your Market Fingerprint.

Requires Android 2.2+ and ROOT ACCESS!




Friday, February 10, 2012

Artist Promotion For February

We are also supporting local and unsigned artist on our website for a week at a time!! Get more exposure for your band/music. Potente Blog has over 15,000 pageviews a month!


If you have a music widget player email liteupmobile@gmail.com with your information to be selected as the artist of the week on our blog.

Artist Benny James



Music press kits

Thursday, February 9, 2012

Android Tutorial - Delete Batterystats.bin (Root Required)

If you have a rooted phone and can request Superuser permission then here is an easy way to delete your batterystats.bin file. This is the same as going into Recovery Mode and wiping battery stats.


In your OnCreate method call this...


//Request Superuser permission to use the application
      try {
    Runtime.getRuntime().exec("su");
    } catch (IOException e) {
    // TODO Auto-generated catch block
    e.printStackTrace();
    }

Inside your Activity put this code on a button or OnClickListener...


                  Runtime runtime = Runtime.getRuntime();  
             Process proc = null;  
             OutputStreamWriter osw = null;  
             String command="busybox rm -f /data/system/batterystats.bin";    
             try {
             // Run Script        
             proc4 = runtime.exec("su");      
             osw4 = new OutputStreamWriter(proc.getOutputStream());
             osw4.write(command);              
             osw4.flush();      
             osw4.close();
                       }
             catch (IOException ex)
             {      
             ex.printStackTrace();
}
            }
        }

Now you are able to wipe your battery stats without going into recovery mode every time.