[android-developers] Re: Leaked window in PreferenceActivity

2009-04-14 Thread Sikus
I try add android:configChanges="orientation" to my manifest, but error still show to me. I have progressDialog and when is showing I change orientation and occur eroor "04-14 10:51:36.138: ERROR/ WindowManager(615): Activity cz.prowide.ochodni_rejstrik.Firmy has leaked window com.android.internal

[android-developers] Error eclipse open layout xml

2009-04-17 Thread Sikus
Hello all, I have problem with my opening layout xml file. When I open it like normal xml everything is all right but when I can open xml layout like "Android Layout Ediror" it show me this error: java.lang.ArrayIndexOutOfBoundsException: 29 at com.android.layoutlib.utils.ValueResourcePar

[android-developers] webview don't scroll up

2009-08-06 Thread Sikus
Hi, I have application which show information on WebView. I use javascript and link too etc. "" My problem: when I click on link page scroll up. I don't wont it. I can that page stay on the same place. Can you help me, please? --~--~-~--~~~---~--~~ You received this

[android-developers] Static widget and ListView

2009-08-18 Thread Sikus
Hello, I need do static widget (WebView) top of the screen and under ListView. I have class VypisLV extends ListActivity and inner class ListTextFirmy extends ArrayAdapter. VypisLV call setListAdapter(new ListTextFirmy(this)); My xml is: http://schemas.android.com/apk/res/ android" androi

[android-developers] Re: webview don't scroll up

2009-08-27 Thread Sikus
Nobody? I'm using WebChromeClient and onJsConfirm. I need do some work when method onJsConfirm end. Is there any solution? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] WebView error inflate

2009-08-27 Thread Sikus
Hi, I have problem with my webView. When I click on WebView it open external browser. When I press button back on G1 sometimes phone give me error and application "force close" : java.lang.RuntimeException: Unable to start activity ComponentInfo {...}: android.view.InflateException: Binary XML fi

[android-developers] Screen size

2009-10-15 Thread Sikus
Hi, is there any solution how recognize screen size? I'm using Display display = ((WindowManager) getSystemService (Context.WINDOW_SERVICE)).getDefaultDisplay(); int width = display.getWidth(); Log.i("width",""+width); but it doesn't works good. If i use HVGA in emulator it returns

[android-developers] Re: Screen size

2009-10-16 Thread Sikus
I don't understand where is problem in QVGA distinction. I have banner which I load from server. Therefor I need recognize programatically absolute size of the physical screen that I have right width of banner. Is there any way how can I recognize right physical screen width? On 15 říj, 23:39, D

[android-developers] Re: Screen size

2009-10-22 Thread Sikus
So, I solved it. I have problem with manifest.xml. When I don't use android:targetSdkVersion="4" it resize for example QVGA from 240x320 to 320x427 and WVGA from 480x800 to 320x533. When I use android:targetSdkVersion="4" everithing works good and Display display = ((WindowManager) getSystemServic

[android-developers] Re: webview don't scroll up

2009-10-22 Thread Sikus
I solved it. I have class public class Xxx extends WebView { Xxx() { this.setWebChromeClient(new WebChromeClient() { @Override public boolean onJsPrompt() { scrollY = Xxx.this.getScrollY(); } } private class InsideWebViewClient extends WebViewClient { @Override p

[android-developers] Re: WebView error inflate

2009-10-22 Thread Sikus
I solved it, I have problem with constructor which I use in xml layout. On 27 srp, 18:24, Sikus wrote: > Hi, > I have problem with my webView. When I click on WebView it open > external browser. When I press button back on G1 sometimes phone give > me error and application

[android-developers] switch display during the progress is runing

2009-04-29 Thread Sikus
Hello all, I have problem which is describe on page http://www.anddev.org/bug_switch_display_numlock_7_while_dialog-t4194.html WarrenFaith recommend me use WindowManager but I have no idea how can I do it. --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Error eclipse open layout xml

2009-04-29 Thread Sikus
Thanks for recommend, but I can't find "\" in my xml. I think that i don't have it there because I write string to the strings.xml. So this error is only in one project in the layout folder. In this folder I can't open xml like "Android Layout Ediror". In "strings" folder or "menu" folder I open x

[android-developers] Windowmanager, problem with progress

2009-05-04 Thread Sikus
Hello all, I have problem with Windowmanager. WarrenFaith suggest me add the Dialog to the Windowmanager on page http://www.anddev.org/bug_switch_display_numlock_7_while_dialog-t4194.html , but I don't know how could I do it. Could anybody help me, please? --~--~-~--~~~

[android-developers] Re: Leaked window in PreferenceActivity

2009-05-19 Thread Sikus
> > PS: you'll have the same problem with Dialog, ... > > On Apr 14, 11:07 am, Sikus wrote: > > > I try add android:configChanges="orientation" to my manifest, but > > error still show to me. I have progressDialog and when is showing I > >

[android-developers] Re: Bug in WebView highlight (and workaround)

2009-05-19 Thread Sikus
Hello, maybe, I have same problem. I use WebView to display my information like HTML. I need show address on map therefore I use javascript like this: link" and @Override public boolean onJsConfirm(WebView view, String url, String message, final JsResult result

[android-developers] Re: Windowmanager, problem with progress

2009-05-20 Thread Sikus
I try add and everything works good. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group,

[android-developers] Email attachment doesn't send

2009-05-20 Thread Sikus
Hello, I try this code: Intent i= new Intent(android.content.Intent.ACTION_SEND); i.putExtra(android.content.Intent.EXTRA_SUBJECT,"this is a test mail"); i.putExtra(android.content.Intent.EXTRA_STREAM,Uri.parse("file:// sdcard/dcim/Camera/1233417122606.jpg"));