Hi Friends
i am developing application for view images from gridview using xml parsing and webveiw,initially i show 16 images in gridview ,user can click last images for view that image in webview and back to grid,this time i call Asysntask for parse another 16 images from other url and set adapter and used notifyDataSetChanged() for r...
dear friends,
i am fighting with android hardware backbutton
now my question to you is can i restrict its functionality upto 3 or 4 levels?
right now for example, i have 1,2,3,4,5,6,7,8,9,10 activities
i go to 1 then 2 then 3 .... upto 10 and start pressing backbutton
it takes me to 9 then 8 then 7 upto end
i want to keep track of ...
Hi: Is it somehow possible to play raw (headerless, 16bit PCM) audio files with Android MediaPlayer? Right now I'm just using AudioTrack, but the integration of MediaController with MediaPlayer would be way superior.
...
dear friends,
i use following code to check 3g,edge connectivity in android phone application
public boolean isConnected()
{
try
{
final ConnectivityManager conn_manager = (ConnectivityManager)
this.getSystemService(Context.CONNECTIVITY_SERVICE);
final NetworkInfo network_info =...
When adding a contact in the new android contacts API, can I use newAssertQuery() also for insert, or will it only update an existing entry. If so, what is the difference between newAssertQuery() and newUpdate()?
More generally, do I need to check whether a raw contact or data exist first and then either insert or update, or is there a ...
Hello friends!
Can anybody please tell me about the "context" term used in android. I wonder what exactly this means because this is something i used to see at lots of places.
I found it being a Class :- "Interface to global information about an application environment" but I am not quite clear regarding it still by now.
for Instance...
A Provider is implemented in application and application updates provider data and triggers a remote service which queries the provider to retrieve the stored values.The application is closed after sometime but service keep on accessing the content provider.At some point the following error is thrown in logcat and the remote service ...
Im fairly new at programming and was wondering if the Jigloo gui builder plugin would work with android app developement. I have Eclipse setup with the android sdk plugin configured, after seeing what Jigloo can do and that you can see the source code after creating the gui iI figured this would be a helpful tool to use.
I would be very...
Hi,
I need the correct way of getting latitude and longitude in android programatically. I viewed different sites and forums but still i could'nt get the correct one. The program should support for all the android versions.I use wifi to get my device connected to net.
...
How to do my own custom list? I mean, that each element of list will be looking like I want.
...
I would like to replace the default GPS location provider on android phones with my own coordinate source.
Is there any layer/API/library/provider that would allow to be replaced with my signal provider instead of the built-in hardware GPS, or read from an external plugin? It should allow all apps that rely on the GPS service to receiv...
Okay, this would be fairly simple in some other environments, but I can't figure out how to do it, or if its even possible in Android.
I have placed an icon on the status bar. I would like to run a method of another class whenever the user selects that icon. I've seen similar functionality used in volume icons that sit on the status b...
Hello, I have a noob problem. Here is my situation:
I want to start a new activity from the main activity. The code to launch the new activity is found in a separate class file. I seem to be passing the wrong arguments and I am ending up in a nullpointerexception when trying to launch the new activity. The new activity launches fine whe...
I have a 9-patch image file which looks like this:
When I use it it appears like this:
What I actually wanted to achieve is the complete dot in the center repeated instead of stretched. I hope that it's possible.
...
Hi there, here's my problem, I am receiving a string from a soap Webservice which seems to contain UTF8 encoded %c3%89. This string is a URL i have to reach to get a picture that contains a part of the URL in it.
My problem is that the server generating the picture doesn't recognize the %c3%89 encoding and thus doesn't create the right...
My project contains three drawable's folders: drawable-hdpi, drawable-mdpi and drawable. I build it with android:minSdkVersion="3". When it runs on Andriod 1.6 or higher it always uses images from drawable-mdpi on high density screens.
How to fix this?
...
I need to fetch the last updated timestamp of a contact from ContactsContract.Contacts.
Can you please let me know the parameter for the same ?
Thanks in advance.
...
Hi!
I'm developing an Android application where I want to pin out certain spots/addresses on a google map. I have managed to add point to a mapView using OverlayItem and a Drawable. That works great.
But I have installed an application where the pins/spots are added asynchronously, and it looks like they are dropped from the top of the...
Hello,
I'd like to use the method profiler to see how many times particular methods are executed. However, everything I see in there is rather cryptic.
For example, all I'd like to see is how many times method doWork() is called. I simply can't find it. How do I do that?
Also, it seems like the android SDK has no documentation on how ...
Hi everyone, so i started android programming like a month ago, and i've got a probleme today.
The thing i want to do is : From a Item in the Spinner, when i select it there is a Text View changing on the back.
spin.setAdapter(adapter_city);
spin.setOnItemClickListener(this);
}
@Override
public void onItemClick(AdapterView<?> p...