Software Archive
Read-only legacy content
17061 Discussions

I can't use the file plugin in the simulator

Guillermo_M_
Beginner
828 Views

Hi,

I'm trying to read from and write to a config.json file in my app. It works fine when simulating it on the phone but it does not in the XDK phone simulator. Is it because this feature is not included in the simulator (bummer!) or because I am doing something wrong?

Regards

0 Kudos
6 Replies
Nadeem_N_
New Contributor I
828 Views

file plugin wont work in simulator

0 Kudos
Ad
New Contributor III
828 Views
0 Kudos
Guillermo_M_
Beginner
828 Views

I had already read it, but it only mentions the "file-transfer" plugin leaving aside the "file" one. However, I understand it's not implemented. Do you have it in your roadmap or it's something we won't see in the future? I think it would be very handy.

Regards

0 Kudos
PaulF_IntelCorp
Employee
828 Views

Best to use the Debug tab, making that work in the Emulate tab is extremely difficult.

0 Kudos
Anusha_M_Intel1
Employee
828 Views

See if this post is of help to you. I believe it handles a similar problem: https://software.intel.com/en-us/forums/intel-xdk/topic/564312

 

0 Kudos
Guillermo_M_
Beginner
828 Views

Anusha Muthiah (Intel) wrote:
See if this post is of help to you. I believe it handles a similar problem: https://software.intel.com/en-us/forums/intel-xdk/topic/564312

Thank you very much Anusha. It's clear to me now that the Intel xdk simulator only simulates a subset of the real functionality. However, is it possible to simulate an sdk project using the official Android SDK simulator from the command line? (I guess the answer is still no, but I had to ask. Sometimes it is a bummer to be connecting the phone for debugging simple things and a more complete simulator would be very helpful).

Regards and thank you very much for the support

0 Kudos
Reply