mirror of
				https://github.com/commons-app/apps-android-commons.git
				synced 2025-10-30 22:34:02 +01:00 
			
		
		
		
	"Download" menu button on image detail page.
Saves original file into the SD card "Downloads" directory via Android's DownloadManager service. On Gingerbread the notification vanishes after downloda, but we force the gallery to reindex the downloads area so you can still manually bump over to Gallery. On ICS/JB the notification hangs around and can be used to open the saved file directly. Note that on Gingerbread we have to download over HTTP because DownloadManager didn't support HTTPS. Included copy of stock 'upload' icon, flipped it for 'download'.
This commit is contained in:
		
							parent
							
								
									ef77d5ff49
								
							
						
					
					
						commit
						5be2d939ea
					
				
					 8 changed files with 76 additions and 0 deletions
				
			
		
							
								
								
									
										
											BIN
										
									
								
								commons/res/drawable-hdpi/ic_menu_download.png
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								commons/res/drawable-hdpi/ic_menu_download.png
									
										
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 2.4 KiB | 
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Brion Vibber
						Brion Vibber