HTML code usage in android
<p>I want to use this object-c code in android or Java,</p>

<pre><code>-(void) OpenEmailView
    {
     if([arrFavList count])
     {          
         NSString *ListHTML=@"";          
         int JobCount=0;
         if([arrFavList count]&gt;=25)
            JobCount=25;
         else
            JobCount=[arrFavList count];

         for(int i=0;i&lt;[arrFavList count];i++)
         {            
            JobDetailsObject *objjobdetails = [arrFavList objectAtIndex:i];
            NSString *link;           
            NSLog(@"external is %@",objjobdetails.ExternalApplication);           
            if([[objjobdetails.ExternalApplication lowercaseString] isEqualToString:@"true"])
            {
                link = objjobdetails.ApplyURL;
            }           
            else
            {
                link = [NSString stringWithFormat:@"http://myloginurl.com/job/%@",objjobdetails.DID];
            }

            ListHTML=[ListHTML stringByAppendingFormat:@"&lt;tr&gt;"
           "&lt;td width=\"300\" height=\"25\" bgcolor=\"#003478\" colspan=\"2\"&gt;&lt;div style=\"font: bold 14px Helvetica,Arial,Verdana,sans-serif; color: #FFFFFF; padding-left:10px;\"&gt;%@&lt;/div&gt;"
           "&lt;/td&gt;"
           "&lt;/tr&gt;"
           "&lt;tr&gt;"
           "&lt;td width=\"220\" height=\"25\" bgcolor=\"#003478\"&gt;&lt;div style=\"font: 12px Helvetica,Arial,Verdana,sans-serif; color:#FFFFFF; padding-left:10px;\"&gt;%@&lt;/div&gt;&lt;/td&gt;"
           "&lt;td width=\"80\" bgcolor=\"#003478\" align=left&gt;&lt;a target=\"_blank\" href=\"%@\"&gt;&lt;img src=\"http://images.imomentous.com/img/apply.png\" width=\"70\" height=\"22\" style=\"border:0px;\"&gt;&lt;/a&gt;&lt;/td&gt;"
           "&lt;/tr&gt;"
           "&lt;tr&gt;"
           "&lt;td height=3&gt; &lt;/td&gt;"
           "&lt;/tr&gt;",objjobdetails.JobTitle,objjobdetails.LocationName,link];
        objjobdetails=nil;
         }

         NSString *HTMLString=[NSString stringWithFormat:@"&lt;html xmlns=http://www.w3.org/1999/xhtml&gt;&lt;head&gt;&lt;meta http-equiv=Content-Type content=text/html; charset=UTF-8 /&gt;&lt;title&gt;Untitled Document&lt;/title&gt;&lt;/head&gt;&lt;body style=\"margin:0px;\"&gt;"
             "&lt;table width=\"850\" align=left bgcolor=#FFFFFF border=0 cellpadding=0 cellspacing=0&gt;"
             "&lt;tr&gt;&lt;td&gt;"
             "&lt;table width=\"300\" align=left bgcolor=#FFFFFF border=0 cellpadding=0 cellspacing=0&gt;"
             "&lt;tbody&gt;"
             "&lt;tr&gt;"
             "&lt;td colspan=5 bgcolor=#003478 height=10&gt;&lt;img src=http://images.imomentous.com/img/spacer.gif width=25 border=0 height=10&gt;&lt;/td&gt;"
             "&lt;/tr&gt;"
             "&lt;tr&gt;"
             "&lt;td rowspan=4 width=10 bgcolor=#003478&gt;&amp;nbsp;&lt;/td&gt;"
             "&lt;td colspan=3 valign=bottom width=300 align=left bgcolor=#FFFFFF height=60&gt;&lt;img src=http://images.imomentous.com/img/sflogo.png border=0&gt; &lt;/td&gt;"

             "&lt;td rowspan=4 width=10 bgcolor=#003478&gt;&amp;nbsp;&lt;/td&gt;"
             "&lt;/tr&gt;"
             "&lt;tr&gt;"
             "&lt;td&gt;&amp;nbsp;&lt;/td&gt;"
             "&lt;td valign=top align=left&gt;&lt;p&gt;&lt;br&gt;"
             " &lt;span style=\"font: 14px Helvetica,Arial,Verdana,sans-serif; color:#333333;;\"&gt;Thanks for using iPhone application.&lt;br/&gt;&amp;nbsp;&lt;br/&gt;"
             "Here's the list of favorite jobs. Click each link and you'll be "
             "able to apply for the job.&lt;/span&gt;&lt;br&gt;"
             "&lt;br&gt;"

             "&lt;/p&gt;&lt;/td&gt;"
             "&lt;td&gt;&amp;nbsp;&lt;/td&gt;"
             " &lt;/tr&gt;"
             " &lt;tr&gt;"
             "&lt;td width=10&gt;&amp;nbsp;&lt;/td&gt;"
             "&lt;td align=left valign=bottom&gt;&lt;font size=3 color=#707070 face=Verdana, Geneva, sans-serif&gt;"
             "&lt;table cellpadding=\"0\" cellspacing=\"0\"&gt;"

             "%@"

             "&lt;/table&gt;"
             "&lt;/font&gt;&lt;/td&gt;"
             "&lt;td width=10&gt;&amp;nbsp;&lt;/td&gt;"
             "&lt;/tr&gt;"
             "&lt;tr&gt;"
             "&lt;td height=\"50\"&gt;&amp;nbsp;&lt;/td&gt;"
             "&lt;td align=left valign=middle&gt;&lt;span style=\"font: 14px Helvetica,Arial,Verdana,sans-serif; color:#333333;\"&gt;Good Luck...!&lt;/span&gt;&lt;/td&gt;"
             "&lt;td&gt;&amp;nbsp;&lt;/td&gt;"
             "&lt;/tr&gt;"
             "&lt;tr&gt;"
             "&lt;td colspan=5 bgcolor=#003478 height=10&gt;&lt;img src=http://images.imomentous.com/img/spacer.gif width=25 border=0 height=10&gt;&lt;/td&gt;"
             "&lt;/tr&gt;"
             "&lt;/tbody&gt;"
             "&lt;/table&gt;"
             "&lt;/td&gt;&lt;/tr&gt;"
             "&lt;/table&gt;"
             "&lt;/body&gt;&lt;/html&gt;"
             ,ListHTML];
</code></pre>

<p>I tried but formatting the html string is throwing continuously, i tried this
Can anyone help me in converting this to an android code.
, or just explain me what going throughing in this code and what shld i do</p>

<p>Thanks</p>
