use of com.jaku.request.SearchRequest in project RoMote by wseemann.
the class AltMainActivity method performSearch.
private void performSearch(String searchText) {
String url = CommandHelper.getDeviceURL(this);
SearchRequest searchRequest = new SearchRequest(url, searchText, null, null, null, null, null, null, null, null, null);
JakuRequest request = new JakuRequest(searchRequest, null);
new RequestTask(request, new RequestCallback() {
@Override
public void requestResult(RokuRequestTypes rokuRequestType, RequestTask.Result result) {
}
@Override
public void onErrorResponse(RequestTask.Result result) {
}
}).execute(RokuRequestTypes.search);
}
use of com.jaku.request.SearchRequest in project RoMote by wseemann.
the class MainActivity method performSearch.
private void performSearch(String searchText) {
String url = CommandHelper.getDeviceURL(this);
SearchRequest searchRequest = new SearchRequest(url, searchText, null, null, null, null, null, null, null, null, null);
JakuRequest request = new JakuRequest(searchRequest, null);
new RequestTask(request, new RequestCallback() {
@Override
public void requestResult(RokuRequestTypes rokuRequestType, RequestTask.Result result) {
}
@Override
public void onErrorResponse(RequestTask.Result result) {
}
}).execute(RokuRequestTypes.search);
}
Aggregations