Other ways for zoom-in zoom-out in Android WebView?
My actual task is to have zoom in zoom out for the WebView, but I don't want to scale images. Are there ways to do that? 10x in advance, Danail ...
My actual task is to have zoom in zoom out for the WebView, but I don't want to scale images. Are there ways to do that? 10x in advance, Danail ...
How to use Dev tools which flashes momentary pink rectangle on any screen sections being redrawn? Tool description is given at http://developer.android.com/guide/developing/debug-tasks.html Could anybody please suggest me where to install this tool and how to use it? Thanks, Mahesh ...
Hi! Recently I have been having quite some problems with R.java file. Now I have decided to do a backup and delete the file to see what happens. Nothing happened, so I created an empty R.java file and hopped for the best. Now Eclipse seems to figure out that the file was tempered with and even issues a warning: R.java was modified man...
Hi All, Can anyone provide me a code snippet to identify whether the phone is in Silent mode or not. I am using Android 1.5. I tried by using "android.provider.Settings.ACTION_SOUND_SETTINGS". It is not working. Thanks in Advance... With Regards, Raghavendra K. ...
Hi! I have an HTC HERO and I need to push my application.apk to the /system/app/ folder. I've followed some tuts on rooting the device and that is fine, but when I try to push my package to the system/app folder, I get: "permission denied": $ push /sdcard/myApp.apk /system/app/ push: permission denied I also try: $ su su # push ...
I've got thumbnails which larger side is 70px (e.g 70x40 or 52x70). I need to create a gray box 70x70px and put the thumbnail in it, so that image is aligned with the box at top vertically and center horizontally. How to do that? I've tried with an ImageView 70x70px, gray background, but image is not positioned as it should (it's in v...
Android Platform 1.5 I open splash screen at the end i call finish() then i moved to browse page. At the browse page when i click on home button it hide the application.(b/c of Android's Multi tasking feature) When i go to Android's desktop launch application again it starts from splash screen. Android Platform 1.6 I open splash sc...
Hello I have Picture data in byte rgb_565 array, and I want convert it in a productive way into argb array. Right now I have found only one (little slow) way to do this: Bitmap mPhotoPicture = BitmapFactory.decodeByteArray(imageData, 0 , imageData.length); where imageData is my byte[] array in rgb_565, and then: int pixels[] = new in...
Hi, My layout is a 2-column table where each row has a TextView and an EditText: <TableLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:stretchColumns="1" android:padding="5dip"> <TableRow> <TextView android:id="@+id/label1" ...
With the iPhone, Apple has a system of free codes you can send to reviewers so they can install the app for free. Is there a way to do this with paid Android apps? ...
I've been searching on how to add a barcode scanner to my app. Does anybody know of any examples or know how to do this easily? Any help is greatly appreciated. ...
I have a list view and an adapter that sets alternating background colors to the list items ("zebra" list style): public View getView(final int position, View convertView, ViewGroup parent) { int colorPos = position % colors.length; ... convertView.setBackgroundColor(colors[colorPos]); return convertView; } But now, wh...
What is the relationship between android:layout_width & android:layout_height in the container and the views contained within? For instance if I have a LinearLayout with the layout width and height set to fill_parent, and I have a Button with those values set to wrap_content it uses the value from the Button, like the Button values over...
Hello, Again a question. This time I'm parsing XML messages I receive from a server. Someone thought to be smart and decided to place HTML pages in a XML message. Now I'm kind of facing problems because I want to extract that HTML page as a string from this XML message. Ok this is the XML message I'm parsing: <AmigoRequest> <From></Fr...
I'm trying to develop an android app which accesses google wave. When I try to load this page (http://gwavefree.netau.net) the app just doesn't do anything and I get a blank screen. When I try to go to another site it works fine. Please help me! Here is my full source code: package co.uk.maxmarroni.apps; import android.app.Activity; i...
I've read that there is a jit compiler module for dalvik vm on the works and the results are quite promising. Some people claim an improvement of 100% in terms of execution speed. Does anyone have an idea when it is going to be incorporated in an android release? The amount of RAM on the nexus one (512MB) hints that a jit may be introduc...
There is an event listener in Android called DatePicker.OnDateChangedListener. I am trying to set a DatePicker view's on date changed listener as follows: DatePicker dp = new DatePicker(getContext()); dp.setOnDateChangedListener(this); //where this is my activity extends DatePicker.OnDateChangedListener But guess what? Date picker ...
I am catching keyboard events/presses using the onKey method: public boolean onKey(View arg0, int arg1, KeyEvent arg2) { //do something return false; } This fires off just fine for physical keyboard presses but it does not fire on virtual keyboard presses. Is there an event handler to handle virtual keyboard presses? ...
I've two phones, the HTC Magic and since today also the Motorola Milestone. While the Magic works perfectly, I'm not able to access the Milestone via USB (adb devices). Here are my log outputs and settings for both: HTC Magic lsusb: Bus 001 Device 009: ID 0bb4:0c02 High Tech Computer Corp. /etc/udev/rules.d/51-android.rules: SUBS...
Hi, I have got my android app that uses HttpClient to reach my servlet deployed on my Tomcat. It is installed on my HTC Magic. If I launch it when connected on Wifi : it works. If I launch it when connected to 3G (GSM data network) : it doesn't work but my servlet is reached. In other word, it seems that my phone never get the response...