Android :: Webkit Text Overflow - Ellipsis Not Working
Oct 27, 2010
i am trying to get the following code to work on an androind 2.1 phone (HTC Sense UI):
h1 {font-size: 14px;
font-weight: bold;
color: #FFF;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden; however, the text-overflow property does not seem to work. has anybody else had this problem, or found a way to work around it?
View 1 Replies
Oct 20, 2009
I have a normal TextView which has multiple lines. I set its max number of lines to 3. I'd like it to show an ellipsis at the end if the text is too long:
TextView tv = new TextView(context);tv.setLines(tv); tv.setText("some really long text.");
I tried the set ellipsis calls but it doesn't seem to do anything - the text appears the same way. How do we get this to work?
View 8 Replies
View Related
Nov 9, 2009
I have a TextView. I want it to ellipsize if longer than its available width. This does not work unless the input string has no spaces... can anyone provide an example of this working? I've tried different combinations of:
singleLine="true"
maxLines="1"
scrollHorizontally="false"
none of these have any effect. Again, if I supply a string that has no spaces in it, then the ellipsis appears correctly. What am I missing? I've tried this on 1.5, 1.6, 2.0, all same problem.
View 5 Replies
View Related
May 25, 2010
I am required to use custom fonts in my application.
Problem: For ListViews that contain rows with Multi-Line TextViews having ellipsize property set to true, I can see some illegible characters after the ellipsis. Apparently Android pads the String(in TextView) with some characters(ZERO WIDTH NO BREAK-SPACE) unknown to my custom font. Single line TextView seem to work just fine.
What is the best way to hide these characters or remove the padding?
Also, is there any variant of Helvetica font, freely available that would have ZERO WIDTH NO BREAK-SPACE character?
View 1 Replies
View Related
Feb 2, 2009
I am trying to optimize the OpenGL ES rendering pipeline, along with general optimizations for a proof of concept. One thing I did was to take vertex and texture coordinate float[] data and FloatBuffer that are passed to gl*Pointer methods and convert them into int[] data and IntBuffer objects, because I am using GL_FIXED and fixed point math. After initializing/allocateDirect()'ing the IntBuffers and put()'ing the int[] data in them for the first time, the render() method is called once per frame. After the rendering, the int[] data is updated for both vertex and texture data. Then, the following methods are called on the IntBuffer objects: -vertices_buffer.clear() vertices_buffer.put(vertices) // vertices is a int []-vertices_buffer .position(0) This was not problem when using float[] and FloatBuffer, but a BufferOverflow Exception is being thrown on that call to put(). The API says this is only thrown when the remaining size of the IntBuffer is less than the length of the int[] passed in. Well, both of those values are output to the log on the line just prior to calling put() (intBuf.remaining() and intArr.length). They both output 600, and last I checked 600 is not less than 600! I figure I am missing something simple. I checked the call made to allocateDirect() and it looks like this: -vertices_direct = ByteBuffer.allocateDirect (vertices.length * (Integer.SIZE >> 3));-vertices_ direct. order (ByteOrder.nativeOrder ());-vertices_buffer = vertices_direct.asIntBuffer(); The original code (using floating point math and Android SDK m3-rc37a) can be found here: http://www. enfis.it /wp-content /uploads/2008/01/tunnel3d.zip http://www.enfis.it /archives/14 Obviously, I had to convert the original code up to Android SDK 1.0 r2. I ended up using EGL as I did not see a way around it.Keep in mind I have little OpenGL experience, let alone ES 1.0 on Android.
View 7 Replies
View Related
Sep 20, 2010
I'm currently building a web app in android. My app runs in a webview, and loads third-party contents through iframs. The iframe size is fixed and supposed not to be changed by the content loaded. In desktop Chrome browser, it works fine and the overflow part of loaded content can be scrolled via scrollbars. However, in android webview, the iframe tends to resize itself based on the contents loaded, which leads to a mess of the page layout.
Does anyone have encountered the same problem?
View 3 Replies
View Related
Nov 8, 2009
I'm trying to make a horizontal layout with two TextViews, one should take up 40% of available width, the other 60%. This works unless the text is longer than available space, then a stack overflow exception is thrown. Pasting this into an empty 1.5 project xml file should cause it (though this seems to work ok on 1.6+):
<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/ android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:weightSum="100" >
<TextView android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="40" android:text="Some really long sentence AAAAA" android:singleLine="true" />
<TextView android:layout_width="0dip" android:layout_height="wrap_content" android:layout_weight="60" android:text="Some really long sentence BBBBB" android:singleLine="true" /> </LinearLayout>
Is there some other way to do this? I need to just break a row up into these separate columns with specific widths. I'm ok with the text just getting truncated on overflow,
View 5 Replies
View Related
Dec 16, 2009
I tried to create the launcher widget for getting some messages from social networking server. I hope it can support autoLink feature of these message content. however, it will have the "Stack Overflow exception" when android:autoLink="web|email" is enabled when getting more than 20 messages. this issue doesn't happened when I remove this parameter. would you please share your experience about this issue?
View 2 Replies
View Related
Sep 17, 2009
I have the following situation. I have a task with the following activity stack -- A - B - C I have a menu item that allows me to start activity D; so my activity stack looks like this -- A - B - C - D Then I could select a menu item that allows me to start an activity C, which would cause my activity stack to look like this: A - B - C - D - C Then I could go back (via the menu item) to activity D, making my activity stack look like this: A - B - C - D - C - D Doing this a few more times, it would wind up looking like this -- A - B - C - D - C - D - C - D - C - D - C - D - C - D - C - D - C - D - C - D - C - D This seems kinda stupid to me. I'd like it to simply re-use an activity, or pop the activity below to be on top (which goes against the nature of a "stack"). So, what I mean is if I had this activity stack: A - B - C - D And I started activity C (from the menu), I would get: A - B - D - C And if I then started activity D (from the menu), I would get: A - B - C - D Is there a way to do this without keeping some global list of activities and doing gross things to them to reorder them?
View 3 Replies
View Related
May 11, 2010
I could not find a Stack Overflow notifier Android app so I am planning on making one. I hope that my app will serve a similar purpose as the Stack Overflow Notifier Chrome extension. This will be my first Android app so I am still unfamiliar with the platform.So I currently plan to ask the user to login by bringing up a WebView and then access the Recent Activity page in the background at specific intervals.My question:How can I store the authentication cookie from StackOverflow after the user has logged in through the WebView and then send this cookie in the HttpGet request when accessing the Recent Activity page?
View 1 Replies
View Related
Nov 6, 2009
I've been trying to create a color LinearLayout object (1) within another LinearLayout object (2), while having (1) not display beyond the bounds of (2) - in short, I wish to assign the equivalent of the CSS overflow:hidden property to LinearLayout (2) so that LinearLayout (1) doesn't bleed beyond the edges of (2).
<LinearLayout>
<!-- (2) -->
<LinearLayout>
<!-- (1) -->
</LinearLayout>
</LinearLayout> Is this possible within Android?
View 1 Replies
View Related
Nov 13, 2010
Using the ndk I have compiled a code written in C. The program is a ecm format files conversion, here the native code: link . I chose to do with JNI for reasons of optimization, because the program requires a large amount of CPU processing.The files to convert can be very large, between 200mb and 700mb. Everything works perfectly, but when trying to convert files bigger than 600Mb, near the end of the conversion process, the application stops with the following error message:
11-13 20:24:36.775: WARN/dalvikvm(1468): ReferenceTable overflow (max=512)
11-13 20:24:36.775: WARN/dalvikvm(1468): Last 10 entries in JNI local reference table:
11-13 20:24:36.775: WARN/dalvikvm(1468): 502: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.775: WARN/dalvikvm(1468): 503: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.775: WARN/dalvikvm(1468): 504: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.775: WARN/dalvikvm(1468): 505: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.775: WARN/dalvikvm(1468): 506: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.775: WARN/dalvikvm(1468): 507: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.775: WARN/dalvikvm(1468): 508: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.786: WARN/dalvikvm(1468): 509: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.786: WARN/dalvikvm(1468): 510: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.786: WARN/dalvikvm(1468): 511: 0x465117b0 cls=Ljava/lang/Class; 'Lunecm4droid/kiio/es/mainUECM;' (164 bytes)
11-13 20:24:36.786: WARN/dalvikvm(1468): JNI local reference table summary (512 entries):
11-13 20:24:36.786: WARN/dalvikvm(1468): 512 of Ljava/lang/Class; 164B (1 unique)
11-13 20:24:36.786: WARN/dalvikvm(1468): Memory held directly by tracked refs is 164 bytes
11-13 20:24:36.786: ERROR/dalvikvm(1468): Failed adding to JNI local ref table (has 512 entries)
11-13 20:24:36.786: INFO/dalvikvm(1468): "Thread-9" prio=5 tid=8 RUNNABLE
11-13 20:24:36.786: INFO/dalvikvm(1468): | group="main" sCount=0 dsCount=0 s=N obj=0x46523c48 self=0x30e960
11-13 20:24:36.786: INFO/dalvikvm(1468): | sysTid=1506 nice=0 sched=0/0 cgrp=default handle=2542616
11-13 20:24:36.786: INFO/dalvikvm(1468): | schedstat=( 200042694099 61087921121 333928 )
11-13 20:24:36.786: INFO/dalvikvm(1468): at unecm4droid.kiio.es.mainUECM.invokeNativeFunction(Native Method)
11-13 20:24:36.786: INFO/dalvikvm(1468): at unecm4droid.kiio.es.mainUECM.access$10(mainUECM.java:490)
11-13 20:24:36.786: INFO/dalvikvm(1468): at unecm4droid.kiio.es.mainUECM$11.run(mainUECM.java:735)
11-13 20:24:36.786: ERROR/dalvikvm(1468): VM aborting
11-13 20:24:36.795: INFO/DEBUG(121): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
11-13 20:24:36.795: INFO/DEBUG(121): Build fingerprint: 'google/passion/passion/mahimahi:2.2/FRF91/43546:user/release-keys'
11-13 20:24:36.795: INFO/DEBUG(121): pid: 1468, tid: 1506 >>> unecm4droid.kiio.es <<<
11-13 20:24:36.795: INFO/DEBUG(121): signal 11 (SIGSEGV), fault addr deadd00d
11-13 20:24:36.795: INFO/DEBUG(121): r0 00000026 r1 afd14699 r2 afd14699 r3 00000000
11-13 20:24:36.795: INFO/DEBUG(121): r4 802a3448 r5 802a3448 r6 0030e960 r7 0030e9b0
11-13 20:24:36.795: INFO/DEBUG(121): r8 464c9b48 r9 43277fa4 10 43277f8c fp 464c9ed8
11-13 20:24:36.795: INFO/DEBUG(121): ip deadd00d sp 464c9130 lr afd16155 pc 802424e0 cpsr 20000030
11-13 20:24:36.795: INFO/DEBUG(121): d0 643a64696f72646e d1 6472656767756265
11-13 20:24:36.795: INFO/DEBUG(121): d2 465117b046511767 d3 465117b04651170a
11-13 20:24:36.795: INFO/DEBUG(121): d4 465117b0465117b0 d5 465117b0465117b0
11-13 20:24:36.795: INFO/DEBUG(121): d6 465117b0465117b0 d7 465117b0465117b0
11-13 20:24:36.795: INFO/DEBUG(121): d8 4198000041b80000 d9 43e0000000000000
11-13 20:24:36.795: INFO/DEBUG(121): d10 41dfffffffc00000 d11 c3e0000000000000
11-13 20:24:36.795: INFO/DEBUG(121): d12 0000000000000000 d13 0000000000000000
11-13 20:24:36.795: INFO/DEBUG(121): d14 0000000000000000 d15 0000000000000000
11-13 20:24:36.795: INFO/DEBUG(121): d16 47d7202800000000 d17 c083180000000000
11-13 20:24:36.795: INFO/DEBUG(121): d18 4035000000000000 d19 0000000000000000
11-13 20:24:36.795: INFO/DEBUG(121): d20 3ff0000000000000 d21 8000000000000000
11-13 20:24:36.795: INFO/DEBUG(121): d22 c035000000000000 d23 ff00080008000700
11-13 20:24:36.795: INFO/DEBUG(121): d24 ff00080008000700 d25 ff00080008000700
11-13 20:24:36.795: INFO/DEBUG(121): d26 0100010001000100 d27 0100010001000100
11-13 20:24:36.795: INFO/DEBUG(121): d28 0100010001000100 d29 3ff0000000000000
11-13 20:24:36.795: INFO/DEBUG(121): d30 0000000000000000 d31 3ff0000000000000
11-13 20:24:36.795: INFO/DEBUG(121): scr 80000012
11-13 20:24:36.865: INFO/DEBUG(121): #00 pc 000424e0 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #01 pc 0004655e /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #02 pc 000466f0 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #03 pc 00001110 /data/data/unecm4droid.kiio.es/lib/libndkfoo.so
11-13 20:24:36.865: INFO/DEBUG(121): #04 pc 000016da /data/data/unecm4droid.kiio.es/lib/libndkfoo.so
11-13 20:24:36.865: INFO/DEBUG(121): #05 pc 00001bda /data/data/unecm4droid.kiio.es/lib/libndkfoo.so
11-13 20:24:36.865: INFO/DEBUG(121): #06 pc 00001f2e /data/data/unecm4droid.kiio.es/lib/libndkfoo.so
11-13 20:24:36.865: INFO/DEBUG(121): #07 pc 00017034 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #08 pc 00045744 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #09 pc 0004ae8e /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #10 pc 0001bf98 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #11 pc 00022bc4 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #12 pc 00021a60 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #13 pc 0005cf60 /system/lib/libdvm.so
11-13 20:24:36.865: INFO/DEBUG(121): #14 pc 0005d190 /system/lib/libdvm.so
11-13 20:24:36.876: INFO/DEBUG(121): #15 pc 000500d0 /system/lib/libdvm.so
11-13 20:24:36.876: INFO/DEBUG(121): #16 pc 00010f44 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): #17 pc 00010a30 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): code around pc:
11-13 20:24:36.876: INFO/DEBUG(121): 802424c0 20061861 f7d418a2 2000ea7c ebdaf7d4
11-13 20:24:36.876: INFO/DEBUG(121): 802424d0 58234808 b1036bdb f8df4798 2026c01c
11-13 20:24:36.876: INFO/DEBUG(121): 802424e0 0000f88c ec40f7d4 00060f8c fffe1ecc
11-13 20:24:36.876: INFO/DEBUG(121): 802424f0 fffe5140 000003a4 deadd00d f8dfb40e
11-13 20:24:36.876: INFO/DEBUG(121): 80242500 b503c02c bf00490a 188ba200 f853aa03
11-13 20:24:36.876: INFO/DEBUG(121): code around lr:
11-13 20:24:36.876: INFO/DEBUG(121): afd16134 000ef9b0 22022100 ec98f7f7 463289a1
11-13 20:24:36.876: INFO/DEBUG(121): afd16144 5080f421 81a04629 000ef9b4 ec1ef7f7
11-13 20:24:36.876: INFO/DEBUG(121): afd16154 bf00bd70 4604b510 000ef9b0 ec06f7f7
11-13 20:24:36.876: INFO/DEBUG(121): afd16164 bfbe2800 f42389a3 81a35380 6d21db02
11-13 20:24:36.876: INFO/DEBUG(121): afd16174 6523180b bf00bd10 b085b5f0 bf004c41
11-13 20:24:36.876: INFO/DEBUG(121): stack:
11-13 20:24:36.876: INFO/DEBUG(121): 464c90f0 000005a0
11-13 20:24:36.876: INFO/DEBUG(121): 464c90f4 afd146c9 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c90f8 afd42498 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c90fc afd43bc8 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c9100 00000000
11-13 20:24:36.876: INFO/DEBUG(121): 464c9104 afd156e3 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c9108 afd14699 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c910c afd14699 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c9110 afd146f0 /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c9114 802a3448 /system/lib/libdvm.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c9118 802a3448 /system/lib/libdvm.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c911c 0030e960 [heap]
11-13 20:24:36.876: INFO/DEBUG(121): 464c9120 0030e9b0 [heap]
11-13 20:24:36.876: INFO/DEBUG(121): 464c9124 afd146fd /system/lib/libc.so
11-13 20:24:36.876: INFO/DEBUG(121): 464c9128 df002777
11-13 20:24:36.876: INFO/DEBUG(121): 464c912c e3a070ad
11-13 20:24:36.876: INFO/DEBUG(121): #00 464c9130 465117b0 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
11-13 20:24:36.876: INFO/DEBUG(121): 464c9134 80246563 /system/lib/libdvm.so
11-13 20:24:36.876: INFO/DEBUG(121): #01 464c9138 000b4890 [heap]
11-13 20:24:36.876: INFO/DEBUG(121): 464c913c 00000000
11-13 20:24:36.876: INFO/DEBUG(121): 464c9140 00000051
11-13 20:24:36.876: INFO/DEBUG(121): 464c9144 0030e960 [heap]
11-13 20:24:36.876: INFO/DEBUG(121): 464c9148 000b4890 [heap]
11-13 20:24:36.876: INFO/DEBUG(121): 464c914c 46512b88 /dev/ashmem/mspace/dalvik-heap/2 (deleted)
11-13 20:24:36.876: INFO/DEBUG(121): 464c9150 43277fac
11-13 20:24:36.876: INFO/DEBUG(121): 464c9154 802466f5 /system/lib/libdvm.so
I tried to debug a native process using gdb but I only give this message when app crash:Program received signal SIGSTOP, Stopped (signal).Does anyone could help me find more clues about the error?
View 1 Replies
View Related
Aug 17, 2010
Got a trace like this:
java.lang.StackOverflowError
at android.widget.TextView.onMeasure(TextView.java:5160)
at android.view.View.measure(View.java:8172)
at android.widget.TableRow.getColumnsWidths(TableRow.java:308)
at android.widget.TableLayout.findLargestCells(TableLayout.java:497)
at android.widget.TableLayout.measureVertical(TableLayout.java:462)
at android.widget.TableLayout.onMeasure(TableLayout.java:428)
at android.view.View.measure(View.java:8172)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3140)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:381)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
at android.view.View.measure(View.java:8172)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3140)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
at android.widget.LinearLayout.measureHorizontal(LinearLayout.java:696)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:306)
at android.view.View.measure(View.java:8172)
at android.widget.ListView.measureScrapChild(ListView.java:1135)
at android.widget.ListView.measureHeightOfChildren(ListView.java:1200)
at android.widget.ListView.onMeasure(ListView.java:1109)
at android.view.View.measure(View.java:8172)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3140)
at android.widget.LinearLayout.measureChildBeforeLayout(LinearLayout.java:1012)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:381)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
at android.view.View.measure(View.java:8172)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3140)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
at android.view.View.measure(View.java:8172)
at android.widget.LinearLayout.measureVertical(LinearLayout.java:526)
at android.widget.LinearLayout.onMeasure(LinearLayout.java:304)
at android.view.View.measure(View.java:8172)
at android.view.ViewGroup.measureChildWithMargins(ViewGroup.java:3140)
at android.widget.FrameLayout.onMeasure(FrameLayout.java:245)
at android.view.View.measure(View.java:8172)
at android.view.ViewRoot.performTraversals(ViewRoot.java:805)
at android.view.ViewRoot.handleMessage(ViewRoot.java:1744)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:144)
at android.app.ActivityThread.main(ActivityThread.java:4937)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:521)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
at dalvik.system.NativeStart.main(Native Method) Is there anything that can be done here? I'm getting reports of blank screens and force closes.
View 1 Replies
View Related
May 27, 2010
can anyone help with this? it ported all of my gmail contacts from years and they pop up as suggestions when i try to sms or use other apps that search for contacts. this is incredibly annoying and i really hope i don't have to wipe my phone to fix it. is there any other way?
View 4 Replies
View Related
Sep 2, 2009
Android platform and actually mostly interested in the browser. I created http://www.jqtouch.com/ in hopes of developing a web-based cross-device application framework — but I'm running into a lot of issues with Android. Does anyone know of any good resources which describe the features/implementation of WebKit on Android? At first glance, it appears it doesn't support HTML5, nor certain -webkit CSS3 extensions like gradients or transitions. Does support certain other WebKit features like opacity, etc.
Most of my searches are coming up futile, because I end up seeing generic info about Android having WebKit, or technical pieces specific to embedding WebKit in native apps — but no good documentation on general WebKit features available. Again, I'm new to the platform, so I apologize if this information is in the clear...
View 3 Replies
View Related
Nov 27, 2009
Is there a way to get webkit running in the background , or even small enough for the user not to know that the webkit browser is running? Basically i want to use this to have java and javascript integration while using the android UI.
View 1 Replies
View Related
Jun 13, 2010
I'am looking for a way to have a webview content selectable in the very same way as the stock browser does.
I should note that Dolphin HD shows exactly the same text select functionality as the default browser (same icons, animation, etc), so it really should be possible. But I can't figure out how.Until now, all i found was this function, which kind of work, but doesn't allow the user to expand/shrink the selection.I just discovered that long touch copy/paste is part of HTC Sense, not Stock android. Still, it'd be useful to find out how to enable that on a webview, even just for HTC users. Anybody knows ?
View 1 Replies
View Related
Oct 21, 2009
I wonder if it's possible to use webkit/webview for UI instead of using the native UI (view,layout,activity,etc). Is there a way to catch/propagate intents to internal app when we use webkit/webview ui (probably through javascript)? The advantage of doing this is to provide a cross platform client that works in various mobile devices.
View 5 Replies
View Related
Jun 30, 2009
How can I find out what is the version number of Webkit (the one from www.webkit.org) that is android's Webkit (the one in external/webkit) is based on?
View 2 Replies
View Related
Aug 25, 2009
I am interested in displaying web pages with more than the 3 installed fonts. I tried the demo of installing fonts as assets and changing the typeface, but I am not sure if it applies to a Webview. I was able to modify the sdk and install more fonts in frameworks/base/ data/fonts. I can see those additional files when using the shell in / system/fonts. However, the fonts were not used in the internal web browser.
View 2 Replies
View Related
Jun 24, 2010
This doesn't seem to work in jqTouch or iUI. But I know it's possible because it works on my Droid when I go to deviantart.com . Anyone know how to do it?
View 2 Replies
View Related
Jan 21, 2009
When viewing Web pages either in the built-in Web browser or in a WebView canvas, focusable items get the orange highlight ring as you navigate the page with the D-pad/trackball. A design team I am working with wishes to create some Web content, specifically for Android, where they handle their own focus highlighting via Javascript/CSS and wish to disable the built-in Android focus highlighting. In this case, the content is being viewed through a WebView, so I have some measure of control. I see some posts describing how to use ColorStateList, <selector>, and android:background to affect this sort of change, for a single View. How would one go about affecting this change for the contents of a WebView?
View 10 Replies
View Related
Dec 14, 2009
Is there a way to extend Webkit on Android? Can we write plug in for webkit in android? Can we do things like creating our own renderer for a particular type of data embaded in the webpage? Can we track user session or modify data stored in the browser cache/memory?
View 2 Replies
View Related
Jul 22, 2009
What is the schedule for HTML5 support in WebKit? Specifically - offline web applications and storage.
View 2 Replies
View Related
Oct 15, 2009
how to enable SVG support when building Webkit for Android? I saw an earlier thread from back in March about SVG being slow for the UI of apps, but I'd like to experiment with web content containing SVG, DOM manipulations, etc to see what the speed is like. Is it just a matter of turning on the compile flags for SVG support in Webkit or would there be a significant porting task?
View 2 Replies
View Related
Feb 7, 2010
I have a question regarding the meta viewport declaration in HTML pages. Please tell me if this is not the correct group to post to. I have been doing quite a few iphone specific websites and I always use: <meta name = "viewport" content = "width = device-width; minimum- scale=1.0; initial-scale=1.0; maximum-scale=1.0; user-scalable=no;" /> Now I tried a site that is using that declaration in the android emulator with a 854 x 480 resolution. Even with the declaration above its scaling graphics and text. I would assume that I have 854 x 480 at my disposal. Can somebody explain how I can disable any resizing? Never had any of those issues in the 1.x Android OS devices and iPhone OS.
View 2 Replies
View Related
Mar 20, 2009
All, How can we enable LOG messages in Webkit.
I wanted to enable some debug prints using log utility of Android in Webkit I added the following statements in my code.
#define LOG_TAG "webkit" include <utils/Log.h>
And the following line to test LOGV("Constructor CachedImage.cpp");
I am unable to get the logs. Should I enable with the following define. I even added liblog as one of the shared libraries during compilation.
#define LOG_NDEBUG 0 /* Is this required to get logs? */
View 3 Replies
View Related
Jan 24, 2009
I'm building (for lack of a better description) a mobile web app targeting Android users. I need to know what JavaScript events are available to me. I have been able to make the following work
View 3 Replies
View Related
Jul 6, 2010
When my site renders in WebKit on Android, addresses are parsed and an OnClick intent is assigned to them, but this behavior gets in the way of javascript I want to act when the text is clicked. Is it because my site uses MicroFormats for the address? Is there a way to disable this on the browser, so no automated parsing occurs?
View 2 Replies
View Related
Jul 21, 2010
Is it possible to update WebKit behind the Android 1.5/1.6/etc (prior to 2.2) browser? I know latest nightly WebKit builds has great HTML5 support. So, my intention is to provide html5 video streaming (and other features) support on all those droids. Previously I was able to update WebKit engine on different devices with older Safari to meet my requirements (on any mac os x distros it's easy as updating WebKit.framework).
View 1 Replies
View Related