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

Help Can't bypass activation

FWIW I've been using paid Express VPN for 5 years now, and had good reliability with it here in China, and some of my friends here also use it. I also recommend Astrill VPN, also paid.

I did look at Proton VPN, but their sign-up site keeps on showing broken CAPTCHAs..

Well, due to possible shady aspects of Express VPN I had to find something else.

I wonder what is up with the broken captchas?
I had no problems at all.

Can you make a screen recording showing what happens?

Apps Accessing phone GPS coordinates

You should be able to access the phone's location by querying the fused location provider directly on-device. You shouldn't need to run a bunch of queries against a costly web API. (I think; I'm not actually a developer, but I wasn't able to find any sort of pricing or limitations on using the on-device resources.)

https://developer.android.com/training/location/retrieve-current

Looks perfect. Thanks very much!

Arraylist Code Error

I have a problem with my code

package com.example.java;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.ListView;

import org.w3c.dom.Element;

import java.sql.Array;
import java.util.ArrayList;
import java.util.Arrays;

public class MainActivity3 extends AppCompatActivity {
private static final String Tag = "MainAcitivity3";
@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main3);
Log.d(Tag, "onCreate: Started.");
ListView mListView = (ListView) findViewById(R.id.listView);
Intent intent = getIntent();
String asd = intent.getStringExtra(MainActivity2.namabarang);
String asdf = intent.getStringExtra(MainActivity2.jumlahstock);

Item sparepart = new Item(asd,asdf);
ArrayList[] itemlist = new ArrayList[1];
for(int i=0; i<2;i++)
{
itemlist = new ArrayList<Item>(); // initialize each element with ArrayList object
}
itemlist[0].add(sparepart);
itemlist[1].add(sparepart);

PersonListAdapter adapter = new PersonListAdapter(this, R.layout.adapter_view_layout,itemlist[0]);
mListView.setAdapter(adapter);

String number = intent.getStringExtra(MainActivity2.extraint);
if(number != null) {
FrameLayout lay = (FrameLayout) findViewById(R.id.frames);
if (number.equals("1")) {
lay.setVisibility(View.INVISIBLE);
mListView.setVisibility(View.VISIBLE);
} else {

}
}
else{}

}

public void onBtnClick (View view){
Intent intent = new Intent(this,MainActivity2.class);
startActivity(intent);
}



}

And i plan to save the item in specific array in the arraylist and here is the error i got

java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.java/com.example.java.MainActivity3}: java.lang.ArrayIndexOutOfBoundsException: length=1; index=1

Help Google Play Apps will NOT Update!

Did you also clear all data from Google Play Services?

I know you say that was done for Google Play Store, but the two separate apps work together.

Hi, this has been resolved a while ago. After a couple of Google Play manual updates it started updating on it's own and updating apps normally. I'm sorry, I should have marked this as resolved. I'll do it now. Thanks for getting back.

Help Anyone know the OTG connected flash drive max capacity for the S8+?

Android only supports FAT32 and exFAT for external USB media so the issue doesn't sound like it necessarily has anything to do with that Sandisk flash drive itself but there's a good chance whatever OTG adapter is the actual problem. If that is the case, it makes no difference what USB storage media you try, if the OTG adapter/cable isn't compatible with your S8, nothing can be detected and mounted.
Do other USB devices connect to your S8 through this OTG adapter/cable and it's just this Sandisk drive that's a problem? That would indicate the problem is with the Sandisk drive and your phone. If you cannot get anything to connect to your S8, using that OTG adapter/cable, that would indicate that it is the problem.
What OTG cable/adapter do you have?

Filter

Back
Top Bottom