Based more or less line for line from EULA.java in apps-for-android
Google Code project.
http://code.google.com/p/apps-for-android/source/browse/trunk/Photostream/src/com/google/android/photostream/Eula.java
public static CharSequence readAsset(String asset, Activity
activity)
{
Thanks for the reply!
i am using the same API sample code (content-ReadAsset.java)
/*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the License);
* you may not use this file except in compliance with the License.
* You may obtain a
Can you paste the log here?
On Thu, Feb 19, 2009 at 6:31 PM, zeeshan genx...@gmail.com wrote:
i am trying to access a resource file by
try {
InputStream is = getAssets().open(read_asset.txt);
int size = is.available();
byte[] buffer = new byte[size];
Hi zeeshan ,
As you said you have changed only the text file. I assume that you
have added your new file in assets folder. I am not sure if you have
added Ur_file_name.xml in res/layout folder.
I mean you should also add a .xml file in layout folder with the same
name as your file. You can also
well, i did a very stupid mistake.
i put wrong file name;lol
thanks for your time
On Feb 19, 1:20 pm, Naina K kna...@gmail.com wrote:
Hi zeeshan ,
As you said you have changed only the text file. I assume that you
have added your new file in assets folder. I am not sure if you have
added
5 matches
Mail list logo