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

Help GrapheneOS vs LineageOS with filtering Proxy

Forgive me if I do something wrong, I'm new to this site.

I have a Pixel 3a Xl and I want to run ALL device traffic through a global proxy server to block ads/filter content. It is my understanding that in stock (Google) Android this is not possible without root because Google blocks installation of custom CA's in the system store. Is this correct?

So, question is: Is this possible in either Lineage or Graphene OS, and if so, which one is my better option? If possible, I would still like to use Play Store and some Google apps like Maps. I know it's possible to flash Gapps with LOS, but I'm uncertain if that's doable with Graphene. I've never used either of these other OS before, so any and all help/advice is very much appreciated. Thanks!

App Crash

I am a very beginner in android development. So as a beginning project i was trying to make an coffee order layout with some buttons. After writing the logic when i am trying to run the app, it is crashing.
I have shared the screenshot of my java file and design below

upload_2021-5-21_0-29-4.png


upload_2021-5-21_0-27-54.png


increaseQuantity() is an onclick operation set on the button to increase the amount by one.
decreaseQuantity() is set to decrease the quantity by one.
submitOrder() is set on Order Now button that just shows a toast about final order summary.

Please help me to fix this issue.

Attachments

  • upload_2021-5-21_0-19-31.png
    upload_2021-5-21_0-19-31.png
    64.4 KB · Views: 223
  • upload_2021-5-21_0-23-7.png
    upload_2021-5-21_0-23-7.png
    14.4 KB · Views: 202

Classifier 'AuthResult' does not have a companion object, and thus must be initialized here

Hello All,
I am facing a bit of a problem on kotlin android.
I have a problem in which this warning come up : Classifier 'AuthResult' does not have a companion object, and thus must be initialized here, when I Build-> Make Project. I have placed initialization of uAuth already before function fun() below as uAuth=FirebaseAuth.getInstance() of which the text code is colored in red. See code below. But the warning still comes out. Can someone help me is it error on putting initialization at the wrong place? Or am I missing some declaration. Your most uergent help is greatly appreciated. The language below is kotlin android. Initially the code was written in javascript. And then I convert it to kotlin android using Android Studion.

Thanks and Best Regards
Ahmad Rodzaidi Bin Ahmad Faiz

The below is the code of my RegisterActivity

JavaScript:
package com.example.shoponlinenicheteck

import android.os.Bundle
import android.view.View
import android.widget.Button
import android.widget.EditText
import android.widget.Toast
import androidx.annotation.NonNull
import androidx.appcompat.app.AppCompatActivity
import com.google.android.gms.tasks.OnCompleteListener
import com.google.android.material.textfield.TextInputLayout
import com.google.firebase.auth.AuthResult
import com.google.firebase.auth.FirebaseAuth
import com.google.firebase.auth.FirebaseUser
import com.google.firebase.database.FirebaseDatabase
import org.w3c.dom.Text

class RegisterActivity : AppCompatActivity() {
    var ufirstname: EditText? = null
    var ulastname: EditText? = null
    var uemail: EditText? = null
    var upassword: EditText? = null
    var uconfpassword: EditText? = null
    var ucontactno: EditText? = null
    var btnRegister: Button? = null
    var userFirstNameWrapper: TextInputLayout? = null
    var userLastNameWrapper: TextInputLayout? = null
    var userEmailWrapper: TextInputLayout? = null
    var userPasswordWrapper: TextInputLayout? = null
    var userConfPasswordWrapper: TextInputLayout? = null
    var userContactNoWrapper: TextInputLayout? = null
    private var uAuth: FirebaseAuth? = null
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_register)

        val ufirstname = findViewById<View>(R.id.userFirstName)
        val ulastname = findViewById<View>(R.id.userLastName)
        val uemail = findViewById<View>(R.id.userEmailAddress)
        val upassword = findViewById<View>(R.id.userPassword)
        val uconfpassword = findViewById<View>(R.id.userConfPassword)
        val ucontactno = findViewById<View>(R.id.userContactNumber)

        val userFirstNameWrapper = findViewById<TextInputLayout>(R.id.userFirstNameWrapper)
        val userLastNameWrapper = findViewById<TextInputLayout>(R.id.userlastNameWrapper)
        val userEmailWrapper = findViewById<TextInputLayout>(R.id.userEmailWrapper)
        val userPasswordWrapper = findViewById<TextInputLayout>(R.id.userPasswordWrapper)
        val userConfPasswordWrapper = findViewById<TextInputLayout>(R.id.userConfPasswordWrapper)
        val userContactNoWrapper = findViewById<TextInputLayout>(R.id.userContactNoWrapper)

        val btnRegister=findViewById<Button>(R.id.btnRegister)

    }

    init {
        var onClick: Unit


            run {
                if (uAuth!!.currentUser != null) {
                    //User is Logged in and can redirect to another activity.

                    val firstname = ufirstname!!.text.toString().trim { it <= ' ' }
                    val lastname = ulastname!!.text.toString().trim { it <= ' ' }
                    val email = uemail!!.text.toString().trim { it <= ' ' }
                    val password = upassword!!.text.toString().trim { it <= ' ' }
                    val confpassword = uconfpassword!!.text.toString().trim { it <= ' ' }
                    val contactno = ucontactno!!.text.toString().trim { it <= ' ' }
                    if (firstname.isEmpty()) {
                        userFirstNameWrapper!!.error = "Enter First Name"
                        userFirstNameWrapper!!.requestFocus()

                    }
                    if (lastname.isEmpty()) {
                        userLastNameWrapper!!.error = "Enter Last Name"
                        userLastNameWrapper!!.requestFocus()

                    }
                    if (email.isEmpty()) {
                        userEmailWrapper!!.error = "Enter Email"
                        userEmailWrapper!!.requestFocus()

                    }
                    if (password.isEmpty()) {
                        userPasswordWrapper!!.error = "Enter Password"
                        userPasswordWrapper!!.requestFocus()

                    }
                    if (confpassword.isEmpty()) {
                        userConfPasswordWrapper!!.error = "Enter Confirm Password"
                        userConfPasswordWrapper!!.requestFocus()

                    }
                    if (password != confpassword) {
                        userConfPasswordWrapper!!.error = "Password didn't match"
                        userConfPasswordWrapper!!.requestFocus()

                    }
                    if (contactno.isEmpty()) {
                        userContactNoWrapper!!.error = "Enter Contact No"
                        userContactNoWrapper!!.requestFocus()

                    }

                    [COLOR=#8000ff]uAuth=FirebaseAuth.getInstance()[/COLOR]

                    fun () {
                        onStart()
                        super.onStart()
                        //Check if user is signed in (non-null) and update UI accordingly
                        val user = User(firstname, lastname, email, contactno)
                        FirebaseDatabase.getInstance().getReference("Users")
                            .child(FirebaseAuth.getInstance().currentUser!!.uid)

                        var onComplete: Unit

                    }
                    if (AuthResult)
                    uAuth= FirebaseAuth.getInstance()
                    uAuth!!.createUserWithEmailAndPassword(email, password)
                        .addOnCompleteListener(OnCompleteListener { AuthResult})
                    var onComplete: Unit

                    var task: NonNull; Task<AuthResult?>
                    (
                            if (task.isSuccessful()) {
                                val user = User(firstname, lastname, email, contactno)
                                FirebaseDatabase.getInstance().getReference("Users")
                                    .child(FirebaseAuth.getInstance().currentUser!!.uid)
                                    .setValue(user)
                                    .addOnCompleteListener(OnCompleteListener<Unit>())
                                var onComplete: Unit
                                NonNull
                                var task: Task<Void?>
                                (
                                        if (task.IsSuccessful()) Toast.makeText(
                                            this@RegisterActivity,
                                            "User created successfully.",
                                            Toast.LENGTH_LONG.show()
                                        ) else
                                            Toast.makeText(
                                                this@RegisterActivity,
                                                task.getException().getMessage(),
                                                Toast.LENGTH_LONG.show()
                                            )
                                        )
                            } else Toast.makeText(
                                this@RegisterActivity,
                                task.getException().getMessage(),
                                Toast.LENGTH_LONG.show()
                            )
                            )

                }


            }




    }

}

Help SD card unmounts automatically when playing a particular video

I was playing a video, stored in the SD Card, which was shot on another android device and shared to mine. After reaching a specific time point the video stopped playing and the SD card ejected automatically. This happens all the time. I tried to move the video and also tried to upload it to drive but the same thing happened. Finally I tried to move it to my PC using a USB but of no use. I also used mp4fix app to fix the video but no error was detected.
Suggest me what to do.

Transfer apps & settings

Have S9. Bought S20
Did backup first of S9

Followed what is Samsung advice, used SmartSwitch and connected 2 phones with USB cable.

Did ‘send data’ from S9, and it progressed, eventually had the ‘transfer completed message’

None of my Apps seem to have come across, no email, no WhatsApp, no FB, no messenger.
All it seems to have done is bring across contacts & caledar entry.

I contacted Samsung …. They said use SmartSwitch and your phone will have everything transferred, and be ready to pick up and go from where you left off.
Am I missing a step …. Currently non of the previous home screens have been populated as previous phone, none of Apps accounts set up.

T-Iron Watch Face

My new watch face is now available:
T-Iron Watch Face

https://play.google.com/store/apps/details?id=fr.thema.wear.watch.tiron

Readability improved, with free & premium features : more than 30 backgrounds, custom colors, 8 datas & infinite data with complications for AW2.
Secondary timezone, a lot of possibilities for ambient mode, and many other features to discover!

I hope that you will like it!

QtUGsqZm.jpg
YAtW6h8m.jpg

2TtY8EJm.jpg
S9dcokum.jpg

TdsSF3Om.jpg
VlMRPQfm.jpg

Will this have damaged S20

New S20 arrived … wife used the ‘pin’ tool to insert new SIM but did not realise the holder was back to back fir SD card.
She then tried the pin in the other small hole at top of phone. (Top right) and the similar hole bottom left.

Thinking those would pop out a holder.

Will inserting tool into those holes have caused any damage.

Help Surface 3 running Lineage 17.1 (x86)

So. 2 things. As the title states, I just installed the x86 build of Lineage and the battery percentage is constantly at 0%. No matter if it's attached to AC Power or Unplugged at 100%. It just shows 0%. There is no camera app either no camera app works. Nothing. If there are any external drivers I need to install, please provide them and let me know how to install it.

EDIT: I have no type cover

Plzzz HELP my phone remove all whatsapp chat

3 days back , the storage was full and suddenly the whstsapp vanished no cgat history . I went to settinv then chat then last back up it was 2018 eventhough wahats is make backup everyday at 2am then i press Backup it gives me 15 GB to be uploaded to my google drive it takes one day to finish .

Now last backup is updated and give me 11 GB
I reinstall whatsapp in a different phone and tried to restore the 11GB backup from google drive . It give me a message " unable to restore chat from this backup plz skip or get from previous version .

I hold everything to see how you can help me .

All my work in these chat history . Plz hell me how can get my whatsapp back nd i will pay to the one who can help .

Plz help me

Attachments

  • Screenshot_20210516-004243_WhatsApp.jpg
    Screenshot_20210516-004243_WhatsApp.jpg
    143 KB · Views: 226

Ringtones for Individuals

Hey, friends. I have a new Galaxy S21 Ultra 5G. I had a standard ringtone applied to my wife so I would always know it was her when she was calling. For some reason, I can't figure out how to get any specific ringtone applied to a specific user on my new phone. I can do "vibrations", but ringtones don't seem to come up as an option in the Contact edit menu. Any thoughts?

Help Unknown download

This is driving me nuts. I have a file in my Downloads folder that I don't recall downloading.

I can't find any record of the download in chrome, Firefox, download managers, etc. I can't figure out what source I might have downloaded it from, or which app was used to download it.

There was a notification of the completed download, which played the file when tapped, but that caused the notification to disappear, and now I seem to have no way of tracking it down.

The only clue is the filename, a long string in hex. Like so

fb249a29-e864-42be-b044-7c4c94d902d0.mp3

What app, or server, might generate such a name?

(For example, Google Voice voicemail downloads have the format

Voicemail_18886597322_20210330.mp3

showing phone number, and timestamp.)

Can anyone give me an idea?

Smart Lock not so smart

When I started using Smart Lock when in a trusted place or connected to a trusted device the phone would be unlock. Now it is locked all the time even when at my trusted place (home) or connected via Bluetooth to a trusted device. This is getting to be a bit frustrating. Any suggestions on how to repair the glitch?

UPDATE for Babbly App

Hi guyzzzz,

We have a new update of our lovely app Babbly!

Are you into dating, gossips, small talk, chit chats or deep conversations? Babbly got you covered.

Babbly provides more than 500 triggering questions in a bottle, which are suitable for any kind of situation. A question will be chosen by just pressing the "roll dice" button. The app is suitable for dates, restaurant meetings, parties or even at a family events. Just start the app en roll the dice.

Please take a look and leave some feedback!

Babbly - questions in an App - Apps op Google Play

llkGOG5EtkRtl3EOH04X9UnXV2-Fr1XKd1AZVmmlZUEmZ5JrmdHNLHtmq9pmxo_Vmw=w2736-h1596

Help Icon to start VLC player with SDP file

Hello,
I have installed VLC on my Samsung A40 and I am able to play a network stream by opening a SDP (session description) But the procedure is too complicated, I have to open Google Drive, search for the SDP File and then play it.
What I would like to have is
1) SDP file locally on the smartphone
2) icon on the screen that I touch to launch VLC with the SDP file.
Unfortunately I have no knowledge of the android file system, but I have access through USB

Thank you for advice

apps stopping errors

i have the verizon ellipsis 10" tablet 5.1 os and i get everyday some type of error that an apps has stopped. most of the time it is the play store or some messenger. i just did a factory reset 3 times in a row to see if that would stop the error. i have went into the app and cleared the chase and dates and i still get the errors.

is there an app that can monitor these and let you set what apps to automatically clear them out?

plus i get a message tha sms is no longer supported and i can't get that notice to go away and all the notices are turned off.

this tablet runs 24-7 as a monitor for my security system so when the errors show up sometimes the security app goes away , or gets dim, or freezes. does anyone have a fix? before i did the factory reset i have most of the apps either turned off or disabled and i still had this issue, so this time i left them on as it would have come out of the box to see if maybe i had something turned off the tablet needed.

maybe i just have a tablet that has an internal issue and may have to find another one and see if it works, but before i do i sure would like to see if it just may be some app or switch that needs attentions.
update i tapped the sms no longer supported and it took me to the playstore and i then turned off the playstore tab and that message went away, lets see how long it stays gone. i do not need sms for a monitor.
thanks bp.

Help UMIDIGI S5 Pro: SIM not detected outside home base

Hi

I'm completely out of ideas how to fix this problem. I've searched all over the internet, but can't fix it. I've contacted the mobile carrier, they don't know. The phone manufacturer is poor with communication.

My Location: Melbourne, Australia
Phone: Umidigi S5 Pro
Operating System: Android 10
Mobile Phone Carrier: Amaysim (Optus Network)

Phone works perfectly in my home. I can make & receive calls, watch videos, download games. Everything is perfect. So, at least I know the phone can work & perform all the functions.

But, when I go outside my home base, the signal drops out completely "NO SIM DETECTED". I cannot even make & receive calls. This happens all the time. Eventually, maybe after 10 minutes (making no changes to the settings), the SIM is finally detected. But, it might easily drop out. It's totally unreliable.

To see if the problem is just poor network connection, I put the same SIM Card into two other phones (Oppo AX5 and Samsung J5108) in the same outdoor locations. Both phones easily connect to the mobile network immediately. I can make/receive calls, watch videos, connect to internet, etc. No drop outs. 100% reliability.

So, to summarise:

1) SIM card works in the Umidigi Phone at home without problems. 100% reliability.
2) SIM card does not work reliably in the Umidigi Phone outside the home base.
3) SIM card works in the Oppo phone & Samsung phone outside home base. 100% reliability.

So, it seems, the Umidigi Phone is having trouble connecting to the Mobile Network .. BUT ONLY outside my home base.

Is there some setting that needs to be adjusted? Maybe, someone has experienced the same issues with their phones or can someone with tech experience please provide possible settings that need to be adjusted?

The phone obviously can connect to the network perfectly at home. What could be causing it to not connect outside the home?

Thank you.

Home screen switched

I have Android 10 on my Galaxy Tab 8". Today when I turned it on, my home is switched with a secondary screen. When I push the home button, I get the second screen. All of my groups are now on the secondary screen instead of the original first screen. I am so fed up with the bugs in android, I will never own another device with android. This is obviously a bug in android, but what is the fix?

Google Clock alarm no longer works.

I was using the Google clock so I could set the alarm sound to a Google Play radio playlist. This worked great for some time, however the last update has broke this.

Now, the music starts, but a buzzer kicks in shortly after, and once the music starts, no controls are visible. The only way I can get the music to stop is to reboot?

Anyone know a way to fix this, or another app that can use Google Plat music?

Thanks!

Filter

Back
Top Bottom