Re: [android-beginners] IOException with BufferedReader

2009-12-15 Thread Yousuf Syed
Hi, You cannot use the regular java IO for res/raw. folder. only if you are using /sd/card you can use regular java.io here is some code that might help you FileInputStream fin = context.openFileInput(sitestore); InputStreamReader br = new InputStreamReader(fin); String

Re: [android-beginners] Re: IOException with BufferedReader

2009-12-15 Thread Yousuf Syed
folder, and this works as it should. The other file is 1.1 megabyte. Can the error be caused because of the size? On 15 Dec., 19:52, Yousuf Syed yousuf.syed@gmail.com wrote: Hi Kaloer, The procedure is as follows: 1. create a raw folder, 2. place a file.(txt or regular file

Re: [android-beginners] Re: IOException with BufferedReader

2009-12-15 Thread Yousuf Syed
. On Tue, Dec 15, 2009 at 2:11 PM, kaloer mkal...@gmail.com wrote: Oh okay.. But how can I use it them? Do I need to download it from a server or so? I have tried putting it into the assets folder but this seems to have the same limit. On 15 Dec., 20:04, Yousuf Syed yousuf.syed@gmail.com wrote

Re: [android-beginners] Re: IOException with BufferedReader

2009-12-15 Thread Yousuf Syed
. Yousuf. On Tue, Dec 15, 2009 at 2:25 PM, kaloer mkal...@gmail.com wrote: Thank you very much for your help! No problem, I know how to do this. Best regards, Kaloer On 15 Dec., 20:22, Yousuf Syed yousuf.syed@gmail.com wrote: Hi, Write another supporting application to download them

Re: [android-beginners] Getting android.view.WindowManager$BadTokenException alternatively

2009-12-15 Thread Yousuf Syed
Check your code for context and change getApplicationContext(); to this I Guess your context assignment is Context context = getApplicationContext(); // this give you the bad token error. change it to: *Context context = this;* // this assignment will remove your bad token

Re: [android-beginners] start another activity through onclick event

2009-12-15 Thread Yousuf Syed
Do this Intent myIntent = new Intent(androidGallery.this, helloAndroid.class); startActivity(myIntent); On Mon, Dec 14, 2009 at 3:56 AM, Lynn Ooi lynnooi@gmail.com wrote: hi, I had 2 activity (called androidGallery and HelloAndroid). i try to call helloAndroid from the androidGallery

Re: [android-beginners] how to get starting material of android

2009-12-13 Thread Yousuf Syed
Hi, You can start from here. http://developer.android.com/guide/index.html and later on you can go through the books on the link below http://wiki.andmob.org/books (given by some one on this forum earlier) regards, Yousuf. On Thu, Dec 10, 2009 at 4:57 AM, Xi Shen davidshe...@googlemail.com

Re: [android-beginners] Re: Google Maps Api - No image displayed

2009-12-13 Thread Yousuf Syed
Do you have the right key generated com.google.android.maps.MapView android:id=@+id/mapview android:layout_width=fill_parent android:layout_height=fill_parent android:clickable=true android:apiKey=*Your Maps API Key* / step 1: create your key store by

Re: [android-beginners] Playing a Video from file

2009-12-13 Thread Yousuf Syed
I dont think you can place the video file in the raw folder. since there is a limit of data that you can have in your raw folder. try pushing it to the /sdcard/videofilename and add permissions for read_owner_data, write_owner_data, write_external_storage. I assume you know the procedure to push

Re: [android-beginners] Where can I get android icons

2009-12-13 Thread Yousuf Syed
Hi, here are some as well. http://www.screaming-penguin.com/info/android_drawables/android_drawables.html Regards, Yousuf. On Sun, Dec 13, 2009 at 6:19 PM, Liviu Ungureanu smartli...@gmail.comwrote: Hi! Try this link : http://e-lusion.com/design/greyscale -- You received this message

Re: [android-beginners] Just trying to capture screenshots

2009-12-13 Thread Yousuf Syed
Hi, From what I understand, you want to capture the screen shots of the application that is either running on emulator or the device. If so let the application start. Then in the eclipse do this. Click on the Window menu bar. -- open perspective--ddms now the ddms will be there on your

[android-beginners] Problem with VideoView when playing a mp4/3gp file

2009-12-10 Thread Yousuf Syed
Hi, I was working on developing a VideoPlayer. I am getting an error while running the .mp4 file on VideoView. This error occurs when I click on the video view when the video is playing or if I start the video directly. The error dialogue that appears on the screen says application stopped

[android-beginners] Is there a way to add Video files to my application

2009-12-10 Thread Yousuf Syed
Hi, I am developing an application where in I need to display video files in a video player. I need to push the video files on to the sdcard of the emulator in order for my application to play those videos. if this application is deployed on an android phone I need to push the files on that too.

[android-beginners] Help regarding facebook integration applicaiton

2009-12-02 Thread Yousuf Syed
Hi, Can anyone help me with some ideas or clues on how to integrate my android application with facebook. Thanks in advance, Yousuf. -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to