I'm trying to load a web application that needs to connect to port 873. I'm getting an error message that seems to imply that it can't reach that port and I'm guessing that Android 2.1 doesn't expose that port out of the box.
Is there any way to open up ports in the 2.1 operating system?
Thanks in advance,
=Ryan
...
In an activity it's (usually) easy to get the Context.
What if I am working with a home widget class?
These are classes that extends AppWidgetProvider, which don't contain a Context!
Thank you.
...
Is there a way to lock orientation during runtime? For example I'd like to allow the user to lock the screen to landscape if the user currently in landscape and toggle the menu option.
...
I set an ImageButton's click listener via setOnClickListener(), but it doesn't respond to trackball clicks like a regular Button.
...
Is there a way to find out the final location of my animated "object" after the animation? Let's say I am animating an ImageView with location in parent as (0,0 - 20,20) using TranslateAnimation and ScaleAnimation over 1 second with setFillAfter(true).
How to I find the final location of this "object" (since the View location itself doe...
Hi,
I want to display a large-ish image, around 800 x 800 pixels. I'd like to be able to pan it in all four directions by dragging with a finger. I'd also like to be able to zoom in and out. I need to be able to know the pan values and zoom values, because I have to draw small text strings at certain locations over the image.
For examp...
Hey all-
I am trying to put together a modal box with a scrollable list of checkable items and an OK and Cancel button at the bottom for the user to select filters from. It seems the simplest way to do things like this in Android is to reuse API components (widgets, layouts, etc) and the closest one I can find to this looks to be the Li...
I'd like to use the volume buttons for something else in my Android application. The Dolphin browser does this I am told. Anyone know how?
...
My project requires some external libraries to build in in Eclipse. They live in /trunk/lib whereas my project is in /trunk/projectA. To get Eclipse to find the libraries on all machines we set a variable PROJECT_A_HOME.
Now I'm trying to get some builds going with maven and I can not figure out how to add that path (be it environmenta...
I've looked everywhere for a solution to this, but I can't figure out how to implement it. My OnItemClickListener was disabled somehow on my ListView rows, because I have an ImageButton in the row layout, which takes over the focus. There have been numerous questions I've found, but none of them have gotten me anywhere.
I've checked thi...
I changed AlarmController.java in ApiDemo a little bit, so I want the alarm not to go off when the phone is sleeping by using AlarmManager.RTC.
Intent intent = new Intent(AlarmController.this, RepeatingAlarm.class);
PendingIntent sender = PendingIntent.getBroadcast(AlarmController.this,
0, intent, 0);
...
I want to create an app or background service that just listens for the launch of a 'default' app, say Contacts or the built-in Gmail app. If the contact app is clicked, I want to transfer control to my app temporarily (e.g. present a Yes/No popup to the user or increment an internal counter of my app ) and then redirect the user back to...
I am displaying a radio schedule in a List View and would like to highlight the currently playing program. I also want to allow the user to click on any program and get more details for the program. I have tried the following:
radioView.setSelection(adapter.getCurrentProgramIndex());
radioView.setSelected(true);
This does scroll the...
I would like my activity to use some features of 2.01, but i need it to be able to run on 1.5 devices. I understand that the 1.5 devices will not be able to run the 2.01 features and thats fine. But i still want them to be able to use the rest of the activity.
I am using Eclipse as my IDE, how do i setup my project correctly? what am i ...
Is it possible to share my video or my photo from my application on the web in android?If possible how to do this? I made a application and now i want to share some my feature on the web so how i can do it?
Thanks
...
Im using an embedded webview to display a webpage which is made up of image thumbnails. These thumbnails are links to further webpages. Now my application randomly stops responding to my touch events on these thumbnails. It happens more frequently when the device wakes up from a standby. but this problem is fixed when i load some other p...
Zoomin in my webview will not work on a double tab.
I am using Motorola Droid A855.
...
Hello
I'm developing an android application that uses the SMSManager class to send messages and am unable to get the final parameter, a pendingIntent spec'd to launch upon delivery of the SMS, to fire. I won't post actual code but example of what i'm trying to accomplish is...
THIS CODE IS EXAMPLE TO PROVE POINT ONLY
-----------------...
Any one please help me to display a keyboard in my app. I want to show my keyboard when i click on the textfield
...
example scenario is:
from login screen - main screen - then when i clicked a hide button the app will go to home screen, and when im going to click the app again the main screen would be called
...