hi, so i was wondering if its possible to for an application that i would write to be constantly running in the background and alter regular phone operations. For example this could be something like as soon as you receive a text from anyone you forward it automatically to another number. Is something like this at all possible?
Just t...
Is there any way to hide a image after a second or given time in android application?
thank you
...
Im planning to build my own custom layout manager.
What i wanted to know was if there is any other way to build one apart from extending the View class, coz this is the only approach i know for now and would like to know if there is any other way to do it??
...
friends,
i have problem in calling notifydatasetchanged();
it is giving me exception source not found can any one guide me what mistake am i doing?
if i assign data on create it works fine. but in case of updating list it wont.
any help would be appriciated.
private static EfficientAdapter adap; //global variable
@Override
pub...
Hi..
I am need to receive broadcast for network actions like network connected, disconnected etc. I am using a broadcast receiver for the purpose. Can any please tell me which intent action I need to capture for network events, right now as per my search on internet I am using android.net.ConnectivityManager.CONNECTIVITY_ACTION.
Here ...
I have this Broadcast receiver registered
public class NotifyAlarmBroadcast extends BroadcastReceiver{
public Context context;
public static final String NOTI = "android.intent.action.MAIN";
// actually i want NOTI = "com.sumit.timekeeper.NotifyAlarm"
// this too is not working
// help me here please
@Override
public void onRec...
So I am trying to simulate that the phone is receiving a call. I have successfully extracted the phones ring tone and played it. Now I want to simulate the vibration. While I can make the phone vibrate, I want to emulate the exact pattern that the phone vibrates with as when it receives a call. Is there some setting or class that I can u...
Dear Android folks,
I am having an issue with using TabHost in a new Intent of type TabActivity which I hope you can point me in the right direction. Funnily it works fine when I try to view it in the original Intent : setContentView(R.layout.main)
I get a "forced closed" and within logcat, I get the following error even though my Ta...
Is it possible to replace com.android.internal.policy.impl.PhoneWindowManager with my own implementation (actually I would like to make a small modification on the current one)?
...
Hello there :)
I want to do some data processing (in a thread) right after my main Activity starts. For that data processing to be started I also need to know a visible size of my main View (which is a LinearLayout currently, but whatever).
I wonder how to do that. I.e. I wonder what is the entry point (callback?) I should use to be su...
Is there any method to align toast message in application.By default it always appears at the bottom of application.
i did it like this...
Toast.makeText(this, "hello !", Toast.LENGTH_LONG).show();
Thank you
...
I mean, is there any way to
add more functionality
add/remove events
synchronize with other then Google calendars/formats (authorized)
...
For checking internet access on device I use requestRouteToHost function, but it's second argument has integer type - what i has to put in it? Is it int-view of IP like [1] function makes? I think there is more simple way by using default android functions. Can somebody tell me?
[1] -->
public static Long ipToInt(String addr) {
...
Hi, is it possible to show any animation when i call a function in same class in android?
In my application, i called a function "doAddition" so many times.And i want whenever i call this function, it shows some animation.
Thank you
...
dear friends,
i want to obtain city name in google maps if i have lat,long values of town or area?
i tired using lat,long i get country but dont know how to get city name.
any help would be appriciated.
...
i am developing an application which find current latitude and longitude.but this latitude and longitude is varying frequently while my device is static.how i can remove this issue?
...
Hi all,
i`am asking a new question, since the previouse one was in another purpose(the one on serializing)
I have a list of items which r binded to database, and i want to serialize the database rows to file (on runtime!!), and in the future to deserialize them.
now as we know, i have to go through all the rows in my database and crea...
I've been digging for awhile into the source of the Contacts app on Android to find out which Activity handles Intent.ACTION_CALL_PRIVILEGED. Unfortunately, I couldn't find its source code. Does anyone know how it's called, or even better where I can find it's source? Thank you!
...
Is it possible to find dynamically what are the languages supported by the application?
For example, I have strings for the following languages: English, French, Dutch and German.
They are defined in their corresponding res directories: values, values-fr, values-nl and values-de.
I want to give the user the possibility to choose between ...
Hi there!
Just wondering how you handle the following problem: a result is calculated depending on two spinners' selected items. To handle the UI things, i.e. a user picks a new item in one of the spinners, I install a listener using setOnItemSelectedListener for the spinner in my onCreate() method of the activity.
Now: that works, of ...