Code

Storyteller | Android Universal Video Sharing App Template

Storyteller | Android Universal Video Sharing App Template














25 May 2018
• Accordingly to the new EU GDPR terms, I've updated the 'tou.html' file and Documentation.
IMPORTANT: This means that if a User asks for his/her Account deletion, you must do it within 24 hours, as the GDPR's "Right to be forgotten" Article states (LINK: https://gdpr-info.eu/art-17-gdpr/)
8 May 2018
• Changed Parse verison in build.gradle into 1.16.0, diue to some issue on the latest Parse SDK and FCM:
    implementation 'com.parse:parse-android:1.16.0'

• Edited 'getUserDetailsFromFB()' method in Login.java, this line of code:
     if (finalEmail == null) { finalEmail = facebookID + "@facebook.com"; }
19 April 2018
*** MAJOR UPDATE ***
• Reskinned the app completely (the xml files)
• Edited the cell_video.xml file
• Replaced AdMob banners code with a line of code that calls Interstitial ads code in the Home.java, Following.java, Account.java, ActivityScreen.java, and OtherUserProfile.hava files | Adjusted the height of the ListViews int their relative xml file
• Changed the AdMob Unit ID string in strings.xml:
     <string name="ADMOB_INTERSTITIAL_UNIT_ID">ca-app-pub-3940256099942544/1033173712</string>

• Added a custom method in Configs.java to show AdMob Interstitial Ads
• Changed the App icon and logo
• Added Followers and Following buttons in other_user_profile.xml | Added a 'queryFollowingAndFollowers()' method in  OtherUserProfile.java
• Added an 'avatarImg.setOnClickListener()' and a 'thumbImg.setOnClickListener()' method in the ListAdapter code in the Home.java and Following.java files | Removed their 'aList.setOnItemClickListener()' instances
• Added a 'ParseUser userObj;' variable and relative code to get a ParseUser in the Follow.java file
• Changed main green color into a custom purple one in Configs.java:
         public static String MAIN_COLOR =  "#d9325d";
17 April 2018
• Added new Firebase dependencies in build.gradle(Module:app)
• Removed the 'com.google.android.gms:play-services:+' implementation and updated all dependencies to the required ones only
• Added the 'google-services' classpath in the dependencies{} list in build.gradle(Project:)
classpath 'com.google.gms:google-services:3.2.1'

• Added this Permission into Manifest.xml:
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />

• Updated the Documentation (connect your App to Firebase for FCM)
15 April 2018
• Updated to Android Studio 3.1.1
• Removed all dependencies of play-services | left only this one in build.gradle:
     implementation 'com.google.android.gms:play-services:+'
11 April 2018
• Updated to Android Studio 3.1
• Updated 'compileSdkVersion' and  'targetSdkVersion' to 27 in build.gradle
• Replaced 'compile' with 'implementation' in build.gradle (Module: app)
• Updated classpath 'com.android.tools.build:gradle:3.1.1' in build.gradle (Project:)
Jan 20th 2018
• Added this line in the dependencies list of build.gradle (Module: app):
    compile 'com.squareup.okhttp3:okhttp:+'


Storyteller is a Universal App Template where you can record a video for a length of max. 20 seconds and post them within the app based on categories (like Comedy, Food, Places, DIY, etc.), share their title and link to social networks, Mail and SMS.
You can follow users to get their latest videos. This app includes a Report inappropriate content feature, replay watched video and Terms of User HTML file.

Since its backend is by Parse you don’t have to buy any domain/hosting, there are NO PHP files to upload to a web server so you’ll save some money for server side.

Storyteller is a native Android Studio project, Java/XML language, Universal, Parse SDK hosted on http://back4app.com, super easy to customize.




About Parse SDK and back4app

Read this article for more info about back4app and Parse SDK: https://hubpages.com/technology/Parse-SDK-will-not-shutdown-in-thanks-to-back4app

Can I host Parse Server on my own server?

Yes, although I don’t provide support for the setup process, you can read the official Guide here: http://parseplatform.org

What about free support for this template?

I can offer free support for bugs encountered in the original code. Instead, if you’ve edited the code and messed something up with it, I may apply some fee to fix it either via TeamViewer or by checking your app project files directly on my computer.

How do I rename the app’s package name?

Read this tutorial to learn how to rename a package name: https://hubpages.com/technology/Android-How-to-rename-an-app-package

Should I use the latest version of Android Studio to edit this template?

Yes, I always update my apps to the latest version of the IDE and you also should make sure you’ve updated the Android Tools to their latest version of the Android SDK manager.

The demo APK crashes on startup

Make sure that the minimum Android version of your device is the one listed in the FEATURES section below. If the problem persists, please contact me through my profile’s contact form and send me the Logcat message of you get when the app crashes along with the steps you made to reproduce the crash. Please note that not all real devices print an error Logcat message, in this case just run the APK into the Android Studio’s emulator and you’ll surely get the red messages about your issue.

How do I remove AdMob interstitial ads?

Use the Fin in path tool in Android Studio and search for:
showInterstitial
Comment the lines of code that the Find in Path tool has found




  • Android Studio 3.x project – Java/XML
  • Universal – Android 5.0+
  • AdMob Interstitial ads
  • Works with Parse SDK hosted on back{4}app
  • Push Notifications for Follows
  • Settings screen with Change Password feature
  • Terms Of use HTML file (to be edited)
  • Report inappropriate/offensive Videos
  • Record videos and post them by choosing a Category and typing a Title.
  • PDF User Guide included
  • PSD icon graphics included
  • Easy to customize, well commented code


  • Apple Mac or Windows PC with their latest OS version installed
  • The latest version of Android Studio and some knowledge about its UI interface
  • Photoshop or any other image editor software
  • A Google Developer account to submit apps to the Play Store
  • An AdMob account to generate your own banner UNIT ID
  • A free account on back4app.com











by
by
by
by
by
by