Results 1 to 4 of 4
  1. #1
    johslind is offline Member
    Join Date
    Feb 2014
    Posts
    4
    Rep Power
    0

    Default Files outside the script

    Can Java deal with files outside the script itself?
    I have made some dictionaries (Danish-Chin) for Burmese refugees of the people Chin. They can be used online, but my wish is to make an application so that the users can use them offline with their smartphones. I can rather easily create some java arrays, e.g. one array with the Danish words and another with the equivalent Chin words, but they will be rather long; in one of the vernaculars there are more than 38,000 posts; so I'd like to keep them outside the script itself as separate files. Can a script 'import' or 'include' such files?

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,457
    Blog Entries
    7
    Rep Power
    20

    Default Re: Files outside the script

    Are you sure you're talking about Java? I smell a bit of Javascript ('posts', 'script', 'online')

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    johslind is offline Member
    Join Date
    Feb 2014
    Posts
    4
    Rep Power
    0

    Default Re: Files outside the script

    Yes, I do talk about Java; I just know very little Java vocabulary for the time being.
    I have understood that it is possible to create an application for smartphones with Java in connection with Android.

  4. #4
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,906
    Rep Power
    5

    Default Re: Files outside the script

    The Java -language- is used yes, but other than that it is not so much related to Java itself. Different virtual machine, different API, different tools.

    There is an Android subforum here which is more suited for your questions, but I'd rather go to a place specifically for Android devs if I were you. And invest in a good book on Android development.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Replies: 5
    Last Post: 05-24-2013, 07:11 AM
  2. Replies: 10
    Last Post: 02-06-2013, 06:12 PM
  3. Replies: 11
    Last Post: 12-04-2011, 10:10 PM
  4. Replies: 2
    Last Post: 06-11-2011, 01:54 PM
  5. Replies: 8
    Last Post: 07-30-2010, 05:47 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •