Announcement

Collapse
No announcement yet.

Creating the application on android studio

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Creating the application on android studio

    Hi, I am creating an application for espocrm using webview, and probe the code with other page but when I put the url where no load espocrm use the login form.

    I share the link to the App so they can verify it.

    https://drive.google.com/file/d/0ByM...ew?usp=sharing

    Application structure:

    1.Content_main.xml

    He was added:

    <WebView
    android:id="@+id/webview"
    android:layout_width="match_parent"
    android:layout_height="match_parent">
    </WebView>
    ​​​​​​
    2. MainActivity.java

    He was added:

    webView = (WebView) findViewById(R.id.webview); String url = "http://demo.espocrm.com/basic/"; webView.getSettings().setJavaScriptEnabled(true); webView.loadUrl(url); webView.setWebViewClient(new WebViewClient() { public boolean shoulOverrideUrlLoading(WebView view, String url) { return false; } } );

    3.AndroidManifest.xml

    He was added:

    <uses-permission android:name="android.permission.INTERNET"/>
    Last edited by jbalta; 09-16-2016, 04:59 AM.

  • #2
    hello, nobody wants their web application ??

    Comment


    • #3
      please advise what's the benefit to have an web-view-app instead of using it directly inside browser?

      Comment


      • #4
        hi, the reason is:

        Reduction time.- when a person (client) wants to get into your CRM should follow these steps:
        • enter the browser.
        • url in google search,
        • Find your site among many better positioned,
        • Login and access.
        . "This is going to repeat every day"

        But from the client application only download and use, no need to remember the 4 steps above.

        Comment


        • #5
          how about an Url shortcut? much easier than installing an app, and saves disk spaces.

          Comment


          • #6
            I like the idea of an app. Tried installing the one above but nothing happens.

            Comment

            Working...
            X