Category Archives: Uncategorized

4,122 views

htaccess code

Change sitemap.txt to sitemap.php if url http://domain.com/sitemap.txt # http://domain.com/sitemap.txt open sitemap.php # in sitemap.php is function what return list of address RewriteRule ^sitemap\.txt$ sitemap.php [L] RewriteRule ^sitemap$ sitemap.php [L] Remove www before subdomain name www.www.subdomain.example.com to subdomain.example.com RewriteCond %{HTTP_HOST} (^|\.)(www\.)([^\.]*)\.example\.com$ … Continue reading

Posted in Uncategorized | Tagged | Comments Off on htaccess code
2,972 views

IndexOutOfBounds TextView Html Android 4.1 error

Try before html tags put space and check if every tag is closed b – /b. For example: My text (<i>some text</i>) blah blah… Change to: My text ( <i>some text</i>) blah blah… “java.lang.IndexOutOfBoundsException at android.graphics.Paint.getTextRunAdvances(Paint.java:1731) at android.graphics.Paint.getTextRunAdvances(Paint.java:1704) at android.text.MeasuredText.addStyleRun(MeasuredText.java:164) … Continue reading

Posted in Bugs, warnings, errors, Eclipse, Uncategorized | Tagged , | Comments Off on IndexOutOfBounds TextView Html Android 4.1 error
5,172 views

Multiple substitutions specified in non-positional format

Multiple substitutions specified in non-positional format;did you mean to add the formatted=”false” attribute? Wiktionary, WiktionarySimple location C:\documents\WiktionarySimple\res\values\strings.xml Issue:   <string name="template_user_agent">"%s/%s (Linux; Android)"</string> <string name="template_wotd_title">"Wiktionary:Word of the day/%s %s"</string> <string name="template_define_url">"http://en.wiktionary.org/wiki/%s"</string> Solution: <string name="template_user_agent" translatable="false">"%1$s/%2$s (Linux; Android)"</string> <string name="template_wotd_title">"Wiktionary:Word of … Continue reading

Posted in Bugs, warnings, errors, Uncategorized | Tagged , | Comments Off on Multiple substitutions specified in non-positional format