This file contains 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
11-25 17:05:08.132 16572-16572/com.tcttv.tcttv D/ZZZActivityPlayLiveStream: Play live stream live stream goes here | |
11-25 17:05:08.216 16572-16572/com.tcttv.tcttv I/BrightcoveVideoView: init | |
11-25 17:05:08.216 16572-16572/com.tcttv.tcttv I/BaseVideoView: init | |
11-25 17:05:08.218 16572-16572/com.tcttv.tcttv I/VideoPlaybackController: Initializing VideoPlaybackController | |
11-25 17:05:08.222 16572-16572/com.tcttv.tcttv D/BrightcovePluginManager: BrightcovePluginManager: git commit SHA: + b7bfa91f3217b81bb682def4916ddf052e85d5cb, release: 4.6.4 | |
11-25 17:05:08.222 16572-16572/com.tcttv.tcttv I/BrightcovePluginManager: Crashlytics was not found. Logging to console only. | |
11-25 17:05:08.222 16572-16572/com.tcttv.tcttv D/BrightcovePluginManager: crashlyticsLog: Git Commit SHA: b7bfa91f3217b81bb682def4916ddf052e85d5cb | |
11-25 17:05:08.222 16572-16572/com.tcttv.tcttv D/BrightcovePluginManager: crashlyticsLog: Release Number: 4.6.4 | |
11-25 17:05:08.228 16572-16572/com.tcttv.tcttv V/BaseVideoView: setLayoutParams: android.widget |
This file contains 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
private void sendMmsToContact(C destinationContact) { | |
File vcfFile = null; | |
try { | |
vcfFile = new File(this.getExternalCacheDir(), destinationContact.getName().replaceAll(" ", "") + ".vcf"); | |
FileWriter fw = new FileWriter(vcfFile); | |
fw.write("BEGIN:VCARD\r\n"); | |
fw.write("VERSION:3.0\r\n"); | |
fw.write("N:" + "Lustig" + ";" + "Michael" + "\r\n"); |
This file contains 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
05-14 09:33:53.835 17733-17733/vcard.vcardsend E/AndroidRuntime: FATAL EXCEPTION: main | |
Process: vcard.vcardsend, PID: 17733 | |
java.lang.RuntimeException: Unable to start activity ComponentInfo{vcard.vcardsend/vcard.vcardsend.MainActivity}: android.content.ActivityNotFoundException: No Activity found to handle Intent { act=android.intent.action.SEND typ=text/x-vcard flg=0x1 pkg=com.android.mms VirtualScreenParam=Params{mDisplayId=-1, null, mFlags=0x00000000)} clip={text/x-vcard U:file:///storage/emulated/0/Michael.vcf} (has extras) } | |
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3253) | |
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3349) | |
This file contains 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
ed. It will be visible. | |
06-09 21:16:27.636 2583-2583/com.tcttv.tv.android D/BrightcoveMediaController: Setting visibility on view: (android.widget.TextView{d8ec2c V.ED..... ........ 139,24-187,61 #7f130006 app:id/current_time}) to 0. | |
06-09 21:16:27.636 2583-2583/com.tcttv.tv.android D/BrightcoveMediaController: Setting visibility on view: (android.widget.TextView{a5a26f5 V.ED..... ........ 205,24-253,61 #7f130007 app:id/end_time}) to 0. | |
06-09 21:16:27.636 2583-2583/com.tcttv.tv.android D/BrightcoveMediaController: The controller with id: 7f130008 is is not null. | |
06-09 21:16:27.636 2583-2583/com.tcttv.tv.android D/BrightcoveMediaController: Setting visibility on view: (android.widget.Button{6bf6c8a VFED..C.. ......ID 1205,11-1269,75 #7f130008 app:id/full_screen}) to 0. | |
06-09 21:16:27.636 2583-2583/com.tcttv.tv.android D/BrightcoveMediaController: The controller with id: 7f13001b is is not null. | |
06-09 21:16:27.636 2583-2583/com.tcttv.tv.android V/LiveButtonController: getVisibilityState: isLive = false | |
06-09 2 |
This file contains 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
mlustig-macbookpro:ud851-Sunshine mlustig$ git b | |
* master | |
mlustig-macbookpro:ud851-Sunshine mlustig$ git checkout sunshine-clean-history | |
Branch sunshine-clean-history set up to track remote branch sunshine-clean-history from origin. | |
Switched to a new branch 'sunshine-clean-history' | |
mlustig-macbookpro:ud851-Sunshine mlustig$ git checkout --orphan student | |
Switched to a new branch 'student' | |
mlustig-macbookpro:ud851-Sunshine mlustig$ git branch -m sunshine-clean-history develop | |
mlustig-macbookpro:ud851-Sunshine mlustig$ git b | |
develop |
This file contains 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
public static String getResponseFromHttpUrl(URL url) throws IOException { | |
HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); | |
try { | |
InputStream in = urlConnection.getInputStream(); | |
Scanner scanner = new Scanner(in); | |
scanner.useDelimiter("\\A"); | |
boolean hasInput = scanner.hasNext(); | |
if (hasInput) { |
This file contains 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.mlustig.bctcttest; | |
import android.os.Bundle; | |
import android.util.Log; | |
import android.view.View; | |
import com.brightcove.player.edge.Catalog; | |
import com.brightcove.player.edge.VideoListener; | |
import com.brightcove.player.event.Event; | |
import com.brightcove.player.event.EventEmitter; |
This file contains 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
Github: | |
https://github.com/lustigdev | |
StackOverflow: | |
http://stackoverflow.com/users/2441420/lustig | |
LinkedIn: | |
https://www.linkedin.com/in/michaellustig | |
Twitter: |
This file contains 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
public static Client buildOkHttpClient(boolean cacheEnable) { | |
Cache cache = null; | |
OkHttpClient client = new OkHttpClient(); | |
if (cacheEnable) { | |
File cacheDirectory = new File(MainApplication.getInstance().getCacheDir().getAbsolutePath(), "HttpCache"); | |
try { | |
cache = new Cache(cacheDirectory, CACHE_SIZE); | |
} catch (IOException e) { | |
e.printStackTrace(); | |
} |
This file contains 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
[alias] | |
s = status | |
lo = log --oneline | |
b = branch | |
cano = commit --amend --no-edit | |
continue = rebase --continue | |
r = rebase --root -i | |
edit = rebase --edit-todo | |
c = commit -m | |
a = add . |
OlderNewer