D
D
DivelNick2016-09-01 18:16:22
Android
DivelNick, 2016-09-01 18:16:22

How to work with Android files from Service?

I am writing a program in which there is a service, this service should write information to a file, how to access files in Android, if there is no Context, FileInputStream and similar methods do not work.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Zagaevsky, 2016-09-01
@DivelNick

How is there no context? Service is the successor of Context'a.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question