where to add the new GUI xml pages in android project, say I have a welcome screen in res>layout>main.xml layout and when user clicks "next" button, it has to load up a new page with username and password GUI. any help will be appreciated
...
I'm trying to write a program that can read the signal strength of a bluetooth device linked to my android 2.0 handset. Doesnt seem like android exposes anyway to get the RSSI unless it is during discovery. Is there any other way to get the signal strength of the device after the device has been detected? I read of a way to do it using N...
Hello all,
I'm new to this and used an analog clock skin as my first sample project. The question I had was
Regarding adding multiple skin options in one apk, and multiple layouts as well. Would anyone be able to direct me to a useful resource? Most only deal with a single instance and no variant.
...
Hi guys,
In my application I use SoftReference to cache images, it is working fine with active internet connection. And now I need to cache images, so I could use it in offline mode.
What is the best way to implement it?
Use complex solution with SoftReference and database? or maybe SoftReference and local storage (sdcard)?
I would ...
I cannot for the life of me figure out why I'm getting a NullPointerException.
When a user clicks on a particular image, a dialog window is supposed to pop-up and display a larger version of said image:
private OnClickListener coverListener = new OnClickListener()
{
public void onClick(View v)
{
showDialog(DIALOG_COVER);
}
};
...
Hi,
Can you please tell me how can I create an android menu item using android setting icon?
Thank you.
...
I have a weather image I would like to use as an overlay in the google maps android api. I would like to achieve the same result that I get from using GroundOverlay in KML files, such as
<GroundOverlay>
<name>myimage</name>
<Icon>
<href>myimage.png</href>
<viewBoundScale>0.75</viewBoundScale>
</Icon>
<LatLonBox>
...
I've been searching the web for a way to do this for about a week now, and I just can't seem to figure it out.
I'm trying to implement an app that my college can use to allow users to log in to various services on the campus with ease. The way it works currently is they go to an online portal, select which service they want, fill in the...
Hi all
I have two resources file in res/values directory: string.xml and names.xml
how can I retreive all resources from names.xml only
the method
Field[] x=R.string.class.getFields();
retrieves resources from both files.
how can this be acheived
thanks
...
I would like to arrange the menu items in my app so that one item appears in its own line, and the other 3 items appear below it. I know that this is possible because i have seen apps do it. I tried writing a menu xml with linear layouts to arrange the items, but this doesnt work. I have also tried putting them in different groups, but ...
I'm trying to get and display a live .kml file from maps.google.com using
Uri.parse("geo:0,0?q=http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&msid=104538451667315338387.0004887d133ba2ab6eec9&ll=42.029611,-93.646109&spn=0.011396,0.022724&z=16l&output=kml");
Intent mapIntent = new Intent(Intent.ACTION_VIEW...
Hi All,
I'm starting to learn the android NDK and I've instantly come up against a problem.
I'e built the tool chain (which took a LOT longer than I was expecting!!) and I've compiled the C++ code with no problems and now I'm trying to build the java code.
Instantly I come up against a problem. There is a file "main.xml"
<?xml versi...
Hello I am looking for personalized screen locker for android phones, instead of typing numbers , user can flex fingers in a particular pattern and unlock the screen.
Any pointers/ideas are appreciated.
...
Here's my story.
I downloaded the NotePad tutorial project exercise files.
I created an Android project based on the tutorial files for the completed exercise (located in the Notepadv3Solution folder)
I run the project and bellow is a screenshot of what appears:
It doesn't seem to be working properly.
Could it be because I'm on ...
I have an android list activity that is backed by a database cursor through a SimpleCursorAdapter.
i have one constraint that need to be modify the cursor data. i cannot add the constraint in query.
How should I be update cursor ?
...
In my application, after enough clicking around, I get this error:
06-08 19:47:59.967: ERROR/AndroidRuntime(2429): java.lang.RuntimeException: Unable to pause activity {com.MYAPP.app/com.MYAPP.app.MainActivity}: android.database.StaleDataException: Access closed cursor
What I have is a Tab Activity (my MainActivity), which has a ListA...
I'm guessing this will be such a newbee question but I hit a wall and...
I am running the jWebSocket (http://jwebsocket.org) stand-alone server. For a client I am using Weberknecht (http://code.google.com/p/weberknecht/) And Eclipse is my IDE of choice.
Now, when I start the server and run the Weberknecht client like a normal Java appl...
The sample I'm referring to is: CameraPreview.
The program simply force closes upon start up. I've also tried other camera demos that have the same problem.
I'm trying to run the samples on my Nexus One and the emulator with the same problem on both. I'm not even sure if the emulator should be able to run them or not.
Based on LogCat,...
Hallo all,
I have a ListView, which contains an EditText in each of it's row. I also have an Array.The length of the Array==the Nr of the rows in the ListView.
I want to store the user input (the text in the EditText) to the Arrray. E.g, if i type some text in the EditText in the first row of the ListView, i want the text to be stored...
Hello,
I have the following XML code, which I got by a UPnP device and like to get the res value - the RTSP URL. In this case rtsp://10.42.0.103:554/live.sdp
How can I do this? I heard that Android has some built-in support for reading XML. Is that true?
<DIDL-Lite xmlns="urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/" xmlns:dc="http://...