Monday, October 11, 2021

Android Mobile Simualtor for Microsoft Edge

 You have built a web application on your PC or laptop.  Now,  you want to see how it appears on a mobile device. This is the use case for a mobile simulator, an extension that displays how your site would appear on a handheld. It is a responsive testing tool.

It is available on Google Chrome Webstore. It can simulate 5 models of Android smartphones and 11 models of Apple smartphones.


Deatils here: Mobile Simulator


From the above site you can add it to Microsoft Edge where it will show as one of the extensions as shown.


How do you test it?

Just bring up a web page (any) as shown here:

Now click on this icon and see the simulator getting displayed as shown:


There is another web site here with some operational buttons on the right.

Tuesday, October 05, 2021

Locating the .apk file in the Android Studio Snow Cat

 The Android Studio has been changing (https://android-studio.en.uptodown.com/windows/versions). 

The version  I am using is the latest. The location of the APK file is found in the 'output' folder. In the Snow Cat version of the Android Studio the location of the APK (app-debug.apk) file is shown in this figure.

I copied the file and I installed it on an Android Phone where .apk files can be installed.

Sunday, October 03, 2021

Android app error net::ERR_CACHE_MISS and a fix

 I am a Windows Phone developer trying to get into Android App development.

I have been working with Android app development for the past couple of days with the latest Android Studio. 

I finally got an app that can display an URL . I had an important line missing in my Manifest file and when I corrected this it worked. It has to do with the browser permissions.

=========

<?xml version="1.0" encoding="utf-8"?>

<manifest xmlns:android="http://schemas.android.com/apk/res/android"

    package="com.example.mywview">

<uses-permission android:name="android.permission.INTERNET"/>

    <application

        android:allowBackup="true"

        android:icon="@mipmap/ic_launcher"

        android:label="@string/app_name"

        android:roundIcon="@mipmap/ic_launcher_round"

        android:supportsRtl="true"

        android:theme="@style/Theme.MyWView">

        <activity

            android:name=".MainActivity"

            android:exported="true">

            <intent-filter>

                <action android:name="android.intent.action.MAIN" />


                <category android:name="android.intent.category.LAUNCHER" />

            </intent-filter>

        </activity>

    </application>


</manifest>

============

Without this element highlighted in the above in the XML I was getting this error:


After adding this line to the Manifest I could get it working:

The app was deployed to the Galaxy S21+5G.


DMCA.com Protection Status