Newbie Question] Run Simple Project

by NoOne » Thu, 26 Jun 2008 19:41:57 GMT


Sponsored Links
 Hello,

I've just started on android and i was trying to run some samples, but
all the time i try to run some code i get this error message:

" Application not responding

The Application com.google.android is not responding"

I installed eclipse and android and everything seemed to be right till
the moment i try to run a simple code.
Any idea what I'm doing wrong? :x

Sorry for the lame question :S

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



Other Threads

1. Video From Youtube in Emulator Android 2.1 Eclipse Gallileo/ Unable to play video

Hi!

having no luck with playback of video from source file, i thought id
try video from youtube... Emulator says it cannot play video.. So now
what?.. can anyone tell me aoubt this code below.

TIA.

cheers

package info.shouraig.com;

import android.app.Activity;
import android.net.Uri;
import android.os.Bundle;
import android.util.Log;
import android.widget.MediaController;
import android.widget.VideoView;

public class XSO5 extends Activity {
        private static final String RTSP = "http://www.youtube.com/watch?
v=8bmWwxixT0Y";
        VideoView videoXSO5;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);

      //***VideoView to video element inside Multimedia.xml file

       VideoView videoView  = (VideoView)findViewById(R.id.videoXSO5);
       Log.v("videoXSO5", "***Video to Play:: " + RTSP);
       MediaController mc = new MediaController(this);
       mc.setAnchorView(videoView);
       Uri video = Uri.parse(RTSP);
       videoView.setMediaController(mc);
       videoView.setVideoURI(video);
       videoView.start();

--

2. Writing an app using android.speech.srec ... how to get to that code?

Does anyone know what Android plans as a replacement for the
functionality of android.speech.srec? Not transcription like that
provided via the RecognizerIntent, but something that would allow us
to build apps with voice interfaces that let the user navigate the app
hands-free?

-Mark









--

3. MediaPlayer error (1, -1)

4. Can not build LatinIME code

5. RelativeLayout doesn't work as expected in a ListView container.

6. Do manually created sqlite databases get exported when an apk is built?

7. Invalid View object passed to onListItemClick()?