5

How can I convert code that is intended for older version android, to a newer ve...

 2 years ago
source link: https://www.codeproject.com/Questions/5318067/How-can-I-convert-code-that-is-intended-for-older
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

See more:

Hey

How can I convert code that is intended for older version android, to a newer version android code?

What I have tried:

nothing...................................
Comments
Read the Android documentation to find out what classes, methods etc. need to be changed.

To add to what Richard has said, we can't answer a question like that: there are far, far too many variables to have even half a chance of giving you a useful solution.
We don't even know what version(s) of Android are involved, much less have any idea what code you have used that may need changes!

Start here: Device compatibility overview  |  Android Developers[^] and then google for specifics - For example Migrating your apps to Android 10  |  Android Developers[^] and Migrating apps to Android 11  |  Android Developers[^]

Sorry - but there is nothing useful we can do for you.

Add your solution here

Preview

Existing Members

Sign in to your account

...or Join us

Download, Vote, Comment, Publish.

Your Email   Password  

 

Your Email   Optional Password  

StrengthToo short

 

I have read and agree to the Terms of Service and Privacy Policy
Please subscribe me to the CodeProject newsletters
When answering a question please:
  1. Read the question carefully.
  2. Understand that English isn't everyone's first language so be lenient of bad spelling and grammar.
  3. If a question is poorly phrased then either ask for clarification, ignore it, or edit the question and fix the problem. Insults are not welcome.
  4. Don't tell someone to read the manual. Chances are they have and don't get it. Provide an answer or move on to the next question.
Let's work to help developers, not make them feel stupid.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK