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) 2007-2008 Esmertec AG. | |
* Copyright (C) 2007-2008 The Android Open Source Project | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* |
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
private void processPickResult(final Intent data) { | |
final Handler handler = new Handler(); | |
ExecutorManager.sInstance.mExecutor.execute(new Runnable() { | |
@Override | |
public void run() { | |
Uri pickedPhoneNumber = data.getData(); | |
Cursor cursor = getContentResolver().query(pickedPhoneNumber, null, null, null, null); | |
try{ | |
if (cursor.moveToFirst()) { | |
final String telephone = cursor.getString(cursor.getColumnIndex(ContactsContract.CommonDataKinds.Phone.DATA1)); |
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.paltalk.chat.utils; | |
import java.util.ArrayList; | |
import org.xmlpull.v1.XmlPullParser; | |
import android.content.res.XmlResourceParser; | |
import android.os.Bundle; | |
import android.support.v4.app.Fragment; | |
import android.support.v4.app.FragmentManager; |
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.project.floatingvideos; | |
import java.util.Random; | |
import android.app.Activity; | |
import android.app.Fragment; | |
import android.app.FragmentManager; | |
import android.app.FragmentTransaction; | |
import android.content.Context; | |
import android.content.res.TypedArray; |
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.project.vegassms.classes; | |
import java.io.File; | |
import java.io.FileInputStream; | |
import java.util.Observable; | |
import java.util.Observer; | |
import android.content.Context; | |
import android.graphics.Bitmap; | |
import android.os.Handler; |
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) 2011 Markus Junginger, greenrobot (http://greenrobot.de) | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
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.project.vegassms.managers; | |
import java.io.File; | |
import java.io.FileOutputStream; | |
import java.io.InputStream; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.List; | |
import android.app.Application; |
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
public Fragment getParentFragmentTwo() { | |
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { | |
return getParentFragment(); | |
} else { | |
View view = getView(); | |
while (view.getParent() != null) { | |
Fragment fragment = getFragmentManager().findFragmentByTag((String) view.getTag()); | |
if (fragment != null) | |
return fragment; | |
view = (View) view.getParent(); |
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.serve.platform.service.support; | |
import java.io.Serializable; | |
import java.util.Arrays; | |
import java.util.LinkedList; | |
import android.os.Parcel; | |
import android.os.Parcelable; | |
public class Extras implements Parcelable { |
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.project.vegassms.helpers; | |
import java.io.Serializable; | |
import java.util.Observable; | |
import android.os.Handler; | |
import android.os.Looper; | |
import com.project.vegassms.Message; | |
OlderNewer