I am using 3 italic textviews with different colors
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent" android:layout_height="wrap_content"
android:orientation="horizontal" android:id="@+id/submittedBy" android:paddingTop="10dip">
<ImageView…
I have Activity named whereActity which is having child dialogs as well.
now i want to display this activity is as a dialog for another activity..
how can i do that ??
I am new to the world of Rake and currently writing a Rake Script which consists of various tasks depending on the arguments passed to it on runtime.
From some Tutorials over the web, I figured out how to pass parameters to the Script as well how to make a task which is dependent on other subtasks.
For reference, I have mentioned a sample…
I have this unusual problem with mailing from my app. At first it wasn't working (getting unable to relay error crap) anyways I added the proper authentication and it works. My problem now is, if I try to send around 300 emails (each with a 500k attachment) the app starts hanging around 95% thru the process.
Here is some of my code which…
I have a custom application page integrated in Centeral Administration. My application pages are placed in a subfolder in Template\Admin folder. I placed my own web.config in my subfolder and added tagPrefixes in the control section.
However when I open my application page ASP.NET throws the exception that the tag…
How can I access and consume a web API from .NET? The API is not a .NET API. Here is sample code I have in Ruby
require 'uri'
require 'net/http'
url = URI.parse("http://account.codebasehq.com/widgets/tickets")
req = Net::HTTP::Post.new(url.path)
req.basic_auth('dave',…
I am using the following customize gallery.
I am having static 10 images, i want circulatery gallery which should circlate always should never ends after last item it should auto start by 1 or after first it should auto start from end.
public class SizingGallery extends…
I want to detect location from gps listener and also from network
my code is as follows
For network location listen
locationManager.requestLocationUpdates(LocationManager.NETWORK_PROVIDER,
WLConstants.DELAY_HOUR, 500.0f,
…
Can somebody explain me lambda expressions & what they can be used for. I have googled for it & have a rough idea. most of the examples give c# code. How about lambda expressions in plain old C...?
Can I publish perfmon counters in windows azure? If so how?
I haven't been able to find anything on this topic.
I want to publish some statistics regarding performance of my application. What are my options?
Hi, I am really new to tilecache. I would like to know how good is the tilecache http server that comes with the tilecache installation. Is it practical to deploy it behind nginx in production environment? (i.e. nohup tilecache_http_server.py -p 8000 & and then…
I need urgent help, if any one can resolve my issue it will be very highly appriciated. I have create a SMS composer on jAVA netbians its on urdu language. the probelm is its not saving sent sms on Sent items.. i have tried my best to make the code but failed.…
I am trying to serealize DataTables in a background thread and it's failing. Any idea
[Test]
public void Async_Writing_DataTables()
{
string path = @"C:\Temp\SerialzeData";
if (!Directory.Exists(path))
{
…
Itellisense is suddenly missing from Visual Studio 2008 IDE on a project I am working. This was working fine. I rebooted the machine several times but still not working. It's working in other projects. What else could be causing this?
I have a calendar table with data from year 2000 to 2012 (2012 wasn't intentional!). I just realize that I don't have the week number of month (e.g In January 1,2,3,4 February 1,2,3,4)
How do I go about calculating the week numbers in a month to fill…
Hi All,
I am working on a rake utility and want to implement something mentioned below:
There are some shell commands in a sequence in my Rake file. What I want is that the sequence should wait for the previous command to finish processing before it…
How to load a binary file(.bin) of size 6 MB in a varbinary(MAX) column of SQL Server 2005 database using ADO in vc++ application.
This is the code I am using to load the file which I used to load a .bmp file
BOOL CSaveView::PutECGInDB(CString…
Ok, so I have a "navigation" div and "content" div.
When something on the navigation is clicked, I fade in the content div with the new data.
Now, I would like to have the old data returned when the user hits the "back" button on his/her…
I am working on a Yahoo! App which requires certain external Javascript Frameworks to be loaded and used. Also in the Yahoo! App Best Practices Guide, it is also mentioned that the sources should be externalized, however, externalization…
I have a custom application page integrated in Centeral Administration. My application pages are placed in a subfolder in Template\Admin folder. I placed my own web.config in my subfolder and added tagPrefixes in the control section.
…