Android Layouts: Moving Items
Greetings From Canada. I was wondering how one might align two or more UI elements to the bottom of a screen instead of them just stacking as they normally do. ...
Greetings From Canada. I was wondering how one might align two or more UI elements to the bottom of a screen instead of them just stacking as they normally do. ...
Guys, Following is my scenario, My Activity is running on the foreground and my Activity is getting pushed to background when I hit on the home button... I am trying to display the pop up at certain intervals, in this case as my activity is running on background when I try to display the pop up but thats not shown on the foreground. T...
I'm writing a content provider, it will be part of my application. What does the "icon" attribute in the element do though?: http://developer.android.com/guide/topics/manifest/provider-element.html Where would anyone ever see this icon? Is there a way for users to list all the content providers in the system, and they might see it in ...
I am trying to connect an Android application with a secured HTTPS remote service that is hosted in Google App Engine for Java (https://applicationname.appspot.com), using the HTTPClient 4 implementation that comes with Android. The certificate is signed and valid form *.appspot.com. I am using Android 2.1 in a real device (HTC Hero), ...
I have a table called "images": CREATE TABLE images ( id INTEGER PRIMARY KEY AUTOINCREMENT, url TEXT NOT NULL UNIQUE, caption TEXT ); On inserting a row, I'd like the URL column to be unique. At the same time, I'd like to find out the id of the row with that URL. INSERT OR IGNORE images (url, caption) VALUES ("h...
Is it possible to use per vertex data interleaved in OpenGL ES on Android? I'm unable to get the correct offset pointers for the normal and color members. In C++ I would do something like this: struct ColoredVertexData3D{ Vertex3D vertex; Vector3D normal; ColorRGBA color; }; const ColoredVertexData3D vertexData[] ...
I found a error that I dind't know about, Iam using a List, when Iam scrolling down to the bottom of the list it thows an error, why does this occur? Iamgeting the items from a service, and everything looks fine inte listview. this is the error that it trows out. 09-25 16:58:01.865: ERROR/AndroidRuntime(609): FATAL EXCEPTION: main 09-2...
Hi all, Wondering if there is any way to build and fire an event (e.g. on click event) in android applications programmatically. Thanks. sorry, it seems question is not clear enough, let me explain a bit more: I have an Activity (lets call it A) with multiple views (5 ImageView for example). And a normal Java class (lets call it B)...
I want to create 5 equally sized outer squares across the top of the screen, side-by-side. Each outer square should contain 3 equally sized mini squares, side-by-side, across the top of each outer square. Each of the 3 mini squares are TextViews. The outer squares and the inner squares each need a border, which I want to use to differen...
Hi! I want to use this SDK, and I can not create project from existing source from the facebook dir. And at importing this project I always get this error: 19:32:32 - com.android.ide.eclipse.adt.internal.project.AndroidManifestHelper] Unable to read C:\AndroidManifest.xml: java.io.FileNotFoundException: C:\AndroidManifest.xml (System co...
I followed the HelloMapView tutorial, and I extended it so that I can add more OverlayItems to the map with a button, as well as some load / save functionality. All of this works correctly, except for adding a new OverlayItem. All of the OverlayItems added when the application loads a drawn fine, but when I add a new one to the ItemizedO...
I am pretty far into my first Android application, and I have the sneaking suspicion that I'm "Doing It Wrong". My app talks to a Ruby on Rails server and serializes objects back and forth via XML. Before I knew what was happening, I found myself knee deep in writing my own crappy ORM, a problem which is compounded by the fact that I h...
Hi am developing an app that will set the coordinates(latitude and longitude). And it has to show my location as i am at that coordinates..It is similar to location spoofer.. http://www.androidzoom.com/android_applications/tools/location-spoofer_gkmc.html But I am failing to do that.. here is my code..Please any one help me. public clas...
I'm at complete odds over configuring a proxy to inspect the HTTP(S) traffic for the app I'm developing. I've tried running Fiddler2 and Charles Web Proxy, both run on 127.0.0.1:888, and starting up the Android emulator with the parameter: -http-proxy http://127.0.0.1:8888 To test it out I open the Android browser. I see in Fiddler2 ...
Hello, I would like to record from the device microphone and then be able to calculate the beats per second of the recorded audio, is it possible and how? is there any open source project I can look? regards maxsap ...
Does something exist for Android? I am looking for something equivalent to HTML's tag. I see things like NumberPicker, but I can't see any way to have a basic drop down selector. I am aware of ListPreference, but I want to use it outside the context of a PreferenceActivity and inside arbitrary views. Anyone? ...
I've currently got a webview that when loading has a "loading message" pop down at the top of the screen above it (but the message doesn't fill the whole screen so you can see some of the content it covers). When this happens, I want the scrollable area of the webview to increase to accommodate for the message (and this increased area t...
I'm trying to very quickly port over an html application with plays sound (with soundmanager2) to a native android app using WebView. From my research, I haven't seen any evidence that sound, such as mp3s, can be played via javascript or any other methods using WebView. My goal now is to quickly port over the html app and then eventual...
I'm developing an application in which each activity/page has a in which a png is shown followed by 's, 's, etc, all from a layout xml file. For the next part I'd like to keep the consitantcy with the rest of the app, but dynamically draw on top of the image in the , depending on what options the user chooses. Is this possible? If so, h...
Is it possible to create android applications that can communicate with apps running on the computer through USB? Like some sort of reverse "adb forward". ...