Why don't you simply compile your app against API 4? (It's a setting
in the project properties). If you use any methods or classes that
don't exist yet, you will get compile errors.

Unless you're using reflection or hard-code flags, this should be a
good enough test. SHOULD, just off the top of my head.

-Mike

On May 12, 10:12 pm, CliveW <[email protected]> wrote:
> I have developed an app for my customer at API level 5 (2.0) and
> above, and set my minSDKVersion as 5. Now my customer would like to
> know if it can be made backward compatible with API level 4 (1.6). I
> have a vague idea which areas might not immediately be compatible
> without doing some conditional code, but...
>
> Does anyone know if there are any tools that can do a simple analysis
> of my code and list for me any API calls I have that and their API
> levels (preferably sorted, though I can do this if I can export the
> info)?
>
> This seems like a very useful tool if someone has it? (I'm not
> expecting a full static code analysis, just API levels of all API
> calls in a project)...
>
> Thanks in advance for your comments...
> Clive
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group 
> athttp://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to