• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Recent content by alex_92

  1. A

    Apps call read and write file in class from fragment over mainActivity

    first thank you, for your hep. but your way isn't possible. Because the file access methods like openFileOutput need the context of the main-activity. But I can't pass the context from a static function. This was my problem. But I solved it. I put a variable in the file access class to...
  2. A

    Apps call read and write file in class from fragment over mainActivity

    hi, after wasting a complete evening of useless trying I really need some help. I have an Activity with fragments and want to write and read files by clicking an a button or any other event from a fragment. The problem is, that I have to place the read and write methods in the mainActivity to...
Back
Top Bottom