Sorry if I've missed this somewhere, but what is the default thread stack size in Android...

by Hans » Tue, 14 Apr 2009 08:12:56 GMT


Sponsored Links
 ...on the emulator and the G1?  I presume, at least for now, they're
the same.

Thanks,

     Hans :)
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. How can I use the MediaScannerService to scan a video on the network

Hi,

I am trying to develop a DLNA client. I want the user to see all the
playable data (not at the same time) on the network.
I wanted to store the information of the media in some form of a
database. I tried to use MediaService to scan a particular media

http://10.205.111.81:10243/WMPNSSv4/2201497635/1_ezQ3MzNGOERCLTE4MkMtNDBEOC1BQTNDLUZFOTg1RjUyQTlBRX0uMC44.mp4

This is a video on one of my media servers.
 and this is the error I am receiving.


03-11 17:17:04.215  1201  1201 E >>>>>>>>>>>>>>Working<<<<<<<<<<<<<<<:
onMediaScannerConnected
03-11 17:17:04.343   969  1209 W MediaScanner:
MediaScannerClient::setLocale is not supported on GTV.
03-11 17:17:04.343   969  1209 E MediaScannerService: Exception in
handleMessage
03-11 17:17:04.343   969  1209 E MediaScannerService:
java.lang.IllegalStateException: Unable to create new file:
http://10.205.111.81:10243/WMPNSSv4/2201497635/1_ezQ3MzNGOERCLTE4MkMtNDBEOC1BQTNDLUZFOTg1RjUyQTlBRX0uMC44.mp4
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
com.android.providers.media.MediaProvider.ensureFile(MediaProvider.java:
1345)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
com.android.providers.media.MediaProvider.insertInternal(MediaProvider.java:
1586)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
com.android.providers.media.MediaProvider.insert(MediaProvider.java:
1381)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
android.content.ContentProvider$Transport.insert(ContentProvider.java:
150)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
android.media.MediaScanner
$MyMediaScannerClient.endFile(MediaScanner.java:781)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
android.media.MediaScanner
$MyMediaScannerClient.doScanFile(MediaScanner.java:536)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
android.media.MediaScanner.scanSingleFile(MediaScanner.java:1208)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
com.android.providers.media.MediaScannerService.scanFile(MediaScannerService.java:
200)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
com.android.providers.media.MediaScannerService.access
$100(MediaScannerService.java:48)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
com.android.providers.media.MediaScannerService
$ServiceHandler.handleMessage(MediaScannerService.java:244)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
android.os.Handler.dispatchMessage(Handler.java:99)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
android.os.Looper.loop(Looper.java:123)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
com.android.providers.media.MediaScannerService.run(MediaScannerService.java:
188)
03-11 17:17:04.343   969  1209 E MediaScannerService:   at
java.lang.Thread.run(Thread.java:1096)
03-11 17:17:04.347   652   672 D Checkin : Logging stats:
CRASHES_REPORTED(count 1, sum 0.0)
03-11 17:17:04.559   652  1306 I DumpStateReceiver: Added state dump
to 1 crashes


Is it possible to scan a file and add it to the MediaStore db or will
I have to create my own scanning service and db for this.

Also how would i scan a file in android. I know linux has a "file"
command which would tell what kind of file is it.

Thanks,
Mrinal

-- 

2. Table tag in html content cannot be loaded by webview(witch WebView.loadData)?

Hi, All
I find that when if there are some table tags in HTML, then the
webview will not display anything. This only happens when use
WebView.loadData or WebView.loadDataWithBaseURL. If I put the same
HTML file to a server and use WebView.loadUrl, this problem doesn't
exist. And if I remove the <table></table> tag, no problem too.

My HTML is like below:
<html>
<body>
<table border="0" width="100%" height="100%" id="table1">
        <tr>
                <td>
                <p align="center"><font color="#FFFFFF">Update Checking Failed.
Please Try Again.</font></td>
        </tr>
</table>
</body>
</html>

Is this the known problem with webview? What do you suggest if I want
to use local html resources with different languages?

Thanks.

-- 

3. Android App login

4. Java Script alert not working in Android WebView

5. how many messages can I send via C2DM?

6. MediaPlayer.isPlaying() question

7. Display sd card size