How do I save a txt on android and or image

Get help using Construct 2

Post » Thu Jun 19, 2014 2:38 pm

Greetings ,

i want to save a txt to android device (exporting with crosswalk with android) .

Txt will contain values from an array.

Second and if possible , to save an image (canvas of the game).

I have searched all the forum , did all the solutions and they only work on PC NOT on the android. (webstorage , nodewebkit , filesaver plugin)


Your help is much appreciated !!!!!
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663

Post » Thu Jun 19, 2014 2:46 pm

Noway to do this without you coding by yourself
B
17
S
7
Posts: 360
Reputation: 2,202

Post » Thu Jun 19, 2014 2:48 pm

Greetings fongka2 ,

any hints? Something i can read?

Thank you in advance.
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663

Post » Thu Jun 19, 2014 4:22 pm

There gotta be a way , were are the brains of the forum???? ;)
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663

Post » Thu Jun 19, 2014 5:27 pm

How do you want to use these textfiles?
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Thu Jun 19, 2014 5:33 pm

Greetings xeed.

I want to save a txt so the user / gamer can take it to his pc or mac
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663

Post » Thu Jun 19, 2014 5:34 pm

How you want to reload the data?

I ask because yur already should have the answer via "gidf" :D
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Post » Thu Jun 19, 2014 5:36 pm

there will be no reload of the contained data in the game / app.

I just want to save a txt that will contain a variable or an array on a txt , and save this txt on the android device.
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663

Post » Thu Jun 19, 2014 5:39 pm

gidf?? Can you explain please?
Hire or Offer a project

Portfolio

Scirra new Shop
B
34
S
5
G
1
Posts: 118
Reputation: 2,663

Post » Thu Jun 19, 2014 5:41 pm

check the websocket object, it should do your job, since it writes to local files.

:)
B
15
S
3
G
5
Posts: 396
Reputation: 4,977

Next

Return to How do I....?

Who is online

Users browsing this forum: Baidu [Spider], jezjones24, maranpis and 24 guests