- Heider Fountain Pen Store, An Open Source and Free Software Project
- Android E-Commerce Shopping App
- Developer: Heider Jeffer hheider.jeffer@gmail.com hjeffer@unibz.it
- Supervisor Prof. Romain Robbes
- GitHub (Link)
Big thanks go to Anjan Karmakar for taking time from his busy schedule for offering his assistance to developed this project.
is Free and open-source software application that used Android Studio to build an E-Commerce Shopping.
- The user can see the catalog of pens offline and add to cart even if there is no internet.
- We connect to the Stripe api using secure tokenized communication and request for payment charges.
- In this app included Google authentication Google Login, Start Integrating Google Sign-In into Your Android App.
- App & Data: All products, images, transaction, are stored on phpmyadmin outside the android studio.
- In this project we published simple steps to improve Android Studio.
- Heider Fountain Pen Store is Free and open-source software which mean Free like Freedom not Free Like a Free Beer, therefore we publish the source code of this app in github so anyone is free to modify, contribute, study the code of our project to make the app running in the way that he/she/or they like or to sell app,,,etc (no license, no copy-right,,,etc).
- As a root open terminal and goto /home/heider/android-studio/bin, and run the following command:
./stduio.sh
- Debian GNU/Linux (highly recommend it) [Download: https://www.debian.org/distrib/]
- Android Studio 3.4 from Android Studio download archives download Version 3.4 Highly recommand it [https://developer.android.com/studio/archive]
- linux: Dependencies & Configure hardware acceleration for the Android Emulator:
sudo apt install qemu-kvm
ls -al /dev/kvm
grep kvm /etc/group
sudo adduser yourname kvm
- Git
aptitude update
apt-get install git-core
git --version
- Sublime
aptitude install sublime-text
- Bluefish editor
aptitude install bluefish
- Libreoffice
aptitude insatll libreoffice
The user can see the catalog of pens offline and add to cart even if there is no internet because all the details are stored locally either using the local Room database or shared preferences. However, to successfully make a payment and make a valid order the user needs the internet connection to connect to the third-party payment processor servers, in our case, Stripe.
We connect to the Stripe api using secure tokenized communication and request for payment charges, done on the server side, and then receive the information back to the client side and display appropriate messages. Shopping cart The user can add to the cart which does not involve an external database connection and so it is completely offline, the user can go to the checkout page and see the list of items added to the cart.
To configure a Google API Console project, click the button "CONFIGURE A PROJECT" [at: https://developers.google.com/identity/sign-in/android/start-integrating] to Configure a project for Google Sign-in, and specify your app's package name when prompted. You will also need to provide the SHA-1 hash of your signing certificate. See Authenticating Your Client for information.
We create Superuser folder (root: ‘sudo su’ then ‘./studio.sh’ or sudo -i then ‘studio.sh’) to run the project, online compiler is off and online Gradle is off .These steps are so important to avoid or at least to minimize the Data-Collection, Spayware, Buggies Android Update and other dirty crape made by Google Devs and Google’s partners.
Start Integrating Google Sign-In into Your Android App Testing The project have a Mock test for add/delete product.
All products, images, transaction, are stored on phpmyadmin outside the android studio
copy/paste the following:
org.gradle.daemon=true
org.gradle.parallel=true
- Remove CVS Integration
- Git Integration
- Subversion Integration
- Gradle: Check: Offline Work
- Compiler Add: --offline
- Go to File > Settings > Editor > File Types and in field Ignore files and folders add this: Thumbs.db;