趙之宇
臺北市立大學 資訊科學系
©2014 Denffer, Department of Computer Science, University of Taipei
Outline
.Skills
.Graduation Project
.Experience
.Prospect
Skills
Java & Android
Tool: Eclispe
Html & Css & JavaScript
Tool: Sublime Text 3
Linux
Tool: Linux Mint
PHP & MySQL
Tool: Linux Mint
Graduation Project
Lost and Found
find your personal item with your smartphone
Adviser: Prof. SHIH-TSUNG LIANG
Incentive
Personal items are always nowhere to be found
Technique
.Android
Tool: Eclispe
.PHP & MySQL
Tool: LAMP on Linux Mint Server
.Bluetooth 4.0 (BLE)
Tool: ibeacon
Structural Diagram
Server
Items
Fragment
Phone
Fragment
Profile
Fragment
FragmentActivity
ibeacon
PHP & MySQL
Bluetooth
Concept
xml
Fragments
FragmentActivity
class Update extends AsyncTask<String, String, String> {
protected void onPreExecute() {
}
protected String doInBackground(String... args) {
}
protected void onPostExecute(String file_url) {
}
}
public void update() {
new Update().execute();
}
// prompt user to wait
// run
// acknowledge
FragmentActivity
.
private PagerAdapter pagerAdapter;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ViewPager viewPager = (ViewPager) findViewById(R.id.pager);
pagerAdapter = new PagerAdapter(getSupportFragmentManager());
viewPager.setAdapter(pagerAdapter);
}
FragmentActivity
FragmentActivity
ItemsFragment
PhoneFragment
ProfileFragment
ItemsFragment
_beacons = new ArrayList<IBeacon>();
.ArrayList
.BluetoothAdapter.LeScanCallback
private BluetoothAdapter.LeScanCallback mLeScanCallback
= new BluetoothAdapter.LeScanCallback()
{
int newDistance = (int)calculateDistance(
newBeacon.getPowerValue(), rssi);
}
.iBeacon
PhoneFragment
PhoneFragment
.Edit
List<NameValuePair> params = new ArrayList<NameValuePair>();
params.add(new BasicNameValuePair("value", value));
1. ArrayList
2. JSONParser → makeHTTPRequest
3. PHP & MySQL
JSONObject json =jParser.makeHttpRequest(url,"POST",params);
$result = mysql_query("SELECT * FROM items
where user_id = '$user_id'")
PhoneFragment
.OFF → ON → 15% →BatteryService
1. GPS
locationManager = (LocationManager)
context.getSystemService(Context.LOCATION_SERVICE);
Location location = locationManager.getLastKnownLocation
(LocationManager.NETWORK_PROVIDER);
geocoder = new Geocoder(this, Locale.getDefault());
addresses = geocoder.getFromLocation(latitude, longitude, 1);
2. Location ← Longitude + Latitude
3. Google Map
ProfileFragment
.Edit
List<NameValuePair> params = new ArrayList<NameValuePair>();
params.add(new BasicNameValuePair("values", values));
1. ArrayList
2. JSONParser → makeHTTPRequest
3. PHP & MySQL
JSONObject json =jParser.makeHttpRequest(url,"POST",params);
$result = mysql_query("SELECT * FROM user_info
where user_id = '$user_id'")
Completeness
80%
Outline
.Skills
.Graduation Project
.Experience
.Prospect
Experience
English Teacher
English is only a
Skill
is what matters
Specialty
Prospect
Short-term Goal
Complete
Lost and Found
Learn more about
Python & Html & Css & JavaScript
Medium-term Goal
Research Student
under Prof. Chuan-Ju Wang
Teaching Assistance
under Prof. SHIH-TSUNG LIANG
Long-term Goal
Further Education
USA
Starting a career
Technology firm
Conclusion
Question & Discussion
Self_Introduction
By Denffer
Self_Introduction
- 256