Exemplo n.º 1
0
 public static List<ArticleMobile> getArticles() {
   ArticleMobile[] articles =
       (ArticleMobile[])
           Communicator.performRequest(
               Global.server + uri + "getgoods" + extension, ArticleMobile[].class);
   return Arrays.asList(articles);
 }
Exemplo n.º 2
0
 public static List<OutletMobile> getOutletsForToday(String username) {
   OutletMobile[] outlets =
       (OutletMobile[])
           Communicator.performRequest(
               Global.server + uri + "getoutlets/" + username + extension, OutletMobile[].class);
   return Arrays.asList(outlets);
 }