Skip to content

Reuse Statment

mjkalyan edited this page Apr 9, 2018 · 32 revisions

AbstractGeoTaskActivity:

used to check network state:

https://stackoverflow.com/questions/4238921/detect-whether-there-is-an-internet-connection-available-on-android

used to convert bytearray to bitmap

http://ramsandroid4all.blogspot.ca/2014/09/converting-byte-array-to-bitmap-in.html

EditTaskActivity:

used for hiding button:

https://stackoverflow.com/questions/4127725/how-can-i-remove-a-button-or-make-it-invisible-in-android

TaskViewActivity:

Used to detect when profile name is clicked on

https://stackoverflow.com/questions/6226699/how-to-make-text-view-clickable-in-android

MenuActivity:

allows for user to use back button without closing app

https://stackoverflow.com/questions/2354336/android-pressing-back-button-should-exit-the-app

bind service to activity

https://www.concretepage.com/android/android-local-bound-service-example-with-binder-and-serviceconnection

reference for star btn

https://stackoverflow.com/questions/8244252/star-button-in-android

For editing the nav_header
Author Exaqt, April 18, 2016, no license stated

https://stackoverflow.com/questions/36694263/how-to-change-navigation-header-widgets-value-dynamically

FilterActivity:

Used for the spinner

https://www.tutorialspoint.com/android/android_spinner_control.htm
Author: TutorialsPoint, Date of access March 31, 2018 , no licence stated

Manifest:

- gets rid of history on apps that we dont need it on

http://www.gmarwaha.com/blog/2012/01/18/android-remove-activity-from-history-stack/

AddTaskActivity:

https://developer.android.com/training/location/retrieve-current.html#permissions https://developer.android.com/training/permissions/requesting.html

LoginActivity:

Used for setting a ImageView to hold a PNG in the XML

https://stackoverflow.com/questions/29047902/how-to-add-an-image-to-the-drawable-folder-in-android-studio

Used regex to check if email is in a valid format

https://stackoverflow.com/questions/8204680/java-regex-email

RegisterActivity:

passing one object to another activity

https://stackoverflow.com/questions/2736389/how-to-pass-an-object-from-one-activity-to-another-on-android

Used regex to check if email is in a valid format

https://stackoverflow.com/questions/8204680/java-regex-email

BidArrayAdapter:

For use of RelativeLayout.
Author Sajmon, Jul 1, 2012, no licence stated

https://stackoverflow.com/questions/11281952/listview-with-customized-row-layout-android

TaskArrayAdapter:

For general form of custom array adapter.
Author Benjamin Molina, Apr 12, 2016, no licence stated

https://stackoverflow.com/questions/36579485/how-do-i-use-an-array-of-objects-with-the-android-arrayadapter

For use of RelativeLayout.
Author Sajmon, Jul 1, 2012, no licence stated

https://stackoverflow.com/questions/11281952/listview-with-customized-row-layout-android

For setting a drawable.
Author jlopez, Mar 9, 2015, no licence stated

https://stackoverflow.com/questions/8642823/using-setimagedrawable-dynamically-to-set-image-in-an-imageview

AsyncCallBackManager:

allows for class to run independently of activity

http://corochann.com/asynctask-implementation-framework-to-be-independent-from-activity-460.html#C_Register_callback_to_invoke_Activity_method

UserDAO:

https://medium.com/@ajaysaini.official/building-database-with-room-persistence-library-ecf7d0b8f3e9

BidListConverter:

https://stackoverflow.com/questions/44580702/android-room-persistent-library-how-to-insert-class-that-has-a-list-object-fie

TestStartFromMenuActivity + TestStartFromViewTask:

general infromation for testing

https://developer.android.com/training/testing/espresso/recipes.html

ElasticSearchController:

API documentation

https://github.com/searchbox-io/Jest/tree/master/jest

SelectPhotoActivity:

used to open photo selector

https://blog.csdn.net/qq_26841579/article/details/72438318

PhotoAdapter + ViewPhotoAdapter:

https://blog.csdn.net/qq_26841579/article/details/72438318

DistanceCalculator:

https://www.geodatasource.com/developers/java The sample code is licensed under LGPLv3.

Clone this wiki locally