Software Archive
Read-only legacy content
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17060 Discussions

I can't use the file plugin in the simulator

Guillermo_M_
Beginner
890 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
890 Views

file plugin wont work in simulator

0 Kudos
Ad
New Contributor III
890 Views
0 Kudos
Guillermo_M_
Beginner
890 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
890 Views

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

0 Kudos
Anusha_M_Intel1
Employee
890 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
890 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