'Source Not Found' Error

by Mylk » Fri, 01 May 2009 01:04:32 GMT


Sponsored Links
 Hey All,

I'm working on my first app and I've come to a hurdle. When I launch
the app, I get nothing but a blank app screen.

My Class File Editor message gives me the following:

"Source Not Found"
The Jar of this class belongs to container Android '1.5' which does
not allow modifications to source attachments on its entries.

Here's my java code:

package com.example.newapp;

import android.app.Activity;
import android.os.Bundle;

public class NewApp extends Activity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);


And here's my XML:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android=" http://schemas.android.com/apk/res/android" ;
      package="com.example.newapp"
      android:versionCode="1"
      android:versionName="1.0">
    <application android:icon="@drawable/icon" android:label="@string/
app_name">
        <activity android:name=". NewApp"
                  android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="3" />


<RelativeLayout xmlns:android=" http://schemas.android.com/apk/res/ 
android"
     android:layout_width="fill_parent"
android:layout_height="fill_parent"
     android:padding="6dip" android:background="@drawable/
titleuiportrait">

     <Button android:id="@+id/getnewchar" android:text="Touch!"
          android:layout_height="wrap_content"
android:layout_width="fill_parent"
          android:background="@drawable/miniplay_button"
android:textSize="24sp"
          android:textColor="#FFFFFF" android:clickable="true"
android:hint="Get a new character"/>
</RelativeLayout>
</manifest>


Thanks for any help you can give.

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



Other Threads

1. accessories Acer Liquid

RR sekalian
as subject,

ada yg jual aksesorisnya liquid E? hardcase? antiglare dll?
japri aja lgsg ke email ini
thx

-- 
===============
"Indonesian Android Community [id-android]"

PING'S mobile
Email: sa...@pings-mobile.com  Ph. (021) 96087100
---------------------
Yopie Ratjoen
Email: yo...@ratjoen.com  Ph. 08977726681
--------------------
Gila original
Email: i...@gilaoriginal.com  Ph. (031) 91555898
--------------------

Aturan Jual/Kloteran ID-Android  http://goo.gl/azW7

2. Pre-Installed app and contents provider.

Hi

Now, I am building android from source code.
And I add pre-installed app (/system/app).

The app has big data at contents provider,
 so I want to make contents provider's data beforehand, and load the
data from the app.

I think, the first run of Android  is
1.android install pre-install apps and create contents provider.
2.user run app and insert data to app's contents provider.

I want to prepared the date of contents provider such as /data/data/
com.aaa.app/.

I want to change the process of installing such as,
1.android install pre-install apps and use /data/data/com.aaa.app/
( prepared, beforehand )
2.user run app and load data to app's contents provider.

How do the app load the data ?

Thanks in Advance.

Akira

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

3. How to dump a Sqlite statements txt file into db.

4. Re[2]: [WTPaging] Pengguna HTC HD2 TMobile / Int pake Kombinasi ROM apa ???

5. Rupiah dalam market?

6. Pengguna HTC HD2 TMobile / Int pake Kombinasi ROM apa ??

7. VOOT [BANTU JOGJA] Cerita Pengungsi Merapi