Media player Problem-The application videoplayer has stopped unexpectedly please try again.

by Kipling Inscore » Mon, 03 Nov 2008 00:04:58 GMT


Sponsored Links
 n Sun, Nov 2, 2008 at 7:53 AM, Dagger <[EMAIL PROTECTED]> wrote:

Posting a message like the above usually doesn't help.


Why are you using 0.9? Use 1.0.


That's what almost every application will give you if it crashes.
Use adb to get a log. 'adb logcat'.


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



Media player Problem-The application videoplayer has stopped unexpectedly please try again.

by Jason Parekh » Mon, 03 Nov 2008 02:35:21 GMT


 agger, you need to look at the log (logcat view in eclipse, or adb logcat)
to see the exact exception being thrown that crashes your app. with this
info, figuring out the issue will be trivial.

jason

On Sun, Nov 2, 2008 at 9:32 AM, Dagger <[EMAIL PROTECTED]> wrote:


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


Sponsored Links


Other Threads

1. Android Referral Tracking not working

I am attempting to get Android Referral tracking to work. I am
following the only documentation I have found here
http://code.google.com/mobile/analytics/docs/android/#referrals

I have the following in my android manifest file

<receiver
android:name="com.google.android.apps.analytics.AnalyticsReceiver"
android:exported="true">
        <intent-filter>
                <action android:name="com.android.vending.INSTALL_REFERRER" />
        </intent-filter>
</receiver>
<receiver android:name="com.package.Receiver" android:exported="true">
        <intent-filter>
                <action android:name="com.android.vending.INSTALL_REFERRER" />
        </intent-filter>
</receiver>
<uses-sdk android:minSdkVersion="4"/>

com.package.Receiver starts with:

public void onReceive(Context paramContext, Intent paramIntent) {
        String str1 = paramIntent.getStringExtra("referrer");
        Log.i("myapp", "action: '" + paramIntent.getAction() + "'
referrer string: '" + str1 + "'");

Also with a little bit of decompiling
com.google.android.apps.analytics.AnalyticsReceiver has the following
code in it:

public void onReceive(Context ctx, Intent intent)
/*     */   {
/*  24 */     String referrer = intent.getStringExtra("referrer");
/*     */
/*  26 */     if ((!
("com.android.vending.INSTALL_REFERRER".equals(intent.getAction())))
|| (referrer == null))
/*     */     {
/*  28 */       return;
/*     */     }
/*     */
/*  31 */     String formattedReferrer = formatReferrer(referrer);
/*     */
/*  33 */     if (formattedReferrer != null) {
/*  34 */       PersistentEventStore store = new
PersistentEventStore(ctx);
/*  35 */       store.setReferrer(formattedReferrer);
/*  36 */       Log.d("googleanalytics", new
StringBuilder().append("Stored
referrer:").append(formattedReferrer).toString());
/*     */     } else {
/*  38 */       Log.w("googleanalytics", "Badly formatted referrer,
ignored");
/*     */     }
/*     */   }

Note the two lines 36 and 38 that Log "googleanalytics"


I have tried pushing the above app to the market, downloading it on my
Nexus One (after uninstalling a previous version of the app). I have
generated a link using the google page I linked to at the beginning of
this post

http://market.android.com/search?q=pname:com.package.app&referrer=utm_source%3Dgoogle%26utm_medium%3Dcpc%26utm_term%3Drunning%252Bshoes%26utm_content%3Dcontent1%26utm_campaign%3Dslogan

I attached logcat to my Nexus One while I download the app, I do not
see any logs from "googleanalytics" or "myapp". The rest of the google
analytics library does work for my app. I.E. I see records on google
analytics about pages hits etc. However all the traffic sources are
"Direct Traffic". I am at a loss as to what is going on. Does anyone
have any insight into what I might be doing wrong?

-- 

2. Looking for ideas for Multipart Form Handling on Web Service

Hi,

I'm playing around with writing a web service that runs on Android
that handles uploading photos.  I am only writing the server, and do
not have any control over the client.

Inside of the message is a small SOAP message, and then the binary
data.  I am trying to figure out if there's a library that can do the
parsing of the two pieces.  Apache Commons FileUpload looked like the
obvious choice, however, it seems to be heavily intertwined with
servlet libraries, and I don't know if it's possible (or if it's a
good idea) to put too much J2EE infrastructure on a phone.

Parsing it myself doesn't seem too bad.  I'm not too familiar with the
raw HTTP layers/protocol, but it looks like the the boundary delimiter
string is given in the content type header.  If I find and index past
those, I should be able to find the two halves of the multi-part
message that I need to deal with.  At least that's what I seem to
think after looking at a wireshark trace of the client talking to the
real server.

Any thoughts would be appreciated.

-Kevin

-- 

3. onDestroy() and finish()

4. (WTA) Aplikasi yg bisa Gtalk Voice

5. Nexus S as developer phone

6. 64bit ubuntu 10.04 build android error

7. Calculate Horizontal ScrollBar Length with its child