MVC: Android application with MVC pattern

When I develop an app in Android Studio, there is a database in SQL Server and I want to use the data that is there via a web service. The point is that I want to use the MVC pattern. I know that I have to separate both models into packages as controllers and views are already considered activities. My question is how they would handle the connection. I know that if I use the Android database, I would use helpers and then call them from the model, doing the same to connect to the web service. or is there a better way to do it

I'll be converting your site into an Android Mobile app for $ 5

I will convert your website into an Android Mobile App

I will turn your website / blog and other websites into a fully responsive Android app.

The Android app has all the features of the site and contains the latest content on the site. If you make changes to the website, they will be automatically updated. The app does not have to be updated manually.

I will send APK and IPA files of your application

Bonus:

  • Welcome Screen
  • App Icon with your logo

What you get from my services:

☛ Professional App

☛ Support even after delivery

gradle – ERROR: Method android () for arguments could not be found

Este es el error que me da android studio

El buildGradle:

 android {
        compileSdkVersion 23
        buildToolsVersion '23.0.1'

        defaultConfig {
            applicationId 'com.MyApp'
            minSdkVersion 9
            targetSdkVersion 21
            versionCode 1
            versionName "1.0"
        }

        lintOptions {
            abortOnError false
        }

        buildscript {
            repositories {
                google() // For Gradle 4.0+
                maven { url 'https://maven.google.com' }
            }
            dependencies {
                classpath 'com.android.tools.build:gradle:3.5.0'

                // NOTE: Do not place your application dependencies here; they belong
                // in the individual module build.gradle files
            }
        }

        allprojects {
            repositories {
                jcenter()
                maven
            }
        }

        dependencies {
            compile fileTree(dir: 'libs', include: ('*.jar'))
        }
    }

y el gradle-wrapper.properties:

distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https://services.gradle.org/distributions/gradle-2.6-all.zip

El error:

ERROR: Method android () for arguments could not be found
(build_szu6u1qudhn719nxb58vfd0f $ _run_closure1 @ 1fcc37a7) on root
Project # prueva2 #.

Alguna solution?

builds – The tool built by Lunch android does not work as intended

I have cloned these repos.

git clone https://android.googlesource.com/platform/build
git clone https://android.googlesource.com/platform/build/soong
git clone https://android.googlesource.com/platform/build/blueprint

after source my env exactly as stated in the android build reference.
https://source.android.com/setup/build/building#initialize

I can not handle lunch properly. lunch aosp_arm-eng gives me
build_build_var_cache:7: no such file or directory: build/soong/soong_ui.bash I've made a copy of my build for the purpose of the command
in root, but it did not help either. Another command ./build/soong/soong_ui.bash
gives me go tool: no such tool "compile", however go tool compile works.

EDIT: I've solved the first part of the problem. The function gettop looked up his top directory local TOPFILE=build/make/core/envsetup.mk I have just removed make because I have it in the path without make.

I'll be converting your site into an Android Mobile app for $ 5

I will convert your website into an Android Mobile App

I will turn your website / blog and other websites into a fully responsive Android app.

The Android app has all the features of the site and contains the latest content on the site. If you make changes to the website, they will be automatically updated. The app does not have to be updated manually.

I will send APK and IPA files of your application

Bonus:

  • Welcome Screen
  • App Icon with your logo

What you get from my services:

☛ Professional App

☛ Support even after delivery

How do I change from the "Internal Beta" version in the Android App Store?

I want to install the latest public version of an app I am working on. I happen to be a beta tester as well.

The page for the app in the Android Play Store has lots of hints that it's the internal beta:

You are an internal tester. This app may be insecure or unstable.

How do I turn this off without removing myself from the beta tester list?

Android Studio – Can I use a proxy and change the IP address in WebView?

I have to display a website in WebViewbut with a specific IP, because different information is displayed depending on the IP address configured by the browser.

On Windows, I configured the browser with an HTTP proxy. Xxxx.aaa.es port: 8080, I do not know if it is necessary to configure WebView with a proxy because I can not enter a specific IP address and I do not know if the proxy is required.

The code I have is the following:

In the fragment class

  mWebView = (WebView) view.findViewById( R.id.webView_Todos);
        mWebView.getSettings().setJavaScriptEnabled( true );   
        mWebView.getSettings().setAppCacheEnabled( true );
        mWebView.getSettings().setPluginState(WebSettings.PluginState.ON); 
        mWebView.getSettings().setBuiltInZoomControls( true );   
        mWebView.getSettings().setDisplayZoomControls( false );  
        mWebView.getSettings().setSupportZoom( true );
        mWebView.getSettings().setLoadWithOverviewMode( true );
        mWebView.getSettings().setUseWideViewPort( true );
        mWebView.setInitialScale(1);

        mWebView.loadUrl( "https://paginaweb.es" );

In the XML


How can I configure in WebView to enter a specific IP?

Thank you very much

Samsung Galaxy S8 + – Android 9 update to S8 + caused low FPS in many games

After updating to Android 9 on my s8 + (many months ago) I was not able to run most of my favorite games as usual at 60 fps. What I noticed is that my whole phone is slowing down. If I scroll from top to bottom to see the time, the whole phone seems to be late. Actually, Every game runs at the same extremely low frame rate, I have no idea why, but only a few games work perfectly.
I uninstalled most apps installed at that time, and apparently there was no change.

How to set the same width for multiple text views regardless of the number of vertically aligned words in Android? [on hold]

As you can see in the attached pictureEnter image description hereLine 1 contains two words, Line 2 contains four words, and the last line contains a word. But they all have the same width, regardless of the text size and word count. Can someone help me achieve this?