Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6174799
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T23:48:44+00:00 2026-05-23T23:48:44+00:00

<?xml version=1.0 encoding=utf-8?> <manifest xmlns:android=http://schemas.android.com/apk/res/android package=com.org.EasyUpload android:versionCode=1 android:versionName=1.0> <uses-sdk android:minSdkVersion=7 /> <application android:icon=@drawable/icon android:label=@string/app_name>

  • 0
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.org.EasyUpload"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="7" />

    <application android:icon="@drawable/icon" android:label="@string/app_name">
        <activity android:name=".EasyUploadActivity"
                  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=".EasyUploadSendLink">
        </activity>
    </application>
    <uses-sdk android:minSdkVersion="7"/>
    <uses-permission android:name="android.permission.INTERNET">
    </uses-permission>
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE">
    </uses-permission>
    <uses-permission android:name="android.permission.READ_PHONE_STATE">
    </uses-permission>
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE">
    </uses-permission>
    <uses-permission android:name="android.permission.INSTALL_PACKAGES">
    </uses-permission>
    <uses-permission android:name="android.permission.MOUNT_FORMAT_FILESYSTEMS">
    </uses-permission>
    <uses-permission android:name="android.permission.READ_OWNER_DATA">
    </uses-permission>
    <uses-permission android:name="android.permission.REBOOT">
    </uses-permission>
    <uses-permission android:name="android.permission.WRITE_OWNER_DATA">
    </uses-permission>
    <uses-permission android:name="android.permission.WRITE_SECURE_SETTINGS">
    </uses-permission>
    <uses-permission android:name="android.permission.WRITE_SETTINGS">
    </uses-permission>
</manifest>



public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

        final EditText linkLocation = (EditText)findViewById(R.id.linkLocation);
        final Button download = (Button)findViewById(R.id.download);
        final TextView message = (TextView)findViewById(R.id.message);
        final Button callDownloadLinkMethod = (Button)findViewById(R.id.callDownloadLinkMethod);

        callDownloadLinkMethod.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                // TODO Auto-generated method stub
                Intent callDownloadPage = new Intent(v.getContext(), EasyUploadSendLink.class);
                startActivityForResult(callDownloadPage, 0);
            }
        });




public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main_upload);

        final AutoCompleteTextView username = (AutoCompleteTextView)findViewById(R.id.username);
        final AutoCompleteTextView downloadLink = (AutoCompleteTextView)findViewById(R.id.downloadLink);
        final Button download = (Button)findViewById(R.id.download);

        download.setOnClickListener(new View.OnClickListener() {

            public void onClick(View v) {
                // TODO Auto-generated method stub
                String url = "some random url";
                Intent callHttp = new Intent(Intent.ACTION_VIEW);
                callHttp.setData(Uri.parse(url));
                startActivity(callHttp);
            }
        });
    }
}

Stack trace

07-24 01:35:28.660: DEBUG/AndroidRuntime(247): >>>>>>>>>>>>>> AndroidRuntime START <<<<<<<<<<<<<<
07-24 01:35:28.680: DEBUG/AndroidRuntime(247): CheckJNI is ON
07-24 01:35:29.241: DEBUG/AndroidRuntime(247): --- registering native functions ---
07-24 01:35:30.181: DEBUG/ddm-heap(247): Got feature list request
07-24 01:35:31.484: WARN/ResourceType(61): Resources don't contain package for resource number 0x7f0700e5
07-24 01:35:31.507: WARN/ResourceType(61): Resources don't contain package for resource number 0x7f020031
07-24 01:35:31.530: WARN/ResourceType(61): Resources don't contain package for resource number 0x7f020030
07-24 01:35:31.530: WARN/ResourceType(61): Resources don't contain package for resource number 0x7f050000
07-24 01:35:31.831: WARN/ResourceType(61): Resources don't contain package for resource number 0x7f060000
07-24 01:35:31.892: WARN/ResourceType(61): Resources don't contain package for resource number 0x7f060001
07-24 01:35:34.071: DEBUG/dalvikvm(61): GC freed 2844 objects / 154080 bytes in 576ms
07-24 01:35:35.311: INFO/ActivityManager(61): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10000000 cmp=com.org.EasyUpload/.EasyUploadActivity }
07-24 01:35:35.411: DEBUG/AndroidRuntime(247): Shutting down VM
07-24 01:35:35.411: DEBUG/dalvikvm(247): DestroyJavaVM waiting for non-daemon threads to exit
07-24 01:35:35.491: DEBUG/dalvikvm(247): DestroyJavaVM shutting VM down
07-24 01:35:35.491: DEBUG/dalvikvm(247): HeapWorker thread shutting down
07-24 01:35:35.502: DEBUG/dalvikvm(247): HeapWorker thread has shut down
07-24 01:35:35.502: DEBUG/jdwp(247): JDWP shutting down net...
07-24 01:35:35.502: DEBUG/jdwp(247): Got wake-up signal, bailing out of select
07-24 01:35:35.502: INFO/dalvikvm(247): Debugger has detached; object registry had 1 entries
07-24 01:35:35.511: DEBUG/dalvikvm(247): VM cleaning up
07-24 01:35:35.732: DEBUG/dalvikvm(247): LinearAlloc 0x0 used 639500 of 5242880 (12%)
07-24 01:35:35.901: WARN/ActivityManager(61): Activity pause timeout for HistoryRecord{44d86d78 com.android.launcher/.Launcher}
07-24 01:35:36.281: INFO/ActivityManager(61): Start proc com.org.EasyUpload for activity com.org.EasyUpload/.EasyUploadActivity: pid=254 uid=10028 gids={3003, 1015}
07-24 01:35:37.263: DEBUG/ddm-heap(254): Got feature list request
07-24 01:35:40.371: INFO/ActivityManager(61): Displayed activity com.android.launcher/.Launcher: 861216 ms (total 4460 ms)
07-24 01:35:40.681: DEBUG/dalvikvm(61): threadid=15: bogus mon 1+0>0; adjusting
07-24 01:35:41.221: DEBUG/dalvikvm(226): GC freed 525 objects / 45888 bytes in 10 sec
07-24 01:35:45.990: DEBUG/dalvikvm(115): GC freed 2263 objects / 132320 bytes in 538ms
07-24 01:37:03.621: DEBUG/KeyguardViewMediator(61): pokeWakelock(5000)
07-24 01:37:03.721: DEBUG/KeyguardViewMediator(61): pokeWakelock(5000)
07-24 01:37:03.822: DEBUG/KeyguardViewMediator(61): pokeWakelock(5000)
07-24 01:37:03.981: DEBUG/KeyguardViewMediator(61): pokeWakelock(5000)

When I try to call the second activity from the first one, on the click of a button, it is giving an exception and Force closing the activity. I am a newbie in android development, which is why I have pasted the AndroidManifest.xml and relevant portions of both the Activity class. So do point out if I am doing anything wrong or if I have missed something.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T23:48:45+00:00Added an answer on May 23, 2026 at 11:48 pm

    YourClass.this.startActivity(callHttp); will do the work

    Edit:
    Add category for your second activity

                <intent-filter>                    
                    <category android:name="android.intent.category.VIEW" />
                </intent-filter>
    

    Since your logcat is not complete. I can guess:

     Intent callDownloadPage = new Intent(YOURCLASS.this, EasyUploadSendLink.class);
                startActivityForResult(callDownloadPage, 0);
    

    Make sure you have <activity in your manifest for each intent you start. It’s crucial.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So, this is my manifest: <?xml version=1.0 encoding=utf-8?> <manifest xmlns:android=http://schemas.android.com/apk/res/android package=info.dierrelabs.h4m android:versionCode=1 android:versionName=1.0> <uses-sdk
I've set up a queue by configuring it in activemq.xml (ActiveMQ version 5.2.0) as
I came across the following two lines in AndroidMenifest.xml file of my android application:
I was trying http-cleint tutorials from svn.apache.org. While running the application I am getting
I am working on an android game https://code.google.com/p/something-soft/ and I my log cat says
Okay I have a project that is using the android-rss library (org.mcsoxford.rss). I created
The XML Schema Part 2 specifies that an instance of a datatype that is
This XML file contained archived news stories for all of last year. I was
The XML I'm trying to validate is as follows: <root> <element attribute=foo> <bar/> </element>
Which XML validation tools can you recommend for both performance and accuracy, each of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.