Changes between Version 25 and Version 26 of GameApp
- Timestamp:
- Aug 8, 2015, 11:40:58 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GameApp
v25 v26 36 36 appear as if the program is running smoothly until you try to access the files on a computer; the files do not show up on device viewer! 37 37 I was able to tell Android that there was a new file created using this code: 38 38 39 {{{#!java 39 ApplicationContextProvider.getContext().sendBroadcast(new Intent( 40 Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(writeFile))); 40 ApplicationContextProvider.getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(writeFile))); 41 41 }}} 42 42 43 where writeFile was the file I just saved. (The full code can be seen through this Wiki [http://wiki.raidtech.net/browser/gameapp/app/src/main/java/net/raidtech/first/gameapp here]. 43 44