Skip to content

Instantly share code, notes, and snippets.

View AndroidManifest
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="in.couponsanddeals.bina">
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
View MainActivity
[java]
package com.example.first;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;
public class MainActivity extends AppCompatActivity {
View activity_main
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/activity_main"
android:layout_width="match_parent"
View faq schema
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "FAQPage",
"mainEntity": [{
"@type": "Question",
"name": "INSERT QUESTION TEXT HERE",
"acceptedAnswer": {
"@type": "Answer",
"text": "INSERT ANSWER TEXT HERE"
View organization schema
<script type="application/ld+json">
{ "@context": "https://schema.org",
"@type": "Organization",
"name": "Example Strategies",
"legalName" : "Example Strategies Llc",
"url": "http://www.example.com",
"logo": "http://example.com/logo.png",
"foundingDate": "2009",
"founders": [
{
View restaurant schema
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Restaurant",
"name": "Roys Tavern",
"image": "https://example.com/photos/1x1/photo.jpg",
"address": {
"@type": "PostalAddress",
"streetAddress": "900 Linton Blvd",
"addressLocality": "Delray Beach",
View application schema
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "Angry Birds",
"operatingSystem": "ANDROID",
"applicationCategory": "https://schema.org/GameApplication",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.6",
View book schema
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Book",
"name": "The Title of Book",
"author": {
"@type":"Person",
"name":"Author Name"
},
"url" : "http://www.example.com/book",
View local business schema
<script type="application/ld+json">
{
"@context" : "http://schema.org",
"@type" : "LocalBusiness",
"name" : "Pen Company",
"image" : "https://yoursite.com/pen.png",
"telephone" : "012456789",
"email" : "example@example.com",
"address" : {
"@type" : "PostalAddress",
View event schema
{
"@context": "https://schema.org",
"@type": "Event",
"name": "Jan Lieberman Concert Series: Journey in Jazz",
"startDate": "2025-01-01T19:30",
"endDate": "2025-01-01T23:00",
"location": {
"@type": "Place",
"name": "Santa Clara City Library, Central Park Library",
"address": {
You can’t perform that action at this time.