Hi everyone,
I'm trying to create a gallery in my Android project, but can't seem to make it work as it should.
Here is what I am trying to do:
Basically, I want a gallery that displays only one picture, but still has the same controls (sliding left and right). I'm getting the pictures asynchronously from the internet.
Where am I at ...
is there something like dialog's order in Android?
I explain what I mean.
There is a dialog builder with "OK"-Button. When user press ok, dialog will be closed.
Wenn I call more than one dialogs after each other in an activity, I see first the last one, then next to last and so on. But I would like to see first the first dialog, then ...
Hi folks, I need to guarantee that my Android application won't be launched twice. How to do it? I mean in ideal I would need in case of second launch just switch to primary copy.
...
Hi,
I have a legacy C++ code which is ported to Android. When calling free on strings, a random crash is occurring. Crash is observed in random places. Is there a tool which can be used to check the memory overruns?
...
Need to send a POST request to a Service provider using HTTPS protocol, response from the service provider will be an xml file, need to read that also.
...
I have an application that I want to display a phone number (not one stored in contacts) with that green phone icon next to it much like in the contacts application. I've searched and can't find anything relating to this formatting in the documentation.
...
I am using android 2.2 & creating live wallpaper based on cubewallpaper example in android sample
I am loading array of bitmap one by one on a canvas after few interval of time at the same place/position i,e, X and Y position (it is one type of rotated image banner).
Now the problem is
If i am locking the canvas using following code
...
I'm trying to construct a layout where there is a text view at the top of the screen and a bottom bar at the bottom of the screen.
Each of these views should stay fixed in place and in between the 2 should be a ListView.
TOPBAR
LISTVIEW (scrollable)
BOTTOM BAR
My layout (see below) almost works: the top and bottom components stay fixe...
On Android 2.1, just as on most graphical computer OSes, pressing the mouse while in a button, then dragging away, then dragging back, then releasing (while within the button rectangle) would result in a button press. It would also highlight while the mouse pointer was within (or actually near) the button, going off as the pointer left ...
I'm debating if i should get droid x.
i'd like to use it for work, meaning latex and code in c++. I use vim.
i know this is possible with connectbot. but possible doesn't mean i can substitute a laptop.
are there people that use bluetooth keyboard with android device and are happy? I don't mind the small screen. just curious about your...
Hello friends.
I am struggling to implement a chronometer in my application.
There are two situations in which I want to use it:
if starts for the first time, it simply increment the counter
if resumes, it must display time since a date time (that I retrieve from the database) and increment it from there.
To be more precise.
If I...
Hi, I have a application where I want to show different locations (one at the time, picked by user input) by launching Google Maps with their specific geo-coords.
I'm currently using this: (with real lat. and long. values of course)
Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("geo:<lat>,<long>?z=17"));
startActivity(intent...
Hi all,
I am loading the data using http connection,when it does i am using progress dialog box.
The problem is when i press the hardware back button , dialog box is removed before loading all the data,but data is showed successfully,
the code for back button is i have used is,
public boolean onKeyDown(int keyCode, KeyEvent event) ...
HI all,
First of all i want to know that what are the index of list view items??? is something like the index of array (a[0],a[1]....).
Actually i want to get the index of list item. it always showing me -1
here is the code.
protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v...
I've carefully read this thread: http://stackoverflow.com/questions/2021176/android-gps-status
but it still didn't illuminated me.
I want to achieve a very simple thing: I have 3 satellite icons: one red, one orange and one green. When the user is in the activity that uses the gps I have the satellite icon on a corner and I simply want...
An Android Application that I created for a client some months ago has the ability to email a link to a PDF with a ton of text in it. The client now wants that text to go directly in the email, in HTML form (with links, bullets, etc).
Using Android's Mail Intent, I am trying to send this long string over the EXTRA_MESSAGE field, but si...
Hello everyone, i wanted to do an application which use a rss feed from the web, and i wanna know if someone have a tutorial somewhere or could just explain to me how to do it. (I started coding in android like two months ago)
...
I'm trying to use backgroundGradient on a view and it isn't working.
Here is my code:
var sectionHeaderView =
Titanium.UI.createView( {
top: 20,
left: 0,
right: 0,
backgroundColor: '#355B80',
backgroundGradient: {
type: 'linear',
colors: [{ color: '#d4d4d4', position: 0.0 }, { colo...
I'm developing my first Android game and I'm having a bit of difficulty making the UI as smooth as I would like. I've spent a couple of hours googling around with no luck, I'm probably just searching for the wrong thing.
I have two different XML layout resources where each layout contains just one SurfaceView subclass. When I call activ...
I have a background thread that is sending data about the application's current status to a server. The thread is supposed to constantly - or at least whenever the status changes - send this data.
The data is coming from the UI and the user is able to change the status any moment (by moving with the finger over the screen), so I need to...