Giter Site home page Giter Site logo

launcher-theme-template's Introduction

This is what needs to be edited. 

*You should have JDK, Eclipse and Android SDK with API-15 installed.

*If you get errors when you load in Eclipse, right click, properties, java compiler, set it to Java 1.6.


Quick Tut

Open Eclipse, Select File, New, Android Project, 
Project From Existing Source, Browse, Point it to the extracted template, Click Finish,
in /src right click x.x.x, refractor, rename, change it from x.x.x to com.yourname.appname.

The following java files also need to be edited...

AnalogClockWidget.java

017 - import x.x.x.R; ==> Replace x.x.x with com.yourname.appname

Docks.java

017 - import x.x.x.R; ==> Replace x.x.x with com.yourname.appname

GoLauncher.java

017 - import x.x.x.R; ==> Replace x.x.x with com.yourname.appname

Icons.java

017 - import x.x.x.R; ==> Replace x.x.x with com.yourname.appname

Wallpaper.java

017 - import x.x.x.R; ==> Replace x.x.x with com.yourname.appname



The following lines in HelperActivity.java need to be edited...

017 - import x.x.x.R; ==> Replace x.x.x with com.yourname.appname

051 - intent.putExtra("org.adw.launcher.theme.NAME","x.x.x"); ==> Replace x.x.x with com.yourname.appname

199 - intent.setComponent(new ComponentName("x.x.x","x.x.x.Wallpaper")); ==> Replace x.x.x with com.yourname.appname

212 - final Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("market://details?id=x.x.x")); ==> Replace x.x.x with com.yourname.appname

226 - String aEmailList[] = { "[email protected]","[email protected]" }; ==> Replace x.x.x with your email, mybe setup a new account for theme stuff?

228 - emailIntent.putExtra(android.content.Intent.EXTRA_SUBJECT, "Theme Bugs"); ==> Replace Theme Bugs with subject you want emails to use by default.

242 - final Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("http://twitter.com/x.x.x")); ==> Replace x.x.x with your twitter username

255 - final Intent intent = new Intent(Intent.ACTION_VIEW).setData(Uri.parse("https://plus.google.com/x.x.x")); ==> Replace https://plus.google.com/x.x.x with your G+ profile link.

278 - new ComponentName("x.x.x", ==> Replace x.x.x with com.yourname.appname

279 - "x.x.x.HelperActivity"); ==> Replace x.x.x with com.yourname.appname



The following lines in AndroidManifest.xml need to be edited...

003 - package="x.x.x" ==> Replace x.x.x with com.yourname.appname

050 - <activity android:name="x.x.x.GoLauncher" ==> Replace x.x.x with com.yourname.appname

062 - <provider android:name="x.x.x.DocksProvider"  android:authorities="x.x.x.DocksProvider" /> ==> Replace x.x.x with com.yourname.appname



The following lines in strings.xml need to be edited...

004 - <string name="app_name">Template</string> ==> Replace Template with your App name.

006 - <string name="theme_title">Template</string> ==> Replace Template with your App name.

009 - <string name="theme_description">Awesome, thanks for trying Template Theme!
	This Template is basically a Template. Enjoy</string> ==> Replace with theme discription. 
	
011 - <string name="theme_info">Awesome, thanks for trying Template Theme!
	This Template is basically a Template. Enjoy</string> ==> Replace with theme discription.

016 - <string name="wp_theme_title">Template</string> ==> Replace Template with your App name.

029 - <string name="analog_gadget">Template Clock</string> ==> Replace Template Clock with your App name.

033 - <string name="hello">Template</string> ==> Replace Template with your App name.


After this you can edit whatever you want. I may be missing a step or two, full guide coming soon :)



launcher-theme-template's People

Contributors

haxzamatic avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.