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

no option to remove pin lock screen?

hi I have android 12 and i have a pin lock screen enabled. I want to remove it but when i go to lock screen and screen lock type i enter my pin and see no option to delete, remove or none?
There is no way to remove the pin setting?
Go to Security ---> Screen Lock ---> Swipe. Changing it to swipe removes the lock whether it be Pattern, PIN or Password.

Apps how to read files with NDK

Specifically, I am working on integrating StockFish with Android. The significant part of SF is its syzygy - directory where its tablebase is stored.These files are huge (about 1GB) and I do not want to include them in the program body. I want to allow the user to download them and specify their directory so that SF can use them. SF loads one of the files within this directory, one at a time, as needed.
StockFish is a shared library written in C++.
How can this be done with the current APIs?

Apps Android studio flamingo asking for compileSdkVersion to be set to 34

I have an app that is built using capacitorjs. Now I have updated the capacitor js version to be 5 along with android studio updated with flamingo. Since the update, I get below error:

Dependency 'androidx.core:core:1.12.0-alpha05' requires libraries and applications that
depend on it to compile against version 34 or later of the
Android APIs.

:app is currently compiled against android-33.

Also, the maximum recommended compile SDK version for Android Gradle
plugin 8.0.0 is 33.

Recommended action: Update this project's version of the Android Gradle
plugin to one that supports 34, then update this project to use
compileSdk of at least 34.

Note that updating a library or application's compileSdk (which
allows newer APIs to be used) can be done separately from updating
targetSdk (which opts the app in to new runtime behavior) and
minSdk (which determines which devices the app can be installed
on).

I now updated compileSdkVersion to 34 in :app build.gradle file. and it works fine.

Since 34 is still in dev, will it cause problems for my app? Should I be doing this? Any suggestions?

Setting up a RecyclerView

Noobie here.
I am working on my first app using a Recyclerview. I have an Adapter (SongsAdapter) to make it work. This is my code for the Adapter>

package com.example.musiclyrics;

import android.content.Context;
import android.database.Cursor;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

import androidx.recyclerview.widget.RecyclerView;

import com.google.android.material.snackbar.Snackbar;

public class SongsAdapter extends RecyclerView.Adapter<SongsAdapter.ViewHolder> {
private Context context;
private Cursor cursor;

public SongsAdapter(Context context) {
this.context = context;
}
public void setCursor(Cursor cursor) {
this.cursor = cursor;

notifyDataSetChanged();
cursor.moveToFirst(); // Move cursor to the first row
ViewHolder holder = onCreateViewHolder(null, 0);

onBindViewHolder(holder, 0);
}

@override
public ViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
View view = LayoutInflater.from(context).inflate(R.layout.songs_layout, parent, false);
return new ViewHolder(view);
}

@override
public void onBindViewHolder(ViewHolder holder, int position) {

if (cursor != null && cursor.moveToPosition(position)) {

int songNameIndex = cursor.getColumnIndex("SONG_NAME");
int artistIndex = cursor.getColumnIndex("ARTIST");
int durationIndex = cursor.getColumnIndex("DURATION");
int songIdIndex = cursor.getColumnIndex("KEY_ID");

String songName = cursor.getString(songNameIndex);
String artist = cursor.getString(artistIndex);
String duration = cursor.getString(durationIndex);
final int songId = cursor.getInt(songIdIndex);

holder.songNameTextView.setText(songName);
holder.artistTextView.setText(artist);
holder.durationTextView.setText(duration);

holder.itemView.setOnClickListener(new View.OnClickListener() {
@override
public void onClick(View v) {
// MainActivity.varCurrentSong = songId;
// Handle the click event
}
});
}
cursor.moveToNext()

}

@override
public int getItemCount() {
return (cursor != null) ? cursor.getCount() : 0;
}

public static class ViewHolder extends RecyclerView.ViewHolder {
TextView songNameTextView;
TextView artistTextView;
TextView durationTextView;

public ViewHolder(View itemView) {
super(itemView);
songNameTextView = itemView.findViewById(R.id.txt_songName);
artistTextView = itemView.findViewById(R.id.txt_Artist);
durationTextView = itemView.findViewById(R.id.txt_Duration);
}
}
}

At runtime this appears to work OK but the screen only shows the first record. I have tried about 50 different ideas and suggestions on how to make this work to no avail. Can someone help me out please?
Thanks

Words can't express how appalling this is..

If we need any more reminders that the Islamic State is evil, here's an excerpt from "ISIS Women Accused of Turning Boys as Young as 13 Into a Human Stud Farm" by Anne Speckhard:
Two boys have come forward to claim they were victims in a twisted plot run by ISIS women that forced at least 10 young teenagers to try to impregnate dozens of women held in a detention center. “We are being forced to have sex with the ISIS women, to impregnate them,” Ahmet, 13, and Hamid, 14, told a guard at Camp al Hol in northeast Syria, according to Syrian Defense Force officials. “Can you get us out of here?”

Butterfly Watch Face

Just released: Butterfly Watch Face

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

I hope that you will like it!

mcSAye9m.jpg
3l5D9sfm.jpg

LRYYdx2m.jpg
Ri13efwm.jpg

Phone Charge Faster

Or turn it off during charging, which will reduce power consumption (and heating) even further.

Of course there's no point using a high wattage charger on a phone that cannot take advantage, so compatibility of charging standards is also important. Personally I'm not interested in anything other than USB-PD, since that standard works for my other devices as well and hence 1 charger does me for everything (main requirement being that it's powerful enough to use with my laptop), whereas other proprietary charging systems don't do that.

Though personally I'm more interested in battery longevity, so have fast charging turned off on my phone. I can turn it on if I ever actually need it, but that's very rare, so it makes more sense to reduce stress on the battery by turning it off the rest of the time.

A Strange Anomaly

I too am looking for an app that is as easy to use but with some additional features such as not turning on via external device.

Like I mentioned I am using a workaround for now. The most annoying part is it will even play files that are stored in the "Secure Folder" if they were the last played with the app that itself is in the "Secure Folder" as separate version.

Odd to me.
If you find a player that behaves, please let me know. I have no problem paying for an app if it works well.

To Who To Report An Exploit?

An exploit? Simply because an app is popping up ads and/or prompting you to install otherwise unwanted bloatware sounds more like a common occurrence with a lot of apps, as oppose to actually being an actual exploit. Some developers will resort to doing things that may be questionably unethical but in our increasingly-perverted capitalist culture still legal to do.
If you installed an app that's too bloated with ads and crapware, just stop using it and uninstall it. It's your choice, just weigh the positives against the negatives. Not knowing just which app or apps you're referring to, hopefully there are equivalent substitutes that aren't so problematic. Or if the app has a pay-for version, the free version might be its ad-heavy version, and you just need to pay for it.
If it's an app that came pre-installed on your phone, you're essentially stuck with it. With system-level apps you can't readily Uninstall them but with some you can at least Disable them. At that point, at least they're no longer active and not able to mess things up in the background.

Integrate Google sign-in into an app

Hi,
I'm currently building an app, and one way to login/create an account is to use your existing Google account. Google does provide quite a few documents on how to do it, but once you get to the API part with the OAuth consent screen, it starts to get a bit confusing.

They require us to choose between an internal (Only available to users within your organization) and external (Available to any test user with a Google Account.) user type. External is the only option that can be selected for me, and that starts to make things difficult.
They require us to provide an app name, a logo, and a bunch of information that I don't have yet. All I want to do is test the Google sign-in method and see how I can integrate it in the future in a more serious project.

Is there any way to do this? Or do I have to provide them with all of this extra information?

Thanks

Where are recorded alarm sounds stored in Android 13

Actually that is not a new alarm feature of Android 13 - rather it is a new feature of your manufacturer's app in Android 13. The platform is not that consistent, I'm afraid.

Since my phone (also Android 13) doesn't have it I can't investigate. But if it's a feature of that particular clock app it's possible that it is stored in the clock app's internal data. If it is then only that app will be able to access it. If you can't see it in your internal storage (a subfolder of the Android folder or a folder whose name suggests media, notifications, alarms etc) that would be my guess.

Filter

Back
Top Bottom