taslim / openintents

Automatically exported from code.google.com/p/openintents
0 stars 0 forks source link

oi:recent-changes does not fetch localized raw resource #530

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add <meta-data android:name="org.openintents.about" 
android:resource="@xml/about"/> to an Android application's manifest
2. Create an res/xml/about.xml file containing at least  <oi:recent-changes 
oi:resource="@raw/recent_changes" />
3. Create a default res/raw/recent_changes.txt file with English content
4. Create a localized res/raw-fr/recent_changes.txt file with French content

What is the expected output?

When this application fires an OI About launch intent, on a French phone, the 
localized res/raw-fr/recent_changes.txt file content should be displayed.

What do you see instead?

The default res/raw/recent_changes.txt file content is displayed.

Complete source code available at 
https://dear2dear.googlecode.com/svn/trunk/tig/TrafficInfoGrabber (revision 
564).

Original issue reported on code.google.com by pde...@gmail.com on 4 Oct 2012 at 10:00

GoogleCodeExporter commented 9 years ago
http://dear2dear.googlecode.com/svn/trunk/tig/TrafficInfoGrabber/?r=564

Original comment by pde...@gmail.com on 4 Oct 2012 at 10:02