Hi everyone,
I know this should be fairly simple but I don't get it anyhow.
I've got an Activity (let's call it XyActivity) which has gotten pretty long. Therefore, I'd like to relocate some overriden methods to a subclass (let's call it XyOptions). Looks like that:
public class XyActivity extends Activity {
XyOptions xyOptions;
...
Hey guys,
during my development in android I've missed a function that can log every broadcast intent that occur. Sometimes it had been very useful to have a function like that...
I'm also wondering how to trigger those broadcast intents manually on the emulator.
Is there an entire overview of available broadcast intents?
Would be gre...
I have written a SyncAdapter that takes a "com.google" account and performs a sync with an appengine web service. Testing this with the dev tools sync tester (on the emulator), this sync appears to work just fine.
The problem is, it's not syncing by default. And going to the account in "accounts & sync" shows my google account to be bla...
In my app, when one particular image button is clicked and held, i must be able to calculate the time for which the image button was held pressed. Can any one help me by giving some simple guidance or sample code. i am really stuck up here. Is there any specific event listener for this particular requirement. I am writing this app specif...
I am trying to use a sendOrderedBroadcast in my Android app.
I want to be able to send the Intent from one of my applications to another and I then want to get data back from the Application that recieves the Intent, in this case a boolean true or false.
Here is the current code:
Intent i = new Intent();
i.setAction(GlobalData...
Is it mandatory to have EULA for free android applications on Android Market. I 'm going to upload a free android application on Android Market. Since I 'm new to the process to uploading application to android market could anyone tell me why EULA is needed ?
...
Hi, I have a big background image for my views's background, which also can be tiled (it's repeadable). When switching from one Activity to another i want the background to behave like on the homescreen (the background moves only a bit, but the foreground moves one screen with).
Is this possible and how?
Here is my current background d...
I'm trying to compile a static library to use on Android but I can't figure out how to compile it. The library uses standard libraries (stdio.h etc...) and libxml2.
I am trying to compile using arm-eabi-gcc but I get the following error:
/cygdrive/c/android-ndk-r4/build/platforms/android-8/arch-x86/usr/include/asm/posix_types.h:15:28: ...
Hi
I am using edtftpj-pro3.1 trial copy in my android app to make SFTP connection with the server.
After few connections with the server with 5-6 file transfers, my app is crashing with following exception.
Is it causing the problem or what could be the problem??
I tried setParallelMode(false) in SSHFTPClient, but it is not working.
E...
i got the error 'org.eclipse.wst.sse.core 0.0.0 missing when i tried to install the adt plugin for android
...
Hi,
How to Enable Flash Plugin in Webview Browser?
Regards,
Pavan droid
...
Could someone give me an idea about how to exclude using maven, some resources. I have a lot of languages in my project and I want to make build only for 3 languages for example. I have create the pom file and when I make the apk, all resources are copy by default(resources:resources,"Copying 122 resources"). Can I make in any way to cre...
I have the calendar.ics file. I have to read that file from my application and transfer the data in to Google calendar in android. I am new to android. I need some help to do this.Can anyone help me to do this?
...
I have an android service that connects to remote server by TCP/IP and waits for notifications from it. Should I care about PowerManagement? Can sleep mode affect me some how?
If no, than what are the "use cases" to care about wake locks?
...
Once I have created a project with the Android wizard, how do I change the API Package from say 1.5 to 2.1 ?
I'm not referring to the application xml where the minimum API is set, I'm referring to the jar's included in my project to the Google APIs.
...
Hi i have the listview the sixitems in it, but when i call alet function on event it doesnt work ? let me know how to write a function on item event on click?
public class PhotoListView extends ListActivity {
String[] listItems = {"HeadShot", "BodyShot ", "ExtraShot", "Video Take1", "Video Take2", "Video Take3", };
@Over...
I am using the getItemIdAtPosition() to get the Basecoulmns id of the record in Sqlite Database.
the code is below:
protected void onListItemClick(ListView l, View v, int position, long id) {
Cursor cursor = managedQuery(Constants.CONTENT_URI,
PROJECTION, BaseColumns._ID + "="
+ l.getI...
Hi,
I have a mobile application and will like to have the authentication implemented either through the Application itself or through Facebook username and password.
For example, if I have username and password of Facebook then one can login into the Application. I don't want to integrate the facebook completely only the authenticatio...
I have a listview with custom rows and that extends SimpleAdapter.
Each row consist of two linear layouts : 1st having two textviews of which one is hidden in horizontal orientation, second having two textviews in horizontal orientation.
Now depending on the value in hidden textview , I want to setcolor for the remaining items for the r...
I'm trying to change the default color for the options menu which is white. I want a black background for every item on the options menu. I've tried some shoots like android:itemBackground="#000000" on the item element within the menu element but it doesn't work.
I don't know if this is doable or not. Any idea would be welcome! :)
...