'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. */
    public void onCreate(Bundle savedInstanceState) {

And here's my XML:

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

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

     <Button android:id="@+id/getnewchar" android:text="Touch!"
          android:textColor="#FFFFFF" android:clickable="true"
android:hint="Get a new character"/>

Thanks for any help you can give.


Other Threads

1. how to make two apks install at the same place


I have one apk that installs at folder data/data/totalcross.android.
Now i have another application that should install the files in that
folder. How can i create a apk that does this?

thanks in advance


ps: dear moderator, if this question should not belong to this forum,
please move it to the proper forum INSTEAD OF DELETING IT. thanks.

2. Battery Life vs Features

I'm curious as to how many developers take into consideration battery
life before implementing a feature.
Say you could implement a really nifty feature using the camera, but
you know that would drain the phone's battery faster on an
nonessential ability, what do you do? Do you completely disregard
battery consumption because that really just isn't your concern/ it's
just too cool? Or do you go for a more simple variation, that would
give the user longer battery life?

3. sending around 1000 messages in batch using SMS API

4. Audio Source Input for MIC Recording

5. Ringtone from the RingtoneManager always returns null

6. Extending contacts

7. How to get device details