Changes between Version 25 and Version 26 of GameApp


Ignore:
Timestamp:
Aug 8, 2015, 11:40:58 AM (10 years ago)
Author:
Timothy Lin
Comment:

Updated code formatting.

Legend:

Unmodified
Added
Removed
Modified
  • GameApp

    v25 v26  
    3636  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!
    3737  I was able to tell Android that there was a new file created using this code:
     38
    3839{{{#!java
    39        ApplicationContextProvider.getContext().sendBroadcast(new Intent(
    40        Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(writeFile)));
     40ApplicationContextProvider.getContext().sendBroadcast(new Intent(Intent.ACTION_MEDIA_SCANNER_SCAN_FILE, Uri.fromFile(writeFile)));
    4141}}}
     42
    4243  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].
    4344