I recall reading about limitation of the WebChromeClient, in particular, permissions to access references in the HTML document if it is stored as an asset, but not if as an application file. Can someone provide a link to the doc?
...
hi,
I am making application in which when i click on Textview the datepicker Dialog should open, and then it should allow me to set the date and whatever the date is set it should be displayed on the textview.
I am able to do it properly...
But what i want is that i want to Set my own Background to this, SO any idea on how we can cust...
Hi All,
I have a requirement for an app, in android, which requires 2 images to be populated one above another.
This image has to be rotated, based on the Compass sensors.
I am rotating the image,using matrix, and creating the new bitmap, and setting the
bitmap on Imageview.
I am repeating the same, for 2 images.But as a result, i am ...
Hi friends
I am using ksoap2 in android can anybody tell how to pass parameter value to webservice in android
Thanks
...
Short of building a Linux machine and writing C code, is there a way to create a SQLite virtual table using a module which reflects one of android's content providers?
It will be very handy to be able to JOIN such table as part of my database query.
...
I got an error error: Error parsing XML: unbound prefix when i did not add an attribute xmlns:android="http://schemas.android.com/apk/res/android" for my Layout. Why we want to set this attribute for a layout?Any Specific Reasons? what i put the url mentioned as a value for xmlns:android. I got the server not found Exception. Please Shar...
Hi,
I am trying to make List View but i get following error can any one tell me the what wrong with my code.
so please help me.
09-28 10:52:28.918: ERROR/AndroidRuntime(383): Caused by: java.lang.RuntimeException: Your content must have a ListView whose id attribute is 'android.R.id.list'
09-28 10:52:28.918: ERROR/AndroidRuntime(383):...
Hi,
I'm trying to create a custom preference for an Android application that limits the number of items the user can select. Once the limit is reached the unselected items should be disabled and only the currently selected items are enabled.. If there are less items selected than the limit all items should be enabled.
Here are the two ...
Hi,
I have been trying to add a map to my application, I have followed instructions on the android developers HelloGoogleMaps tutorial but my map is just force closing when I run the maps option. I have obtained my api key logged permissions in manifest (Internet, Maps) and logged intent. When I look at the debugger the intent line al...
Hi,
I have an Application (Operator Widget) which Displays the Name of the Network you are currently Connected to.
The Problem is that some Providers either share their Network with others (eg. T-Mobile UK uses 3's Network in some areas) or don't have an own Network and use the one of another Provider (eg. "bob" uses the Network of "A...
Hi,
I am new to android.I am working on voice recognition.I got a sample program
main.xml
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="@string/hello"
/>
<Button
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="Speak"
android:...
Hi all!
I list out files in '/' by:
File directory = new File("/");
fill_listview(directory.listFiles());
And I get those in list:
sqlite_stmt_journals
config
cache
sdcard
d
etc
system
sys
sbin
proc
init.rc
init.goldfish.rc
init
default.prop
data
root
dev
I have two questions:
1.Why cann't I access '/data' folder just like Eclips...
Hi folks,
I'm a newbie in Java so I'm not sure if this is possible. Basically I need to de-serialise a file into an object of a given type. Basically the method will do this:
FileInputStream fis = new FileInputStream(filename);
ObjectInputStream in = new ObjectInputStream(fis);
MyClass newObject = (MyClass)in.readObject();
...
Hi,
The buttons in my layout are not getting pressed on Enter key. When I click on them using mouse, the code inside onClick() is getting executed. But when I press the Enter key, onClick() is not getting called.
I know that for keys, I must be using onKeyListener instead. However, does onClick() not work for both mouse click and keybo...
Hi,
I try to open dialog from worker thread. In class wich extends form Thread class I put this line:
handler.sendEmptyMessage(2);
In class that extends from Activity class I have this code:
private final Handler handler = new Handler() {
@Override
public void handleMessage(Message msg) {
if(msg.what == 1) openWinnerD...
I used that example but it only display the name and number displayed are null
I have no idea about it pls give me solution
package org.example.cp;
import java.util.ArrayList;
import android.app.Activity;
import android.content.ContentResolver;
import android.database.Cursor;
import android...
I have a view and I want to add a chronometer onto it. Then, on draw I want to display the current time. Here is how I did:
public class MyView extends View {
private Chronometer chrono;
private long elapsedTime=0;
private String currentTime="00:00:00";
public MyView(Context context) {
super(context);
// TOD...
I found this code to generate a sphere in Opengl es. I am unable to understand the logic, could someone please give me some insights on this.
private void generateData() {
slicesBuffers = new FloatBuffer[slices];
normalsBuffers = new FloatBuffer[slices];
texCoordsBuffers = new FloatBuffer[slices];
...
dear friends,
i am using a web service to retrieve data inside a thread.
so i start thread and call website in it.
problem is i called service and INTERNET was present and then disconnected how can i stop that request and stop that thread in order to show message to user that there is not INTERNET coverage.
here is code of mine please ...
I have drawn a sphere and I am able to rotate it using java and opengl libraries for an android application. This part works perfectly. Now I am trying to texture a globe image onto the sphere. The image covers the entire sphere but then the continents are compressed and appear as a single line. What do I have to do to get the image prop...