I want to have a background service running which gets started when an Image is opened in the gallery and then does something fancy with the image... As far as I know the opening of the image in the gallery would trigger a new intent to display this image. (Correct me if I'm wrong). My idea was to catch that Intent in the intent filter o...
We're having trouble getting our notifications and launch modes to run
properly.
First let me describe the behavior that we want.
Our main and launcher activity is Activity.Login (Lets call this A)
The next activity is always MainListActivity (Lets call this B)
User Launches App
Activity A starts (depending on
auto-login or not, it la...
How to put image and name in the list in android
...
I recently upgraded my Android app to support multiple resolutions. Previously, my Android.manifest file had a line:
To support multiple density and resolution devices, I changed this to:
<supports-screens
android:smallScreens="false"
android:normalScreens="true"
android:largeScreens="true"
android:anyDensity="true"
/>
<uses-sdk...
I have a project with some Android test code in it (with the appropriate elements, <uses-library> and <instrumentation>, added to AndroidManifest.xml). This works fine in Eclipse. However, it fails to build with mm, claiming that it can't find the test-runner classes:
/home/orospakr/code/my-android/packages/apps/MyApp/src/ca/orospakr/...
Hello Everyone,
I've the problem when I want to read "com.android.email.provider" to
get email accounts.
Here is my code to retrieve the account :
Cursor c = null;
Uri CONTENT_URI = Uri.parse("content://com.android.email.provider/account");
String RECORD_ID = "_id";
String[] ID_PROJECTION = new String[] {RECORD_ID };
c = getContentR...
I would like to be able to switch between various android releases (1.0, 1.5, 2.0, etc.) and then access them via the file system to copy all files for that version into a tarball. Currently I am just running repo init -u <source URL> -b release-1. to get each version (changing the tag for each version I need).
If this was a single git,...
Hi there,
Bear with me as i'm just learning about Android.
What i'm trying to do is to open an Activity when i click on a button.
This is my code in my main activity
public class MainPage extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(sa...
Hello,
I have a view as a main screen of the application which contains the available application's actions as icon+text pairs ( desktop like).
I want to find out programatically what are the activities defined ONLY in my AndroidManifest.xml
Suppose I have :
< activity android:name="example.mainActivity" android:label="mainActivity">
...
Hello there,
I am trying to set up a private repository of Android source code while hosting the git trees on github as private repos.
I have no problem changing the manifest.xml file to point to public git trees hosted on github in the same way that CynagonMod does, but when trying to point to private repos I get the following error w...
Hi Friends,
I am developing a calendar app, wherein i will using a service to display date in the application icon text itself. For Eg: If date is: 26 Apr 2010, then my application name in the phone menu will also show the same.
So I am not understanding how to change the application's icon text dynamically through program.
...
I'm working on security application which will copy all contacts to some other database and delete all contacts from phonebook.
I'm testing this on android HTC HERO.
I'm successful to delete contacts from phonebook and create new contact info database,
Till 200 it is working, but after 200 contacts its not working properly.
After tht app...
Hi,
I was trying http-cleint tutorials from svn.apache.org. While running the application I am getting the following error in console.
[2010-04-30 09:26:36 - HalloAndroid] ActivityManager: java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x100000...
I am writing an app that requires you to be logged in to a service before using it. From my understanding of android so far, you have to choose which activity to launch when you open from the launcher in the manifest. I don't know which activity i want to launch at compile time. I want the user to click the icon, then I check and see ...
I followed the directions verbatim in this Android tutorial, copying/pasting the code from the site to my app.
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
However, when I try to run in the Android emulator, I get the error:
"The application Hello Tab Widget has stopped unexpectedly. Please try again."
...
Has anyone seen that their applications built against Android 2.0 (minSdkVersion="5") are not showing up at all in the market for 2.2 devices? Does anyone know a workaround (aside from building for 2.2).
Thanks,
Craig
...
How can I had to class layout in R another XML file?
It should be automatic as I had new resources to res, but it's not.
Someone knows what I did wrong?
I open an activity and now I want to open another activity that will work with another XML
example.
I have menu and main.xml.
Now I want to go for another activity called gamescreen us...
How can I check for GPS support in-App to add a feature for those with Location services enabled?
My concern is, I know I'd have to specify the tag in the manifest to declare that the app uses location services, but I still want the app to function for those without. I just want to check and, if the service is available, use it; otherw...
hi,
i am a beginner with Android. I want to learn more about this new revolution.
Kindly help me with links that will help me learn creating applications for Android.
Please share if you have some simple source-code sites with you.
Also show me a forum having high activity with Android users...
thank you !
...
I have one Application class to keep the global state of my application. But I'm unable to register it in Manifest file? Any idea how to do this?
...