<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Yes, I would like some frozen yogurt with my baksmali please</title>
	<atom:link href="http://jf.andblogs.net/2010/06/13/yes-i-would-like-some-frozen-yogurt-with-my-baksmali-please/feed/" rel="self" type="application/rss+xml" />
	<link>http://jf.andblogs.net/2010/06/13/yes-i-would-like-some-frozen-yogurt-with-my-baksmali-please/</link>
	<description></description>
	<lastBuildDate>Fri, 27 Aug 2010 16:11:27 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: jf</title>
		<link>http://jf.andblogs.net/2010/06/13/yes-i-would-like-some-frozen-yogurt-with-my-baksmali-please/comment-page-1/#comment-23021</link>
		<dc:creator>jf</dc:creator>
		<pubDate>Sat, 24 Jul 2010 21:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://jf.andblogs.net/?p=215#comment-23021</guid>
		<description>The best resource to learn about specific opcodes is the dalvik-bytecode.html doc in the dalvik project in AOSP. Other useful docs are the dex-format.html and the instruction-formats.html

sub-int is just simple subtraction. sub-int v5, v1, v6 would be v5 = v1 - v6

For this one:
invoke-virtual {p1, v6, v5}, Ljava/lang/String;-&gt;substring(II)Ljava/lang/String;

this is calling the substring(int, int) method on the String instance in p1, with v6 as the first parameter, and v5 as the 2nd parameter. The two Is in parenthesis are the method parameters, I is short for Integer. The part after the parenthesis is the return type - in this case the method returns another string object.

Hope that helps! If you need any other help, feel free to ask here, or drop by #smali on the freenode network :)</description>
		<content:encoded><![CDATA[<p>The best resource to learn about specific opcodes is the dalvik-bytecode.html doc in the dalvik project in AOSP. Other useful docs are the dex-format.html and the instruction-formats.html</p>
<p>sub-int is just simple subtraction. sub-int v5, v1, v6 would be v5 = v1 &#8211; v6</p>
<p>For this one:<br />
invoke-virtual {p1, v6, v5}, Ljava/lang/String;-&gt;substring(II)Ljava/lang/String;</p>
<p>this is calling the substring(int, int) method on the String instance in p1, with v6 as the first parameter, and v5 as the 2nd parameter. The two Is in parenthesis are the method parameters, I is short for Integer. The part after the parenthesis is the return type &#8211; in this case the method returns another string object.</p>
<p>Hope that helps! If you need any other help, feel free to ask here, or drop by #smali on the freenode network <img src='http://jf.andblogs.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://jf.andblogs.net/2010/06/13/yes-i-would-like-some-frozen-yogurt-with-my-baksmali-please/comment-page-1/#comment-22991</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 23 Jul 2010 14:37:11 +0000</pubDate>
		<guid isPermaLink="false">http://jf.andblogs.net/?p=215#comment-22991</guid>
		<description>First off, Thanks for all the hours you put into this! It is really awesome work.

I&#039;m looking through some smali code and most of it is obvious but these lines are giving me pause. Care to help:

//-------------------------------------------
    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;-&gt;append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v4

    sub-int v5, v1, v6

    invoke-virtual {p1, v6, v5}, Ljava/lang/String;-&gt;substring(II)Ljava/lang/String;

    move-result-object v5

    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;-&gt;append(Ljava/lang/String;)Ljava/lang/StringBuilder;

//--------------------------------------------------------

Basically the sub-int and the line with substring(II). 
Thanks for your time.</description>
		<content:encoded><![CDATA[<p>First off, Thanks for all the hours you put into this! It is really awesome work.</p>
<p>I&#8217;m looking through some smali code and most of it is obvious but these lines are giving me pause. Care to help:</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;-&gt;append(Ljava/lang/String;)Ljava/lang/StringBuilder;</p>
<p>    move-result-object v4</p>
<p>    sub-int v5, v1, v6</p>
<p>    invoke-virtual {p1, v6, v5}, Ljava/lang/String;-&gt;substring(II)Ljava/lang/String;</p>
<p>    move-result-object v5</p>
<p>    invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;-&gt;append(Ljava/lang/String;)Ljava/lang/StringBuilder;</p>
<p>//&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Basically the sub-int and the line with substring(II).<br />
Thanks for your time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Micromod777</title>
		<link>http://jf.andblogs.net/2010/06/13/yes-i-would-like-some-frozen-yogurt-with-my-baksmali-please/comment-page-1/#comment-22231</link>
		<dc:creator>Micromod777</dc:creator>
		<pubDate>Fri, 25 Jun 2010 07:04:52 +0000</pubDate>
		<guid isPermaLink="false">http://jf.andblogs.net/?p=215#comment-22231</guid>
		<description>I&#039;m trying to change text color and when I edit the statusbaricon.smali and run &quot;java -Xmx512M -jar smali.jar classout/ -o new-classes.dex&quot; I get major errors. This is started when the new Froyo FRF83 was deodexed. I&#039;m stuck now and can&#039;t make changed to my themes for the new Froyo update. Please help.</description>
		<content:encoded><![CDATA[<p>I&#8217;m trying to change text color and when I edit the statusbaricon.smali and run &#8220;java -Xmx512M -jar smali.jar classout/ -o new-classes.dex&#8221; I get major errors. This is started when the new Froyo FRF83 was deodexed. I&#8217;m stuck now and can&#8217;t make changed to my themes for the new Froyo update. Please help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

