Intent getSerializableExtra - top ranked examples from Open Source projects

These code examples were ranked by Codota’s semantic indexing as the best open source examples for Intent getSerializableExtra method.

This code example shows how to use the following methods:getBooleanExtra, getIntExtra, getSerializableExtra, getStringExtra
This code example shows how to use the following methods:getIntExtra, getSerializableExtra, getStringExtra
    protected void onHandleIntent(Intent intent) {
        int type = intent.getIntExtra("type", 0);
        String accountId = intent.getStringExtra("accountId");
        switch (type) {
            case TYPE_STATUS:
                AppLogger.e("start db"); 
                MessageListBean value = (MessageListBean) intent.getSerializableExtra("value");
                FriendsTimeLineDBTask.replace(value, accountId);
                AppLogger.e("end db"); 
    public static void save(Context context, int type, Serializable value, String accountId) {
        AppLogger.e("start service"); 

Related Intent getSerializableExtra Questions & Answers:

Other Intent getSerializableExtra Examples

48:			// Nearplaces list
49:			nearPlaces = (PlacesList) i.getSerializableExtra("near_places");
51:			mapView = (MapView) findViewById(;

Read More

getSerializableExtra Method Overview
Retrieve extended data from the intent.
See Code Examples for other Android Intent Methods: