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

Message Dialog When Opening an Older Android App

I have developed an app that I uploaded to Google Play years ago. I never had to fix anything on it as it was developed well before uploading. Now that Google is forcing developers (a whole separate thread on that topic :p ) to do various things to their apps, I need to upload a new version. I've decided to publish an entirely new app for this purpose. I've made a few changes and now am testing on a phone with Android 11. The app installs fine, however, when starting the app, there is a dialog displayed stating, 'This app was built for an older version of Android and may not work properly . . . . '

App runs fine when pressing on the 'OK' button. I've tried to change the android:minSdkVersion to 15 and the android:targetSdkVersion to 29 in Manifest but the dialog continues to display.

Is there something else in the Manifest.xml that is required?

Any assistance on this nagging problem would be appreciated.

------------

Samurai Assassin

In this game, you play as Hamashi, a Samurai who lived with Ninjas and fought evil gods, and now he is going to rescue his wife from the hand of the half man half god Fūjin. With superior acrobatic and deadly weapons, Hamashi is ready to face menacing traps and enemies who have sworn to protect Fūjin.
Samurai Assassin features simple yet addicting gameplay, giving you thrilling moments and an unexpected experience. You can upgrade abilities using gold and diamond collected from enemies and the environment in order to keep tracks with the difficulty of the game. Maneuver through traps, lay waste on enemies who try to stop him and rescue his wife.

FEATURES:
- 3 different maps + 1 Boss map with 45 levels to play
- Easy to control movement
- Upgrade your character's skills
- Purchase costumes and disguises
- Challenge yourself with tough battles
- Be the best and submit your score.

Wow your trailer is amazing. Game looks epic, I'm about to check it out.

Apps App crashing when trying to show system notification after downloading a new file

have and android application which downloads pdf documents from a backend service using the following code, executed in a class that implements android.os.AsyncTask that runs in background:

Java:
if (android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.Q) {
   String path = Environment.DIRECTORY_DOWNLOADS;
   ContentValues contentValues = new ContentValues();
   contentValues.put(MediaStore.MediaColumns.DISPLAY_NAME, file.getName());
   contentValues.put(MediaStore.MediaColumns.RELATIVE_PATH,path);
   ContentResolver resolver = context.getContentResolver();
   Uri uri = resolver.insert(MediaStore.Downloads.EXTERNAL_CONTENT_URI, contentValues);
   try {
       OutputStream os = resolver.openOutputStream(uri);
       byte data[] = new byte[4096];
       int count;
       while ((count = is.read(data)) != -1) {
           os.write(data, 0, count);
       }
       os.flush();
       IOUtils.closeQuietly(os);
       IOUtils.closeQuietly(is);
   } catch (FileNotFoundException e) {
       Log.e("DOWNLOAD","File not found",e);
   } catch (IOException e) {
       Log.e("DOWNLOAD","Error downloading file",e);
   }
} else {
   OutputStream output = new FileOutputStream(file);
   byte data[] = new byte[4096];
   int count;
   while ((count = is.read(data)) != -1) {
       output.write(data, 0, count);
   }
   IOUtils.closeQuietly(output);
   IOUtils.closeQuietly(is);
}

After the download of the file, that completes withou errors, I try to show a notification in the system bar with the following code inside the onPostExecute() method of the AsyncTask:

Java:
Uri fileUri = FileProvider.getUriForFile(context,
       context.getResources().getString(R.string.file_provider_authority),
       file);

Intent viewFileIntent = new Intent(Intent.ACTION_VIEW);
viewFileIntent.setDataAndType(fileUri, mimeType);
viewFileIntent.setFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION);

DownloadManager manager = (DownloadManager) context.getSystemService(Context.DOWNLOAD_SERVICE);
manager.addCompletedDownload(fileName, fileName, true, mimeType, file.toString(), file.length(), true);

if ( context.getPackageManager().queryIntentActivities(
       viewFileIntent,
       PackageManager.MATCH_DEFAULT_ONLY).size() > 0 ) {
   context.startActivity(viewFileIntent);
} else {
   DSSErrorUtils.showI18n(context, context.getString(R.string.MESSAGE_NO_APP_FOR_FILE));
}

When I run the emulator with Android 10 - SDK Version 30, the app crashes with the following error (generated in method manager.addCompletedDownload() ):

java.lang.SecurityException: No permission to write to /storage/emulated/0/Download/document_704.pdf: Neither user 10148 nor current process has android.permission.WRITE_EXTERNAL_STORAGE

The same code executed on emulator or devices with Android 11 - SDK Version 30 runs without problems. Also with Android versions < 10 it works correctly.

Any help would be very appreciated! Thanks!

Files being mysterious toss away when not being toss away..

Welll early today, when I got home from being in town for a bit, I noticed half of my photos went to the recycling bin in the device... Hmmm, now I am just wondering if it a giant bug or something being hacked in, but there has not been a single issue with it either, I am now wondering what did this occur and happen within that perfect time though. So I am wondering if anyone else's gallery got messed up.

Samsung Galaxy 7 Stuck on Tasks

Ok, it's November 2021, so the App has changed a bit. Ignore the three vertical dots menu (top right). Instead, click on the three horizontal bars menu (top left), then select Month. Hopefully, that'll take you back into your familiar Calendar.

(I've just wasted an hour on Samsung's 24/7 support chat, communicating with someone who knows nothing.)

Today's real hero is Lurker . Thanks for posting, mate.

When will software companies stop writing such appallingly bad Apps. Designed by clueless kids

Rick

Looking for someone to build custom Android ROM

Hi I'm working on a project where I'd need a custom Android ROM. Where would be the best place to find a freelancer who I can hire to help me out with the project? Or is there anyone on these forums that is doing freelancing and has expertise in building a custom ROM?
for a free lancer i would go to https://www.xda-developers.com/ its a developers forum

[][] StormX: Shop and Earn Crypto

Shop at your favorite stores and earnCrypto Cashback. StormX is the easiest and safest way to start earning cryptocurrency without any of the hassles. It’s time to stack sats!
Simply download the app, choose your favorite online stores, buy stuff, and earn shopping rewards.

Shopping + Crypto Back
Cashback is old school. It’s time to earn crypto back on all your purchases.
When you use the StormX shopping app, you shop and earn rewards that you can then withdraw in the cryptocurrency of your choice:
• Bitcoin - BTC
• Ethereum - ETH
• StormX - STMX
• Litecoin - LTC
• DAI

Lots and Lots of Stores
You can keep shopping at all your favorite stores, but now you’ll also safely earn cryptocurrency while you do it. We’ve got 1000s of stores in the app and here are a few of our most popular online shops:
• eBay
• Nike
• Adidas
• Gamestop
• Kroger
• Sam’s Club

How to earn cryptocurrency safely
The StormX app lets you start earning Bitcoin or Ethereum without having to worry about signing up to dodgy exchanges or entering your credit card. All you have to do is shop online like you normally would and you’ll earn cryptocurrency while you do it. Then just open the StormX app to see your rewards and then you can leave it in the app or withdraw it to your private wallet. It’s a great way to introduce your parents, grandparents, or other no-coiners without them having to do anything.

How it Works
Everybody wants Bitcoin and Ethereum and everyone wishes they had bought them a few years ago. Now you can earn it without having to worry about if the price changes. We went out of our way to make StormX as easy as possible, here’s how you can start earning cryptocurrency today:
• Download the app (there’s also a Chrome extension to make life just that much easier)
• Click on a store (we feature hundreds of your favorites)
• Find some awesome stuff to buy
• Buy it
• Sit back and chill while your rewards come rolling in
• Choose your favorite cryptocurre0ncy and you’re set

Screenshots: https://imgur.com/a/hNaZTZ5
Download StormX on Google Play: https://play.google.com/store/apps/d...codes.bitmaker
Download StormX on App Store: https://apps.apple.com/us/app/storm-play/id1420545397

Filter

Back
Top Bottom