• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

New Game: Neon Escape - lite dash version (Version 1.01)

WHAT'S NEW
Bug fixes

EXTRA INFO
  • Rating: 0
  • Installs: 1+
  • Download Size: 79M
  • Version: 1.01
DESCRIPTION
Test your reaction and get ready for a real challenge! This won't be easy...

..Game Features..

* Action Platforming
* Eight unique levels. (soon more)
* Unlock characters models.
*Jump, dash, change gravity, dodge obstacles.
* Cool 3D graphics.
* Hard game. Challenge yourself with the near impossible!

New App: The Harder Times (Version 2.1)

WHAT'S NEW
Now it's possible to refresh all articles after changing the country in one click

EXTRA INFO
  • Rating: 4.2
  • Installs: 10+
  • Download Size: 5.8M
  • Version: 2.1
DESCRIPTION
The Harder Times application provides you with the latest national and international breaking news from many worldwide media sources, including:
- Google News
- Associated Press
- BBC
- CNN
- Fox News
- Independent
- MTV News
- National Geographic
- New York Magazine
- Reuters
- The Wall Street Journal
- The Washington Post
- USA Today
- Bloomberg
- Business Insider
- Le Monde
- L'equipe

And many others, from 54 countries:

Argentina
Australia
Austria
Belgium
Brazil
Bulgaria
Canada
China
Colombia
Cuba
Czech Republic
Egypt
France
Germany
Greece
Hong Kong
Hungary
India
Indonesia
Ireland
Israel
Italy
Japan
Latvia
Lithuania
Malaysia
Mexico
Morocco
Netherlands
New Zealand
Nigeria
Norway
Philippines
Poland
Portugal
Romania
Russia
Saudi Arabia
Serbia
Singapore
Slovakia
Slovenia
South Africa
South Korea
Sweden
Switzerland
Taiwan
Thailand
Turkey
UAE
Ukraine
United Kingdom
United States
Venuzuela

The Harder Times provides you with fast and easy real-time access to the news articles according to your preferences.

New articles are available in real-time.

The Harder Times is Totally Free!

We do not collect any personal information.

Registration or authentification is not needed to use The Harder Times application.

Powered by newsapi.org

Apps How remove white screen before Webview?

Hello :)
I should clarify before starting that I have just started on Android Studio and that I am a beginner in Java ! :)

I haven't been able to fix this problem for a while now.

Long before I add a splash screen, when I launched my application I had a white screen that appeared (2 to 3 seconds) before my webview.

Adding a Screen splash did not solve the problem. Indeed the Splash screen is launched, white screen and only after the webview.

I tried different method that I could see on the forums including this one:

Add this style to

Styles.xml
HTML:
<style name="Theme.NoPreviewWindow" parent="Theme.AppCompat.NoActionBar">
        <item name="android:windowIsTranslucent">true</item>
    </style>

And Apply to :

AndroidManifest.xml

HTML:
<activity android:name="com.truck.brosburger.MainActivity"
             android:theme="@style/Theme.NoPreviewWindow">

BUt doesn't work for me. what should I do ? Thank you in advance for your answers :) Below all my code :

MainActivity.java

Java:
import androidx.appcompat.app.AppCompatActivity;
import androidx.swiperefreshlayout.widget.SwipeRefreshLayout;
import android.app.AlertDialog;
import android.app.ProgressDialog;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.os.Bundle;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.webkit.WebViewClient;
import android.widget.ProgressBar;

import org.imaginativeworld.oopsnointernet.ConnectionCallback;
import org.imaginativeworld.oopsnointernet.NoInternetDialog;
import org.imaginativeworld.oopsnointernet.NoInternetSnackbar;
import com.google.android.gms.ads.AdRequest;
import com.google.android.gms.ads.AdView;



public class MainActivity extends AppCompatActivity {


    private AdView mAdView;
    private WebView webView;
    private SwipeRefreshLayout mySwipeRefreshLayout;


    // Dialog No internet connexion
    NoInternetDialog noInternetDialog;

    // Dialog No internet connexion Snackbar
    NoInternetSnackbar noInternetSnackbar;


    @Override
    protected void onCreate(Bundle savedInstanceState) {



        super.onCreate(savedInstanceState);

        setContentView(R.layout.activity_main);


        mySwipeRefreshLayout = (SwipeRefreshLayout)this.findViewById(R.id.swipeContainer);
        String url ="https://www.brosburger.fr/menu";

        webView =(WebView) findViewById(R.id.webView);

        webView.getSettings().setJavaScriptEnabled(true);
        webView.setWebViewClient(new WebViewClient());

        webView.loadUrl(url);
        mySwipeRefreshLayout.setOnRefreshListener(
                new SwipeRefreshLayout.OnRefreshListener() {
                    @Override
                    public void onRefresh() {
                        webView.reload();
                        mySwipeRefreshLayout.setRefreshing(false);
                    }
                }
        );



        //PuB Admob
        mAdView = findViewById(R.id.adView);
        AdRequest adRequest = new AdRequest.Builder().build();
        mAdView.loadAd(adRequest);





        //chargement de la page
        final ProgressDialog progressBar = new ProgressDialog(MainActivity.this);
        progressBar.setMessage("Chargement de la Page...");




            webView.setWebViewClient(new WebViewClient() {


                public boolean shouldOverrideUrlLoading(WebView view, String url) {

                    view.loadUrl(url);
                    return true;

                }

                @Override
                public void onPageStarted(WebView view, String url, Bitmap favicon) {



                    super.onPageStarted(view, url, favicon);


                    if (!progressBar.isShowing()) {
                        progressBar.show();


                    }
                }

                public void onPageFinished(WebView view, String url) {



                         if (progressBar.isShowing()) {
                           progressBar.dismiss();


                    }
                }






            public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) {
                if (progressBar.isShowing()) {
                    progressBar.dismiss();
                    webView.loadUrl("about:blank");

                    AlertDialog.Builder builder = new AlertDialog.Builder(MainActivity.this);
                    builder.setTitle(R.string.app_name);
                    builder.setIcon(R.drawable.logo);
                    builder.setMessage("Aucune Connexion Internet Veuillez Redémarrer l'Application")
                            .setCancelable(false)
                            .setPositiveButton("OK", new DialogInterface.OnClickListener() {
                                public void onClick(DialogInterface dialog, int id) {
                                    finish();
                                }
                            });

                    AlertDialog alert = builder.create();
                    alert.show();

                }
            }
        });
    }

    //Dialog No internet connexion
    @Override
    protected void onResume() {
        super.onResume();






        // No Internet Dialog
        NoInternetDialog.Builder builder1 = new NoInternetDialog.Builder(this);

        builder1.setConnectionCallback(new ConnectionCallback() { // Optional

            @Override
            public void hasActiveConnection(boolean hasActiveConnection) {
                // ...
            }
        });
        builder1.setCancelable(false); // Optional
        builder1.setNoInternetConnectionTitle("Aucune Connexion Internet"); // Optional
        builder1.setNoInternetConnectionMessage("Vérifiez votre connexion puis réessayez"); // Optional
        builder1.setShowInternetOnButtons(true); // Optional
        builder1.setPleaseTurnOnText("Activer"); // Optional
        builder1.setWifiOnButtonText("Wifi"); // Optional
        builder1.setMobileDataOnButtonText("Données mobiles"); // Optional

        builder1.setOnAirplaneModeTitle("Aucune Connexion Internet"); // Optional
        builder1.setOnAirplaneModeMessage("Vous avez activé le mode avion"); // Optional
        builder1.setPleaseTurnOffText("Veuillez le désactiver"); // Optional
        builder1.setAirplaneModeOffButtonText("Mode Avion"); // Optional
        builder1.setShowAirplaneModeOffButtons(true); // Optional


        noInternetDialog = builder1.build();


        // No Internet Snackbar
        NoInternetSnackbar.Builder builder2 = new NoInternetSnackbar.Builder(this, (ViewGroup) findViewById(android.R.id.content));

        builder2.setConnectionCallback(new ConnectionCallback() { // Optional
            @Override
            public void hasActiveConnection(boolean hasActiveConnection) {
                // ...
            }
        });
        builder2.setIndefinite(true); // Optional
        builder2.setNoInternetConnectionMessage("Aucune Connexion Internet"); // Optional
        builder2.setOnAirplaneModeMessage("Vous avez activé le mode avion!"); // Optional
        builder2.setSnackbarActionText("Paramètres");
        builder2.setShowActionToDismiss(false);
        builder2.setSnackbarDismissActionText("OK");

        noInternetSnackbar = builder2.build();

    }

    @Override
    protected void onPause() {
        super.onPause();

        // No Internet Dialog
        if (noInternetDialog != null) {
            noInternetDialog.destroy();
        }

        // No Internet Snackbar
        if (noInternetSnackbar != null) {
            noInternetSnackbar.destroy();
        }


    }

    @Override
    protected void onRestart() {
        super.onRestart();

            }




    @Override
    protected void onStop() {
        super.onStop();

            }




    @Override
    public boolean onKeyDown(int keyCode, KeyEvent event) {

        final WebView simpleWebView = (WebView) findViewById(R.id.webView);

        if ((keyCode == KeyEvent.KEYCODE_BACK) && simpleWebView.canGoBack()) {
            //if Back key pressed and webview can navigate to previous page
            simpleWebView.goBack();
            // go back to previous page
            return true;
        }

        return super.onKeyDown(keyCode, event);
    }


}

AndroidManifest.xml

HTML:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.truck.brosburger">

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



    <application
        android:allowBackup="true"
        android:icon="@mipmap/icone"
        android:label="@string/app_name"
        android:roundIcon="@mipmap/ic_launcher_round"
        android:supportsRtl="true"
        android:theme="@style/AppTheme">



        <activity
            android:name="com.truck.brosburger.SplashScreenActivity">

            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>


        <activity android:name="com.truck.brosburger.MainActivity"
                  android:theme="@style/Theme.NoPreviewWindow">

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

            </intent-filter>
        </activity>

        <meta-data
            android:name="com.google.android.gms.ads.APPLICATION_ID"
            android:value="ca-app-pub-8922758574590712~6416122275"/>


    </application>

Activity_Main.xml

HTML:
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    xmlns:app="http://schemas.android.com/apk/res-auto">



    <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
        android:id="@+id/swipeContainer"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        app:layout_behavior="@string/appbar_scrolling_view_behavior">


        <WebView
        android:id="@+id/webView"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        tools:layout_editor_absoluteX="48dp"
        tools:layout_editor_absoluteY="40dp">

    </WebView>


    </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>

    <com.google.android.gms.ads.AdView
        xmlns:ads="http://schemas.android.com/apk/res-auto"
        android:id="@+id/adView"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentBottom="true"
        android:layout_centerHorizontal="true"
        ads:adSize="BANNER"
        app:adUnitId="@string/banner_ad_unit_id" />




</RelativeLayout>
Thanks ! :)

New Game: World Art Puzzle (Version 1.0.10)

WHAT'S NEW
- Added 18 paintings
- Added ability to delete a painting from collection

EXTRA INFO
  • Rating: 0
  • Installs: 1+
  • Download Size: 30M
  • Version: 1.0.10
DESCRIPTION
World Art Puzzle is a classic 15-puzzle game that consists of a painting of numbered square tiles in random order with one tile missing.

You have to slide the tiles to reassemble a painting, by touching the block you want to move.

Game contains:
- 11 themed galleries with a total of over 300 paintings;
- 2 levels of difficulty: with 15 numbers (easy mode) and without numbers (hard mode);
- 43 achivements;
- 1 musical theme and 17 sounds;
- earn game's diamonds for every solved puzzle;
- diamonds can be spent on adding painting to collection or puzzle shuffling;
- added ability to delete a painting from collection;
- help system and detailed descriptions about paintings, genres and artists;
- the game is localized to English, Ukrainian and Russian languages;

No text notifications in galaxy note 10 plus

Yeah, if the messages are arriving but there are no notifications, and it doesn't matter what SMS app you are using, then somehow the problem has to be with the system notification settings. Unfortunately as I don't have one of these devices I can't know the settings layout or any Samsung-specific options there might be, so I'll defer to my friends here on detailed advice.

Is it just SMS notifications that are affected?

The one other thing I can think of is to make sure your SMS app is excluded from battery optimisation. Just wondering whether the phone might be putting the app to sleep, with the result that it doesn't notify you of message receipt until you wake it up by opening the app?

CRAZY ANDROID ERROR

Try to use this syntax (no "color" words in your field):

<color name="colorActivated">#caeeff</color>
<color name="primary">#C41230</color>
<color name="primaryDark">#9E0C24</color>
<color name="textPrimary">#000</color>
<color name="accent">#FFCCD4</color>
<color name="colorHighlight">#ffaaff</color>

Here you can found the controls for the material design
https://www.google.com/amp/s/devblo...understanding-the-android-material-theme/amp/

Tecno F1 pro stockrom

first off this is not news.

second have you looked at techno's website to see if they offer updated firmwares for your phone?

third....what happened? why do you need firmware?
Thanks for your post. My Tecno F1 apps have crashed, I mean, all my apps keeps crashing. I downloaded some stockrom version which flash tool has failed to load. Therefore I want the original version that came with it (f1-vp510efg-go-191023v15), so as to know what the problem really is. I'll appreciate your contribution too. Thanks

Spyware, malware, hacker? HELP!!

It depends what device you have. There is no generic answer.

BTW for the OP, when I read that post I made a bet with myself that their birthday would be 1 Jan 1970. It's not that anyone knew their birthday, that the "start date" for Unix operating systems (Andriod is based on the Linux kernel, and Linux is an open-source Unix equivalent). So all that means is that there was no timestamp and the date defaulted to this - it doesn't mean that someone knows your birthday, it's just a coincidence.

How move photos from "Photos" app to"Gallery" app

Well, @Hadron beat me to it. :eek:

I forgot I had an Instagram account; I had never installed its Android app, so I did that now. Then, when prompted to add a pic to my profile, everything became crystal clear!

As I said in this post: IG doesn't know which gallery app you use; 'gallery' is a generic term for a collection of images; IG's "Gallery" that you're seeing may coincidentally have the same name as your gallery app, but is likely displaying all the images on the device. Yep.

This is what I see when initiating uploading an image using the Instagram app:

instagram_2.jpg


See the word 'Gallery' at the top? That's not the name of your gallery app coincidentally named Gallery--it's a generic word for collection of images. As you can see, it automatically displays various images from my device.

Note the drop-down menu indicator right after the word Gallery, the little, black, down arrow; press it:

instagram_1.jpg


You're now able to choose images from any of the locations listed--which will be different from mine.

Mystery solved! :D

Filter

Back
Top Bottom