Base-uri hinzugefĆ¼gt
[yacyandroid:yacyandroid.git] / src / net / yacy / yacyAndroid / YacyAndroidActivity.java
1 package net.yacy.yacyAndroid;
2
3 import android.app.Activity;
4 import android.os.Bundle;
5 import android.view.View;
6
7 public class YacyAndroidActivity extends Activity 
8 {
9     /** Called when the activity is first created. */
10     @Override
11     public void onCreate(Bundle savedInstanceState) 
12     {
13         super.onCreate(savedInstanceState);
14         setContentView(R.layout.main);
15     }
16     
17     /** Send the search-query to yacy */
18     public void onClickBtnSend(View view)
19     {
20         // Beispiel: http://search.yacy.net/yacysearch.html
21         // ?query=tagesspiegel&Enter=Search&verify=false
22         // &nav=hosts%2Ctopics%2Cfiletype&startRecord=0
23         // &resource=global&urlmaskfilter=.*&prefermaskfilter=
24         // &indexof=off&meanCount=5&maximumRecords=10
25         StringBuffer base = new StringBuffer("http://search.yacy.net/yacysearch.json");
26     }
27 }