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

Which IDE?

Do not be sad, there is several other IDEs which you can use for Android Development e.g. CodeGearRAD studio - Delphi(pascal) or BuilderC++, Qt/C++ for Android, Lazarus for Android in pascal, MS VS 2022 VisualBasic Xamarin, MS VS 2022 C# MAUI Xamarin for Android, TizenDevelopmentStudio C/C++ for mobile phones + tablets + TV ... and many others. So, you can choose anything...

LG tablet refuses to update

Hello, I was given LG G Pad F 8.0 as a gift to me. LG stopped giving it updates on Aug. 31, 2018, with version V49520m, and it is discontinued, that is OK. I would like to get to the final version, and I see no reason why I can't do that. I am currently on version April 26, 2016 V49520g. When I go to Settings > About Tablet > Software Update, it says it is on the latest version, but that is incorrect, it is on version V49520g, when V49520m is the latest version. I have been on over 100 mobile devices, and I have never seen a device block itself from updating like this. I have already factory reset it twice, there are no custom settings, personal files, extra apps, or SIM card in the device. How can I proceed? Thank you everyone.

AT&T doesn't allow their Android devices to OTA update over wifi unless an active AT&T SIM is inserted. Don't ask me why - I have no idea.

If any friends or family members have AT&T, you can pop in one of their SIMs to pull the update

Samsung A51 MetroPCS painfully slow after forced update yesterday.

I doubt messing with the cable will fix anything. It's more likely the female connector has seen stress or wear causing it to to make a loose connection. If a different or new cable acts the same, perhaps a fix it store can replace the c port connector for you.

I would try the compressed air. Sometimes lint collects in the port and keeps the connection from being sound.

font server

There's two options you have here. Contact the manufacturer, and pay them to reflash the firmware rom, or use software like Odin, find the exact firmware for your model and the country, and hard flash it yourself with a pc. There's no other solutions.

parseUri instead of getIntent(); does not work ...

Hi,
I would like to use parseUri instead of getIntent(); but parseUri the does not work. What I have to do ?

try {
//Intent intent = getIntent();
Intent intent = (android.content.Intent) parseUri( "android-app://com.example.myapp.MainActivity", 0); //
message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
}
//catch (URISyntaxException ignore)
catch (Exception ignore)
{
message = "";
}// try catch


here is complette code:
for AndroidStudio 2022/Java

Mental Outlaw: Apple Has Begun Scanning Users Files even with iCloud turned off

I honestly was there. I got perma-banned from so many forums back then.

This scene from the John Carpenter flick "They Live" is pretty close to home about modern society:

03.08-theylive-2789206321.jpg


Like with the Matrix using the pill, in They Live, the way to see the truth behind the billboards and various signs was by wearing special glasses. The movie also predicted drones, smart watches (one lady saying to her smart watch "I got one that can SEE!") and the rich preying on the poor.

16861865_0-4103080937.png

Purchase uc from zong

I had rupees in my sim card
so a zong load is money that you have on your sim card? never heard of a sim card having money on it. it must be a europe or asain thing as i have noit seen anything like that here in the U.S.

not sure how you would do this. some how you need to convert the money there and put it in your bank account and then use that to buy uc within pubg mobile.

Need step by step instructions how to automatically add files to the APK in Android Studio

I am trying to do this very trivial task, but I cannot find any complete instructions on how to do it.

So far, I gathered that

  1. APK is just an archive that files can be added to using aapt add MyApp.apk file1 file2 ...
  2. Or the files must be added to the assets folder
  3. The APK must be less than 100mb to be allowed on the APP store
  4. The files must be signed
The problem is that I am finding these one-line answers in Stack Overflow questions, and not in any official instructions from Android Studio developers, and they leave a lot of necessary steps out. Which I have to guess, like where to put the files, where are they getting stored on the device. If adding files to the assets folder, I need to know Which assets folder? app/build/intermediate? Do I need to add something to Gradle scripts? Are there any other steps?

This is a very basic thing that probably every android app needs to do, and I am baffled that there is not an option or support in the IDE to import and sign the files being used by the application.

So far I had to resort to manually uploading these files (YOLO ONNX models, label text files, test images, etc) to my phone and the emulator for testing.

I am looking for some clear and concise step by step instructions to how someone can add something like a text or image file to their APK, sign it, and make it deploy to the phone or emulator automatically when building, running, or debugging the app.

Can someone please help point me to such a resource?

Thank you,

Exception dispatching input event :(

Hi,
I am trying startActivity function on a set of simple images which are placed to a GridView, but I am getting a suspicious error - see below.
Can someone help me where is problem ?

Here is source code (AndroidStudio 2022.1.1 Patch 1, Java):


Jerry

***********************************************
E/InputEventReceiver: Exception dispatching input event.
E/MessageQueue-JNI: Exception in MessageQueue callback: handleReceiveCallback
E/MessageQueue-JNI: android.content.ActivityNotFoundException: Unable to find explicit activity class {com.example.apk/com.example.apk.SingleViewActivity}; have you declared this activity in your AndroidManifest.xml?
***********************************************

Calculator

I know it's simple but I am probably over complicating this :D
I want to make a calculator with 3 fields required to get the result.
Example:
Field 1: (2)
Field 2: (4)
Field 3: (2)
Result: 4

Explanation:
Calculator takes what ever is entered in Field 1 AND multiplies it with Field 2, Example: (2*4=8)
Than the calculator takes the RESULT of Field 1 and Field 2 AND divides it with what ever is inserted in Field 3, Example: (8/2=4)
In short: 2*4=8/2=4.
Your help would be much appreciated.
So far I have this and I only have the first 2 fields working:

public class MainActivity extends AppCompatActivity {
private EditText etn1;
private EditText etn2;
private TextView appview;

@override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
etn1 = (EditText) findViewById(R.id.etn1);
etn2 = (EditText) findViewById(R.id.etn2);
appview = (TextView) findViewById(R.id.appview);

}

public void btnshoot(View view) {
int n1 = Integer.parseInt(etn1.getText().toString());
int n2 = Integer.parseInt(etn2.getText().toString());
int sum = n1 * n2;
appview.setText(String.valueOf(sum));

Filter

Back
Top Bottom