Ok, I have a Preferences activity set with an XML layout.
Here I have a couple of Preferences that open some dialogs. On these preferences I want to have an arrow on the right of them like in the screenshot. How I do this, is something related to the theme ?
First screenshot is how I want to look, second is what I have now.
http://img545.imageshack.us/i/screenshot1zlk.png/
http://img405.imageshack.us/i/tsc3.png/
I am currently developing an android app that is to be a counterpart to its sister iphone prototype.
My task is to recreate the screen from a design mockup from the iphone app in android, as shown here (can't display an image as a new user - sorry!):
http://img.photobucket.com/albums/v439/thrawn891/iphone.jpg
What would be the best layouts / views to use for replicating this screen in an activity?
Thanks.
I have created a sequential workflow for use with a SharePoint List. In this workflow i send an email using the SendEmail activity.
Later in my workflow I need to know if the mail was successfully sent, so I tried using this condition:
success = sendEmailStep1.ExecutionResult == ActivityExecutionResult.Succeeded;
But that does not work, any ideas?
Hello,
My layout contains a ListView (the parent is a LinearLayout). I have defined a certain drawable to be the ListView's background. The screen looks like this:
When I click/press the white empty space below the last row, I get this:
Any idea how this happens? Couldn't catch any click event in this activity...
I have an app that creates a new data entry in a sqlite db with several columns. I would like to have a simple share button on the final activity so they can share the results (or even a simple text field) with apps that accept it (email, mms, twitter, etc..).
I did some reading on ContentProviders but the more I read, the more I'm thinking i'm heading down the wrong path. Any help is appreciated.
Thanks!
I would like to create an Intent that opens the messages application in a specific conversation.
If a short message notification is clicked Logcat reveals the following:
INFO/ActivityManager(31909): Starting activity: Intent { act=android.intent.action.VIEW dat=content://mms-sms/conversations/3 flg=0x34000000 cmp=com.android.mms/.ui.ConversationList bnds=[0,586][600,682] }
This brought me a little bit further using content://mms-sms/conversations/3 as the data starts up the messages app in the correct conversation. I now only need to find out which conversation a message belongs to.
Hi there,
Are there any build in UI capabilities when using Windows Workflow..
Lets say I have a workflow that takes an hour to run where different activities are happening all the time. While it's running I want to see what activity is currently active, what activities have already ran etc..
Do I have to code this UI myself or does WF have built in features that graphically show the status etc of the workflow?
I have a screen where the first field is an EditText, and it gains the focus at startup, also popups the numeric input type, which is very annoying.
How can I make sure that when the activity is started the focus is not gained, and/or the input panel is not raised?
I have MYGallery class extended by Gallery. onSwipe onFling method is not getting called what need to do.
code is as below
public MyGallery(PhotoAlbumDetailActivity context) {
super(context);
this.context = context;
this.setFadingEdgeLength(0);
//this.setSpacing(10);
}
public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
System.out.println("On Fling");
}
in my main activity
this.mConverseGallery = new ConverseGallery(this);
I would like to show a banner in an Android activity.
The banner should be:
Aligned at the bottom of the layout
Take all the width and have relative height (say 100dip)
Be dismissable
When dismissed the rest of the layout should strech to fill the area that was occupied by the banner.
What's the best way to implement this in Android?
Thanks!
Im making an app, and i want it to make a sound when a activity is opened , the sound file is in R.raw.sound_file , if someone could do some example code to make my app play a sound that would be great :)
I have to include one report in my application showing offline/online activity of few databases on SQL Server 2008.
Could you please suggest how can I collect teh same information from sql server?
I have the following questions, please if you know the answers share it with me.
How can I transform my working Java code to NDK? (it's an algoritm not activity)
I am able to access the database from NDK?
Will a backtracking algorithm with 10 millions of iterations run faster if was written with NDK?
I am just getting started with the Android SDK and I had a quick question. I am trying to set up a ListView with a rectangle of color on the left and then a bit of text for each row. I also want to make it so I can click each entry in the list and open a new activity to display some information (similar to the contact list). Anyone have any examples to help me out?
How can I get the relative path of the folders in my project (using code)?
I created new folder in my project and I want its relative path so no matter where is the app the path will be correct.
Maybe this can be useful:
I trying to do it not inside any function just inside the class and I want to init with it a final variable. the app is android and the class is "extends Activity"
thanks
I seem to be missing something obvious here, why would I want more than one activity per application in Android? Does somebody have some solid examples?
I'm developing a site which monitors user's date.
It uses the cURL over PHP.
It first gets authorized using cookie and then parses the required data.
My problem is that it needs to fire multiple requests to the server (for all registered users) and this may
Get me banned by the remote server.
I would like to know if there is something I could do to prevent being banned.
(This activity is legal - the users have provided their login information)
Thanks
hi,
I want to create one winform c#.net application that will record all the user activity happening on desktop.I want to create avi file for that record format.also want to upload that files to server shared folder.
Please provide me code or sample project which can work on any OS.including vista and win7.
also AVI file size should be compressed.
Hello Guys,
I want to know if we can display multiple activities in a single activity using ActivityGroup.
Can anyone please help me out with this ?
Thanks in advance.
Regards,
Serenity.
Hi there.
I have a ROXML object that looks like:
class Activity
include ROXML
xml_accessor :id
end
If I have an array of these objects and call .to_xml on the array, I receive an empty xml collection:
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<activities type=\"array\">\n</activities>\n"
Any idea why or how to fix this?
I'm running Rails 2.3.5 with the newest version of ROXML.
Thanks
I am doing an activity monitor based on date which is similar to stackoverflow Today,YesterDay,this week,Last week,this month,last Month..... Based on current date how to get start-date and end-date for all these Today,YesterDay,this week,Last week,this month,last Month in c#?
Hi,
I've been using api level 4, and am moving to 5. I had a tab widget in my activity. The tabs used to b pretty light greys, after moving to api level 5, they are quite dark. The unselected tabs are almost black! I've tried setting the theme to light, but the colors remain very dark. Anyone else seeing this?
Thanks
we are adding new functionality in our application where in there would be some users posting short comments and on the other side there would be some users monitoring the activity or comments posted by the other users within the same application. my question is, what is the best way of implementing the notification of new comment availability(similar to tweet update notification)?
FYI the application is on .Net 3.5.
The application I am developing is in large parts a background-only Service BUT requires some settings that the user must add. Is there a way to integrate applications with the common Settings application/view/activity?