第四天.崩潰日志采集

嘿,今天的你過(guò)的還好嗎

這項(xiàng)目完事了.總有你不知道為啥就崩潰的情況.那你崩潰了你得知道情況吧.給測(cè)試看.給你自己看.你是不是得知道因?yàn)樯侗罎⒘?所以就需要崩潰采集.思路是.你崩潰了采集一下log就ok了
那么思路有了.
需要一個(gè)文件讀寫(xiě)的權(quán)限.如果沒(méi)有的話(huà)就沒(méi)有存儲(chǔ)唄.那就得把這個(gè)報(bào)錯(cuò)顯示出來(lái),權(quán)限然后需要服務(wù).當(dāng)知道崩潰了需要知道你什么時(shí)候崩潰了.第三個(gè)就是崩潰了把最近的崩潰日志記錄下來(lái).如此結(jié)束

image.png

用了兩個(gè)Server來(lái)保證能抓到崩潰

package com.example.kotlinbasemodel.logutil;


import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Binder;
import android.os.Build;
import android.os.IBinder;
import android.os.RemoteException;

import androidx.core.app.NotificationCompat;

import com.blankj.utilcode.util.AppUtils;
import com.example.kotlinbasemodel.R;


public class Service1 extends Service {
    private final static int NOTIFY_ID = 101;
    Notification notification;
    NotificationManager manager;

    @Override
    public void onCreate() {
        super.onCreate();
//        LogUtil.leoricLog("Service1 onCreate");
//        saveRuntimeLog("Service1 onCreate");
//        showForegroundNotification(this,LAUNCHER_NAME);

//        startService(new Intent(Service1.this,Service2.class));
//        bindService(new Intent(Service1.this,Service2.class),connection, Context.BIND_ABOVE_CLIENT);
//

    }

    @Override
    public IBinder onBind(Intent intent) {
//        saveRuntimeLog("Service1 onBind");
        return new Binder();
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
//        LogUtil.leoricLog("Service1 onStartCommand");
//        saveRuntimeLog("Service1 onStartCommand");
//        showNotification();
//        startForeground(NOTIFY_ID, notification);

//        MyApplication.startSocketService(this);
//        return super.onStartCommand(intent, flags, startId);
        return Service.START_NOT_STICKY;
    }

    private final ServiceConnection connection = new ServiceConnection() {
        @Override
        public void onServiceDisconnected(ComponentName name) {
//            saveRuntimeLog("Service1與Service2斷連");
            startService(new Intent(Service1.this, Service2.class));
            bindService(new Intent(Service1.this, Service2.class), connection, Context.BIND_ABOVE_CLIENT);
        }

        @Override
        public void onServiceConnected(ComponentName name, IBinder service) {
//            saveRuntimeLog("Service1與Service2連接");
            try {
                service.linkToDeath(mDeathRecipient, 0);
            } catch (RemoteException e) {
                e.printStackTrace();
            }
        }
    };

    private IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() {

        @Override
        public void binderDied() {
//            saveRuntimeLog("Service1 binderDied");
        }
    };

    @Override
    public void onDestroy() {
        super.onDestroy();
//        LogUtil.leoricLog("Service1 onDestroy");
//        saveRuntimeLog("Service1 onDestroy");
    }

    private void showNotification() {
        manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);
        String packageName = AppUtils.getAppPackageName();
        String className = "com.zwl.moduletest.activity.TestBaseActivity";
        ComponentName component = new ComponentName(packageName, className);
        Intent explicitIntent = new Intent();
        explicitIntent.setComponent(component);
//                    startActivity(explicitIntent);
//        Intent hangIntent = new Intent(this, MainActivity.class);

        PendingIntent hangPendingIntent = null;
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
            hangPendingIntent = PendingIntent.getActivity(this, 1002, explicitIntent, PendingIntent.FLAG_UPDATE_CURRENT|PendingIntent.FLAG_IMMUTABLE);
        }else {
            hangPendingIntent = PendingIntent.getActivity(this, 1002, explicitIntent, PendingIntent.FLAG_UPDATE_CURRENT);
        }

        String CHANNEL_ID = "your_custom_id";//應(yīng)用頻道Id唯一值铝噩, 長(zhǎng)度若太長(zhǎng)可能會(huì)被截?cái)啵?        String CHANNEL_NAME = "your_custom_name";//最長(zhǎng)40個(gè)字符,太長(zhǎng)會(huì)被截?cái)?        notification = new NotificationCompat.Builder(this, CHANNEL_ID)
                .setContentTitle("appService1通知Title")
                .setContentText("appService1通知Content")
                .setSmallIcon(R.mipmap.ic_launcher)
                .setContentIntent(hangPendingIntent)
                .setAutoCancel(true)
                .build();

        //Android 8.0 以上需包添加渠道
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
            NotificationChannel notificationChannel = new NotificationChannel(CHANNEL_ID,
                    CHANNEL_NAME, NotificationManager.IMPORTANCE_HIGH);
            manager.createNotificationChannel(notificationChannel);
        }

        manager.notify(NOTIFY_ID, notification);
    }
}

package com.example.kotlinbasemodel.logutil;

//package com.example.kotlinbasemodel.logutil;

import android.app.Notification;
import android.app.NotificationChannel;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
import android.content.ServiceConnection;
import android.os.Binder;
import android.os.Build;
import android.os.IBinder;
import android.os.RemoteException;

import androidx.core.app.NotificationCompat;

import com.blankj.utilcode.util.AppUtils;
import com.example.kotlinbasemodel.R;
import com.example.kotlinbasemodel.logutil.Service1;

//import me.weishu.leoric.LogUtil;

public class Service2 extends Service{
    private final static int NOTIFY_ID = 100;
    Notification notification;
    NotificationManager manager;

    @Override
    public void onCreate() {
        super.onCreate();
//        LogUtil.leoricLog("appService2 onCreate");
//        saveRuntimeLog("appService2 onCreate");
//        showForegroundNotification(this,LAUNCHER_NAME);

//        startService(new Intent(Service2.this,Service1.class));
//        bindService(new Intent(Service2.this,Service1.class),connection, Context.BIND_ABOVE_CLIENT);

//        MyApplication.startSocketService(this);
    }

    @Override
    public IBinder onBind(Intent intent) {
//        saveRuntimeLog("Service2 onBind");
        //此處不返回不會(huì)調(diào)用onServiceConnected
        return new Binder();
    }

    @Override
    public int onStartCommand(Intent intent, int flags, int startId) {
//        LogUtil.leoricLog("Service2 onStartCommand");
//        saveRuntimeLog("Service2 onStartCommand");
//        showNotification();
//        startForeground(NOTIFY_ID,notification);
        return Service.START_NOT_STICKY;
//        return super.onStartCommand(intent, flags, startId);
    }

    @Override
    public void onDestroy() {
        super.onDestroy();
//        LogUtil.leoricLog("Service2 onDestroy");
//        saveRuntimeLog("Service2 onDestroy");
    }

    private final ServiceConnection connection = new ServiceConnection() {
        @Override
        public void onServiceDisconnected(ComponentName name) {
//            saveRuntimeLog("Service2與Service1斷連");
            startService(new Intent(Service2.this, Service1.class));
            bindService(new Intent(Service2.this,Service1.class),connection, Context.BIND_ABOVE_CLIENT);
        }
        @Override
        public void onServiceConnected(ComponentName name, IBinder service) {
//            saveRuntimeLog("Service2與Service1連接");
            try {
                service.linkToDeath(mDeathRecipient,0);
            } catch (RemoteException e) {
                e.printStackTrace();
            }
        }
    };

    private IBinder.DeathRecipient mDeathRecipient = new IBinder.DeathRecipient() {

        @Override
        public void binderDied() {
//            saveRuntimeLog("Service2 binderDied");
        }
    };

    private void showNotification() {
        manager = (NotificationManager) getSystemService(NOTIFICATION_SERVICE);

        String className = "com.zwl.moduletest.activity.TestBaseActivity";
        String packageName = AppUtils.getAppPackageName();
        ComponentName component = new ComponentName(packageName, className);
        Intent explicitIntent =new Intent();
        explicitIntent.setComponent(component);
//        Intent hangIntent = new Intent(this, MainActivity.class);

        PendingIntent hangPendingIntent = null;
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
            hangPendingIntent = PendingIntent.getActivity(this, 1001, explicitIntent, PendingIntent.FLAG_UPDATE_CURRENT|PendingIntent.FLAG_IMMUTABLE);
        }else {
            hangPendingIntent = PendingIntent.getActivity(this, 1001, explicitIntent, PendingIntent.FLAG_UPDATE_CURRENT);
        }

        String CHANNEL_ID = "your_custom_id";//應(yīng)用頻道Id唯一值苛吱, 長(zhǎng)度若太長(zhǎng)可能會(huì)被截?cái)啵?        String CHANNEL_NAME = "your_custom_name";//最長(zhǎng)40個(gè)字符疮方,太長(zhǎng)會(huì)被截?cái)?        notification = new NotificationCompat.Builder(this, CHANNEL_ID)
                .setContentTitle("appService2通知Title")
                .setContentText("appService2通知Content")
                .setSmallIcon(R.mipmap.ic_launcher)
                .setContentIntent(hangPendingIntent)
                .setAutoCancel(true)
                .build();

        //Android 8.0 以上需包添加渠道
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
            NotificationChannel notificationChannel = new NotificationChannel(CHANNEL_ID,
                    CHANNEL_NAME, NotificationManager.IMPORTANCE_HIGH);
            manager.createNotificationChannel(notificationChannel);
        }

        manager.notify(NOTIFY_ID, notification);
    }
}

然后去抓包.收集錯(cuò)誤日志.顯示出來(lái)


package com.example.kotlinbasemodel.logutil

import android.app.Activity
import android.app.Application
import android.app.Application.ActivityLifecycleCallbacks
import android.content.Context
import android.content.Intent
import android.content.pm.PackageManager
import android.os.Build
import android.os.Bundle
import com.example.kotlinbasemodel.logutil.AppTool.Companion.getAppName
import com.example.kotlinbasemodel.logutil.AppTool.Companion.getDeviceModelName
import com.example.kotlinbasemodel.logutil.AppTool.Companion.getPackageName
import com.example.kotlinbasemodel.logutil.AppTool.Companion.getVersionName
import com.example.kotlinbasemodel.logutil.AppTool.Companion.killCurrentProcess
import java.io.PrintWriter
import java.io.StringWriter
import java.lang.ref.WeakReference
import java.text.DateFormat
import java.text.SimpleDateFormat
import java.util.*
import java.util.zip.ZipFile

class Anomalous {
    companion object {
        private const val INTENT_ACTION_RESTART_ACTIVITY = "RESTART";

        private const val EXTRA_STACK_TRACE =
            "EXTRA_STACK_TRACE"
        private const val EXTRA_ACTIVITY_LOG =
            "EXTRA_ACTIVITY_LOG"
        private const val MAX_STACK_TRACE_SIZE = 131071 //128 KB - 1
        private const val MIN_SHOW_CRASH_INTERVAL = 3000

        private const val MAX_ACTIVITIES_IN_LOG = 50
        private const val INTENT_ACTION_ERROR_ACTIVITY = "com.zwl.anomalous.ERROR"

        //Shared preferences
        private const val SHARED_PREFERENCES_FILE = "TCrashTool"
        private const val SHARED_PREFERENCES_FIELD_TIMESTAMP = "last_crash_timestamp"
        private val activityLog =
            LimitArrayDeque<String>(
                MAX_ACTIVITIES_IN_LOG
            )
        private var lastActivityCreated = WeakReference<Activity?>(null)

        @JvmStatic
        fun install(context: Context) {
            val oldHandler = Thread.getDefaultUncaughtExceptionHandler()
            Thread.setDefaultUncaughtExceptionHandler { t, e ->
                if (oldHandler != null && !oldHandler.javaClass.name.startsWith(javaClass.name)) {
//                if (!hasCrashedInTheLastSeconds(context.applicationContext)) {
//                    setLastCrashTimestamp(
//                        context.applicationContext,
//                        Date().time
//                    )
                    var errorActivityClass = guessErrorActivityClass(context.applicationContext)

                    val intent = Intent(context.applicationContext, errorActivityClass)
                    val sw = StringWriter()
                    val pw = PrintWriter(sw)
                    e.printStackTrace(pw)
                    var stackTraceString = sw.toString()

                    //Reduce data to 128KB so we don't get a TransactionTooLargeException when sending the intent.
                    //The limit is 1MB on Android but some devices seem to have it lower.
                    //See: http://developer.android.com/reference/android/os/TransactionTooLargeException.html
                    //And: http://stackoverflow.com/questions/11451393/what-to-do-on-transactiontoolargeexception#comment46697371_12809171
                    if (stackTraceString.length > MAX_STACK_TRACE_SIZE) {
                        val disclaimer = " [stack trace too large]"
                        stackTraceString = stackTraceString.substring(
                            0,
                            MAX_STACK_TRACE_SIZE - disclaimer.length
                        ) + disclaimer
                    }
                    intent.putExtra(
                        EXTRA_STACK_TRACE,
                        stackTraceString
                    )
                    val activityLogStringBuilder = StringBuilder()
                    while (!activityLog.isEmpty()) {
                        activityLogStringBuilder.append(activityLog.poll())
                    }
                    intent.putExtra(
                        EXTRA_ACTIVITY_LOG,
                        activityLogStringBuilder.toString()
                    )

                    getAllErrorDetailsFromIntent(
                        context.applicationContext,
                        intent
                    )?.let {
                    }

                    intent.flags =
                        Intent.FLAG_ACTIVITY_NEW_TASK or Intent.FLAG_ACTIVITY_CLEAR_TASK
                    context.startActivity(intent)

                    val lastActivity: Activity? = lastActivityCreated.get()
                    if (lastActivity != null) {
                        //We finish the activity, this solves a bug which causes infinite recursion.
                        //See: https://github.com/ACRA/acra/issues/42
                        lastActivity.finish()
                        lastActivityCreated.clear()
                    }
                    //com.android.internal.os.RuntimeInit$UncaughtHandler
                    if (!oldHandler.javaClass.name.startsWith("com.android.internal.os.RuntimeInit")) {
                        oldHandler.uncaughtException(t, e)
                    } else {
//                        e.printStackTrace()
                        killCurrentProcess()
                    }
//                } else {
//                    oldHandler.uncaughtException(t, e)
//                }
                } else {
                    oldHandler?.uncaughtException(t, e)
                }
            }
            (context.applicationContext as Application).registerActivityLifecycleCallbacks(
                object : ActivityLifecycleCallbacks {
                    val dateFormat: DateFormat =
                        SimpleDateFormat("yyyy-MM-dd HH:mm:ss", Locale.CHINA)
                    var currentlyStartedActivities = 0
                    override fun onActivityCreated(
                        activity: Activity,
                        savedInstanceState: Bundle?
                    ) {
                        if (activity.javaClass != getErrorActivityClassWithIntentFilter(context.applicationContext)) {
                            // Copied from ACRA:
                            // Ignore activityClass because we want the last
                            // application Activity that was started so that we can
                            // explicitly kill it off.
                            lastActivityCreated = WeakReference(activity)
                        }
                        activityLog.add(
                            """${dateFormat.format(Date())}: ${activity.javaClass.simpleName} created
"""
                        )
                    }

                    override fun onActivityStarted(activity: Activity) {
                        currentlyStartedActivities++
                    }

                    override fun onActivityResumed(activity: Activity) {
                        activityLog.add(
                            """${dateFormat.format(Date())}: ${activity.javaClass.simpleName} resumed
"""
                        )
                    }

                    override fun onActivityPaused(activity: Activity) {
                        activityLog.add(
                            """${dateFormat.format(Date())}: ${activity.javaClass.simpleName} paused
"""
                        )
                    }

                    override fun onActivityStopped(activity: Activity) {
                        //Do nothing
                        currentlyStartedActivities--
                    }

                    override fun onActivitySaveInstanceState(activity: Activity, outState: Bundle) {
                        //Do nothing
                    }

                    override fun onActivityDestroyed(activity: Activity) {
                        activityLog.add(
                            """${dateFormat.format(Date())}: ${activity.javaClass.simpleName} destroyed
"""
                        )
                    }
                })
        }

        private fun hasCrashedInTheLastSeconds(context: Context): Boolean {
            val lastTimestamp: Long = getLastCrashTimestamp(context)
            val currentTimestamp = Date().time
            return lastTimestamp <= currentTimestamp && currentTimestamp - lastTimestamp < MIN_SHOW_CRASH_INTERVAL
        }

        private fun getLastCrashTimestamp(context: Context): Long {
            return context.getSharedPreferences(
                SHARED_PREFERENCES_FILE,
                Context.MODE_PRIVATE
            ).getLong(SHARED_PREFERENCES_FIELD_TIMESTAMP, -1)
        }

        private fun setLastCrashTimestamp(context: Context, timestamp: Long) {
            context.getSharedPreferences(SHARED_PREFERENCES_FILE, Context.MODE_PRIVATE)
                .edit()
                .putLong(SHARED_PREFERENCES_FIELD_TIMESTAMP, timestamp)
                .commit()
        }

        private fun guessErrorActivityClass(context: Context): Class<out Activity?> {
            var resolvedActivityClass: Class<out Activity?>?

            //If action is defined, use that
            resolvedActivityClass = getErrorActivityClassWithIntentFilter(context)

            //Else, get the default error activity
            if (resolvedActivityClass == null) {
                resolvedActivityClass = AnomalousActivity::class.java
            }
            return resolvedActivityClass
        }

        private fun getErrorActivityClassWithIntentFilter(context: Context): Class<out Activity?>? {
            val searchedIntent =
                Intent().setAction(INTENT_ACTION_ERROR_ACTIVITY)
                    .setPackage(context.packageName)
            val resolveInfos = context.packageManager.queryIntentActivities(
                searchedIntent,
                PackageManager.GET_RESOLVED_FILTER
            )
            if (resolveInfos.size > 0) {
                val resolveInfo = resolveInfos[0]
                try {
                    return Class.forName(resolveInfo.activityInfo.name) as Class<out Activity?>
                } catch (e: ClassNotFoundException) {
                    e.printStackTrace()
                }
            }
            return null
        }

        fun guessRestartActivityClass(context: Context): Class<out Activity?>? {
            var resolvedActivityClass: Class<out Activity?>?

            //If action is defined, use that
            resolvedActivityClass = getRestartActivityClassWithIntentFilter(context)

            //Else, get the default launcher activity
            if (resolvedActivityClass == null) {
                resolvedActivityClass = getLauncherActivity(context)
            }
            return resolvedActivityClass
        }

        private fun getRestartActivityClassWithIntentFilter(context: Context): Class<out Activity?>? {
            val searchedIntent =
                Intent().setAction(INTENT_ACTION_RESTART_ACTIVITY)
                    .setPackage(context.packageName)
            val resolveInfos = context.packageManager.queryIntentActivities(
                searchedIntent,
                PackageManager.GET_RESOLVED_FILTER
            )
            if (resolveInfos.size > 0) {
                val resolveInfo = resolveInfos[0]
                try {
                    return Class.forName(resolveInfo.activityInfo.name) as Class<out Activity?>
                } catch (e: ClassNotFoundException) {
                    e.printStackTrace()
                }
            }
            return null
        }

        @JvmStatic
         fun getLauncherActivity(context: Context): Class<out Activity?>? {
            val intent = context.packageManager.getLaunchIntentForPackage(context.packageName)
            if (intent != null && intent.component != null) {
                try {
                    return Class.forName(intent.component!!.className) as Class<out Activity?>
                } catch (e: ClassNotFoundException) {
                    e.printStackTrace()
                }
            }
            return null
        }

        fun getAllErrorDetailsFromIntent(context: Context, intent: Intent): String? {
            //I don't think that this needs localization because it's a development string...
            val currentDate = Date()
            val dateFormat: DateFormat = SimpleDateFormat("yyyy年MM月dd日 HH點(diǎn)mm分ss秒", Locale.CHINA)

            //Get build date
            val buildDateAsString: String? = getBuildDateAsString(context, dateFormat)

            //Get app version
            val versionName: String? = getVersionName(context)
            val appName: String? = getAppName(context)
            val packageName: String? = getPackageName(context)
            var errorDetails = ""
            errorDetails += "Build App Name : $appName \n"
            errorDetails += "Build version : $versionName \n"
            errorDetails += "Build Package Name : $packageName \n"
            if (buildDateAsString != null) {
                errorDetails += "Build date : $buildDateAsString \n"
            }
            errorDetails += """Current date : ${dateFormat.format(currentDate)} 
"""
            //Added a space between line feeds to fix #18.
            //Ideally, we should not use this method at all... It is only formatted this way because of coupling with the default error activity.
            //We should move it to a method that returns a bean, and let anyone format it as they wish.
            errorDetails += """Device : ${getDeviceModelName()} 
"""
            errorDetails += """OS version : Android ${Build.VERSION.RELEASE} (SDK ${Build.VERSION.SDK_INT}) 
 
"""
            errorDetails += "Stack trace :  \n"
            errorDetails += getStackTraceFromIntent(intent)
            val activityLog: String? = getActivityLogFromIntent(intent)
            if (activityLog != null) {
                errorDetails += "\nUser actions : \n"
                errorDetails += activityLog
            }
            return errorDetails
        }

        private fun getBuildDateAsString(context: Context, dateFormat: DateFormat): String? {
            var buildDate: Long
            try {
                val ai = context.packageManager.getApplicationInfo(context.packageName, 0)
                val zf = ZipFile(ai.sourceDir)

                //If this failed, try with the old zip method
                val ze = zf.getEntry("classes.dex")
                buildDate = ze.time
                zf.close()
            } catch (e: Exception) {
                buildDate = 0
            }
            return if (buildDate > 312764400000L) {
                dateFormat.format(Date(buildDate))
            } else {
                null
            }
        }


        fun getStackTraceFromIntent(intent: Intent): String? {
            return intent.getStringExtra(EXTRA_STACK_TRACE)
        }

        fun getActivityLogFromIntent(intent: Intent): String? {
            return intent.getStringExtra(EXTRA_ACTIVITY_LOG)
        }
    }
}

至此架構(gòu)基本完事.剩下的就是看項(xiàng)目需求了

沒(méi)更新或者頻繁更新的時(shí)候都是在認(rèn)真生活

?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末筛婉,一起剝皮案震驚了整個(gè)濱河市,隨后出現(xiàn)的幾起案子,更是在濱河造成了極大的恐慌顿肺,老刑警劉巖遮晚,帶你破解...
    沈念sama閱讀 218,755評(píng)論 6 507
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件性昭,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡县遣,警方通過(guò)查閱死者的電腦和手機(jī)糜颠,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 93,305評(píng)論 3 395
  • 文/潘曉璐 我一進(jìn)店門(mén),熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)萧求,“玉大人其兴,你說(shuō)我怎么就攤上這事】湔” “怎么了忌警?”我有些...
    開(kāi)封第一講書(shū)人閱讀 165,138評(píng)論 0 355
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)秒梳。 經(jīng)常有香客問(wèn)我法绵,道長(zhǎng),這世上最難降的妖魔是什么酪碘? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 58,791評(píng)論 1 295
  • 正文 為了忘掉前任朋譬,我火速辦了婚禮,結(jié)果婚禮上兴垦,老公的妹妹穿的比我還像新娘徙赢。我一直安慰自己,他們只是感情好探越,可當(dāng)我...
    茶點(diǎn)故事閱讀 67,794評(píng)論 6 392
  • 文/花漫 我一把揭開(kāi)白布狡赐。 她就那樣靜靜地躺著,像睡著了一般钦幔。 火紅的嫁衣襯著肌膚如雪枕屉。 梳的紋絲不亂的頭發(fā)上,一...
    開(kāi)封第一講書(shū)人閱讀 51,631評(píng)論 1 305
  • 那天鲤氢,我揣著相機(jī)與錄音搀擂,去河邊找鬼西潘。 笑死,一個(gè)胖子當(dāng)著我的面吹牛哨颂,可吹牛的內(nèi)容都是我干的喷市。 我是一名探鬼主播,決...
    沈念sama閱讀 40,362評(píng)論 3 418
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼威恼,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼品姓!你這毒婦竟也來(lái)了?” 一聲冷哼從身側(cè)響起箫措,我...
    開(kāi)封第一講書(shū)人閱讀 39,264評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤缭黔,失蹤者是張志新(化名)和其女友劉穎,沒(méi)想到半個(gè)月后蒂破,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體馏谨,經(jīng)...
    沈念sama閱讀 45,724評(píng)論 1 315
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 37,900評(píng)論 3 336
  • 正文 我和宋清朗相戀三年附迷,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了惧互。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片。...
    茶點(diǎn)故事閱讀 40,040評(píng)論 1 350
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡喇伯,死狀恐怖喊儡,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情稻据,我是刑警寧澤艾猜,帶...
    沈念sama閱讀 35,742評(píng)論 5 346
  • 正文 年R本政府宣布,位于F島的核電站捻悯,受9級(jí)特大地震影響匆赃,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜今缚,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,364評(píng)論 3 330
  • 文/蒙蒙 一算柳、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧姓言,春花似錦瞬项、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 31,944評(píng)論 0 22
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至餐塘,卻和暖如春妥衣,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 33,060評(píng)論 1 270
  • 我被黑心中介騙來(lái)泰國(guó)打工称鳞, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留涮较,地道東北人稠鼻。 一個(gè)月前我還...
    沈念sama閱讀 48,247評(píng)論 3 371
  • 正文 我出身青樓冈止,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親候齿。 傳聞我的和親對(duì)象是個(gè)殘疾皇子熙暴,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 44,979評(píng)論 2 355

推薦閱讀更多精彩內(nèi)容