Package android.widget

Examples of android.widget.RemoteViews


            // set manager, etra info, the custom view and intent
            manager = (NotificationManager) context.getSystemService( Context.NOTIFICATION_SERVICE );
            icon = android.R.drawable.stat_sys_upload;
            tickerText = "Uploading: " + filename;
            flags |= super.FLAG_ONGOING_EVENT;
            contentView = new RemoteViews( context.getPackageName(), R.layout.upload );
            Intent intent = new Intent( context, this.getClass() );
            contentIntent = PendingIntent.getActivity( context, 0, intent, 0 );

            // set fields in the custom view
            contentView.setImageViewResource( R.id.uploadImage, android.R.drawable.stat_sys_upload );
View Full Code Here

TOP

Related Classes of android.widget.RemoteViews

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.