928 questions
0
votes
1
answer
206
views
How to set Ethernet down by default in Android AOSP code
By default, Android bring up an ethernet interface through addInterface() in EthernetTracker.java. That is, When a ethernet cable is connected, it will bring up that interface and set Ip automatically....
2
votes
1
answer
220
views
What is the difference between OEM_PAID and OEM_PRIVATE networks in Android [closed]
I see OEM_PAID and OEM_PRIVATE networks in android.
I see below info in PANS documentation.
OEM_PAID Used primarily for apps that can be routed on both OEM and non-OEM networks.
OEM_PRIVATE Used ...
0
votes
0
answers
51
views
How to get a list of available networks
I am using this:
fun startNetworkObserver() {
try {
val builder = NetworkRequest.Builder()
builder.addTransportType(NetworkCapabilities.TRANSPORT_CELLULAR)
builder....
1
vote
0
answers
21
views
How to solve AndroidNetworking usees error
I am learning Android development, and then I found an error with Android networking uses.
I add this implementation (com.github.amitshekhariitbhu.Fast-Android-Networking:android-networking:1.0.4"...
0
votes
0
answers
16
views
Android Studio App crashes sometimes when trying to get data from local webserver [duplicate]
I am currently trying to build my first app with android studio.
I am trying to access data from a webserver
My code is:
class MainActivity : AppCompatActivity() {
override fun onCreate(...
0
votes
1
answer
122
views
Is It Technically Challenging to Implement L2TP in an Android App?
I just switched from iOS to Android and found out that with the release of Android 12, Google removed support for L2TP VPN protocol. I’ve been searching for third-party VPN apps that still support ...
1
vote
0
answers
124
views
SSE stops receiving data after 5 minutes on mobile network (OKHttp Android)
I'm using SSE (Server-Sent Events) in an Android app with OkHttp. After 5 minutes of idle time, the connection stops receiving data on mobile networks, but works fine on WiFi. No errors or callbacks ...
1
vote
0
answers
130
views
Force Android to use mobile data even if other network interfaces are available?
I have an Android device that's used for mobile testing. This device has cell connectivity and is separately connected to the local network over ethernet (which is used for ADB).
How can I configure ...
2
votes
1
answer
121
views
"Connecting to VM Service at ws://127.0.0.1:50268/yZ6Ui9WuIGw=/ws "error
I am trying to run my flutter application on android virtual device using vs code but when I run the code it shows following error
I/xample.chalbha(11197): Waiting for a blocking GC ProfileSaver
and ...
1
vote
0
answers
108
views
How to connect ipv6 through DHCP via WIFI android?
I need to connect ipv6 through WIFI.
But below code works without turning on WIFI. Let me know how to get ipv6 by turning on WIFI. I am bit confused and can you please guide me.
public String ...
2
votes
1
answer
1k
views
frida-server being targeted by port scan?
Whenever I install and start frida-server, I have a banking app that behaves weirdly. After some research, I discovered some app may be able to do a port scan on the device running frida-server at the ...
0
votes
1
answer
124
views
Track application id or package name using DatagramPacket in android
I open a socket and track network calls in the Android application. Currently, I can view the hostname and IP address of the coming network traffic using the DatagramPacket class. Is it possible to ...
2
votes
1
answer
381
views
What is HttpEngine in android.net.http
I noticed there are new class in the android.net.http package. Some of them are added in API 34, also in the S Extensions 7. I encountered the HttpEngine class in the package, the summary says that
...
5
votes
0
answers
4k
views
android.net.ConnectivityManager$TooManyRequestsException
Note: Don't mark this as duplicate as this existing answer does not solved my query android.net.ConnectivityManager$TooManyRequestsException in android while network call
Update Wed 28 Jun : Found ...
0
votes
0
answers
319
views
How can I find which http (not https) requests my Android app is making and know the domain they are of the request?
My app is required to have the cleartextTrafficPermitted="true" attribute, which is a problem because some third party libraries think that means they can use http instead of https.
I've ...