This will provide custom folder structure, custom activity module to your Android Studio.
NOTE : Please use this template only to create new project. Since this will create entire project structure, this is not suitable for making new activity when using Android Studio.
If you need to uninstall this module use Uninstall files according to your OS
This mobule will initialize a project with custom made folder set which will help you to manage your Android project in a good manner. DatabaseManager.java already implemented. Sample alert, callbacks have included. Some files contain neccessary codes, imports and gradle dependecies in comments. Feel free to update this template :)
STEP 01.
You can download initmodule.sh, save it as All files and with the extension .sh
initmodule.sh
STEP 02.
After downloading initmudule.sh you need to change file permission to full
chmod 777 initmodule.sh
STEP 03.
then all you need to do is run the bash script. NOTE: Please do not use sudo access
./initmodule.sh
STEP 01.
You can download initmodule.bat, save it as All files and with the extension .bat
STEP 02.
Just only need to run initmodule.bat with admin privilages. To do that, right click on initmodule.bat run as Administrator.
if any error occured or you don't have git installed, you can try the mannual way too
Just clone this repo and copy "FidenzModelProject" to following location
C:\Program Files\Android\Android Studio\plugins\android\lib\templates\activities\
(Mac OS) If any crash happen you can mannualy clone this repo and copy "FidenzModelProject" to
Applications/Android Studio.app/Contents/plugins/android/lib/templates/activities/
(Windows) Just clone this repo and copy "FidenzModelProject" to following location
C:\Program Files\Android\Android Studio\plugins\android\lib\templates\activities\
Just give Android Studio a restart, select new project, choose Fidenz module project.
That's all... enjoy :)
NOTE : Using this module may cause errors on updating android studio :( So to overcome this, you can use UninstallModule_mac for "MacOs" and UninstallModule_win on "Windows"
Happy coding... :)
- Added folder structure
- Fix support for Mac - initmodule.sh
- Fix support for Windows - initmodule.bat
- Added Constant.java
- New feature to select libs
- Service generator auto adding
- DatabaseManger and DatabaseHelper creation
- Create application class and init database
- Add splash screen creating support
- Include custom font textview, edittext and etc
Chathura Hettiarachchi, chathura93@yahoo.com
Checkout my other contributions, https://github.com/ChathuraHettiarachchi?tab=repositories