Error in my application... please help me.. :(

by AndroidKid » Mon, 03 Nov 2008 14:19:55 GMT


Sponsored Links
 Hi,


I've done one application using Listview Concepts.

In my application, I've radio buttons for Languages. The user selects
any one of the language then I've displayed one list whose items are
"Baby, Google, Eclipse". If the user clicks any one of item then the
web browser will opened with corresponding videos.

If the user clicks any one of video then Download page will come. Once
the user clicks "Download Now" link then it will navigate to next page
with the link " Download Ready".

ERROR : If the user clicks the link "Download Ready" then I got some
error page. Then It goes back to Listview page.

I don't know what I've missed here. I've attached my entire source
code here. Can any one run this & fix the issue.

Expected Output : "Automatically the Video file must be downloaded
within PC under the folder "/res/raw" when the user clicks the link
"Download Ready in web page" and the video will display in the
emulator. "


Can't wait for your answer!!!

Thanks in advance for any reply from you!!!

Thanks Again!!!
Yasmin

--~--~---------~--~----~------------~-------~--~----~



Error in my application... please help me.. :(

by AndroidKid » Mon, 03 Nov 2008 14:30:03 GMT


 orry, I've forget to attach my source in my earlier post.

Main.xml
======

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
android:id="@+id/widget34"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
xmlns:android="http://schemas.android.com/apk/res/android"
<TextView
android:id="@+id/chooselanguage"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Select any one of the Language :"
android:layout_x="58px"
android:layout_y="45px"
</TextView>
<RadioGroup
android:id="@+id/radiogroup"
android:layout_width="309px"
android:layout_height="200px"
android:orientation="vertical"
<RadioButton
android:id="@+id/tamil"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Tamil"
</RadioButton>
<RadioButton
android:id="@+id/english"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="English"
</RadioButton>
<RadioButton
android:id="@+id/hindi"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hindi"
</RadioButton>
<RadioButton
android:id="@+id/arabic"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Arabic"
</RadioButton>
</RadioGroup>
<Button
android:id="@+id/videolist"
android:layout_width="136px"
android:layout_height="37px"
android:text="View List of Videos"
</Button>
</LinearLayout>





Manifest.xml
==========

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.aspire.android.UserChoice"
android:versionCode="1"
android:versionName="1.0.0">
<application android:icon="@drawable/icon" android:label="@string/
app_name">
<activity android:name=".UserChoiceActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category
android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name=".LanguageOneActivity"
android:label="@string/app_name">
<intent-filter>
<action android:name=
"com.aspire.android.UserChoice.LanguageOneActivity"/>
<category android:name=
"android.intent.category.DEFAULT"/>
</intent-filter>
</activity>
<activity android:name=".LanguageTwoActivity"
android:label="@string/app_name">


Sponsored Links


Other Threads

1. streaming issue with mediaplayer on android 2.0



If the problem occurs only on the DROID, not on the 2.0.1 emulator, you
might consider posting your question on a MOTODEV board:

http://developer.motorola.com

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to Android Development_ Version 2.8
Available!

-- 

2. DEV Phone 2 or Nexus One

I am thinking about getting a DEV Phone 2, but there's new about
Google's Nexus One phone that seems to have higher spec.  Is there any
advantage of getting DEV Phone 2 ?  Any news about DEV Phone 3 (if
any) ?

-- 

3. drivers for linux but can I install on my Droid

4. To free sipdroid from pabxes.org

5. Internal clock off by 15 seconds

6. About android draw string

7. BitmapFactory: decoder->decode returned false