This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.scottyab.encryption; | |
| /* | |
| * This software is provided 'as-is', without any express or implied | |
| * warranty. In no event will Google be held liable for any damages | |
| * arising from the use of this software. | |
| * | |
| * Permission is granted to anyone to use this software for any purpose, | |
| * including commercial applications, and to alter it and redistribute it | |
| * freely, as long as the origin is not misrepresented. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import android.media.MediaPlayer; | |
| import android.media.MediaPlayer.OnCompletionListener; | |
| import android.media.MediaPlayer.OnErrorListener; | |
| import android.media.MediaPlayer.OnPreparedListener; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.view.ViewGroup.LayoutParams; | |
| import android.webkit.WebChromeClient; | |
| import android.widget.FrameLayout; | |
| import android.widget.VideoView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby | |
| # based on https://github.com/tmurakam/cashflow/blob/0a01ac9e0350dfb04979986444244f8daf4cb5a8/android/convertStrings.rb | |
| # support comments and Converter such as "%@", "%d", "%0.1f"... | |
| # in your directory : ./main.rb Localizable.strings | |
| file = File.open("strings.xml", "w"); | |
| file.puts "<?xml version=\"1.0\" encoding=\"utf-8\"?>" | |
| file.puts "<resources>" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!-- | |
| // | |
| // Copyright (c) Microsoft Corporation. All Rights Reserved. | |
| // | |
| --> | |
| <ResourceDictionary | |
| xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" | |
| xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> | |
| <ResourceDictionary.ThemeDictionaries> |