Back to project page AndroidLibraryProject.
The source code is released under:
Apache License
If you think the Android project AndroidLibraryProject listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
/***************************************************************** * Copyright (c) 2013 by CDAC Chennai //from w w w. j av a2 s . c o m * @File DeveloperInfo * @Created: 30.04.2014 * @author: Prasenjit * Last Change: 05.05.2014 by Prasenjit ******************************************************************/ package com.contextawareframework.querymodule; import android.content.Context; public class DeveloperInfo{ private static String developerEmailId; private static String AppPackageName; private static String APIKey; /* * */ public static String getDeveloperEmailId() { return developerEmailId; } /* * */ public static String setDeveloperEmailId(String devEmailId) { developerEmailId = devEmailId; return developerEmailId; } /* * */ public static String getAppPackageName() { return AppPackageName; } /* * */ public static String setAppPackageName(Context context) { AppPackageName = context.getApplicationContext().getPackageName(); return AppPackageName; } /* * */ public static String getAPIKey() { return APIKey; } /* * */ public static String setAPIKey(String aPIKey) { APIKey = aPIKey; return APIKey; } }