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

Help Wifi access denied

Hi everyone. I am using OPPO smartphone. Its working well except for one thing, and its very annoying. Its giving error of "wifi access denied" whenever i want to connect to my home network. Other wifi networks are easily connecting and working like a charm. but at my home i am unable to connect with my wifi on this oppo phone. My wifi is working just fine on other devices (laptops, computers, other phones).
I tried these few things but still same problem.

1. Forgetting the network. And joining it again.
2. Clearing the wifi cache and data.
3. Rebooting it couple of times.
4. Reset networks settings.
5. Hard reset.
6. Connecting via WPS.

I have done all these things but no result. Kindly help me what can i do further regarding this.

/bin/sh: *: not found after chrooting

i need to do a task on my system but after succesfull mounting and bind and chroot, get the error written in the following:
Code:
mkdir /data/local/sda19
mount /dev/block/sda19 /data/local/sda19
mount --bind /dev /data/local/sda19/dev
mount --bind /dev/pts /data/local/sda19/dev/pts
mount --bind /proc /data/local/sda19/proc
mount --bind /sys /data/local/sda19/sys
chroot /data/local/sda19
#ls 
/bin/sh: ls: not found
please help me out as i need to perform that task urgently

Galaxy ace no go0gle play and no internet acces

Hi

I got a curious problem, I cannot access the internet from my galaxy ace phone even using wifi, it just says invalid security certificate, I have not chrome installed and also cannot install google play to install chrome, I am just using the built-in standard internet browser, but this does not work, so need to fix that and get Google play also sorted.

Thanks for any tips

Updating Verizon Tablet

Not sure how to update Verizon tablet.
I have a Verizon Ellipsis 7 tablet model QMV7A that I bought over 5 years ago and I need to update it.
The Verizon account is no longer active but I still use it over wifi.
When I try to update it, I get the message unable to connect to network.
Everything I read on the internet tells me that this must be done over the Verizon network.
There must me a way to do it over wifi but I can't find out how to do this or where to download the operating system from.
I am able to connect my laptop to it to transfer files so it seems to me the best way would be to download to my laptop and transfer that way but I can't find a link and am not sure how to go about doing an update.
Last update was done in 2015.
The only reason that I want to update is that the app that I use 90% of the time no longer works and giving me error message saying that it requires android operating system 5.0 or higher.
From about tablet screen
Current android version is 4.4.2
HW version D3A
Model number QMV7A
Any help would be greatly appreciated.

What happened to my Pie?

Moto g6 play on Boost Mobile....

Yesterday it tried to update to Android 9, but sadly th?tre wasnt much storage... so I deleted some things, but now it's saying when I go to update that it's up to date, though it's still running Android 8 on Feburary security patch. Ive tried everyting, even using the pc app to flash it and factory reset. But I notice there is no way to reset the security updates? I"m just wondering what I am doing wrong...

Samsung Galaxy Note 10 Rumors

so it looks like more info is being "leaked" to the public. a bunch of sites are now showing images and theior analysis of these pictures.

here are a few articles you can read:
https://www.cnet.com/news/samsung-galaxy-note-10-and-note-10-plus-images-reportedly-leak/
https://www.cnet.com/news/samsung-galaxy-note-10-more-leaked-images-show-no-headphone-jack/
https://www.theverge.com/circuitbre...y-note-10-leaked-photos-huawei-color-gradient

no head phone jack according to the leaked photos. not sure if i care. i like my bluetooth headset anyways.

i'm not sure if i like a screen that has a screen size of 6.66"........that looks very ominous.....lol though some sites are saying 6.4" and a 6.75" screen size so who knows what the exact size will be.

anybody else excited? will you be the first in line to buy it? i could upgrade now, but i'm gonna wait for this to be released. depending on what kind of deals that might be included with the phone, i might get it on release day.

  • Poll Poll
Apps on a null object reference


Excuseme.. i hava promblem with my activity. how i fix on a null object reference. Thanks :)

Code:
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.yk.danaberkah, PID: 22728
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.yk.danaberkah/com.yk.danaberkah.MainActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.yk.danaberkah._sliders.SliderView.setDurationScroll(int)' on a null object reference
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2363)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2426)
        at android.app.ActivityThread.access$800(ActivityThread.java:176)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1343)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:135)
        at android.app.ActivityThread.main(ActivityThread.java:5417)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
     Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.yk.danaberkah._sliders.SliderView.setDurationScroll(int)' on a null object reference
        at com.yk.danaberkah.MainActivity.setupSlider(MainActivity.java:162)
        at com.yk.danaberkah.MainActivity.onCreate(MainActivity.java:96)
        at android.app.Activity.performCreate(Activity.java:5990)
        at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108)
        at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2316)
        at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2426)
        at android.app.ActivityThread.access$800(ActivityThread.java:176)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1343)
        at android.os.Handler.dispatchMessage(Handler.java:102)
        at android.os.Looper.loop(Looper.java:135)
        at android.app.ActivityThread.main(ActivityThread.java:5417)
        at java.lang.reflect.Method.invoke(Native Method)
        at java.lang.reflect.Method.invoke(Method.java:372)
        at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:902)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:697)
Application terminated.


This My MainActivity.java


Java:
public class MainActivity extends AppCompatActivity
        implements NavigationView.OnNavigationItemSelectedListener {
private SliderPagerAdapter mAdapter;
            private SliderIndicator mIndicator;
            private String TAG = MainActivity.class.getSimpleName();
            private SliderView sliderView;
            private LinearLayout mLinearLayout;

@Override
                protected void onCreate(Bundle savedInstanceState) {
                    super.onCreate(savedInstanceState);
                    setContentView(R.layout.activity_main);
                    Toolbar toolbar = findViewById(R.id.toolbar);
                    setSupportActionBar(toolbar);
                    sliderView = (SliderView) findViewById(R.id.sliderView);
                    mLinearLayout = (LinearLayout) findViewById(R.id.pagesContainer);
                    setupSlider();

/*Slider Setup Example Use URLS*/
                private void setupSlider() {
                    sliderView.setDurationScroll(800);
                    List<Fragment> fragments = new ArrayList<>();
                    fragments.add(FragmentSlider.newInstance("https://jssorcdn7.azureedge.net/demos/img/gallery/980x380/001.jpg"));
                    fragments.add(FragmentSlider.newInstance("https://www.dnvgl.co.uk/Images/ISO2015-revisions-1134x350_tcm12-13061.jpg"));
                    fragments.add(FragmentSlider.newInstance("https://www.dnvgl.co.uk/Images/ISO2015-revisions-1134x350_tcm12-13061.jpg"));
                    fragments.add(FragmentSlider.newInstance("https://jssorcdn7.azureedge.net/demos/img/gallery/980x380/001.jpg"));

                    Log.e(TAG, "Response from fragment: " + sliderView);
                    mAdapter = new SliderPagerAdapter(getSupportFragmentManager(), fragments);
                    sliderView.setAdapter(mAdapter);
                    mIndicator = new SliderIndicator(this, mLinearLayout, sliderView, R.drawable.indicator_circle);
                    mIndicator.setPageCount(fragments.size());
                    mIndicator.show();
                }
      }
}

This FragmentSlider.java

Code:
public class FragmentSlider extends Fragment {

    private static final String ARG_PARAM1 = "params";

    private String imageUrls;

    public FragmentSlider() {
    }

    public static FragmentSlider newInstance(String params) {
        FragmentSlider fragment = new FragmentSlider();
        Bundle args = new Bundle();
        args.putString(ARG_PARAM1, params);
        fragment.setArguments(args);
        return fragment;
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        imageUrls = getArguments().getString(ARG_PARAM1);
        View view = inflater.inflate(R.layout.fragment_slider, container, false);
        ImageView img = (ImageView) view.findViewById(R.id.image_slider);
        Glide.with(getActivity())
                .load(imageUrls)
                .placeholder(R.drawable.beras_murah)
                .into(img);
        return view;
    }
}



This SliderIndicator.java

Java:
public class SliderIndicator implements ViewPager.OnPageChangeListener {
    private Context mContext;
    private LinearLayout mContainer;
    private int mDrawable;
    private int mSpacing;
    private int mSize;
    private ViewPager mViewPager;
    private int mPageCount;
    private int mInitialPage = 0;

    private int defaultSizeInDp = 12;
    private int defaultSpacingInDp = 12;

    public SliderIndicator(@NonNull Context context,
                           @NonNull LinearLayout containerView,
                           @NonNull ViewPager viewPager,
                           @DrawableRes int drawableRes) {
        if (context == null) {
            throw new IllegalArgumentException("context cannot be null");
        } else if (containerView == null) {
            throw new IllegalArgumentException("containerView cannot be null");
        } else if (viewPager == null) {
            throw new IllegalArgumentException("ViewPager cannot be null");
        } else if (viewPager.getAdapter() == null) {
            throw new IllegalArgumentException("ViewPager does not have an adapter set on it.");
        }
        mContext = context;
        mContainer = containerView;
        mDrawable = drawableRes;
        mViewPager = viewPager;

    }

    public void setPageCount(int pageCount) {
        mPageCount = pageCount;
    }

    public void setInitialPage(int page) {
        mInitialPage = page;
    }

    public void setDrawable(@DrawableRes int drawable) {
        mDrawable = drawable;
    }

    public void setSpacingRes(@DimenRes int spacingRes) {
        mSpacing = spacingRes;
    }

    public void setSize(@DimenRes int dimenRes) {
        mSize = dimenRes;
    }

    public void show() {
        initIndicators();
        setIndicatorAsSelected(mInitialPage);
        new Handler().postDelayed(new Runnable() {
            @Override
            public void run() {
                mViewPager.setCurrentItem(1);
            }
        }, 2500);
    }

    private void initIndicators() {
        if (mContainer == null || mPageCount <= 0) {
            return;
        }

        mViewPager.addOnPageChangeListener(this);
        Resources res = mContext.getResources();
        mContainer.removeAllViews();
        for (int i = 0; i < mPageCount; i++) {
            View view = new View(mContext);
            int dimen = mSize != 0 ? res.getDimensionPixelSize(mSize) : ((int) res.getDisplayMetrics().density * defaultSizeInDp);
            int margin = mSpacing != 0 ? res.getDimensionPixelSize(mSpacing) : ((int) res.getDisplayMetrics().density * defaultSpacingInDp);
            LinearLayout.LayoutParams lp = new LinearLayout.LayoutParams(dimen, dimen);
            lp.setMargins(i == 0 ? 0 : margin, 0, 0, 0);
            view.setLayoutParams(lp);
            view.setBackgroundResource(mDrawable);
            view.setSelected(i == 0);
            mContainer.addView(view);
        }
    }

    private void setIndicatorAsSelected(int index) {
        if (mContainer == null) {
            return;
        }
        for (int i = 0; i < mContainer.getChildCount(); i++) {
            View view = mContainer.getChildAt(i);
            view.setSelected(i == index);
        }
    }

    @Override
    public void onPageScrolled(int position, float positionOffset, int positionOffsetPixels) {

    }

    @Override
    public void onPageSelected(int position) {
        int index = position % mPageCount;
        setIndicatorAsSelected(index);
        final int moveTo = position + 1;
        try {
            new Handler().postDelayed(new Runnable() {
                @Override
                public void run() {
                    mViewPager.setCurrentItem(moveTo);
                }
            }, 2500);
        }catch (Exception e){
        }
    }

    @Override
    public void onPageScrollStateChanged(int state) {

    }

    public void cleanup() {
        mViewPager.clearOnPageChangeListeners();
    }
}

SliderPagerAdapter.java

Java:
public class SliderPagerAdapter extends FragmentStatePagerAdapter {

    private static final String TAG = "SliderPagerAdapter";

    List<Fragment> mFrags = new ArrayList<>();

    public SliderPagerAdapter(FragmentManager fm, List<Fragment> frags) {
        super(fm);
        mFrags = frags;
    }

    [USER=1021285]@override[/USER]
    public Fragment getItem(int position) {
        int index = position % mFrags.size();
        return FragmentSlider.newInstance(mFrags.get(index).getArguments().getString("params"));
    }

    [USER=1021285]@override[/USER]
    public int getCount() {
        return Integer.MAX_VALUE;
    }

}

SliderView.java

Java:
public class SliderView extends ViewPager {

    public static final int DEFAULT_SCROLL_DURATION = 250;
//    public static final int SLIDE_MODE_SCROLL_DURATION = 1000;

    public SliderView(Context context) {
        super(context);
        init();
    }

    public SliderView(Context context, AttributeSet attrs) {
        super(context, attrs);
        init();
    }

    private void init() {
        setDurationScroll(DEFAULT_SCROLL_DURATION);
        this.setOnTouchListener(new OnTouchListener() {
            @Override
            public boolean onTouch(View v, MotionEvent event) {
                return true;
            }
        });
    }
    public void setDurationScroll(int millis) {
        try {
            Class<?> viewpager = ViewPager.class;
            Field scroller = viewpager.getDeclaredField("mScroller");
            scroller.setAccessible(true);
            scroller.set(this, new OwnScroller(getContext(), millis));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }

    public class OwnScroller extends Scroller {

        private int durationScrollMillis = 1;

        public OwnScroller(Context context, int durationScroll) {
            super(context, new DecelerateInterpolator());
            this.durationScrollMillis = durationScroll;
        }

        @Override
        public void startScroll(int startX, int startY, int dx, int dy, int duration) {
            super.startScroll(startX, startY, dx, dy, durationScrollMillis);
        }
    }
}

All of a sudden my recorded videos shake badly

I have a Galaxy S8+ and I went to my gallery to watch a short video of my dogs I shot a few days ago. To my surprise, when I hit play the video shakes. I tried playing another video I shot the same day and it has the same problem. I decided to test the camera by recording a quick video of my room. As soon as I hit record the video begins to shake. It's hard to explain it other than just by saying it's shaking. In some videos it shakes very violently. It completely ruins the video. I have gone back and played some previous videos. All my recent videos shake. Anything older than maybe 2 weeks, maybe less is fine. That timing leads me to believe it may have started after the last update. It was a pretty big update that changed quite a bit of stuff.

I navigated to"last update" in settings but it just says "There is no information about this update.", but when I navigate to "about phone" and then "software information" it says I'm running version 9.

The forum is giving me an error when I try to attach a video demonstrating the issue.

Any help appreciated! Really want to be able to use my camera to shoot video again.

webView | Native App | Open Website in Anderiod App |

Hi There

I am stuck at following piece of code.

when i write this piece of code
myWebView = (WebView)findViewById(R.id.WebView);
i get error "cannot resolve symbol 'webView'.

Please anyone can help me how to fix this error.
-------------------------
==for your reference i am copying MainActivity.Java code below ===

package com.irex.lingo_6;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.webkit.WebSettings;
import android.webkit.WebView;
import android.webkit.WebViewClient;

public class MainActivity extends AppCompatActivity {
private WebView myWebView;
@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
myWebView = (WebView)findViewById(R.id.WebView);
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
myWebView.loadUrl("http://irex.pk/lingo-school/signin/index");
myWebView.setWebViewClient(new WebViewClient());
}

@override
public void onBackPressed() {
if(myWebView.canGoBack()) {
myWebView.goBack();
}else {
super.onBackPressed();
}

}
}
=====activity_main.xml===

<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".MainActivity">

<WebView
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="8dp" />
</androidx.constraintlayout.widget.ConstraintLayout>

============ android manifest.xml====

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.irex.lingo_6">
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<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/AppTheme">
<activity android:name=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />

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

</manifest>

Help Recover Wireless

So I was really dumb and accidentally uninstalled WAP Service (as root) and my WiFi stopped working.
I made no backups (shame on me).
Is there any way to restore the system app? I tried taking some components from the previously posted O.D. mod and sticking them in priv-apps, apps, etc; but it still refuses to work.
Thanks in advance for any advice.

Person in a circle notification

my s8 is almost dead but I use it for work now and some notifications are driving me crazy...is this some contact information icon? When I open the notifications there’s nothing there anymore no even for text they don’t work..but I always get the icon so I know what apps to check. This one I don’t get it, I opened ‘contacts’ and it didn’t go away. Any idea what else can it be?

Attachments

  • 6CC4480F-64A8-4ACD-B829-8CA8EC2790DA.jpeg
    6CC4480F-64A8-4ACD-B829-8CA8EC2790DA.jpeg
    36 KB · Views: 379

Themes [Javascript] Need some help.

So I developed a theme for a website on the Hugo framework. It has a light and dark mode. The theme is done, except for this one piece of the the puzzle...

There is a comments widget served up from a CDN which comes with a bunch of initial themes you can set (ie. light, dark, etc).

Here is the code for the widget that is inserted into your html page...

HTML:
<script src="https://utteranc.es/client.js"
        repo="{{ site.Params.comments }}"
        issue-term="title"
        theme="github-light"
        crossorigin="anonymous"
        async>
</script>

Now when I click a toggle the website theme switches from light to dark. What I need is to be able to change the "theme" element in the widget above to "github-dark" so that it matches the theme. I need to be able to go from light to dark and dark to light.

Is there any way to do this with some javascript or perhaps some golang?

Google maps won't play sound in car

Apparently Google Maps on my phone is just far too polite to interrupt anyone. I don't hear the directions, I have to watch it more than I want to see where I need to turn off. However when I get out of my car, the phone tells me how to get back onto the road.

Bottom line, I think the verbal portion won't override the radio, it's allowing the music to override it. I'm not going to spend long rides listening to nothing, and I wouldn't mind an interruption of "turn right in 2 miles" from time to time. Bluetooth off would mean no way to answer calls.

So what settings do I need to change so Google Maps and SiriusXM happily share the speakers?

Excel read only

I have a couple of Excel files on my Galaxy S9. I open them up, manipulate a few cells, then close it. I wanted to have it so that whatever I did while I had it open doesn't save, so I went into both files and turned off the autosave. Now when I open those files, they open as "read only" files, and of course I can't manipulate them. How do I make it so they open normally as opposed to "read only"?

TIA

Privacy Policy and Terms and Conditions

Hi everyone!

My question is about the content of the Privacy Policy Document and Terms and Conditions.

Can I include some terms and information that are not active at this time but will be?

For example: at this moment in the application there is no option of payments in the application, but in a short period of time it will be. So can I include now in the Privacy Policy, information about payments and financial data, in order to not generate another document in the future.

Thanks :)

2 sim setup isn't working

Hi
I have 2 sims in my Motorola One and I have it set up for "always ask" when calling. But the problem is... it doesn't. It used to but now it just just chooses at random which sim to use and doesn't even show which SIM I am using. It is extremely irritating.
I am using the default Phone app but I am open to switching if anyone knows an app that always asks for which SIM to use.
Thanks
Jay

Filter

Back
Top Bottom