Re: Save my data in Android

2014-09-30 Thread Takashi Yoshino
Thank you for your help!

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2014/09/23, at 19:34, Klaus major-k kl...@major-k.de wrote:

 Konichi-wa Takashi-san,
 
 Am 23.09.2014 um 08:58 schrieb Takashi Yoshino yosh...@sys.wakayama-u.ac.jp:
 
 Hi,
 
 I would like to save my data in Android.
 
 I wrote some texts in the field in  my App on Android.
 When I quit my App, next time the text is lost.
 
 Could you tell me how to save my text in the field on Android.
 
 you are allowed to write in - specialfolderpath(documents),
 so use something like this when the stack closes or whenever:
 ...
 ## Create a filename
 put specialfolderpath(documents)  /my_saved_text.text into tFile
 put the text of fld your field here into url(file:  tFile)
 ...
 
 To read the data in again, you first need to check if the file is present:
 ...
 put specialfolderpath(documents)  /my_saved_text.text into tFile
 if there is a file tFile then
  put url(file:  tFile) into fld your field here
 end if
 ...
 
 Hope that helps!
 
 Best regards,
 
 Takashi
 
 Best
 
 Klaus
 
 --
 Klaus Major
 http://www.major-k.de
 kl...@major-k.de
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Save my data in Android

2014-09-23 Thread Takashi Yoshino
Hi,

I would like to save my data in Android.

 I wrote some texts in the field in  my App on Android.
When I quit my App, next time the text is lost.

Could you tell me how to save my text in the field on Android.

Best regards,

Takashi


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Korean font is not shown

2013-09-09 Thread Takashi Yoshino
I tried another android device to show Korean font.
The android device can be appeared Korean font.

I was confusing...

So, I update android OS, WOW, my android (Galaxy S III) can be appeared
Korean font..

I think it is bug ? on android OS.

Thanks a lot.


2013/9/1 Takashi Yoshino yosh...@sys.wakayama-u.ac.jp

 HI, Mark

 Thank you for your information.

 I just input Korean text into the field on my Mac.
 I think I set the unicodeText of the field to UTF-16 encoded text.

 I visit a Korean web site, I can see Korean text correctly.

 I check my android (Galaxy S III).
 There is a korean font in my android.

 Best regards,

 Takashi

 _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._
 Takashi Yoshino
 http://www.wakayama-u.ac.jp/~yoshino/lab/
 Tel: +81-73-457-8441

 On 2013/09/01, at 18:36, Mark Schonewille 
 m.schonewi...@economy-x-talk.com wrote:

  Hi Takashi,
 
  The syntax
 
  set the textFont to fontName,Language
 
  no longer works in 6.x. I think it was already abolished in 5.5.
 
  Instead, you just set the unicodeText of the field to UTF-16 encoded
 text. If it contains korean glyphs, the glyphs should be recognised and
 displayed correctly. Are you sure that the required fonts are installed on
 your tablets? If you visit a Korean website, does the text display
 correctly?
 
  --
  Best regards,
 
  Mark Schonewille
 
  Economy-x-Talk Consulting and Software Engineering
  Homepage: http://economy-x-talk.com
  Twitter: http://twitter.com/xtalkprogrammer
  KvK: 50277553
 
  Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other
 colour spaces. http://www.color-converter.com
 
  Buy my new book Programming LiveCode for the Real Beginner
 http://qery.us/3fi
 
  Fill out this survey please
  http://livecodebeginner.economy-x-talk.com/survey/
 
  On 9/1/2013 11:10, Takashi Yoshino wrote:
  Hi,
 
  I am developed a translation software for Android devices.
  I tried to show Korean text. But it did not appeared.
 
  I tried it on Galaxy Tab. Korean font appeared.
  I tried it on Galaxy S III. But it did not appeared.
 
  Japanese font and Chinese font can be shown on both android devices.
  Only Korean font did not shown on Galaxy S III.
 
  I tried the textFont script. But it does not work.
  on mouseUp
 set the textFont of field ko to Droid Sans,Korean
  end mouseUp
 
  I use LC 6.1.0
  Android OS is 4.04 and 3.2
 
  If you have some information, could you help me?
 
  Thanks.
 
  Takashi
 
 
  ___
  use-livecode mailing list
  use-livecode@lists.runrev.com
  Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
  http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Korean font is not shown

2013-09-01 Thread Takashi Yoshino
Hi,

I am developed a translation software for Android devices.
I tried to show Korean text. But it did not appeared.

I tried it on Galaxy Tab. Korean font appeared.
I tried it on Galaxy S III. But it did not appeared.

Japanese font and Chinese font can be shown on both android devices.
Only Korean font did not shown on Galaxy S III.

I tried the textFont script. But it does not work.
on mouseUp
   set the textFont of field ko to Droid Sans,Korean
end mouseUp

I use LC 6.1.0
Android OS is 4.04 and 3.2

If you have some information, could you help me?

Thanks.

Takashi
.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Korean font is not shown

2013-09-01 Thread Takashi Yoshino
HI, Mark

Thank you for your information.

I just input Korean text into the field on my Mac.
I think I set the unicodeText of the field to UTF-16 encoded text. 

I visit a Korean web site, I can see Korean text correctly.

I check my android (Galaxy S III).
There is a korean font in my android.

Best regards,

Takashi

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2013/09/01, at 18:36, Mark Schonewille m.schonewi...@economy-x-talk.com 
wrote:

 Hi Takashi,
 
 The syntax
 
 set the textFont to fontName,Language
 
 no longer works in 6.x. I think it was already abolished in 5.5.
 
 Instead, you just set the unicodeText of the field to UTF-16 encoded text. If 
 it contains korean glyphs, the glyphs should be recognised and displayed 
 correctly. Are you sure that the required fonts are installed on your 
 tablets? If you visit a Korean website, does the text display correctly?
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
 spaces. http://www.color-converter.com
 
 Buy my new book Programming LiveCode for the Real Beginner 
 http://qery.us/3fi
 
 Fill out this survey please
 http://livecodebeginner.economy-x-talk.com/survey/
 
 On 9/1/2013 11:10, Takashi Yoshino wrote:
 Hi,
 
 I am developed a translation software for Android devices.
 I tried to show Korean text. But it did not appeared.
 
 I tried it on Galaxy Tab. Korean font appeared.
 I tried it on Galaxy S III. But it did not appeared.
 
 Japanese font and Chinese font can be shown on both android devices.
 Only Korean font did not shown on Galaxy S III.
 
 I tried the textFont script. But it does not work.
 on mouseUp
set the textFont of field ko to Droid Sans,Korean
 end mouseUp
 
 I use LC 6.1.0
 Android OS is 4.04 and 3.2
 
 If you have some information, could you help me?
 
 Thanks.
 
 Takashi
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Google Voice

2013-04-10 Thread Takashi Yoshino
I would like to incorporate Google Voice in my Android App.

Can LiveCode support to use Google Voice in a Android App?
_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android 4, post problem in detail

2012-11-18 Thread Takashi Yoshino
Hi Pierre,

Thank you for your information.

I can use Post script.

But I found that Post action of Android 3 and Android 4 is different.

Anyway, best regard for your information.
I can continue my programming.
_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/11/18, at 19:12, Pierre Sahores s...@sahores-conseil.com wrote:

 Hi Takashi,
 
 Sorry for the error in previous post. Please, read :
 
   post URLEncode(kind=test2) to URL MIAS
 
 instead at line 8.
 
 
 Try :
 
  put http://m3-shiga.yoslab.net/m3is_v4_debug/test.php; into MIAS
 
  get url (MIAS  ?function=test)
  if it is not  then
   ### parse your $_GET response
 end if
 
  set httpHeaders to Content-type: application/x-www-form-urlencoded  return
  get url MIAS ### tip to be sure to wakeup the server ###
  post URLEncode(kind=test2) to URL MIAS
  if it is not  then
   ### parse your $_POST or $_POST_RAW response
  end if
 
 Don't try to get both the GET and POST replies from a single request.
 Always put ( and ) around urls containting vars and quoted contents.
 
 HTH,
 
 Pierre
 
 --
 Pierre Sahores
 mobile : 06 03 95 77 70
 www.sahores-conseil.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android 4, post problem in detail

2012-11-17 Thread Takashi Yoshino
Dear LiveCode Experts,

I need your help.

I developed some software using LiveCode.

Post program cannot work on Android 4.0.4.
It is work on Android 3.2.

I wrote a short script to check Post.

I think POST program has some problems.

Could you give some information?
I need your help.


on mouseUp
   put empty into fld test5
   put http://m3-shiga.yoslab.net/m3is_v4_debug/; into theServer
   post (kind=test2) to url theServertest.php?function=test
   put it into fld test5
end mouseUp
--

PHP program
---
?php

try {

print_r ($_GET);
print_r ($_POST);

} catch (Exception $e) {
echo 'Error!: ' . $e;
die();
}
---


My development environment is LC 5.5.3


Best regards.


_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Android 4, post problem

2012-11-10 Thread Takashi Yoshino
Hi,

I tried 'post' script on Android 4. (4.0.3)
It doesn't work.

'url' script works well.

I tried the same script on Android 3.
It work well.

Is that some bugs only and Android 4?

Do you know some solution to improve or escape this problem?

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Android 4, post problem

2012-11-10 Thread Takashi Yoshino

My development environment is LC 5.5.3.

Takashi

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/11/11, at 7:26, Takashi Yoshino yosh...@sys.wakayama-u.ac.jp wrote:

 Hi,
 
 I tried 'post' script on Android 4. (4.0.3)
 It doesn't work.
 
 'url' script works well.
 
 I tried the same script on Android 3.
 It work well.
 
 Is that some bugs only and Android 4?
 
 Do you know some solution to improve or escape this problem?
 
 _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
 Takashi Yoshino 
 http://www.wakayama-u.ac.jp/~yoshino/lab/
 Tel: +81-73-457-8441
 


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Unicode Problem

2012-04-10 Thread Takashi Yoshino
Hi, Kojima!

Your script is perfect!

Thank you for your help!

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/04/09, at 21:58, Kenji Kojima wrote:

 Hi Takashi-san,
 
 
 2. set the unicode text
 
 Here is my script.
 
 on mouseUp
 
 put A1.txt into theFileName
 put AbsolutePathFromStack(theFileName) into theFullPath
 
 open file theFullPath
 read from file theFullPath until EOF
 set the unicodeText of fld A1 to it
 close file theFullPath
 
 end mouseUp
 
 I want read some Japanese from a file.
 
 
 If your Japanese text file is UTF 8 
 
 on mouseUp
   answer file  
   put url (file:  it) into tUrl 
   set the unicodeText of field 1 to uniencode(tUrl, utf8)
 end mouseUp
 
 
 best,
 --
 Kenji Kojima / 小島健治
 http://www.kenjikojima.com/
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Unicode Problem

2012-04-08 Thread Takashi Yoshino
Hi,

I found that the unicode function on LC 5.0.2 DOES works,
But, the unicode function on LC.5.5.1 DOES NOT work.

Here is a simple sample using Unicode.

On LC 5.0.2 does works well, but LC 5.5.1 does not work.

on mouseUp
   set the unicodeText of fld result to fld temp 
end mouseUp

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/04/06, at 18:38, Takashi Yoshino wrote:

 Hi, expert!
 
 I am very glad to add some functions of unicode in LC 5.5.
 
 I use them, and I have some problems about the functions.
 
 If you use the unicode functions, please give me some information.
 
 1.  put unicode function
 
 Here is my script.
 
 on mouseUp
   put fld Q1 into theUniData
   put unicode テスト into fld A1
 end mouseUp
 
 I am sorry, I used Japanese character in the script.
 In LC 5.5, I can use Japanese text in the script ! It is great! 
 
 But, the result of the script is bat.
 Wrong character appeared in the field.
 
 
 2. set the unicode text
 
 Here is my script.
 
 on mouseUp
 
   put A1.txt into theFileName
   put AbsolutePathFromStack(theFileName) into theFullPath
 
   open file theFullPath
   read from file theFullPath until EOF
   set the unicodeText of fld A1 to it
   close file theFullPath
 
 end mouseUp
 
 I want read some Japanese from a file.
 
 LC can read text and put them into the field.
 Almost is OK.
 
 But there is not line feed in the text.
 
 
 
 If you use unicode function, please give me some information.
 
 
 
 
 _.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
 Takashi Yoshino 
 http://www.wakayama-u.ac.jp/~yoshino/lab/
 Tel: +81-73-457-8441
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Unicode Problem

2012-04-06 Thread Takashi Yoshino
Hi, expert!

I am very glad to add some functions of unicode in LC 5.5.

I use them, and I have some problems about the functions.

If you use the unicode functions, please give me some information.

1.  put unicode function

Here is my script.

on mouseUp
   put fld Q1 into theUniData
   put unicode テスト into fld A1
end mouseUp

I am sorry, I used Japanese character in the script.
In LC 5.5, I can use Japanese text in the script ! It is great! 

But, the result of the script is bat.
Wrong character appeared in the field.


2. set the unicode text

Here is my script.

on mouseUp
  
   put A1.txt into theFileName
   put AbsolutePathFromStack(theFileName) into theFullPath
   
   open file theFullPath
   read from file theFullPath until EOF
   set the unicodeText of fld A1 to it
   close file theFullPath
   
end mouseUp

I want read some Japanese from a file.

 LC can read text and put them into the field.
Almost is OK.

 But there is not line feed in the text.



If you use unicode function, please give me some information.




_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Splash at the launching on android

2012-02-27 Thread Takashi Yoshino
On 2012/02/27, at 20:50, Roger Eller wrote:

 On Mon, Feb 27, 2012 at 12:45 AM, Takashi Yoshino wrote:
 
 Thank you for your reply.
 
 My stack is a little bit large.
 It take a lot of time to show the first card. So, I want  to show a splash
 screen.
 
 Make a separate stack containing only the splash image (so it loads
 quickly), and from there, lock screen so the splash remains, and go to the
 larger stack, then unlock screen.
 
 ~Roger

I think LiveCode on Android has only one MainStack...

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Splash at the launching on android

2012-02-27 Thread Takashi Yoshino
Thank you, Ralph!

You script is very helpful for me.
I can show my splash screen at the launch time.

Thank you so much.

The following is the my script.
--
on OpenStack
   send startMyStack to me in 1 ticks
   pass OpenStack
end OpenStack

on startMyStack
   if the environment = Mobile 
   then
  if there is a file (engine folder  slash  MyStack.livecode)
  then
 start using stack (engine folder  slash  MyStack.livecode)
 go to stack MyFirstStack
  end if
   end if
end startMyStack

I prepare two LiveCode files, SplashScreen.livecode and MyStack.livecode.

SplashScreen.livecode is main stack.
MyStack.livecode has included by Copy files in Standalone application setting.

I wrote the above script in SplashScreen.livecode at the stack script.


_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/02/28, at 1:54, Ralph DiMola wrote:

 T,
 
 I think you correct. I tried to add my library stack as a stack to be
 included in the standalone setting and it was not available. I had to
 include it as a copy file in standalone setting and do this in the
 preopenstack
 
 
 
 
 
 if the environment = Mobile then
 
  if there is a file (engine folder  slash  My_Library.livecode)
 then
 
 start using stack (engine folder  slash  My_Library.livecode)
 
  end if
 
   end if
 
 
 *
 
 I don't know if this will help you. This was the only way I could use my
 library on mobile.
 
 
 Ralph DiMola
 IT Director
 Evergreen Information Services
 rdim...@evergreeninfo.net
 
 -Original Message-
 From: use-livecode-boun...@lists.runrev.com
 [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Takashi Yoshino
 Sent: Monday, February 27, 2012 9:11 AM
 To: How to use LiveCode
 Subject: Re: Splash at the launching on android
 
 On 2012/02/27, at 20:50, Roger Eller wrote:
 
 On Mon, Feb 27, 2012 at 12:45 AM, Takashi Yoshino wrote:
 
 Thank you for your reply.
 
 My stack is a little bit large.
 It take a lot of time to show the first card. So, I want  to show a
 splash
 screen.
 
 Make a separate stack containing only the splash image (so it loads
 quickly), and from there, lock screen so the splash remains, and go to the
 larger stack, then unlock screen.
 
 ~Roger
 
 I think LiveCode on Android has only one MainStack...
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Splash at the launching on android

2012-02-26 Thread Takashi Yoshino
Hi, LiveCode experts!

I would like to show a Splash at the launching on android.

I input a PNG file to a Splash field at the Basic Application Settings.
But, there is no splash on my software on android at the launching.

Do you know how to show a splash on android?

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: Splash at the launching on android

2012-02-26 Thread Takashi Yoshino
Thank you for your reply.

My stack is a little bit large. 
It take a lot of time to show the first card. So, I want  to show a splash 
screen.


_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/02/27, at 14:07, J. Landman Gay wrote:

 On 2/26/12 7:30 PM, Takashi Yoshino wrote:
 Hi, LiveCode experts!
 
 I would like to show a Splash at the launching on android.
 
 I input a PNG file to a Splash field at the Basic Application Settings.
 But, there is no splash on my software on android at the launching.
 
 Do you know how to show a splash on android?
 
 I've been told there is no built-in way to show a splash screen on Android. 
 If you want to fake one, you can make the first card show the image and then 
 go to the second card, or else make your main stack the splash and then go to 
 a substack.
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to store some data in my stack

2012-01-26 Thread Takashi Yoshino
Hi, Ken

 Are you *really* using curly quotes around documents and testFile.txt? 
 The only reason I ask is that you have straight quotes around Data and no 
 file yet!, so I figured I'd check. If so, that might be the problem 
 (although I'd think you'd get an error dialog first, but)…

Thank you for you help.
The problem was resolved for your comment.

Quote is bad effect, but no error messages….

Thanks so much.


-- Write button
on mouseUp
   put fld Data into URL(file:  specialFolderPath(documents)  SLASH  
testFile.txt)
end mouseUp

-- Read button
on mouseUp
   put URL(file:  specialFolderPath(documents)  SLASH  testFile.txt) into 
fld Data
end mouseUp



But Japanese Text does not write correctly both Mac and Android...



_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/01/27, at 2:36, Ken Ray wrote:

 
 On Jan 25, 2012, at 10:55 PM, J. Landman Gay wrote:
 
 put specialFolderPath(“documents”)  /  “testFile.txt” into tFile
 if there is a file tFile then
   put URL(file:  tFile) into fld Data
   put the result into fld msg
 else
 answer No file yet!
 end if
 end mouseUp
 
 no file yet! is shown in an android.
 
 'Write' function can't work, that is,
  put fld Data into URL(file:  specialFolderPath(“documents”)  /  
 “testFile.txt”)
 is not working on an android.
 
 Are you *really* using curly quotes around documents and testFile.txt? 
 The only reason I ask is that you have straight quotes around Data and no 
 file yet!, so I figured I'd check. If so, that might be the problem 
 (although I'd think you'd get an error dialog first, but)…
 
 Ken Ray
 Sons of Thunder Software, Inc.
 Email: k...@sonsothunder.com
 Web Site: http://www.sonsothunder.com/
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to store some data in my stack

2012-01-25 Thread Takashi Yoshino
Hi, Klaus

Thank you for your help!

 - Read button
 on mouseUp
  put specialFolderPath(“documents”)  /  “testFile.txt” into tFile
  if there is a file tFile then
put URL(file:  tFile) into fld Data
put the result into fld msg
 else
  answer No file yet!
 end if
 end mouseUp

no file yet! is shown in an android.

'Write' function can't work, that is,
  put fld Data into URL(file:  specialFolderPath(“documents”)  /  
“testFile.txt”)
 is not working on an android.

Did someone succeed in writing a file on android? 

I tried rev online user sample.
Android- List Files and Folders 2.

On an android, list files work well, but write files did not work…


_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/01/26, at 1:04, Klaus on-rev wrote:

 Hi Takashi,
 
 Am 25.01.2012 um 16:56 schrieb 吉野 孝:
 
 Hi, Klaus
 
 Thank you for your quick reply!
 
 I changed my script, but it does not work on an android.
 (It does work on my mac.)
 
 The following are the test script.
 (URL is very easy! thanks)
 
 - Write button
 on mouseUp
  put fld Data into URL(file:  specialFolderPath(“documents”)  /  
 “testFile.txt”)
  put the result into fld msg
 end mouseUp
 
 What is the result here?
 
 - Read button
 on mouseUp
  put URL(file:  specialFolderPath(“documents”)  /  “testFile.txt”) 
 into fld Data
  put the result into fld msg
 end mouseUp
 # / - :(mac) 
 On my mac, those scripts work well.
 
 But, on my android, can't open file is shown in field msg
 
 Sorry, have no android license, no idea what's going wrong here.
 
 Maybe you should check first, if the file exists?
 
 - Read button
 on mouseUp
  put specialFolderPath(“documents”)  /  “testFile.txt” into tFile
  if there is a file tFile then
put URL(file:  tFile) into fld Data
put the result into fld msg
 else
  answer No file yet!
 end if
 end mouseUp
 
 
 
 
 Best
 
 Klaus
 
 --
 Klaus Major
 http://www.major-k.de
 kl...@major.on-rev.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to store some data in my stack

2012-01-25 Thread Takashi Yoshino
 
 Did someone succeed in writing a file on android?
 
 I have done it. I'm not sure why your code doesn't work, it's very much like 
 mine. Did you write a file first before you tried to read it?

Yes. I wrote a file first, then read it.

I give up this problem...

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/
Tel: +81-73-457-8441

On 2012/01/26, at 13:55, J. Landman Gay wrote:

 On 1/25/12 6:05 PM, Takashi Yoshino wrote:
 - Read button
 on mouseUp
  put specialFolderPath(“documents”)  /  “testFile.txt” into tFile
  if there is a file tFile then
put URL(file:  tFile) into fld Data
put the result into fld msg
 else
  answer No file yet!
 end if
 end mouseUp
 
 no file yet! is shown in an android.
 
 'Write' function can't work, that is,
   put fld Data into URL(file:  specialFolderPath(“documents”)  /  
 “testFile.txt”)
  is not working on an android.
 
 Did someone succeed in writing a file on android?
 
 I have done it. I'm not sure why your code doesn't work, it's very much like 
 mine. Did you write a file first before you tried to read it?
 
 -- 
 Jacqueline Landman Gay | jac...@hyperactivesw.com
 HyperActive Software   | http://www.hyperactivesw.com
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: How to put a new object to become a background object?

2011-11-16 Thread Takashi Yoshino
Thank you!

It works well.

I'm sorry for a very beginner's question…

_.__ ._ _. ._ ._.__ .. ._._. _._ . ..__ ._.__ ._._. ___. .._ __.. __ .._ 
Takashi Yoshino 
http://www.wakayama-u.ac.jp/~yoshino/lab/

On 2011/11/15, at 21:20, Mark Schonewille wrote:

 Hi Yoshino,
 
 Select the group, choose Edit Group from the Object menu, add your object and 
 select Stop Editing Group from the Objects object. Usually, I find it 
 convenient to stop editing the group before I continue to edit the new object.
 
 --
 Best regards,
 
 Mark Schonewille
 
 Economy-x-Talk Consulting and Software Engineering
 Homepage: http://economy-x-talk.com
 Twitter: http://twitter.com/xtalkprogrammer
 KvK: 50277553
 
 Become our partner in sales http://qery.us/1bq Start selling Color Converter 
 today. 20% commission!
 
 On 15 nov 2011, at 13:14, 吉野 孝 wrote:
 
 Hi,
 
 How to put a new object to become a background object?
 
 I make 20 cards with one background (grouped) object.
 Then, I want to add a new object to become a background object?
 
 I should delete 19 cards and re-copy 19 cards?
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode