Skip to content

Instantly share code, notes, and snippets.

View Andrious's full-sized avatar
🏠
Working from home

Andrious Solutions Andrious

🏠
Working from home
View GitHub Profile
@Andrious
Andrious / pubspec.yaml
Created May 11, 2018 19:15
Dependency to MVC git
dependencies:
mvc:
git:
url: git://github.com/AndriousSolutions/mvc.git
@Andrious
Andrious / fragment_banner.xml
Created May 18, 2018 01:32
AdMod Fragment XML
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="com.andrioussolutions.admob.AdModFragment">
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="match_parent"
@Andrious
Andrious / AdMod.java
Last active May 21, 2018 10:12
AdMod Classes
package com.andrioussolutions.admob;
import com.google.android.gms.ads.AdListener;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;
import com.google.android.gms.ads.MobileAds;
import com.andrioussolutions.frmwrk.App;
import android.Manifest;
@Andrious
Andrious / main.dart
Last active July 27, 2019 17:23
AdMob in Flutter Example
import 'package:flutter/material.dart';
import 'package:ads/ads.dart';
// You can also test with your own ad unit IDs by registering your device as a
// test device. Check the logs for your device's ID value.
const String testDevice = 'Samsung_Galaxy_SII_API_26:5554';
class MyApp extends StatefulWidget {
@override
_MyAppState createState() => new _MyAppState();
@Andrious
Andrious / ads.yaml
Last active March 14, 2019 22:19
pubspec.yaml for Ads library
dependencies:
flutter:
sdk: flutter
ads:
@Andrious
Andrious / pubspec.yaml
Created June 5, 2018 16:22
yaml file for the Prefs Class Library
dependencies:
flutter:
sdk: flutter
prefs:
git:
url: git://github.com/AndriousSolutions/prefs.git
@Andrious
Andrious / employee.dart
Last active September 27, 2020 17:08
SQFlite Database in Flutter Example: main.dart, employee.dart
import 'dart:async';
import 'package:sqflite/sqflite.dart';
import 'package:dbutils/sqllitedb.dart';
class Employee extends DBInterface{
factory Employee(){
@Andrious
Andrious / pubspec.yaml
Created June 20, 2018 14:28
pubspec.yaml for dbutils
dependencies:
flutter:
sdk: flutter
dbutils:
git:
url: git://github.com/AndriousSolutions/dbutils.git
@Andrious
Andrious / main.dart
Created July 2, 2018 20:17
authentication app sample
import 'dart:async';
import 'dart:convert' show json;
import "package:http/http.dart" as http;
import 'package:flutter/material.dart';
import 'package:google_sign_in/google_sign_in.dart';
import 'package:auth/Auth.dart';
dependencies:
flutter:
sdk: flutter
auth:
git:
url: git://github.com/AndriousSolutions/auth.git