kingsor / daily-money

An android application that helps you to record your daily expenses.
0 stars 0 forks source link

How to build the application from sources #91

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

Sorry for this stupid question, but I didn't found how can I build this 
application (create a .apk) from sources.

Original issue reported on code.google.com by ionlupascu on 26 Jun 2012 at 10:16

GoogleCodeExporter commented 9 years ago
‎(1) svn checkout http://daily-money.googlecode.com/svn/trunk/ 
daily-money-read-only
(2) open eclipse and specify workspace to daily-money-read-only
(3) import existing projects into workspace
(4) You'll see 4 projects
(5) Be sure that your Text file encoding is UTF-8
(6) Be sure that Compiler compliance level is 1.6 for dailymoney & 
dailymoney-surface

After steps above, it should work fine.

By the way, source code is now hosted on github.
https://github.com/dennischen/daily-money

Original comment by Lancelot...@gmail.com on 27 Jun 2012 at 2:36

GoogleCodeExporter commented 9 years ago
Thank you!

Also I love Github more than code.google.com.

Original comment by ionlupascu on 27 Jun 2012 at 8:07

GoogleCodeExporter commented 9 years ago
I recheck my Text file encoding is UTF-8 (by system) and Compiler compliance 
level is 1.6.

Also I want to mention that I installed all android APIs.

I did that. On importing I have this console error:
[2012-06-27 11:27:33 - DeviceMonitor] Sending Tracking request failed!

and problems:
Description Resource    Path    Location    Type

Description Resource    Path    Location    Type
Project 'dailymoney-surface' is missing required source folder: 
'src'   dailymoney-surface      Build path  Build Path Problem
The container 'Android Dependencies' references non existing library 
'/media/DATA/src/daily-money/dailymoney/bin/dailymoney.jar' dailymoney-surface      
Build path  Build Path Problem
The method countDetail(Account, int, Date, Date) of type SQLiteDataProvider 
must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 501 Java Problem
The method countDetail(AccountType, int, Date, Date) of type SQLiteDataProvider 
must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 572 Java Problem
The method countDetail(Date, Date) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 467 Java Problem
The method countDetail(String, int, Date, Date) of type SQLiteDataProvider must 
override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 505 Java Problem
The method deleteAccount(String) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 189 Java Problem
The method deleteAllAccount() of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 751 Java Problem
The method deleteAllDetail() of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 760 Java Problem
The method deleteBook(int) of type SQLiteMasterDataProvider must override a 
superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 157    Java Problem
The method deleteDetail(int) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 311 Java Problem
The method destroyed() of type SQLiteDataProvider must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 37  Java Problem
The method destroyed() of type SQLiteMasterDataProvider must override a 
superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 37 Java Problem
The method findAccount(String, String) of type SQLiteDataProvider must override 
a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 95  Java Problem
The method findAccount(String) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 55  Java Problem
The method findBook(int) of type SQLiteMasterDataProvider must override a 
superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 82 Java Problem
The method findDetail(int) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 234 Java Problem
The method getFirstDetail() of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 776 Java Problem
The method init() of type SQLiteDataProvider must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 32  Java Problem
The method init() of type SQLiteMasterDataProvider must override a superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 32 Java Problem
The method listAccount(AccountType) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 101 Java Problem
The method listAllBook() of type SQLiteMasterDataProvider must override a 
superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 164    Java Problem
The method listAllDetail() of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 319 Java Problem
The method listDetail(Account, int, Date, Date, int) of type SQLiteDataProvider 
must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 364 Java Problem
The method listDetail(AccountType, int, Date, Date, int) of type 
SQLiteDataProvider must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 427 Java Problem
The method listDetail(Date, Date, int) of type SQLiteDataProvider must override 
a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 338 Java Problem
The method listDetail(String, int, Date, Date, int) of type SQLiteDataProvider 
must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 368 Java Problem
The method newAccount(Account) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 122 Java Problem
The method newAccountNoCheck(String, Account) of type SQLiteDataProvider must 
override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 140 Java Problem
The method newBook(Book) of type SQLiteMasterDataProvider must override a 
superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 111    Java Problem
The method newBookNoCheck(int, Book) of type SQLiteMasterDataProvider must 
override a superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 128    Java Problem
The method newDetail(Detail) of type SQLiteDataProvider must override a 
superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 263 Java Problem
The method newDetailNoCheck(int, Detail) of type SQLiteDataProvider must 
override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 280 Java Problem
The method onBookDeleted(Book) of type new BookListHelper.OnBookListener(){} 
must override a superclass 
method  BookMgntActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   line 
56  Java Problem
The method onBusyError(Throwable) of type GUIs.BusyAdapter must override a 
superclass method   GUIs.java   /dailymoney/src/com/bottleworks/commons/util    line 
287 Java Problem
The method onBusyFinish() of type GUIs.BusyAdapter must override a superclass 
method  GUIs.java   /dailymoney/src/com/bottleworks/commons/util    line 284    Java 
Problem
The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 159    Java Problem
The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 183    Java Problem
The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 216    Java Problem
The method onClick(DialogInterface, int) of type new 
DialogInterface.OnClickListener(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 248    Java Problem
The method onClick(View) of type AccountEditorActivity must override a 
superclass 
method  AccountEditorActivity.java  /dailymoney/src/com/bottleworks/dailymoney/ui   
line 161    Java Problem
The method onClick(View) of type BalanceActivity must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 378    Java Problem
The method onClick(View) of type BookEditorActivity must override a superclass 
method  BookEditorActivity.java /dailymoney/src/com/bottleworks/dailymoney/ui   lin
e 134   Java Problem
The method onClick(View) of type Calculator must override a superclass 
method  Calculator.java /dailymoney/src/com/bottleworks/dailymoney/calculator2  li
ne 214  Java Problem
The method onClick(View) of type DataMaintenanceActivity must override a 
superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 76 Java Problem
The method onClick(View) of type DetailEditorActivity must override a 
superclass 
method  DetailEditorActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   l
ine 330 Java Problem
The method onClick(View) of type DetailListActivity must override a superclass 
method  DetailListActivity.java /dailymoney/src/com/bottleworks/dailymoney/ui   lin
e 386   Java Problem
The method onClick(View) of type PasswordProtectionActivity must override a 
superclass 
method  PasswordProtectionActivity.java /dailymoney/src/com/bottleworks/dailymone
y/ui    line 27 Java Problem
The method onDateSet(DatePicker, int, int, int) of type new 
DatePickerDialog.OnDateSetListener(){} must override a superclass 
method  GUIs.java   /dailymoney/src/com/bottleworks/commons/util    line 299    Java 
Problem
The method onDetailDeleted(Detail) of type new 
DetailListHelper.OnDetailListener(){} must override a superclass 
method  AccountDetailListActivity.java  /dailymoney/src/com/bottleworks/dailymoney
/ui line 94 Java Problem
The method onDetailDeleted(Detail) of type new 
DetailListHelper.OnDetailListener(){} must override a superclass 
method  DetailListActivity.java /dailymoney/src/com/bottleworks/dailymoney/ui   lin
e 109   Java Problem
The method onFinish(Object) of type new GUIs.OnFinishListener(){} must override 
a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 116    Java Problem
The method onFinish(Object) of type new GUIs.OnFinishListener(){} must override 
a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 143    Java Problem
The method onFinish(Object) of type new GUIs.OnFinishListener(){} must override 
a superclass 
method  DetailEditorActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   l
ine 359 Java Problem
The method onItemClick(AdapterView<?>, View, int, long) of type 
AccountMgntActivity must override a superclass 
method  AccountMgntActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui   li
ne 268  Java Problem
The method onItemClick(AdapterView<?>, View, int, long) of type BalanceActivity 
must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 466    Java Problem
The method onItemClick(AdapterView<?>, View, int, long) of type BookListHelper 
must override a superclass 
method  BookListHelper.java /dailymoney/src/com/bottleworks/dailymoney/ui   line 
77  Java Problem
The method onItemClick(AdapterView<?>, View, int, long) of type DesktopActivity 
must override a superclass 
method  DesktopActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui   line 
298 Java Problem
The method onItemClick(AdapterView<?>, View, int, long) of type 
DetailListHelper must override a superclass 
method  DetailListHelper.java   /dailymoney/src/com/bottleworks/dailymoney/ui   line 
107 Java Problem
The method onItemSelected(AdapterView<?>, View, int, long) of type new 
AdapterView.OnItemSelectedListener(){} must override a superclass 
method  AccountEditorActivity.java  /dailymoney/src/com/bottleworks/dailymoney/ui   
line 124    Java Problem
The method onItemSelected(AdapterView<?>, View, int, long) of type new 
AdapterView.OnItemSelectedListener(){} must override a superclass 
method  DetailEditorActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   l
ine 202 Java Problem
The method onItemSelected(AdapterView<?>, View, int, long) of type new 
AdapterView.OnItemSelectedListener(){} must override a superclass 
method  DetailEditorActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   l
ine 216 Java Problem
The method onMenuItemClick(MenuItem) of type 
DesktopActivity.DesktopItemClickListener must override a superclass 
method  DesktopActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui   line 
357 Java Problem
The method onNothingSelected(AdapterView<?>) of type new 
AdapterView.OnItemSelectedListener(){} must override a superclass 
method  AccountEditorActivity.java  /dailymoney/src/com/bottleworks/dailymoney/ui   
line 130    Java Problem
The method onNothingSelected(AdapterView<?>) of type new 
AdapterView.OnItemSelectedListener(){} must override a superclass 
method  DetailEditorActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   l
ine 210 Java Problem
The method onNothingSelected(AdapterView<?>) of type new 
AdapterView.OnItemSelectedListener(){} must override a superclass 
method  DetailEditorActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   l
ine 224 Java Problem
The method onSharedPreferenceChanged(SharedPreferences, String) of type 
PrefsActivity must override a superclass 
method  PrefsActivity.java  /dailymoney/src/com/bottleworks/dailymoney/ui   line 
40  Java Problem
The method onTabChanged(String) of type AccountMgntActivity must override a 
superclass 
method  AccountMgntActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui   li
ne 183  Java Problem
The method onTabChanged(String) of type DesktopActivity must override a 
superclass 
method  DesktopActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui   line 
255 Java Problem
The method reset() of type SQLiteDataProvider must override a superclass 
method  SQLiteDataProvider.java /dailymoney/src/com/bottleworks/dailymoney/data l
ine 47  Java Problem
The method reset() of type SQLiteMasterDataProvider must override a superclass 
method  SQLiteMasterDataProvider.java   /dailymoney/src/com/bottleworks/dailymoney/
data    line 42 Java Problem
The method run() of type GUIs.BusyRunnable must override a superclass 
method  GUIs.java   /dailymoney/src/com/bottleworks/commons/util    line 231    Java 
Problem
The method run() of type GUIs.NothrowRunnable must override a superclass 
method  GUIs.java   /dailymoney/src/com/bottleworks/commons/util    line 210    Java 
Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  AccountDetailListActivity.java  /dailymoney/src/com/bottleworks/dailymoney
/ui line 131    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 276    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 545    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 575    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 616    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 662    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  BookMgntActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   line 
87  Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 100    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 135    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 165    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 198    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 231    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  DataMaintenanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/u
i   line 260    Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  DetailListActivity.java /dailymoney/src/com/bottleworks/dailymoney/ui   lin
e 259   Java Problem
The method run() of type new GUIs.BusyAdapter(){} must override a superclass 
method  TestsDesktop.java   /dailymoney/src/com/bottleworks/dailymoney/ui   line 
178 Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  AccountDetailListActivity.java  /dailymoney/src/com/bottleworks/dailymoney
/ui line 59 Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  AccountDetailListActivity.java  /dailymoney/src/com/bottleworks/dailymoney
/ui line 114    Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  AccountMgntActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui   li
ne 156  Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 94 Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 457    Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  BalanceActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui/report
    line 499    Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  BookMgntActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   line 
39  Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  BookMgntActivity.java   /dailymoney/src/com/bottleworks/dailymoney/ui   line 
74  Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  DesktopActivity.java    /dailymoney/src/com/bottleworks/dailymoney/ui   line 
335 Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  DetailListActivity.java /dailymoney/src/com/bottleworks/dailymoney/ui   lin
e 80    Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  DetailListActivity.java /dailymoney/src/com/bottleworks/dailymoney/ui   lin
e 145   Java Problem
The method run() of type new Runnable(){} must override a superclass 
method  GUIs.java   /dailymoney/src/com/bottleworks/commons/util    line 142    Java 
Problem

Original comment by ionlupascu on 27 Jun 2012 at 10:34

GoogleCodeExporter commented 9 years ago
For "Project 'dailymoney-surface' is missing required source folder: 
'src'   dailymoney-surface      Build path  Build Path Problem",
you only need to create a folder named "src" under 'dailymoney-surface'.

Other errors seem that projects aren't compiled well. Link bellow may give some 
help.
http://stackoverflow.com/questions/1678122/must-override-a-superclass-method-err
ors-after-importing-a-project-into-eclips

Original comment by Lancelot...@gmail.com on 28 Jun 2012 at 2:18