In addition to the general res/layout folder I have a res/layout-v3
folder for backward compatibility with Android 1.5, which has problems
with some RelativeLayout layouts.
It works perfectly with all phones and emulator versions tested so
far. Except of 2.1 (emulator and Nexus One). They choose to display
the Android 1.5 layout (res/la...
Hi,
I'm new at this (java and opengl) so please bear with me if the
answer to the question is simple. :)
I'm trying to get a camera preview screen with the ability to
display 3d objects simultaneously. Having gone through the samples at
the api demos, I thought combining the code for the the examples at
the api demo would suffic...
I am trying to test my application with location information.
You know the Emulator Control has an ability to load from KML file. (Eclipse -> DDMS -> Emulator Control -> Location Controls -> KML -> Load KML...)
I've prepared KML file using Google earth application with its "Add path". Then saved it by .kml extension and load it on the Ec...
hi,
i am new to adroid development can any one provide me two_line_list_item
example...???
any help would be appriciated..
...
hi all,
I am developing an application which require accessing a website for
data, and will show that data on device. I wants to fetch data from
Internet in background and show ProgressDialog or ProgressBar on
device and when application receive response from server app will
dismiss the dialog or bar and will show data .
For this i a...
I'm building an application, and need to support both 1.5 (Magic and Hero) and 1.6 (Tattoo) devices.
As Android SDK is forward compatible, it seemed logical to build against Android 1.5 SDK, and expect application to work on Tattoo.
While that's true, (I tested app, it works ok), I'm now having problems on Android Market.
On Tattoo, Mar...
Hi all,
I want to set an alarm in my application which will be triggered each day. According to the doc, I have to set a one-time alarm, and in the BroadcastReceiver which will receive the alarm signal, reset the alarm for the day after.
Is that correct ?
My BroadcastReceiver handles well the wakelock and launch a service which releas...
When using a ContentProvider for provide Search Suggestions, provider could be invoked from inside the application or from the Quick Search Box, but ¿is there any way to know where the invocation came from?
Additionally, is there any Intent for accessing directly to Search Settings > Searchable Items option?
...
Hi
I'm doing an app that need to notify the user doing a call that the call is taking to long...
I got every thing up an running and an the notification is made at the right time (I can see it at the status bar) but with no sound. If I make the notification call when there is no call the sound is played.
My notification looks like thi...
We all know that when generating an id for Android using
@+id/foo
Android creates for us an entry in R.java like:
public static final class id {
public static final int foo=0x7f060005;
}
What happens if there is a name collision in different xml files (let's say, inside two layouts)? The @+id mechanism ensures us to overw...
Hey Guys
I've got a Problem. I am working on a Project where I am using a Programm on the PC to handle different data (which another programm = my android app creates), which i found on the plugged in sd-card of the android device.
My aim is now to use the programm on the Computer to install the Android App on the Android Device. In ot...
I have searched and searched and searched. I cannot seem to download the Google APIs using the Android SDK and AVD manager. It's driving me nuts! I get the subject title message as an error:
SHA-1 MessageDigest not available
My PATH var JAVA_HOME=C:\Program Files\Java\jre6\bin
Any thoughts?
Thanks!
...
I have an application that uses OpenGL on a GLSurfaceView. The problem
is that the initial load takes quite a while processing textures and
getting things ready.
What i want to do is have a simple PNG displayed (with a slight
animation) while the GLSurfaceView is getting ready. As soon as it's
ready to render, i would like to tear down ...
Hi,
In Android when you upgrade a database all data is lost. I'm going through a phase of development right now that is forcing many database upgrades. I don't want to lose all my data (and have to manually re-enter it) each time I upgrade my database. I would like to store my data in flat files and load those flat files into their re...
hello guys,
sorry for constant questions.
i would like to ask if doing smth like this is possible on android:
Scrollview of layouts, and each layout in horizontal orientation contains button, another button and checkbox.
e.g: button1, button2, checkbox
button1, button2, checkbox
.........
button1, button2, checkbox
th...
How to Debug on the Samsung Galaxy I7500 Android Phone
modify c:\android-sdk-windows-1.5_r3\usb_driver\x86\android_usb.inf
under the [Google.NTx86] entry add
; SAMSUNG GALAXY
%USB\VID_04E8&PID_6640.DeviceDescRelease%=androidusb.Dev, USB\VID_04E8&PID_6640
%USB\VID_04E8&PID_6640&MI_04.DeviceDescRelease%=androidusb.Dev, USB\VID_04E8&PID_6...
Hi
I was wondering how to get the email from the owner of the phone or from the gmail account used on the phone.
I am trying to do this on android 1.6 and up.
I know its possible because I have seen some apps that get the email.
Maybe its undocumented or it reads it from a undocumented provider or some authentication service, but I kn...
<RelativeLayout
android:layout_width="fill_parent"
android:layout_height="50dip">
<Button
android:text="Edit"
android:width="50dip"
android:layout_height="fill_parent"
android:layout_width="wrap_content"
android:layout_alignParentLeft="true"
android:layout_alignParentTop="true" ...
I'm writing an Android application that uses OpenGL ES (GLSurfaceView and GLSurfaceView.Renderer). The problem is that when the user switches applications and then switches back to my app, the GLSurfaceView destroys and recreates the GL context. This is what it's supposed to do according to the documentation but is there a way to prevent...
My .apk file is confirmed working, however for users of the Motorola Milestone (which runs the same android version 2.0 and up) they receive the error upon attempt to install. I've googled and searched through the other questions here. The error seems to normally only appear if you did something wrong in the signing wizard or renamed the...