Quotes Offline – Android App with Admob, GDPR, and Firebase Review
As a developer looking for a versatile and user-friendly Android app to build, I was thrilled to come across Quotes Offline, a multipurpose quotes app with offline database capabilities. Developed by Accuspot Software, this app is designed to provide users with a collection of motivational quotes and sayings across various domains and categories.
Ease of Reskin
One of the standout features of Quotes Offline is its ease of reskin. The app is optimized for easy configuration, and detailed documentation is provided to help developers get started quickly. This makes it an ideal choice for those who want to customize the app to fit their brand or requirements.
Offline Database
The app stores quotes in a SQLite database, allowing for easy editing and improved performance. This offline storage feature ensures that users can access quotes even without an internet connection, making it a great option for users who need inspiration on-the-go.
Features and Functionality
Quotes Offline comes with a range of features that make it an excellent choice for users:
- Unlimited categories and quotes
- Enhanced offline search facilities
- Favorite list to bookmark topics
- Quotes sharing and copying facilities
- PUSH notification integration with Firebase
- Material color theme
- Detailed documentation
- Offline SQLite database
- GDPR compliance
What You Get
The app comes with a full Android Studio source code, detailed documentation, and PSD design files, making it easy to modify and customize the app to suit your needs.
Change Log
The developer has kept the app updated with the latest changes, including:
- Made application GDPR compliant
- Updated source code with the latest Android version
- Fixed back stack issue
- Updated minor UI design
- Fixed search-related issue
Score: 5/5
Overall, I highly recommend Quotes Offline to anyone looking for a reliable and feature-rich Android app for motivational quotes and sayings. Its ease of reskin, offline database capabilities, and comprehensive features make it an excellent choice for developers and users alike.
Rating: 5/5
User Reviews
Be the first to review “Quotes Offline – Android App with Admob GDPR and Firebase”
Introduction
As a developer, you may have come across the need to integrate a quotes offline android app with Admob GDPR and Firebase. This tutorial will guide you through the process of creating a quotes offline android app that integrates Admob GDPR and Firebase.
What is Admob GDPR?
Admob GDPR is a compliance module that helps you comply with the General Data Protection Regulation (GDPR) when using Admob, a popular mobile advertising platform. GDPR is a regulation that requires app developers to obtain explicit consent from users before collecting and processing their personal data.
What is Firebase?
Firebase is a cloud-based platform that provides a range of services for building and scaling mobile apps. It includes services such as Firebase Analytics, Firebase Crashlytics, and Firebase Authentication.
What is Quotes Offline Android App?
Quotes Offline Android App is a mobile app that stores quotes in offline mode. This means that users can access the quotes even when they are offline or without an internet connection.
Tutorial: Creating a Quotes Offline Android App with Admob GDPR and Firebase
Step 1: Create a new Android Project
- Open Android Studio and create a new project.
- Choose "Empty Activity" as the project template.
- Name your project "Quotes Offline" and choose a location to save it.
Step 2: Add Admob GDPR to your Project
- Add the Admob SDK to your project by adding the following lines to your app-level build.gradle file:
dependencies { implementation 'com.google.android.gms:play-services-ads:20.3.0' implementation 'com.google.android.gms:play-services-gdpr:20.3.0' }
- Add the following lines to your app's AndroidManifest.xml file:
<application> <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="YOUR_APP_ID"/> <meta-data android:name="com.google.android.gms.ads.DEMOGRAPHICS_LIMITS" android:value="YES"/> </application>
- Replace "YOUR_APP_ID" with your actual Admob app ID.
Step 3: Add Firebase to your Project
- Add the Firebase SDK to your project by adding the following lines to your app-level build.gradle file:
dependencies { implementation 'com.google.firebase:firebase-core:21.0.2' implementation 'com.google.firebase:firebase-analytics:21.0.2' }
- Add the following lines to your app's AndroidManifest.xml file:
<application> <meta-data android:name="firebase_analytics_collection_deactivated" android:value="false"/> </application>
-
Initialize Firebase in your app by adding the following code to your app's main activity:
FirebaseApp.initializeApp(this);
Step 4: Add Quotes Offline Feature
-
Create a new class called "Quote" to represent a quote:
public class Quote { private String text; private String author; public Quote(String text, String author) { this.text = text; this.author = author; } public String getText() { return text; } public String getAuthor() { return author; } }
-
Create a new class called "QuoteDatabase" to manage the quotes:
public class QuoteDatabase { private SQLiteDatabase db; public QuoteDatabase(Context context) { db = new SQLiteOpenHelper(context, "quotes.db", null, 1).getWritableDatabase(); } public void addQuote(Quote quote) { db.execSQL("INSERT INTO quotes (text, author) VALUES (?,?)", new Object[]{quote.getText(), quote.getAuthor()}); } public List<Quote> getQuotes() { List<Quote> quotes = new ArrayList<>(); Cursor cursor = db.rawQuery("SELECT * FROM quotes", null); while (cursor.moveToNext()) { Quote quote = new Quote(cursor.getString(1), cursor.getString(2)); quotes.add(quote); } cursor.close(); return quotes; } }
-
Create a new class called "MainActivity" to display the quotes:
public class MainActivity extends AppCompatActivity { private QuoteDatabase quoteDatabase; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main); quoteDatabase = new QuoteDatabase(this); List<Quote> quotes = quoteDatabase.getQuotes(); RecyclerView recyclerView = findViewById(R.id.recycler_view); recyclerView.setAdapter(new QuoteAdapter(quotes)); } }
Step 5: Integrate Admob GDPR with Firebase
-
Create a new class called "AdmobGDPR" to integrate Admob GDPR with Firebase:
public class AdmobGDPR { private FirebaseAnalytics firebaseAnalytics; private AdRequest adRequest; public AdmobGDPR(Context context) { firebaseAnalytics = FirebaseAnalytics.getInstance(context); adRequest = new AdRequest.Builder().build(); } public void requestAd() { firebaseAnalytics.logEvent("ad_request", new Bundle()); AdView adView = findViewById(R.id.ad_view); adView.loadAd(adRequest); } public void showAd() { AdView adView = findViewById(R.id.ad_view); adView.setVisibility(View.VISIBLE); } }
- Initialize Admob GDPR in your app's main activity:
AdmobGDPR admobGDPR = new AdmobGDPR(this);
- Request an ad in your app's main activity:
admobGDPR.requestAd();
-
Show the ad in your app's main activity:
admobGDPR.showAd();
Step 6: Run the App
- Run the app on a physical device or emulator.
- The app should display the quotes offline and show ads when requested.
That's it! You have now created a quotes offline android app with Admob GDPR and Firebase.
Here is an example of how to configure the Quotes Offline – Android App with Admob GDPR and Firebase:
Admob Configuration
To configure Admob, follow these steps:
- Go to the Admob dashboard and create a new app.
- Get the Admob App ID and Admob Ad Unit ID.
- In your AndroidManifest.xml file, add the following lines:
<meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version" /> <meta-data android:name="com.google.android.gms.ads.APPLICATION_ID" android:value="YOUR_ADMOB_APP_ID" />
Replace
YOUR_ADMOB_APP_ID
with your actual Admob App ID.
GDPR Configuration
To configure GDPR, follow these steps:
- In your app's build.gradle file, add the following lines:
dependencies { implementation 'com.google.firebase:firebase-core:18.0.0' implementation 'com.google.firebase:firebase-analytics:18.0.0' implementation 'com.google.firebase:firebase-firestore:22.2.0' }
- In your app's AndroidManifest.xml file, add the following lines:
<uses-permission android:name="android.permission.INTERNET" /> <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
- Create a new file called
gdpr.json
in your app's assets directory with the following content:{ "gdpr": { "consent": "YOUR_CONSENT_TEXT" } }
Replace
YOUR_CONSENT_TEXT
with your actual consent text.
Firebase Configuration
To configure Firebase, follow these steps:
- Go to the Firebase console and create a new project.
-
Get the Firebase Android SDK configuration:
<application> <meta-data android:name="com.google.firebase.messaging.FCM_PLUGIN_CONFIGURATION" android:value="@string/fcm_plugin_configuration" /> </application>
Replace
@string/fcm_plugin_configuration
with the actual Firebase configuration. - In your app's build.gradle file, add the following lines:
dependencies { implementation 'com.google.firebase:firebase-core:18.0.0' implementation 'com.google.firebase:firebase-messaging:22.0.0' }
- In your app's AndroidManifest.xml file, add the following lines:
<service android:name="com.google.firebase.messaging.FirebaseMessagingService" android:enabled="true" android:exported="true" />
Note: Make sure to replace
YOUR_ADMOB_APP_ID
with your actual Admob App ID andYOUR_CONSENT_TEXT
with your actual consent text.
Here are the featured of the "Quotes Offline – Android App with Admob GDPR and Firebase":
-
No Programming needed: Easy to set up and configure the app without coding knowledge.
-
Unlimited categories: The app can accommodate an unlimited number of categories for quotes.
-
Unlimited Quotes: The app can store and display an unlimited number of quotes.
-
Enhanced offline search facilities: Users can search for quotes even when the device is offline.
-
Favorite List to Bookmark Topics: Users can mark their favorite quotes for later reference.
-
Quotes of Sharing Facilities: Users can share quotes through various platforms (e.g. social media, SMS, email).
-
Quotes Copy Facilities: Users can copy quotes directly from the app.
-
PUSH Notification with Firebase: The app uses Firebase to send push notifications to users.
-
Material Color theme: The app features a Material Design theme.
-
Enhanced documentation: Detailed documentation is provided for easy configuration.
-
Offline SQLite Database: The app uses SQLite database for offline data storage.
- GDPR Compatible: The app is compliant with General Data Protection Regulation (GDPR) standards.
$18.00
There are no reviews yet.