Search Results

Search found 7 results on 1 pages for 'azam'.

Page 1/1 | 1 

  • how can I use internal resource (e.g. R.id.myImage01) as an email attachment?

    - by Azam
    how can I use internal resource (e.g. R.drawable.myImage01) as an email attachment? I tried the following code. It shows the file is attach but actually the email gets send without any attachment. Context context = getApplicationContext(); String imagePath = context.getFilesDir() + "/" + "myImage01.png"; emailIntent.putExtra(android.content.Intent.EXTRA_STREAM, Uri.parse(imagePath)); Thanks Azam

    Read the article

  • Why is Wifi data transfer is slow?

    - by Ali Azam Rana
    I have a wifi router which was attached with my modem, and the pc was connected to the wifi router through an ethernet cable. Yesterday I moved my modem and router to another room and connected my PC with wifi through an external wifi usb dongle (tp-link tl-w722n). I noticed that the file transfer speed from my cell to PC via wifi is greatly affected. I am not clear why is this happening because although PC is now connected through wifi but the dongle supports more than 54Mbps which is still enough.

    Read the article

  • Prime Numbers in C?

    - by Ali Azam Rana
    FIRST PROGRAM #include<stdio.h> void main() { int n,c; printf("enter a numb"); scanf("%i",n); for(c=2;c<=n;c++) { if(n%c==0) break; } if(c==n) printf("\nprime\n"); else printf("\nnot prime\n"); getchar(); } SECOND PROGRAM #include <stdio.h> int main() { printf("Enter a Number\n"); int in,loop,rem,chk; scanf("%d",&in); for (loop = 1; loop <=in; loop++) { rem = in % loop; if(rem == 0) chk = chk +1; } if (chk == 2) printf("\nPRIME NUM ENTERED\n"); else printf("\nNUM ENTERED NOT PRIME\n"); getchar(); } the 2nd program works other was the one my friend wrote the program looks fine but on checking it by stepping into we found that the if condition in first program is coming true under every input so whats the logical error here please help me found out......

    Read the article

  • Using 'DataKeyNames' on an ASP.NET GridView control, causes exception on DataBind() call

    - by azam
    Hi I have an ASP.NET 3.5 WebForms application. Using a GridView control and the DataKeyNames attribute <asp:GridView ID="data" runat="server" DataKeyNames="ID"> <Columns> <asp:BoundField DataField="ID" /> <!-- this binds --> If I take out the DataKeyNames="ID" it binds the data. I would really like to try and use DataKeyNames so I don't need to have the ID column in the columns list. Error: DataBinding: 'Nmspace.MyClass' does not contain a property with the name '"ID"'. Please help.

    Read the article

  • StreamInsight SQL Social Followup

    - by simonsabin
    Thank you for those that attended the SQL Social last night I hope you enjoyed it. When I get presentation details from the team I will pass them on, meanwhile have a look at their blog http://blogs.msdn.com/b/streaminsight/ which has details of most of the things that were discussed last night.   The speakers where Azam Husain Balan Sethu Raman Torsten Grabs Roman Schindlauer   Some interesting videos from these guys are here http://channel9.msdn.com/learn/courses/SQL2008R2TrainingKit...(read more)

    Read the article

1