Saturday, 17 October 2015

how to interact with the Android directly with out interaction of SMP ?

Now its time to direct interaction with the SAP back end,by using OData with out Interacting with the  SMP level,because now  in sap we are able to create the OData directly using netweaver gateway.so it very easy to get the response to front end .and the Response is available in JSON .

Monday, 27 July 2015

how to get the package names of the installed apps in android mobile ?

final PackageManager pm = getPackageManager();
//get a list of installed apps.
List<ApplicationInfo> packages = pm.getInstalledApplications(PackageManager.GET_META_DATA);

for (ApplicationInfo packageInfo : packages) {
System.out.println("Installed Packege"+packageInfo.packageName);
  
}