🔒 Closed Phcorner app v1.2 (update)

Status
Not open for further replies.
Haha..kasi jan nabubuhay ang site sa ads..
i know..kung ikaw tatanungin ko, mas gusto mo ba na puro ads ang page na makikita mo?
kahit hindi sabihin, halos lahat ng members dito sa phc or even a normal web user ay gumagamit ng adblocker, kaya nilagyan ko ng built in adblocker itong apps..take note, the intention of this apps is for convenience of the members not to ruin this forum, hindi po basta basta mamamatay itong site dahil dyan:):)
 
i know..kung ikaw tatanungin ko, mas gusto mo ba na puro ads ang page na makikita mo?
kahit hindi sabihin, halos lahat ng members dito sa phc or even a normal web user ay gumagamit ng adblocker, kaya nilagyan ko ng built in adblocker itong apps..take note, the intention of this apps is for convenience of the members not to ruin this forum, hindi po basta basta mamamatay itong site dahil dyan:):)
My mali ata sa download na code mo dre..
 
webView.setDownloadListener(new DownloadListener() {
Override
public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimeType, long contentLength) {
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));


request.setMimeType(mimeType);
//------------------------COOKIE!!------------------------
String cookies = CookieManager.getInstance().getCookie(url);
request.addRequestHeader("cookie", cookies);
//------------------------COOKIE!!------------------------
request.addRequestHeader("User-Agent", userAgent);
request.setDescription("Downloading file...");
request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));
request.allowScanningByMediaScanner();
request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, URLUtil.guessFileName(url, contentDisposition, mimeType));
DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
dm.enqueue(request);
Toast.makeText(getApplicationContext(), "Downloading File", Toast.LENGTH_LONG).show();
}
});
 
webView.setDownloadListener(new DownloadListener() {
Override
public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimeType, long contentLength) {
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));


request.setMimeType(mimeType);
//------------------------COOKIE!!------------------------
String cookies = CookieManager.getInstance().getCookie(url);
request.addRequestHeader("cookie", cookies);
//------------------------COOKIE!!------------------------
request.addRequestHeader("User-Agent", userAgent);
request.setDescription("Downloading file...");
request.setTitle(URLUtil.guessFileName(url, contentDisposition, mimeType));
request.allowScanningByMediaScanner();
request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, URLUtil.guessFileName(url, contentDisposition, mimeType));
DownloadManager dm = (DownloadManager) getSystemService(DOWNLOAD_SERVICE);
dm.enqueue(request);
Toast.makeText(getApplicationContext(), "Downloading File", Toast.LENGTH_LONG).show();
}
});
anong mali dyan
 
My mali sayo..ayaw mg download..
:):) anong version ng android mo sir? sa ngayon ikaw palang nagreport ng ganyan kahit nung previous version nito walang nagreport ng ganyan..kahit sakin wala naman problema sa pagdownload, btw salamat sa report pag-aaralan ko po sir
 
:):) anong version ng android mo sir? sa ngayon ikaw palang nagreport ng ganyan kahit nung previous version nito walang nagreport ng ganyan..kahit sakin wala naman problema sa pagdownload, btw salamat sa report pag-aaralan ko po sir
paps paturo naman pano gumawa ng apps
 
natry mo mg download nang file sa app mo?
:):) anong version ng android mo sir? sa ngayon ikaw palang nagreport ng ganyan kahit nung previous version nito walang nagreport ng ganyan..kahit sakin wala naman problema sa pagdownload, btw salamat sa report pag-aaralan ko po sir
 
Status
Not open for further replies.

About this Thread

  • 68
    Replies
  • 2K
    Views
  • 30
    Participants
Last reply from:
Kaidus

Online now

Members online
1,160
Guests online
1,050
Total visitors
2,210

Forum statistics

Threads
2,274,693
Posts
28,957,671
Members
1,233,403
Latest member
uradox
Back
Top