1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Donation with Paypal!!!

    Go to your paypal account and send directly donation to [email protected]

    1 month - 10 $ - Standart VIP

    6 months - 20 $- Standart VIP

    1 year - 30 $- Standart VIP

    2 years - 50 $- Standart VIP

    Gold member for life - 150 $- Standart VIP

    High Vip (Standart VIP include) group please send PM or email to [email protected] for info

    After Donation please send email to [email protected]

  3. Donation Ways 2020


    Paysend
  4. Telegram

  5. Delphifan Magazine
Dismiss Notice

Donation with Paypal!!!

Go to your paypal account and send directly donation to [email protected]

1 month - 10 $ - Standart VIP

6 months - 20 $- Standart VIP

1 year - 30 $- Standart VIP

2 years - 50 $- Standart VIP

Gold member for life - 150 $- Standart VIP

High Vip (Standart VIP include) group please send PM or email to [email protected] for info

After Donation please send email to [email protected]

Dismiss Notice
For open hidden message no need write thanks, thank etc. Enough is click to like button on right side of thread.

RSS Reader Full Source Code Android and Delphi Xe5

Discussion in 'Delphi Android And IOS' started by AdminDF, Feb 5, 2014.

  1. AdminDF
    Online

    AdminDFAdminDF is a Verified Member Delphifan Staff Member DF Staff

    I found this RSS viewer application built with Delphi XE5 Firemonkey for Android over on a Turkish forum for Delphi. I like the formatting they used for displaying the data from the RSS feed. It uses the Indy HTTP component to download the images and formats everything in a TListView control. It looks like it just manually moves through the RSS file and parses the data so there is no XML component to deal with. It will also send the link from the RSS feed item to Android for viewing in the device browser. Here is some sample source from the project which shows the creation of the TListViewItem:

    [​IMG]

    Download Here


    Code:
    Procedure ObjectOlustur( AItem:TListViewItem; LItem: TListItemText; strRefKod, strText:String; iOffsetX, iOffsetY, iWidth,iHeight, iFontSize:Integer; iFontColor: LongInt );
    begin
    LItem := TListItemText.Create(AItem);
    LItem.Name := strRefKod;
    LItem.Font.Size := iFontSize;
    LItem.TextColor := iFontColor;
    LItem.Align := TListItemAlign.Leading; // En Sol
    LItem.VertAlign := TListItemAlign.Leading; // En Üst
    LItem.PlaceOffset.X := iOffsetX;
    LItem.PlaceOffset.Y := iOffsetY;
    LItem.TextAlign := TTextAlign.taLeading;
    LItem.Trimming := TTextTrimming.ttCharacter;
    LItem.IsDetailText := True;
    LItem.Width := iWidth;
    LItem.Height := iHeight;
    LItem.Text := strText;
    end;
    
     
  2. barisatalay
    Online

    barisatalay DF Senior

    RE:

    Bir hocamın bana yardım olarak hazırlamış olduğu bir projedir ve Run-time listview item ekleme konusunda çok geniş bir örnek sayılabilir.
     
  3. DeQe
    Offline

    DeQe DF Member

    bookmark
     
  4. racehv
    Online

    racehv Guest

    RE:

    Will try.

    Thanks alot.
     

Share This Page