15,911,030 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Member 10556609 (Top 31 by date)
Member 10556609
27-Jun-14 5:42am
View
Its ok thanks for the reply
Member 10556609
27-Jun-14 5:35am
View
will u please attach some example coding or link ?.. because am new to android
Member 10556609
27-Jun-14 5:32am
View
will u please attach some example coding or link ?.. because am new to android
Member 10556609
29-May-14 9:14am
View
Thanks for Your response and information sir....I mentioned about this Post i don't have any clue....But Now i got one project.. "http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app".. If i run this project.no google login page..and i dont know how to inegrate my apps with this ...Please Help me..Thanks in Advance..
Member 10556609
29-May-14 3:28am
View
Hai Sir sorry . actually my need is in above mention...
Member 10556609
23-May-14 1:36am
View
Hai,Thanks for ur Response..My qr image with logo coding is updated above..as u said.. But the image is not mapping in imageview..Please Verify my coding and tell me the solution..Thanks in advance.I hope u definetely cleared my issue
Member 10556609
22-May-14 8:38am
View
Will You please help me anyone..Thanks in advance
Member 10556609
22-May-14 8:14am
View
Thanks for ur response sir. But i need android coding... Ur sol is related to asp.net
Member 10556609
14-Apr-14 9:13am
View
i represent three textview seperately for listview..but i want in coding.how to give text size for 1st row of listview
Member 10556609
10-Apr-14 8:44am
View
When i click the get data button . listview loaded .when i click second time listview display below the first loaded datas...now i want the 1st loaded datas should be cleared. then display the data in main page when i click second time.. below is my code..where i want to insert clear listview coding?
public void onClick(View view) {
new JSONParse().execute();
}
});
}
private class JSONParse extends AsyncTask<string, string,="" jsonobject=""> {
private ProgressDialog pDialog;
@Override
protected void onPreExecute() {
super.onPreExecute();
Status = (TextView)findViewById(R.id.textView2);
Id= (TextView)findViewById(R.id.textView1);
DateTime = (TextView)findViewById(R.id.textView3);
JobNo =(EditText)findViewById(R.id.editText1);
pDialog = new ProgressDialog(MainActivity.this);
pDialog.setMessage("Getting Data ...");
pDialog.setIndeterminate(false);
pDialog.setCancelable(true);
pDialog.show();
}
@Override
protected JSONObject doInBackground(String... args) {
JSONParser jParser = new JSONParser();
ArrayList<basicnamevaluepair> params = new ArrayList<basicnamevaluepair>();
params.clear();
params.add(new BasicNameValuePair("JobNo",JobNo.getText().toString()));
// Getting JSON from URL
JSONObject json = jParser.getJSONFromUrl(url,params);
return json;
}
@Override
protected void onPostExecute(JSONObject json) {
pDialog.dismiss();
try {
if (JobNo.getText().toString().equals(""))
{
Toast.makeText(MainActivity.this, " Enter Your JobNo", Toast.LENGTH_SHORT).show();
}
else
{
// Getting JSON Array from URL
Cargo = json.getJSONArray(TAG_CargoTrack);
for(int i = 0; i < Cargo.length(); i++){
JSONObject c = Cargo.getJSONObject(i);
// Storing JSON item in a Variable
String Status = c.getString(TAG_Status);
String Id = c.getString(TAG_Id);
String DateTime = c.getString(TAG_DateTime);
// Adding value HashMap key => value
//list.clearFocus();
HashMap<string, string=""> map = new HashMap<string, string="">();
map.put(TAG_Status, Status);
map.put(TAG_Id, Id);
map.put(TAG_DateTime, DateTime);
CargoTracklist.add(map);
list=(ListView)findViewById(R.id.listView1);
SpecialAdapter adapter = new SpecialAdapter(MainActivity.this, CargoTracklist,
//ListAdapter adapter = new SimpleAdapter(MainActivity.this, CargoTracklist,
R.layout.listview,
new String[] { TAG_Status,TAG_Id, TAG_DateTime }, new int[] {
R.id.textView2,R.id.textView1, R.id.textView3});
Member 10556609
10-Apr-14 0:15am
View
you didn'
t understand my qs..
Member 10556609
10-Apr-14 0:14am
View
thank you sir....
Member 10556609
9-Apr-14 2:33am
View
Thank u Very Much For Ur Solition. but i created json webservice in Asp.net in that webservice i included 1 parameter and list of datas. and also i used that websrvice in android and get value in listview .but i want to get data from that webservice by using parameter..in android..
Member 10556609
1-Apr-14 9:33am
View
Especially i Want format to Select command query..
Member 10556609
1-Apr-14 9:31am
View
i Want to Create JSON Webservice In Asp.Net USing C# .The data will Get From SQl Server. I want webService Response LIke This.
{ "Cargo": [ { "status": "pickup", "datetime": "" }, { "status": "InTransit",
"datetime": "" }, { "status": "ReachedBLR", "datetime": "" }, { "status":
"StartedDEL", "datetime": "" }, { "status": "InTransit", "datetime": "" }, { "status": "ReachedDEL", "datetime": "" }] }..
Member 10556609
1-Apr-14 9:31am
View
i Want to Create JSON Webservice In Asp.Net USing C# .The data will Get From SQl Server. I want webService Response LIke This.
{ "Cargo": [ { "status": "pickup", "datetime": "" }, { "status": "InTransit",
"datetime": "" }, { "status": "ReachedBLR", "datetime": "" }, { "status":
"StartedDEL", "datetime": "" }, { "status": "InTransit", "datetime": "" }, { "status": "ReachedDEL", "datetime": "" }] }..
Member 10556609
1-Apr-14 9:22am
View
Sorry Sir Now I Changed..
Member 10556609
1-Apr-14 7:37am
View
SqlCmd (" Selecting Querry ").. Give me Selecting Querry for That Sample..
Member 10556609
1-Apr-14 7:23am
View
Selecting querry and return Json. Please Give full Sample coding..pLease..
Member 10556609
1-Apr-14 7:11am
View
Yes Absolutely.. This Is i want..
Member 10556609
1-Apr-14 7:06am
View
I Create Table In SqlServer..That Tables Data Will Get It From Webservice.LIKE this
{ "Cargo": [ { "status": "pickup", "datetime": "" }, { "status": "InTransit",
"datetime": "" }, { "status": "ReachedBLR", "datetime": "" }, { "status":
"StartedDEL", "datetime": "" }, { "status": "InTransit", "datetime": "" }, { "status": "ReachedDEL", "datetime": "" }] }.. how to get this
Member 10556609
1-Apr-14 6:59am
View
Sorry I Want to Get That Data From SqlServer
Member 10556609
1-Apr-14 6:59am
View
Sorry I Want to Get That Data From SqlServer
Member 10556609
1-Apr-14 6:59am
View
Sorry I Want to Get That Data From SqlServer
Member 10556609
28-Mar-14 5:32am
View
Thanks for reply ..if we return string means we want to use one value know? Am returned dataset value from asp.net this ia my webservice returned dataset..
- <dataset xmlns="http://tempuri.org/">
- <xs:schema id="NewDataSet" xmlns="" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
- <xs:element name="NewDataSet" msdata:isdataset="true" msdata:usecurrentlocale="true">
- <xs:complextype>
- <xs:choice minoccurs="0" maxoccurs="unbounded">
- <xs:element name="Table">
- <xs:complextype>
- <xs:sequence>
<xs:element name="Id" type="xs:string" minoccurs="0">
<xs:element name="Status" type="xs:string" minoccurs="0">
<xs:element name="DateTime" type="xs:dateTime" minoccurs="0">
- <diffgr:diffgram xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:diffgr="urn:schemas-microsoft-com:xml-diffgram-v1">
- <newdataset xmlns="">
- <Table diffgr:id="Table1" msdata:rowOrder="0">
<id>1
<status>Pickup
<datetime>2014-03-25T00:00:00+05:30
</Table>
- <Table diffgr:id="Table2" msdata:rowOrder="1">
<id>2
<status>InTransit
<datetime>2014-03-25T00:00:00+05:30
</Table>
- <Table diffgr:id="Table3" msdata:rowOrder="2">
<id>3
<status>ReachedBLR
<datetime>2014-03-25T00:00:00+05:30
</Table>
- <Table diffgr:id="Table4" msdata:rowOrder="3">
<id>4
<status>StartedDEL
<datetime>2014-03-25T00:00:00+05:30
</Table>
- <Table diffgr:id="Table5" msdata:rowOrder="4">
<id>5
<status>InTransit
<datetime>2014-03-25T00:00:00+05:30
</Table>
- <Table diffgr:id="Table6" msdata:rowOrder="5">
<id>6
<status>ReachedDEL
<datetime>2014-03-25T00:00:00+05:30
</Table>
please help me to bind that dataset in android gridview..
Member 10556609
20-Mar-14 3:26am
View
please help me for these two format sir..
Member 10556609
20-Mar-14 3:25am
View
Ya Am using this webservice sir, but i dont know how to bind the returned webservice data in to gridview..Am used sql server for webservice.. then am using alternate format that direct connection android with sql .. this is my code but no response..
public void ConnectToDatabase(){
try {
// SET CONNECTIONSTRING
Class.forName("net.sourceforge.jtds.jdbc.Driver").newInstance();
String username = "username";
String password = "password";
Connection DbConn = DriverManager.getConnection("jdbc:jtds:sqlserver://server name:1433/DBNAME;user=" + username + ";password=" + password);
Log.w("Connection","open");
Statement stmt = DbConn.createStatement();
ResultSet reset = stmt.executeQuery(" selecting querry");
GridView num = ( GridView) findViewById(R.id.gridView1);
num.setFilterText(reset.getString(1));
DbConn.close();
} catch (Exception e)
{
Log.w("Error connection","" + e.getMessage());
}
}
Member 10556609
17-Mar-14 1:48am
View
Hai Sir,Sorry to disturb you sir your coding is working .but Actually i created Webservice in Asp.Net And it gives datas from Database. but i want to use to call that websrvice in android using soap action to display data in gridview ..Am new to Android sir. please help me sir...
Member 10556609
14-Mar-14 10:09am
View
yes i got it friend thank you..
Member 10556609
14-Mar-14 10:08am
View
yes i got it Friend thank you....
Member 10556609
10-Mar-14 3:03am
View
thank you Friend i used click event to refresh the page but now i want to add display automatic update time for every 5 secds or 10 secds..in my application..
Show More