Membuat Intaller Aplikasi web untuk HP Android

Membuat Intaller Aplikasi web untuk HP Android

Installer adalah suatu cara yang kita buat agar user yang akan menggunakan aplikasi kita bisa dengan mudah memasang di computer, laptop atau hp android yang dia punyai. Bagi pengguna smartphone android menginstall sebuah website bisa dilakukan dengan melakukan dobel klik pada file installer.apk yang sudah dibuat oleh developer web tersebut.

Manfaat dari kita membuat installer aplikasi web dari hp android adalah user tidak usah mengetikkan alamat url aplikasi website yang kita buat. User tinggal download file installer.apk yang sudah buat kemudian jalankan dari hp android. Beberapa hp android memerlukan setingan agar mengijinkan instalasi dari berkas yang tidak valid.

Manfaat lain adalah bagi pemilik website membuat installer berbagis android atau file installer.apk bisa kita upload di situs penyedia layanan donwnload apk. Seperti google playstore atau apkpure agar kita mendapat bayaran dari aplikasi yang telah didownload oleh user lainnya.

Untuk membuat installer aplikasi web kita bisa menggunakan aplikasi android studio. Jika belum mempunyai android studio. Instal terlebih dahulu softwarenya di situs resminya. Ketik di google download android studio untuk windows jika menggunakan os windows. Untuk linux jika menggunakan os linux. Download kemudian install seperti biasa.
Step by step membuat installer aplikasi web untuk HP android

Buka aplikasi android studio – klik new project – isikan nama project – pilih empty activity – masukkan nama activity (default boleh) – tekan finish. Tunggu hingga proses selesai.

Edit Halaman mainactivity.xml copi pastekan script di bawah ini

</pre>
<?xml version="1.0" encoding="utf-8"?><RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:ads="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_height="match_parent" tools:context=".MainActivity">
 
<WebView android:id="@+id/WebView" android:layout_width="match_parent" android:layout_height="match_parent" >
</WebView>
 
</RelativeLayout>
<pre>

Edit Halaman mainactivity.java copi pastekan script di bawah ini. Pada bagian url website masukkan url website yang kita pakai. Pada bagian view.loadUrl(“https://yeswebsolution.xyz/”); ganti loadUrl dengan url webiste kita.

</pre>
package com.yeswebsolution.yeswebsolutionblog;
 
import android.app.DownloadManager;
import android.content.Context;
import android.net.Uri;
import android.os.Environment;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.KeyEvent;
import android.webkit.CookieManager;
import android.webkit.DownloadListener;
import android.webkit.URLUtil;
import android.webkit.WebChromeClient;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.Toast;
 
public class MainActivity extends AppCompatActivity {
 
private WebView view;
 
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
 
//untuk menampilkan webview... view = (WebView) this.findViewById(R.id.WebView);
view.getSettings().setJavaScriptEnabled(true);
// fungsi zoom (opsional) view.getSettings().setBuiltInZoomControls(true);
 
view.setWebViewClient(new MyBrowser());
view.loadUrl("https://yeswebsolution.xyz/");
//try js alert view.setWebChromeClient(new WebChromeClient()); // adding js alert support
//download view.setDownloadListener(new DownloadListener() {
@Override public void onDownloadStart(String url, String userAgent, String contentDisposition, String mimeType, long l) {
DownloadManager.Request request = new DownloadManager.Request(Uri.parse(url));
DownloadManager DM = (DownloadManager) getSystemService(Context.DOWNLOAD_SERVICE);
String cookies = CookieManager.getInstance().getCookie(url);
request.setMimeType(mimeType);
request.addRequestHeader("cookies", cookies);
request.addRequestHeader("uerAgent", userAgent);
String data_file = URLUtil.guessFileName(url, contentDisposition, mimeType);
request.setTitle(data_file);
request.setAllowedOverRoaming(false);
request.setAllowedNetworkTypes(DownloadManager.Request.NETWORK_WIFI|DownloadManager.Request.NETWORK_MOBILE);
request.setNotificationVisibility(DownloadManager.Request.VISIBILITY_VISIBLE_NOTIFY_COMPLETED);
request.allowScanningByMediaScanner();
request.setDestinationInExternalPublicDir(Environment.DIRECTORY_DOWNLOADS, data_file);
if (DM != null) {
DM.enqueue(request);
}
Toast.makeText(getApplicationContext(), "Downloading File", Toast.LENGTH_LONG).show();
}
});
 
}
 
//agar tidak redirect ke web browser saat di klik link class MyBrowser extends WebViewClient {
@Override public boolean shouldOverrideUrlLoading(WebView view, String url ){
view.loadUrl(url);
return true;
}
}
 
//Untuk membuat kondisi saat disentuh tombol back dan kembali pada halaman sebelumnya, kita perlu menggunakan method goback() seperti berikut public boolean onKeyDown(int keyCode, KeyEvent event) {
//ketika disentuh tombol back if ((keyCode == KeyEvent.KEYCODE_BACK) && view.canGoBack()) {
view.goBack(); //method goback() dieksekusi untuk kembali pada halaman sebelumnya return true;
}
// Jika tidak ada history (Halaman yang sebelumnya dibuka) // maka akan keluar dari activity return super.onKeyDown(keyCode, event);
}
 
}
}
<pre>

Edit bagian res-string-value isikan dengan nama aplikasi kita misalkan : aplikasi system informasi akademik.

Buka menu Build apk. Tunggu hingga proses selesai, Jika tidak ada eror akan tampil menu untuk membuka lokasi file installer.apk yang sudah kita buat tadi.

Buka folder output-apk kopi file installer.apk dan pindah ke hp android yang akan kita install aplikasi web tersebut. Kita bisa memindahkan file apk dengan kabel data, kirim wa, telegram. Email tidak bisa kita gunakan untuk mengirim file apk ini.

Dari hp android buka file installer.apk yang sudah kita buat tadi. Selanjutnya seperti biasa teruskan dengan klik beberapa next proses. Selesai. Aplikasi website yang kita buat tadi telah terinstall di hp android dan bisa digunakan sebagaimana mestinya.

Ada pertanyaan silahkan tuliskan pertanyaan di form Tanya jawab. Terima kasih , selamat mencoba

Source Code Bridging BPJS dengan simrs

Source Code Bridging BPJS dengan simrs tutorial php lengkap untuk bridging bpjs dengan simrs agag sulit kita dapatkan diinternet. Namun Read more

Tutorial Codeigniter Gratis Membangun Sistem Informasi Akademik

Tutorial Codeigniter Gratis Membangun Sistem Informasi Akademik Codeigniter adalah salah satu framework yang bisa digunakan untuk membuat aplikasi dengan menggunakan Read more

Source Code Aplikasi PHP Gratis untuk Mengelola Berkas di Tempat Kerja

Source Code Aplikasi PHP Gratis untuk Mengelola Berkas di Tempat Kerja Aplikasi ini berfungsi untuk mengelompokkan file document secara digital Read more

Download PHP Sistem Pakar Penyakit Manusia Berbasis Web

Download PHP Sistem Pakar Penyakit Manusia Berbasis Web Sistem pakar atau dalam bahasa Inggris disebut dengan Expert System adalah sebuah Read more

107 Replies to “Membuat Intaller Aplikasi web untuk HP Android”

  1. Stromectol says:

    Propecia Information Leaflet

  2. Piopoky says:

    http://buystromectolon.com/ – buying ivermectin online

  3. icocouche says:

    http://buysildenshop.com/ – order viagra online no prescription

  4. Propecia says:

    Plavix At Discount

  5. payprox says:

    http://buypropeciaon.com/ – buy propecia without doctor

  6. Priligy says:

    Canadian Drugs Without Prescription

  7. Zithromax says:

    le cialis est il dangereux

  8. obtaict says:

    https://buylasixshop.com/ – lasix without a script

  9. Overdose Amoxicillin 3000 Mg Day

  10. Prednisone says:

    Find Cialis In Germany

  11. optiowica says:

    http://prednisonebuyon.com/ – can you take naproxen with prednisone

  12. Mee Cockayne says:

    You really make it seem really easy along with your presentation however I to find this matter to be really something that I feel I would never understand. It seems too complicated and very extensive for me. I’m looking ahead for your subsequent submit, I’ll try to get the hold of it!|

  13. Hey there! I’ve been following your weblog for some time now and finally got the bravery to go ahead and give you a shout out from New Caney Tx! Just wanted to mention keep up the good job!|

  14. This is my first time visit at here and i am in fact impressed to read all at alone place.|

  15. What’s up, everything is going sound here and ofcourse every one is sharing facts, that’s really excellent, keep up writing.|

  16. When I initially commented I clicked the “Notify me when new comments are added” checkbox and now each time a comment is added I get four emails with the same comment. Is there any way you can remove people from that service? Appreciate it!|

  17. Elmo Fatula says:

    Nice replies in return of this issue with solid arguments and describing the whole thing about that.|

  18. Addiekiz says:

    Excellent website you have here but I was wanting to know if you knew of any forums that cover the same topics talked about here? I’d really love to be a part of community where I can get responses from other knowledgeable people that share the same interest.If you have any recommendations, please let me know. Thanks a lot! Sourse: escort.beautyaloebeer.com very nice and adorable .

  19. WilleneBog says:

    This web site certainly has all of the information I Check the sound: escort.felipedulzaides.com love female couple chat .

  20. Raymon Boque says:

    Great web site you’ve got here.. It’s difficult to find high quality writing like yours these days. I honestly appreciate individuals like you! Take care!!|

  21. Hi! I’ve been following your blog for a long time now and finally got the bravery to go ahead and give you a shout out from Dallas Tx! Just wanted to say keep up the good job!|

  22. Stromectol says:

    Cephalexin Dosage Dogs

  23. Link exchange is nothing else however it is just placing the other person’s website link on your page at proper place and other
    person will also do same in favor of you.

  24. What i do not understood is in reality how you’re not actually a lot more neatly-favored than you might be now. You are so intelligent. You recognize therefore considerably when it comes to this matter, made me in my view imagine it from a lot of varied angles. Its like men and women don’t seem to be fascinated unless it’s something to accomplish with Lady gaga! Your own stuffs excellent. At all times care for it up!|

  25. Viagra says:

    Progesterone C.O.D. Internet

  26. Luigi Spires says:

    I’m extremely impressed with your writing talents as neatly as with the format in your blog. Is this a paid subject or did you modify it your self? Anyway stay up the nice high quality writing, it is uncommon to peer a nice blog like this one these days..|

  27. I have been surfing online more than 3 hours today, but I never discovered any interesting article like yours.
    It’s lovely worth enough for me. In my view, if all webmasters and bloggers made just right content as you probably
    did, the web will be much more helpful than ever before.

  28. Wirkung Viagra Bei Frau

  29. Cialis says:

    venta viagra por internet espanol

  30. I know this if off topic but I’m looking into starting my own blog and was curious what all is needed to get setup?
    I’m assuming having a blog like yours would cost a pretty penny?
    I’m not very web savvy so I’m not 100% certain. Any tips
    or advice would be greatly appreciated. Cheers

  31. I am in fact glad to read this web site posts which contains plenty of helpful facts, thanks for providing such information.

  32. Lasix says:

    Levitra Cuanto Dura En El Cuerpo

  33. Hello there! This post couldn’t be written any better!
    Going through this article reminds me of my previous roommate!
    He always kept talking about this. I’ll send this
    information to him. Fairly certain he’s going to have
    a good read. I appreciate you for sharing!

  34. Right here is the perfect site for anyone who would like to find
    out about this topic. You understand so much its almost hard to argue with you (not that I personally
    would want to…HaHa). You certainly put a fresh spin on a subject which has been written about for years.
    Excellent stuff, just great!

  35. Thankfulness to my father who stated to me concerning this webpage, this blog is genuinely awesome.

  36. That is really attention-grabbing, You are a very skilled blogger.
    I have joined your rss feed and stay up for in the hunt for extra of your great post.
    Additionally, I have shared your web site in my social networks

  37. With havin so much content do you ever run into any issues of plagorism or
    copyright violation? My blog has a lot of exclusive content I’ve either written myself or outsourced but it looks like a
    lot of it is popping it up all over the web without my agreement.
    Do you know any solutions to help reduce content from being ripped off?
    I’d truly appreciate it.

  38. What’s up it’s me, I am also visiting this site on a regular basis,
    this web site is really nice and the people are really sharing good thoughts.

  39. I read this article fully on the topic of the resemblance of latest
    and preceding technologies, it’s remarkable article.

  40. Whoa! This blog looks exactly like my old one! It’s on a totally different subject but it has pretty
    much the same page layout and design. Outstanding choice of colors!

  41. Hi to all, how is everything, I think every one
    is getting more from this web site, and your views are nice designed
    for new users.

  42. I know this if off topic but I’m looking into starting my own blog and
    was curious what all is needed to get setup? I’m assuming having a blog
    like yours would cost a pretty penny? I’m not very web savvy so I’m not 100% certain. Any tips or advice would be
    greatly appreciated. Many thanks

  43. Prednisone says:

    What Are The Dosage Of Propecia

  44. Beverlymap says:

    Jag Г¤r en 19 ГҐr gammal kvinna ute efter vГ¤nner im blyg till en bГ¶rjan men mycket frisprГҐkig, im roligt att vara runt och Г¤lskar att ha en bra tid. StrГ¤ngnГ¤s – Sverige eskortejenter rocky xxx

  45. Sylviabib says:

    koi hot girls bhabhi hain http://www.elbosmedikal.com/dil.asp?dil=tr&redir=tsfestival.com anastasia rose shes got a lovely little fanny i wanna smell it .

  46. Oh my goodness! Amazing article dude! Thanks, However I am having difficulties with your RSS.
    I don’t understand the reason why I cannot subscribe to it.
    Is there anybody else having the same RSS problems? Anybody who knows the solution will you kindly respond?
    Thanx!!

  47. DorisCarne says:

    Open minded mature pacific island shemale working in the travel and tourism field open to listen and consider potential offers of interest as generally i’m not fussed on the speed or pace of any interactions, so long a. beautiful girl with amazing sexy engorged breasts Pavlena escort Kitchener escorts provide also a great site .

  48. Bridgetsaf says:

    Looking to meet a lady for casual encounters and fun, meet first to see what happens i am a fit 19 year old which is happy go lucky. small dick i can fuck you better Gelzar 34ГҐr – Eskort Trampning i Boo laura orsolya laura i need to meet this one .

  49. Excellent blog you have here but I was curious about if you knew of any discussion boards
    that cover the same topics discussed in this article? I’d really like
    to be a part of community where I can get advice from other knowledgeable individuals
    that share the same interest. If you have any suggestions, please let me know.
    Appreciate it!

  50. Hi, i think that i saw you visited my web site so i came
    to “return the favor”.I am attempting to find things to
    improve my site!I suppose its ok to use a few
    of your ideas!!

  51. KristinGergy says:

    Travelling through brisbane on business looking for woman (or women) to show me a good time no strings attached, set boundaries together and go for it please each other only here for a few days staying cbd person. huuuuummmm k fodao levavas Unforgettable Jolisse escort Masturbation Valencia amateur webcam teen bitte mehr vid von dir in strumpfhosen .

  52. EvelynKeest says:

    fantastica sara mi piacerebbe che me lo succhiassi Hornbunny huren Huren In Wuppertal gyno videos shit hot and hornyam so hard .

  53. Huren_Obelm says:

    Have a real soft side iv lived in darwin and melbourne and love darwin the most. geil gefickt hab geil dazu gewichst Salzgitter sexmassage handjob cumshots gif love to be n that room .

  54. Tomas Korwin says:

    Simply desire to say your article is as surprising. The clarity in your post is simply cool and i could assume you’re an expert on this subject. Well with your permission let me to grab your feed to keep up to date with forthcoming post. Thanks a million and please continue the gratifying work.|

  55. Huren_Obelm says:

    I’m a somewhat inexperiance person (sexually) and i’m looking to broaden my horizons i’m in an open relationship with a woman who is much more experienced than i am and she tells me to get out there and get some for. mmm so hot ill get in that line for surexoxo Darmstadt huren bryce model i love cheating cocksucking women .

  56. It’s amazing to pay a quick visit this web site and reading the views of all colleagues about this paragraph, while I am also keen of getting familiarity.|

  57. Enda Boddy says:

    Pretty section of content. I just stumbled upon your website and in accession capital to assert that I acquire in fact enjoyed account your blog posts. Any way I will be subscribing to your augment and even I achievement you access consistently rapidly.|

  58. Son Camell says:

    Hi there i am kavin, its my first time to commenting anyplace, when i read this paragraph i thought i could also create comment due to this good article.|

Leave a Reply

Your email address will not be published.

© 2021 javacposjavacpos.com ALL RIGHT RESERVED