diff --git a/BCL.csproj b/BCL.csproj
index 1941f0713..1161294d7 100644
--- a/BCL.csproj
+++ b/BCL.csproj
@@ -135,7 +135,7 @@
text.d.ts
-
+
diff --git a/location/location.android.ts b/location/location.android.ts
index 24e403293..cfb9723a4 100644
--- a/location/location.android.ts
+++ b/location/location.android.ts
@@ -1,7 +1,7 @@
import types = require("location/location-types");
import appModule = require("application/application");
import common = require("location/location-common");
-import merger = require("utils/module_merge");
+import merger = require("utils/module-merge");
// merge the exports of the types module with the exports of this file
declare var exports;
diff --git a/location/location.ios.ts b/location/location.ios.ts
index 9a21a0326..d292c84e4 100644
--- a/location/location.ios.ts
+++ b/location/location.ios.ts
@@ -1,6 +1,6 @@
import types = require("location/location-types");
import common = require("location/location-common");
-import merger = require("utils/module_merge");
+import merger = require("utils/module-merge");
// merge the exports of the types module with the exports of this file
declare var exports;
diff --git a/utils/module_merge.ts b/utils/module-merge.ts
similarity index 100%
rename from utils/module_merge.ts
rename to utils/module-merge.ts
diff --git a/utils/utils.android.ts b/utils/utils.android.ts
new file mode 100644
index 000000000..3acfe9f2f
--- /dev/null
+++ b/utils/utils.android.ts
@@ -0,0 +1,24 @@
+export class Collections {
+ public static stringArrayToStringSet(str: string[]): any {
+ var hashSet = new java.util.HashSet();
+ if ("undefined" != typeof str) {
+ for (var element in str) {
+ hashSet.add('' + str[element]);
+ }
+ }
+ return hashSet;
+ }
+
+ public static stringSetToStringArray(stringSet: any): string[] {
+ var arr = [];
+ if ("undefined" != typeof stringSet) {
+ var it = stringSet.iterator();
+ while (it.hasNext()) {
+ var element = '' + it.next();
+ arr.push(element);
+ }
+ }
+
+ return arr;
+ }
+}
\ No newline at end of file
diff --git a/utils/utils.d.ts b/utils/utils.d.ts
new file mode 100644
index 000000000..89391242a
--- /dev/null
+++ b/utils/utils.d.ts
@@ -0,0 +1,7 @@
+/**
+ * Timer functions.
+ */
+export declare function setTimeout(callback: Function, milliseconds?: number): number;
+export declare function clearTimeout(id: number): void;
+export declare function setInterval(callback: Function, milliseconds?: number): number;
+export declare function clearInterval(id: number): void;
\ No newline at end of file
diff --git a/utils/utils.ios.ts b/utils/utils.ios.ts
new file mode 100644
index 000000000..d355c3252
--- /dev/null
+++ b/utils/utils.ios.ts
@@ -0,0 +1,22 @@
+export class Collections {
+ public static jsArrayToNSArray(str: string[]): any {
+ var arr = new Foundation.NSMutableArray();
+ if ("undefined" != typeof str) {
+ for (var element in str) {
+ arr.addObject(str[element]);
+ }
+ }
+ return arr;
+ }
+
+ public static nsArrayToJSArray(a: any): string[] {
+ var arr = [];
+ if ("undefined" != typeof a) {
+ for (var i = 0; i < a.count(); i++) {
+ arr.push(a.objectAtIndex(i));
+ }
+ }
+
+ return arr;
+ }
+}
\ No newline at end of file