Android Open Source - RSSReader Configs






From Project

Back to project page RSSReader.

License

The source code is released under:

?????? ????? ?????? ?????? ?????????? ????????? 1.?????? ???????? ??????? ??????? ????? ?????? ????? ?????????...

If you think the Android project RSSReader listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package net.uyghurdev.avaroid.rssreader;
/*from  ww w. j  a  v a2  s  .c  o m*/

public class Configs {
  
  public static final String SugFeedServer = "http://localhost/"; // add your server address here;
  
  public static final String ShareServer = "http://localhost/"; // add your server address here;

  public static boolean StartService = false;

  public static boolean ServiceStarted = false;

  public static int Minute;

  public static int Hour;

  public static int UpdateRatio;
  
  public static int ShowCount = 20;
  public static String FeedUrl = null;
  public static int Network = 0;
  protected static int IdIndex;
  public static int ToAddFeedNumOfFeed=0;
  public static int ToItemListFeedId=0;
  public static String ToItemListFeedTitle="";
  public static String ToItemListFeedUrl="";
  public static int ToItemListFeedItemCount=0;
  public static int FeedCount=0;
  public static int FeedId;
  public static boolean NewsMobile2G;
  public static boolean NewsMobile3G;
  public static boolean NewsWIFI;
  public static boolean PictureMobile2G;
  public static boolean PictureMobile3G;
  public static boolean PictureWIFI;
  public static String Model;
  public static String Version;
  public static String Language;
  public static String FeedTitle;
  public static int ItemId;
  public static int[] ItemIds;
  public static String AppName;

  public static Item SingleItem;

  public static int FontSize;

  protected static int ItemListScroll = 0;
  protected static int FeedListScroll = 0;
  
  public static Integer tryParse(String text) {
      try {
        return new Integer(text);
      } catch (NumberFormatException e) {
        return 10;
      }
    }

  public static boolean ShowPicture() {
    // TODO Auto-generated method stub
    boolean b = false;
    switch (Network) {

    case 0:
      break;
    case 1:
      if (PictureWIFI)
        b = true;
      break;
    case 2:
      if (PictureMobile3G)
        b = true;
      break;
    case 3:
      if (PictureMobile2G)
        b = true;
      break;

    }
    return b;
  }
}




Java Source Code List

ca.laplanete.mobile.example.ExampleActivity.java
ca.laplanete.mobile.example.ExamplePagedDragDropGridAdapter.java
ca.laplanete.mobile.example.Item.java
ca.laplanete.mobile.example.Page.java
ca.laplanete.mobile.pageddragdropgrid.DeleteDropZoneView.java
ca.laplanete.mobile.pageddragdropgrid.DragDropGrid.java
ca.laplanete.mobile.pageddragdropgrid.ItemsSource.java
ca.laplanete.mobile.pageddragdropgrid.OnPageChangedListener.java
ca.laplanete.mobile.pageddragdropgrid.PagedContainer.java
ca.laplanete.mobile.pageddragdropgrid.PagedDragDropGridAdapter.java
ca.laplanete.mobile.pageddragdropgrid.PagedDragDropGrid.java
net.uyghurdev.avaroid.rssreader.About.java
net.uyghurdev.avaroid.rssreader.AddFeedActivity.java
net.uyghurdev.avaroid.rssreader.Configs.java
net.uyghurdev.avaroid.rssreader.ContentActivity.java
net.uyghurdev.avaroid.rssreader.CustomAlertDialog.java
net.uyghurdev.avaroid.rssreader.EditFeedActivity.java
net.uyghurdev.avaroid.rssreader.ImageLoader.java
net.uyghurdev.avaroid.rssreader.ItemAdapter.java
net.uyghurdev.avaroid.rssreader.ItemListActivity.java
net.uyghurdev.avaroid.rssreader.Item.java
net.uyghurdev.avaroid.rssreader.LItem.java
net.uyghurdev.avaroid.rssreader.RSSReaderActivity.java
net.uyghurdev.avaroid.rssreader.SettingsActivity.java
net.uyghurdev.avaroid.rssreader.SplashActivity.java
net.uyghurdev.avaroid.rssreader.SuggestedFeedsActivity.java
net.uyghurdev.avaroid.rssreader.data.DataHelper_.java
net.uyghurdev.avaroid.rssreader.data.FeedData.java
net.uyghurdev.avaroid.rssreader.data.OpenHelper.java
net.uyghurdev.avaroid.rssreader.operator.FeedParser.java
net.uyghurdev.avaroid.rssreader.operator.Feed.java
net.uyghurdev.avaroid.rssreader.operator.FeedsAdapter.java
net.uyghurdev.avaroid.rssreader.operator.JSONManager.java
net.uyghurdev.avaroid.rssreader.operator.NetworkOperator.java
net.uyghurdev.avaroid.rssreader.service.AlarmReceiver.java
net.uyghurdev.avaroid.rssreader.service.UpdateService.java
net.uyghurdev.avaroid.rssreader.tools.FileCache.java
net.uyghurdev.avaroid.rssreader.tools.Helper.java
net.uyghurdev.avaroid.rssreader.tools.MemoryCache.java
net.uyghurdev.avaroid.rssreader.tools.UIManager.java
net.uyghurdev.avaroid.rssreader.tools.Utils.java