|
|
|
widget to calculate year, month and days from birthdate android source code.... show only age?
is there anyone who can do this for me..?
|
|
|
|
|
|
no problem, i think this is waste. if you provide code than answer me
|
|
|
|
|
It would help if you first read HOW TO ASK A QUESTION[^] and explained exactly what your problem is. But please do not expect someone to hand you a complete solution.
|
|
|
|
|
ok, no problem but hand me a solution if possible...
|
|
|
|
|
Certainly, just send me $100,000.
|
|
|
|
|
|
|
Did you even bother reading here and here?
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
I try to create a simple android mobile app. Using Eclips, I just use WebView control and target that control to a mobile web form/web page (by using loadUrl) which is asp.net page.
On asp page I try to create a pdf and try to open/download. I successfully create the pdf file. But fail to open that file in separate window (adobe reader) and also I am unable to download that file in device.
Please give some solution to open pdf in separate window (outside mobile app) or download the pdf file from server to local device.
Thanks in advance.
What I have tried:
WebView wv1=(WebView)findViewById(R.id.webView1);
wv1.setWebViewClient(new MyBrowser());
String url = "http://example.com/testprint.aspx";
wv1.loadUrl(url);
<html xmlns="w3.org/1999/xhtml"; > <body>
<mobile:Form id="Form1" runat="server">
<mobile:Command ID="Command1" Runat="server" OnClick="Command1_Click">Command</mobile:Command>
</mobile:Form> </body> </html>
string FilePath = Request.PhysicalApplicationPath + "\\MyPDF\\test.pdf";
Response.ContentType = "application/pdf";
Response.AppendHeader("Content-Disposition", "attachment; filename=test.pdf");
Response.TransmitFile(FilePath);
Response.End();
string FilePath = Request.PhysicalApplicationPath + "\\MyPDF\\test.pdf";
Response.ContentType = "application/octet-stream";
Response.AppendHeader("Content-Disposition", "attachment; filename=" + Path.GetFileName(_Path));
const int _bufferLength = 10000;
byte[] _buffer = new Byte[_bufferLength];
int _length = 0;
Stream _download = null;
try
{
_download = new FileStream(_Path, FileMode.Open, FileAccess.Read);
do
{
if (Response.IsClientConnected)
{
_length = _download.Read(_buffer, 0, _bufferLength);
Response.OutputStream.Write(_buffer, 0, _length);
_buffer = new Byte[_bufferLength];
}
else
{
_length = -1;
}
}
while (_length > 0);
Response.Flush();
Response.End();
}
finally
{
if (_download != null) _download.Close();
}
|
|
|
|
|
That looks more like an issue with ASP.NET.
|
|
|
|
|
Yes, the same issue I post there, but not getting any response. However, when I run that page directly on browser, it working fine. But when same page using on webview it do nothing. Is any permission require?
|
|
|
|
|
_Subrata_ wrote: Is any permission require? What does the Android documentation say?
|
|
|
|
|
|
Yes, I have faced the same problem that you are facing and I also want to know its solution.
|
|
|
|
|
i want to build an android app that can take a picture of a voucher or
credit numbers and recharge my phone automatic can you help plz
modified 24-Nov-17 12:14pm.
|
|
|
|
|
Read #2 here.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|
|
Will Eclipse fit on a thumb drive so that I can work on the same project at my desk and then later on my NetBook away from the internet ?
I didn't see anything about that.
But then, with today's typical websites, I tend to miss about ninety nine percent of the content anyway.
|
|
|
|
|
Depends how big the thumb drive is.
|
|
|
|
|
8 Gb
If it won't fit on 8, how large a thumb drive do I need ?
|
|
|
|
|
You may think this a stupid answer, but obviously one that is big enough to contain whatever it is you want to put on it. You can look at the distribution size on the eclipse website, or wherever it is installed on your PC.
|
|
|
|
|
I am trying to avoid an installation on my Desktop machine, and just put it on the thumbdrive.
I was formerly in love with the PortableApps website.
They changed; a lot; a whole lot.
My romance with them disappeared as of the last time I saw their site.
|
|
|
|
|
C-P-User-3 wrote: ...and just put it on the thumbdrive. So why not just try it and see? That's the only way to know for sure.
"One man's wage rise is another man's price increase." - Harold Wilson
"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons
"You can easily judge the character of a man by how he treats those who can do nothing for him." - James D. Miles
|
|
|
|