Search found 19 matches

by Texter
Sun Aug 26, 2018 6:39 pm
Forum: Android Deployment
Topic: How to save XML file to SD Card
Replies: 6
Views: 278

Re: How to save XML file to SD Card

hello Klaus

Setting for write external storage is checked.

But until now I could only save to internal storage.

I have no idea how to change this.

Thanks Klaus

Texter
by Texter
Sun Aug 26, 2018 7:35 am
Forum: Android Deployment
Topic: How to save XML file to SD Card
Replies: 6
Views: 278

Re: How to save XML file to SD Card

Hi Klaus

I tried the code with external documents but the file was saved in

/storage/emulated/0/Android/data/com.yourcompany.yourapp/files

in the internal storage of the Tablet

Dont know whats the problem

Texter
by Texter
Sat Aug 25, 2018 6:55 pm
Forum: Android Deployment
Topic: How to save XML file to SD Card
Replies: 6
Views: 278

Re: How to save XML file to SD Card

Thank you Klaus

I will try it tomorrow
by Texter
Sat Aug 25, 2018 5:49 pm
Forum: Android Deployment
Topic: How to save XML file to SD Card
Replies: 6
Views: 278

How to save XML file to SD Card

Hello I found many informations on the internet about this problem but nothing works. Maybe someone can help me. My app is creating a XML file and I can save it on my Android Tablet to the internal storage with this code. put textencode(tXMLFinal,"UTF8") into URL ("file:/mnt/sdcard/documents/Test.xm...
by Texter
Thu Jun 28, 2018 1:01 pm
Forum: Android Deployment
Topic: How to move input fields covered by virtual keyboard
Replies: 16
Views: 1265

Re: How to move input fields covered by virtual keyboard

Hi Jacque You are right. Normal you tap outside the field and the keyboard is gone. But!! If there is a other object like in my sample a rectangle, you cannot tap the card and keyboard is still activate. In my sample I move field if I enter field and move back with Enter Button and need to set "focu...
by Texter
Wed Jun 27, 2018 9:08 am
Forum: Android Deployment
Topic: How to move input fields covered by virtual keyboard
Replies: 16
Views: 1265

Re: How to move input fields covered by virtual keyboard

Hi

Thanks Paul, Klaus

Work fine now
by Texter
Tue Jun 26, 2018 7:10 pm
Forum: Android Deployment
Topic: How to move input fields covered by virtual keyboard
Replies: 16
Views: 1265

Re: How to move input fields covered by virtual keyboard

Hi

I done it, thanks.

I move the field and the layer is on top but how can I exit the field when I entered some text?

Because if I do not exit the field the soft keyboard is still active and cover the next field where I want to fill in some text.

Texter
by Texter
Mon Jun 25, 2018 8:27 pm
Forum: Android Deployment
Topic: Buttonlabel/Textfield Size of text on Tablet is different
Replies: 11
Views: 918

Re: Buttonlabel/Textfield Size of text on Tablet is different

Hi Klaus, Jean-Marc, Jacque

Thank you for your help

Thought it is easier to set the textfont because set the textfont of stack "Test" to "Arial" worked fine.

and I tried set the textfont of all fields of stack "Test" to "Arial"

Never imagine I need a loop for this

Texter
by Texter
Mon Jun 25, 2018 5:24 pm
Forum: Android Deployment
Topic: Buttonlabel/Textfield Size of text on Tablet is different
Replies: 11
Views: 918

Re: Buttonlabel/Textfield Size of text on Tablet is different

Hi Klaus,

Thanks for all your help.

I managed it to set the textfont for the whole stack.

Can I also set the textfont for all fields (only fields) of the stack?

I tried it but get only Errors. How is the syntax for this?

Texter
by Texter
Fri Jun 22, 2018 12:58 pm
Forum: Android Deployment
Topic: Buttonlabel/Textfield Size of text on Tablet is different
Replies: 11
Views: 918

Re: Buttonlabel/Textfield Size of text on Tablet is different

Hi

Thanks jacque and bogs

I will search which fonts are equal to livecode on Win10 and Android.

But is there a code to use this font for the whole stack? Or do I have to set this font to all fields and labels?

Texter
by Texter
Fri Jun 22, 2018 12:50 pm
Forum: Android Deployment
Topic: How to move input fields covered by virtual keyboard
Replies: 16
Views: 1265

Re: How to move input fields covered by virtual keyboard

Hi Thanks Jean-Marc and mrcoollion The movement works now as I want. But now I have the next trouble and do not know how to start. On my card are six fields. If I want to fill in something in the upper 3 it is no problem. The lower 3 fields I move to a location where the kexboard do not cover them. ...
by Texter
Thu Jun 21, 2018 7:23 am
Forum: Android Deployment
Topic: Buttonlabel/Textfield Size of text on Tablet is different
Replies: 11
Views: 918

Buttonlabel/Textfield Size of text on Tablet is different

Hi

I need help once again

Why is the size of text in Livecode like this
Lifecode.JPG


and in Tablet like this
Tablet.jpg
Is this a different font? Do the tablet do not use the font from livecode?

Texter
by Texter
Thu Jun 21, 2018 7:10 am
Forum: Android Deployment
Topic: How to move input fields covered by virtual keyboard
Replies: 16
Views: 1265

Re: How to move input fields covered by virtual keyboard

Hi Thanks to Jean-Marc and Klaus I use now put the location of field Field1 into tLocold put 500,50 into tLoc set the location of field Field1 to tLoc and set it back to tLocold if the keyboard disappear Is there a way to use the field ID as a variable instead of the name? Like put the location of f...
by Texter
Tue Jun 19, 2018 1:18 pm
Forum: Android Deployment
Topic: How to move input fields covered by virtual keyboard
Replies: 16
Views: 1265

Re: How to move input fields covered by virtual keyboard

Hello Jean-Marc

Tryed your code but I think the better way for me is to set the location and bring it back after input of the field.

But however thank you

Texter
by Texter
Mon Jun 18, 2018 10:46 pm
Forum: Android Deployment
Topic: How to move input fields covered by virtual keyboard
Replies: 16
Views: 1265

Re: How to move input fields covered by virtual keyboard

Thank you Jean-Marc

I will try it tomorrow

Texter

Go to advanced search