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

Deep Computer Desk for Dual Monitors (30+ inches)

I can suggest an AED 72. I have one at home, and I like the way it looks. It's pretty heavy, sturdy, and looks classy. However, it is a little wide if you need the space. I bought it on sale at eurekaergonomic.com, but that was about a month ago, and I'm not sure if they still have the same price. The game seems much better and more realistic now, although I thought the table wouldn't make a difference. I was wrong. The game is a process that takes you to another world if you get all the items and furniture right. It's like another reality where I can do anything and be anything, and I love it.

Mi Band 7 has problems pairing to One Plus 6T

hi everyone

Newbie here so not a problem to post but a solution to a problem others may be having

I have just sorted out a problem where a friend with a Mi Band 7 couldn't get to pair with his One Plus T6

This fitness band paired with my phone (Nokia C21) OK but not his

Without going into the long and the short of it except to say that when you tried to pair with the app (Mi fitness) it just stayed on "searching" when you tried to get it to find the band.

So, the fix seemed to be..........

When it is stuck on searching just leave it there and do a factory reset on the band, as it restarts it will now be detected. That's it.

Live wallpaper from javascript

I'm trying to learn how to develop a live wallpaper but i can't understand out how to convert some code parts from javascript to kotlil

I can't understand how to convert
this.draw = draw
this.go = go

Javascript

JavaScript:
package xxxxxx

import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Path
import kotlin.math.sqrt

class Worm(var nx: Double, var ny: Double) {
    var x = 0.0
    var lastX = 0.0
    var y = 0.0
    var lastY = 0.0
    var vx = 0.0
    var vy = 0.0
    var height = 600.0
    var width = 600.0
    var speed = 3.0
    var influence = 5.0
    var random = 0.5
    var numberAngles = 8
    var path = Path()
    var paint = Paint()
    var canvas = Canvas()

    init {
        this.x = this.nx
        this.lastX = this.nx
        this.y = this.ny
        this.lastY = this.ny
        this.vx = Math.random() - 0.5
        this.vy = Math.random() - 0.5
    }

    fun draw() {
        paint.isAntiAlias = true
        paint.color = Color.parseColor("#00ff00")
        paint.style = Paint.Style.STROKE
        paint.strokeWidth = 10f

        path.moveTo(this.x.toFloat(), this.y.toFloat())
        path.lineTo(this.lastX.toFloat(), this.lastY.toFloat());
        canvas?.drawPath(path, paint)
    }

    fun go() {
        this.lastX = this.x
        this.lastY = this.y
        var resultX = 0
        var resultY = 0
        var x = this.x.toInt()
        var y = this.y.toInt()

        this.vx += resultX * influence
        this.vy += resultY * influence
        this.vx += (Math.random() - 0.5) * random
        this.vy += (Math.random() - 0.5) * random

        var som = sqrt((this.vx * this.vx) + (this.vy * this.vy))
        this.vx /= som
        this.vy /= som

        if ((x < 0)) {
            this.vx *= -1
            this.x = 0.0
        }
        if ((x > width)) {
            this.vx *= -1
            this.x = width
        }
        if ((y < 0)) {
            this.vy *= -1
            this.y = 0.0
        }
        if ((y > height)) {
            this.vy *= -1
            this.y = height
        }
        this.x += this.vx * speed * 1.5
        this.y += this.vy * speed * 1.5
    }
}

Kotlin

LiveWallpaperService.kt
Code:
package xxxxxx

import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Path
import kotlin.math.sqrt

class Worm(var nx: Double, var ny: Double) {
    var x = 0.0
    var lastX = 0.0
    var y = 0.0
    var lastY = 0.0
    var vx = 0.0
    var vy = 0.0
    var height = 600.0
    var width = 600.0
    var speed = 3.0
    var influence = 5.0
    var random = 0.5
    var numberAngles = 8
    var path = Path()
    var paint = Paint()
    var canvas = Canvas()

    init {
        this.x = this.nx
        this.lastX = this.nx
        this.y = this.ny
        this.lastY = this.ny
        this.vx = Math.random() - 0.5
        this.vy = Math.random() - 0.5
    }

    fun draw() {
        paint.isAntiAlias = true
        paint.color = Color.parseColor("#00ff00")
        paint.style = Paint.Style.STROKE
        paint.strokeWidth = 10f

        path.moveTo(this.x.toFloat(), this.y.toFloat())
        path.lineTo(this.lastX.toFloat(), this.lastY.toFloat());
        canvas?.drawPath(path, paint)
    }

    fun go() {
        this.lastX = this.x
        this.lastY = this.y
        var resultX = 0
        var resultY = 0
        var x = this.x.toInt()
        var y = this.y.toInt()

        this.vx += resultX * influence
        this.vy += resultY * influence
        this.vx += (Math.random() - 0.5) * random
        this.vy += (Math.random() - 0.5) * random

        var som = sqrt((this.vx * this.vx) + (this.vy * this.vy))
        this.vx /= som
        this.vy /= som

        if ((x < 0)) {
            this.vx *= -1
            this.x = 0.0
        }
        if ((x > width)) {
            this.vx *= -1
            this.x = width
        }
        if ((y < 0)) {
            this.vy *= -1
            this.y = 0.0
        }
        if ((y > height)) {
            this.vy *= -1
            this.y = height
        }
        this.x += this.vx * speed * 1.5
        this.y += this.vy * speed * 1.5
    }
}

Worm.kt
Code:
package xxxxxx

import android.graphics.Canvas
import android.graphics.Color
import android.graphics.Paint
import android.graphics.Path
import kotlin.math.sqrt

class Worm(var nx: Double, var ny: Double) {
   var x = 0.0
   var lastX = 0.0
   var y = 0.0
   var lastY = 0.0
   var vx = 0.0
   var vy = 0.0
   var height = 600.0
   var width = 600.0
   var speed = 3.0
   var influence = 5.0
   var random = 0.5
   var numberAngles = 8
   var path = Path()
   var paint = Paint()
   var canvas = Canvas()

   init {
       this.x = this.nx
       this.lastX = this.nx
       this.y = this.ny
       this.lastY = this.ny
       this.vx = Math.random() - 0.5
       this.vy = Math.random() - 0.5
   }

   fun draw() {
       paint.isAntiAlias = true
       paint.color = Color.parseColor("#00ff00")
       paint.style = Paint.Style.STROKE
       paint.strokeWidth = 10f

       path.moveTo(this.x.toFloat(), this.y.toFloat())
       path.lineTo(this.lastX.toFloat(), this.lastY.toFloat());
       canvas?.drawPath(path, paint)
   }

   fun go() {
       this.lastX = this.x
       this.lastY = this.y
       var resultX = 0
       var resultY = 0
       var x = this.x.toInt()
       var y = this.y.toInt()

       this.vx += resultX * influence
       this.vy += resultY * influence
       this.vx += (Math.random() - 0.5) * random
       this.vy += (Math.random() - 0.5) * random

       var som = sqrt((this.vx * this.vx) + (this.vy * this.vy))
       this.vx /= som
       this.vy /= som

       if ((x < 0)) {
           this.vx *= -1
           this.x = 0.0
       }
       if ((x > width)) {
           this.vx *= -1
           this.x = width
       }
       if ((y < 0)) {
           this.vy *= -1
           this.y = 0.0
       }
       if ((y > height)) {
           this.vy *= -1
           this.y = height
       }
       this.x += this.vx * speed * 1.5
       this.y += this.vy * speed * 1.5
   }
}

Lighthouse VPN 2.0 release

can you post some pics or videos? can you describe your app?

just posting a link to the play store is not how you sell your app. i don't just click on things.

here are some examples posted here:
https://androidforums.com/threads/free-game-puddy-run.1341410/
https://androidforums.com/threads/app-lock-screen-ios-16-for-android.1344281/
https://androidforums.com/threads/escape-room-scary-horror-game.1344435/

Auto wifi switching to stronger Wi-Fi network not happening

In my office I have 2 routers with different networks, Initially I will connect to Router A, and after some time I move toward router B area. Device doesn't connect to Router B even if I am closer to Router B. Its still showing Router A connection and signal strength with router A is not good. I have to connect it manually to router B.

Unfortunately WiFi was never designed to operate like that, i.e. where you can randomly roam around between various WiFi routers and be always connected.

Any solutions?

Yes there is, it's called mesh WiFi networks. To implement it, your office would need to upgrade their routers to devices that support mesh WiFi. We have mesh WiFi were I work and live, and I can walk anywhere on the campus and be always connected to the school network.

How do I determine source of notification?

.....
Even if this mystery/annoyance is now behind us, I still need to ask: if a phone is ringing/notifying unexpectedly, is there a reliable way to determine WHY it is ringing/notifying, i.e. what app or condition is causing it? The first many times I looked at the screen when it rang, there was NOTHING to indicate why. This was exasperating. I'd like to think Android gives you some reasonable way to determine why a given noise is being emitted by one of their phones.

Go back through that Settings >> Notifications menu and spend a lot of time just opening each menu option and any resulting sub-menu options to see what might be relevant. And that might not be necessary as there's a good chance it's just some app that he probably can just disable its Notifications.
The Settings >> Notifications menu should provide a listing of most or all installed apps, with the option to just leave as is or disable.

Help G930T to G930V

So you are trying to change a phone from a "T" to a "V", correct?

Firmware is very device specific. I would not recommend this. You could screw the phone up, by doing so.
Firmware is 100% cross-flashable among any of the USA models of the Galaxy S7. Nothing will be screwed up.

Is a Pit file needed for converting a G930T to a G930V?
The PIT is already included in the CSC file. So it's already flashed, as part of the process

Filter

Back
Top Bottom