Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 20 lines (13 sloc) 0.422 kb
aff4636 @kelwin Added APIMonitor script and fixed bugs
authored
1 #!/usr/bin/env python
2 # -*- coding: utf-8 -*-
3 import sys
4 import os
5 from apkil import api
6 import cPickle
7
8 levels = [3, 4, 7, 8, 10, 11, 12, 13, 14, 15,16]
3f7720c @kelwin Added support for specifying APIs by name
authored
9
aff4636 @kelwin Added APIMonitor script and fixed bugs
authored
10 for level in levels:
11
12 jar_name = "android-%d.jar" % level
13 jar_path = os.path.join("androidlib", jar_name)
14 data_path = os.path.join("androidlib", "android-%d.db" % level)
15
16 android_api = api.AndroidAPI(level, jar_path)
17 android_api.save(data_path)
18
19
Something went wrong with that request. Please try again.