Author Topic: source code to be downloaded not svn  (Read 2001 times)

0 Members and 1 Guest are viewing this topic.

pharmahmed20

  • Newbie
  • *
  • Posts: 11
    • View Profile
source code to be downloaded not svn
« on: 05. December 2011, 20:42:46 »
hello
i cannot use the svn source code - i don't know the reason but the application say that i unexpectedly closed i don't know why - so i really need the source code for android  as compressed file i can download and but it in the scr directory in eclipse project  so i can run it
and also told me the correct version of android that can work with this source code
i will be grateful if you told me where to put the dictionary file in eclipse project to be incorporated directly to the dictionary so i don't need to download or specify dictionary files location
thanks,,,,,

axin

  • Developer
  • *****
  • Posts: 125
    • View Profile
Re: source code to be downloaded not svn
« Reply #1 on: 06. December 2011, 02:03:06 »
Hi,

great to know you want to dig into the source code!

Can you tell me which application unexpectedly closed? Do you mean DfM if run on the emulator? If yes, can you have a look in the LogCat for an error message?

I strongly recommend you use the SVN to get the source code, as this way you can easily stay up-to-date when updates are released or release updates yourself.

For setting up Eclipse with SVN, you can try the following two links:
http://dictionarymid.sourceforge.net/forum/index.php?topic=217.msg1062#msg1062
http://dictionarymid.sourceforge.net/forum/index.php?topic=273.msg1508#msg1508

The source code should work with any Android version out there, e.g. 1.5+ You coould try version 2.3.3 as a starting point.

Please tell me if you still encounter any problems.

Cheers,
axin

pharmahmed20

  • Newbie
  • *
  • Posts: 11
    • View Profile
Re: source code to be downloaded not svn
« Reply #2 on: 06. December 2011, 19:36:15 »
thanks axin
now i finally succeeded to run it on the emulator  :D and it ask me to download a dictionary
but now i need to merge the dictionary with the source code so that it don't ask me to load a dictionary
thanks in advance
« Last Edit: 06. December 2011, 22:42:20 by pharmahmed20 »

axin

  • Developer
  • *****
  • Posts: 125
    • View Profile
Re: source code to be downloaded not svn
« Reply #3 on: 12. December 2011, 08:42:53 »
Glad to hear you got it working now.

I'm not sure if I understand you correctly. You have a dictionary file on your local machine and want DfM to load it? Then you have different possibiliities.

  • Put it on external storage, start the app and use the Menu -> Dictionary -> From file to load your dictionary. No need to use eclipse or compile the source code for this to work.
  • Put it in eclipse in a new folder in the assets/dict/ directory, compile&package the app, start it and load the dictionary using Menu -> Dictionary -> Included

After successfully loading a dictionary for the first time, the app will stop asking you to download one.

Good luck,

axin