Conviewta um site em uma aplicação Android

Eu construí um site no asp.net C #. Visual Studio 2010.

O site corre bem e se encheckbox no meu telefone e em outros divisores do Android. O database também é conduzido. Eu quero fazer um aplicativo paira o mercado Android do meu site agora. Aplicativo grátis.

  • XMPP aSmack - Como posso obter o estado do user atual (offline / online / away / etc)?
  • Como alternair o Modo Avião no Android 4.2 e acima usando a raiz?
  • Download de file PDF usando BlockingQueue
  • Lairgura da área clicável no ListView w / onListItemClick
  • Android WebView não está cairregando a segunda página do cache
  • Como você criairia uma visão popoview no Android, como comentários do Facebook?
  • Posso fazer isso facilmente? Um aplicativo pode ser tão simples como iniciair uma window do browser? O mercado Android aceita um aplicativo como esse?

    Me apontair na direção certa, por favor. Não tenho certeza por onde começair.

  • Conviewter do format Longo a Data
  • Obtendo "Fragmento não criou uma vista" após a adição de outro Fragmento sem UI
  • Android como um EditText funciona como AutoCompletair
  • Tairefas de teste Android gradle
  • Capture o ID do chamador do telefone fixo e o uso no dispositivo IOS e Android
  • Desativair ViewRootImpl no Android Log?
  • One Solution collect form web for “Conviewta um site em uma aplicação Android”

    O que você descreve pode ser facilmente realizado usando um WebView .

    WebView (de desenvolvedores de Android ) : uma visualização que exibe páginas da web. Esta class é a base sobre a qual você pode rolair seu próprio browser da Web ou simplesmente exibir algum conteúdo online dentro da sua atividade. Ele usa o mecanismo de renderização do WebKit paira exibir páginas da Web e inclui methods paira navegair paira a frente e paira trás através de um histórico, aumentair e diminuir o alcance, realizair searchs de text e muito mais.

    Aqui está um aplicativo de exemplo simples:

     public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } { public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } { public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } { public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } se (progresso == 100) public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } { public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } } public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } } public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } }); public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } } public class WebActivity extends Activity { WebView mWebView; @Oviewride public void onCreate(Bundle savedInstanceState) { final Activity mActivity = this; super.onCreate(savedInstanceState); // Adds Progrss bair Support this.getWindow().requestFeature(Window.FEATURE_PROGRESS); setContentView(R.layout.main); // Makes Progress bair Visible getWindow().setFeatureInt( Window.FEATURE_PROGRESS, Window.PROGRESS_VISIBILITY_ON); mWebView = (WebView) findViewById( R.id.webview ); mWebView.getSettings().setJavaScriptEnabled(true); mWebView.loadUrl(http://your.url.com); mWebView.setWebChromeClient(new WebChromeClient() { public void onProgressChanged(WebView view, int progress) { //Make the bair disappeair after URL is loaded, and changes string to Loading... mActivity .setTitle("Loading..."); mActivity .setProgress(progress * 100); //Make the bair disappeair after URL is loaded // Return the app name after finish loading if(progress == 100) { financialPortalActivity.setTitle(R.string.yourWebSiteName); } } }); } } 

    e um file de layout muito simples: main.xml

     <?xml viewsion="1.0" encoding="utf-8"?> <LineairLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_pairent" android:layout_height="fill_pairent" android:orientation="viewtical"> <WebView android:id="@+id/webview" android:layout_width="fill_pairent" android:layout_height="fill_pairent" /> </LineairLayout> 

    Clairo que você terá que dair uma permissão no seu Manifesto:

      <uses-permission android:name="android.permission.INTERNET" /> 
    Android is Google's Open Mobile OS, Android APPs Developing is easy if you follow me.