mirror of
				https://github.com/nerzhul/ownCloud-SMS-App.git
				synced 2025-10-31 10:27:21 +00:00 
			
		
		
		
	Add new icons for notifications. This should solve problems pointed on issue #57
This commit is contained in:
		
							parent
							
								
									8e4c07f924
								
							
						
					
					
						commit
						1483b9d516
					
				
							
								
								
									
										
											BIN
										
									
								
								res/drawable-hdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								res/drawable-hdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.3 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/drawable-mdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								res/drawable-mdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 916 B | 
							
								
								
									
										
											BIN
										
									
								
								res/drawable-xhdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								res/drawable-xhdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 1.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/drawable-xxhdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								res/drawable-xxhdpi/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.9 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/drawable/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								res/drawable/ic_launcher.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 3.8 KiB | 
							
								
								
									
										
											BIN
										
									
								
								res/drawable/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								res/drawable/ic_stat_ocsms.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 821 B | 
| @ -26,7 +26,7 @@ public class OCSMSNotificationManager { | |||||||
| 
 | 
 | ||||||
| 	public OCSMSNotificationManager(final Context context) { | 	public OCSMSNotificationManager(final Context context) { | ||||||
| 		_context = context; | 		_context = context; | ||||||
| 		_notification = new NrzNotification(_context, R.drawable.ic_launcher); | 		_notification = new NrzNotification(_context, R.drawable.ic_stat_ocsms); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	public void setSyncProcessMsg() { | 	public void setSyncProcessMsg() { | ||||||
|  | |||||||
| @ -26,7 +26,7 @@ import android.net.Uri; | |||||||
| public class SmsDataProvider extends ContentProvider { | public class SmsDataProvider extends ContentProvider { | ||||||
| 	public SmsDataProvider () {} | 	public SmsDataProvider () {} | ||||||
| 
 | 
 | ||||||
| 	public SmsDataProvider (Context ct) { | 	public SmsDataProvider (final Context ct) { | ||||||
| 		super(); | 		super(); | ||||||
| 		_context = ct; | 		_context = ct; | ||||||
| 	} | 	} | ||||||
| @ -36,30 +36,30 @@ public class SmsDataProvider extends ContentProvider { | |||||||
| 		return false; | 		return false; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	public Cursor query(String mailBox) { | 	public Cursor query(final String mailBox) { | ||||||
| 		return query(Uri.parse(mailBox), | 		return query(Uri.parse(mailBox), | ||||||
| 			new String[] { "read", "date", "address", "seen", "body", "_id", "type", }, | 				new String[] { "read", "date", "address", "seen", "body", "_id", "type", }, | ||||||
| 			null, null, null | 				null, null, null | ||||||
| 		); | 				); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	public Cursor query(String mailBox, String selection) { | 	public Cursor query(final String mailBox, final String selection) { | ||||||
| 		return query(Uri.parse(mailBox), | 		return query(Uri.parse(mailBox), | ||||||
| 			new String[] { "read", "date", "address", "seen", "body", "_id", "type", }, | 				new String[] { "read", "date", "address", "seen", "body", "_id", "type", }, | ||||||
| 			selection, null, null | 				selection, null, null | ||||||
| 		); | 				); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	public Cursor query(String mailBox, String selection, String[] selectionArgs) { | 	public Cursor query(final String mailBox, final String selection, final String[] selectionArgs) { | ||||||
| 		return query(Uri.parse(mailBox), | 		return query(Uri.parse(mailBox), | ||||||
| 			new String[] { "read", "date", "address", "seen", "body", "_id", "type", }, | 				new String[] { "read", "date", "address", "seen", "body", "_id", "type", }, | ||||||
| 			selection, selectionArgs, null | 				selection, selectionArgs, null | ||||||
| 		); | 				); | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	@Override | 	@Override | ||||||
| 	public Cursor query(Uri uri, String[] projection, String selection, | 	public Cursor query(final Uri uri, final String[] projection, final String selection, | ||||||
| 			String[] selectionArgs, String sortOrder) { | 			final String[] selectionArgs, final String sortOrder) { | ||||||
| 		if (_context != null && _context.getContentResolver() != null) { | 		if (_context != null && _context.getContentResolver() != null) { | ||||||
| 			return _context.getContentResolver().query(uri, projection, selection, selectionArgs, sortOrder); | 			return _context.getContentResolver().query(uri, projection, selection, selectionArgs, sortOrder); | ||||||
| 		} | 		} | ||||||
| @ -67,29 +67,27 @@ public class SmsDataProvider extends ContentProvider { | |||||||
| 		return null; | 		return null; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	 |  | ||||||
| 
 |  | ||||||
| 	@Override | 	@Override | ||||||
| 	public String getType(Uri uri) { | 	public String getType(final Uri uri) { | ||||||
| 		// TODO Auto-generated method stub | 		// TODO Auto-generated method stub | ||||||
| 		return null; | 		return null; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	@Override | 	@Override | ||||||
| 	public Uri insert(Uri uri, ContentValues values) { | 	public Uri insert(final Uri uri, final ContentValues values) { | ||||||
| 		// TODO Auto-generated method stub | 		// TODO Auto-generated method stub | ||||||
| 		return null; | 		return null; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	@Override | 	@Override | ||||||
| 	public int delete(Uri uri, String selection, String[] selectionArgs) { | 	public int delete(final Uri uri, final String selection, final String[] selectionArgs) { | ||||||
| 		// TODO Auto-generated method stub | 		// TODO Auto-generated method stub | ||||||
| 		return 0; | 		return 0; | ||||||
| 	} | 	} | ||||||
| 
 | 
 | ||||||
| 	@Override | 	@Override | ||||||
| 	public int update(Uri uri, ContentValues values, String selection, | 	public int update(final Uri uri, final ContentValues values, final String selection, | ||||||
| 			String[] selectionArgs) { | 			final String[] selectionArgs) { | ||||||
| 		// TODO Auto-generated method stub | 		// TODO Auto-generated method stub | ||||||
| 		return 0; | 		return 0; | ||||||
| 	} | 	} | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user