Thales' cellular IoT products business is now part of Telit Cinterion, find out more.

You are here

ELS61 - Accessing one Files in two Java Midlet concurrently | Telit Cinterion IoT Developer Community

September 11, 2017 - 5:46pm, 1909 views

Hi there,

I would like to access one file in two Java-Midlets and both should write to that file at different intervals. For this purpose its required to implement some thread synchronization or file locking mechanism such that there occurs no problem if both midlets want to write at the same time. 

Is there a possibility to do that with the gemalto standard libraries?