Hai All,
How to create Customize Layout in Android ? My plbm is i m dispalying Images in grid view, when the user reached the last image in the gird view , It must display " click here to View More Images" Message.
...
I am a beginner to android, just i am developing android applications and testing in on htc magic(version 1.5). Will it bring any problem on running with higher version of android devices. Thanks for reply in Advance
...
Hi,
I'm currently looking for a way to launch the default browser application on Android and pass a session cookie to it.
My application communicates with an external API over which I have no control using HttpClient, then passes the user to the site for the final stages.
I am aware that this is probably possible using a WebView, Howe...
I'm making a media player application in android where one part of my screen has a animation which is made in OpenGL (ofcourse with Android/JAVA).....So my screen consists of 2 parts:
1) Left hand side consists of all the widgets (using xml).
2) Right hand side consists of the animation made in OpenGL.
I'm able to make the Gui (xml ...
As the title suggests, I would like to create a mobile app that runs in the background and catches "incoming call" events. Moreover I would like to use a Cross-Platform Development Tool to do this.
I looked at three tools: PhoneGap, Rhomobile and Appcelerator. But I couldn't find any documentation or examples that suggest they support s...
Hi,
I have written an Android Application and the generated .APK file I uploaded in Android Market. So, a User can download that apk and install in his device.How can I restrict my apk to launch , if he calls from other application through Intent. That means my application should not respond to any intents from other outside Applicatio...
Hi,
What happens if I set android:enabled="false" in Receiver tag of AndroidManifest file....??
BroadcastReceiver no more useful..,It can't receive the intents which matches its IntentFilter....?
...
Hi there :)
I'm currently fighting against the OnLongClickListener on Android Api Lvl 8.
Take this code:
this.webView.setOnLongClickListener(new OnLongClickListener() {
@Override
public boolean onLongClick(View v) {
System.out.println("long click");
return true;
}
});
It works perfectly. I can press anywh...
hello,
why is the default language set in my android emulator some asian language?
where can i set the keyboard to english?
thanks!
...
Hi friends,
i am using zoom control in webview using webview.getSettings().setBuiltInZoomControls(true);
this zoom control only displayed in layout left,i want to zoom control display in center of the screen,how to set zoom control gravity in coding don't like xml zoom control coding...
Thanks all
...
Hi,
as a newbie, I tried out the HelloAndroid example at developer.android.com. After apgrading the UI to XNL layout as described, I get these error messages in the console log:
[2010-08-26 11:44:49 - HelloAndroid] WARNING: Application does not specify an API level requirement!
[2010-08-26 11:44:49 - HelloAndroid] Device API version is...
I wrote new example similar to WebView Demo and registered my Java object with addJavascriptInterface() to webview. and in Java script I am able to call java methods.
Later, I modified android browser code and tried to add Object to javascript,in a same way. but object members are not accessible in javascript and I get runtime error li...
friend's,
I have task to set menus in horizontal scrolling with images at two ends to show availability of menus. I did it by using gallery view, but i need to place an seperator (Vertical Line) between menus,i can't able to get the seperator in between the gallery.
How can i get it.
i need the view below
-----------------------...
I have this code:
public static class ExportDatabaseFileTask extends AsyncTask<String, Void, Boolean> {
private Context ctx;
/**
*
*/
public ExportDatabaseFileTask(Context ctx) {
super();
this.ctx = ctx;
}
// automatically done on worker thread (separate from UI thread)
protected Boole...
hi,
I am using the following code to use camera by using intent.
In the parameter of intent i am passing ndroid.provider.MediaStore.ACTION_IMAGE_CAPTURE.
It is able to open camera.
But the problem is that it stops unxepectedly...
The problem is that it gives null pointer exception on OnActivityResults...
I have used the below code...
pu...
hello, i am having difficulties to have my android app running in the emulator to connect to servers in my local network.
i am getting a
java.net.UnknownHostException
but the servers are resolvable fine from the machine where the emulator is run.
thanks for any help on this topic!
...
Hi all,
All these days i used to test my application on my HTC Legend (2.1 OS) only, and i had all my images resources in drawable-hdpi folder.. and everything worked fine
and today i wanted to test my Application on Android 1.5, so i recreated all the images with lower resolution and kept it under drawable-mdpi folder, so now i have H...
i want show the location in google map...
i have address...anybody help me to get the latitude and longitude using the address...
...
Hi,
I have an android application that loads web pages in an activity with a WebView. I am using the retrieving the page manually and using WebView's loadDataWithBaseURL to display it on screen. Everything there is fine.
Now, i am trying to override the Back button press to simulate going back in the WebView history stack. I am able to...
I've got an application that uses overridePendingTransition to do some custom animations upon transitioning from one activity to the other. This was made available in Android 2.0, but I want to make the application work on Android 1.6. I figured if I just checked that android.os.Build.VERSION.SDK_INT > android.os.Build.VERSION_CODES.DONU...