[android-developers] RKCS Hot List

2018-03-13 Thread Arun Kumar
*Hi Business Partners,*

* Hope you are doing good. Please send me the requirements for below 
available HOT-LIST at  a...@rkcs.com*


*NAME* 
> *SKILL  * *  LOCATION* * RELOCATION* * EXPERIENCE* 
> * AVAILABILITY*
>
> * Jagadeesh * *  QA Mobile Tester* 
> * Plano , TX* *  Open* *6+ Years* 
> *  Immediate*
>
> * Sai Teja * 
> *  Oracle/SQL DBA* 
> * Manassas,VA* * Open* *6+ Years* *  Immediate*
> * Vijay* *  RPA  Developer* * Austin , TX*
> * Open* *6+ Years* *  Immediate*
> * Rajeev*
>
> *  Data Analyst* 
> * Irving , TX* * Open* *6+ Years* *  Immediate*
> * Srivastava* *  Oracle Developer* 
> * Orlando , FL* *     Open* *6 Years* *  Immediate*
>




*ARUN  KUMAR | RK CONSULTANCY SERVICES, INC.*

3800 American Blvd W | Suite 1500 | Minneapolis, MN 55431

Direct: (952) 955-6360 | Fax: 952.400.3337 | arun.r...@gmail.com | 
*a...@rkcs.com 
<ro...@rkcs.com>*

*Serving Twin Cities and surrounding area clients since 1998…*




-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/e585072d-bc52-4581-a175-f0dc97ecf006%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Openings for Sr. Recruiters for Offshore team at Hyderabad

2016-12-05 Thread ARUN Kumar


*Company: SIARP Technologies LLC*

*No. of positions: 2-4*

*Required Experience: 2-5 years*

*Mode of Interview: Phone and Then Skype Interview*

*Location: Kukatpally, Hyderabad*

*Date of Joining: ASAP*

*Salary: DOE + Excellent incentive structure*

 

*Interested candidates can email their resumes with the required details 
mentioned below to a...@siarptech.com *

 

*Full Name:*

*Email:*

*Phone:*

*Address:*

*Current CTC:*

*Expected CTC:*

 

*Required Skills/Experience:*

· Fair understanding of US Staffing industry and latest trends and 
technologies.

· Must have good knowledge on US Tax Terms: C2C, 1099, W2.

· Experience in placing candidates on different skill sets.

· Sourcing through database, networking and Internet job portals.

· Should be able to work on multiple candidates at any given date 
and be able to prioritize work.

· Good interpersonal skills and proven ability to negotiate and 
communicate effectively within the team and with senior management.

· Dynamic, responsive communicator with excellent written, verbal & 
presentation skills.

· Self- motivated team player and results-oriented Individual.

· Self-disciplined with a positive attitude.

· Aggressive, go-getter with excellent rapport building skills.

· Willing to work in night shifts

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/3315fb05-3ff5-4e87-82d1-827db3f8a9b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Openings for Sr. Recruiters for Offshore team at Hyderabad

2016-12-02 Thread ARUN Kumar


*Company: SIARP Technologies LLC*

*No. of positions: 2-4*

*Required Experience: 2-5 years*

*Mode of Interview: Phone and Then Skype Interview*

*Location: Kukatpally, Hyderabad*

*Date of Joining: ASAP*

*Salary: DOE + Excellent incentive structure*

 

*Interested candidates can email their resumes with the required details 
mentioned below to a...@siarptech.com *

 

*Full Name:*

*Email:*

*Phone:*

*Address:*

*Current CTC:*

*Expected CTC:*

 

*Required Skills/Experience:*

· Fair understanding of US Staffing industry and latest trends and 
technologies.

· Must have good knowledge on US Tax Terms: C2C, 1099, W2.

· Experience in placing candidates on different skill sets.

· Sourcing through database, networking and Internet job portals.

· Should be able to work on multiple candidates at any given date 
and be able to prioritize work.

· Good interpersonal skills and proven ability to negotiate and 
communicate effectively within the team and with senior management.

· Dynamic, responsive communicator with excellent written, verbal & 
presentation skills.

· Self- motivated team player and results-oriented Individual.

· Self-disciplined with a positive attitude.

· Aggressive, go-getter with excellent rapport building skills.

· Willing to work in night shifts

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/9490efa9-c751-4419-9547-c5615a99a7fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: call an activity of another package

2016-05-23 Thread Arun Kumar
friends please kindly help me.. i have a package name as well as class name 
but i cant open that package with particular activity...
How do i done ?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/5da8fd51-6e2d-4dcd-98b0-b53b2ab9907e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Setup all the android development environment (Android SDK, Eclipse, emulators, etc) on the google cloud platform

2016-05-16 Thread Arun Kumar


Hi Team,


Could you please let me know if I can setup the android development 
environment on the google cloud platform. I'd like to setup the android 
SDK, eclipse and android eclipse plugin and other tools on google cloud and 
acess them through a web interface. Is this possible?

Thanks, 

Arun

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/2f0e98e7-d2b2-4071-872f-963f9092385e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Available space is more than total space on the memory card

2016-03-30 Thread Arun Kumar


I recently purchased a 16 GB memory card. But my android shows available 
space is more than Total Space and when I try to install a new app it says 
insufficient memory.


[image: Screenshot] 


Total space: 8GB.
Available space: 13.88


Android version is lolilop 5.1

Device: Swipe Elite 2

What's wrong here?

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/8484b8b4-4b47-43fd-b504-296b1e645f35%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Why an application works during debugging but doesn't work on run?

2015-12-14 Thread arun kumar

 This app  connects Bluetooth printer from 2 activities . First activity 
works correctly. BT printer reference send to second activity by below 
mentioned code.

(intent.putExtra("device",mmDevice);)

Received by second activity as 

device = getIntent().getExtras().getParcelable("device");

This one works perfectly in Debug mode but not in Normal run mode. 

Error at : mmSocket.connect() Activity 2;
 java.io.IOException: [JSR82] connect: Connection is not created (failed or 
aborted).

public class MainActivity extends Activity {
Button button1,button2;
OutputStream mOutputStream;
BluetoothAdapter mBluetoothAdapter;
BluetoothSocket mmSocket;
BluetoothDevice mmDevice;

OutputStream mmOutputStream;
InputStream mmInputStream;

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
button1 = (Button)findViewById(R.id.button1);
button2 = (Button)findViewById(R.id.button2);
mOutputStream = findBT();
button1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
try {
sendData("Activity 1",mOutputStream);
}
catch(Exception ex){
ex.printStackTrace();
}

}
});
button2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
try {

Intent intent = new 
Intent(getApplicationContext(),MainActivity22Activity.class);
intent.putExtra("device",mmDevice);
startActivity(intent);
}
catch(Exception ex){
ex.printStackTrace();
}

}
});

}


protected void onPause() {
super.onPause();
try {
mmOutputStream.close();
mmSocket.close();
}
catch(Exception ex){
ex.printStackTrace();
}
}

void sendData(String msg,OutputStream outputStream) throws IOException {
try {

msg += "\n";
outputStream.write(msg.getBytes());

} catch (NullPointerException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}
}

public OutputStream findBT() {
try {
mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter();

if (mBluetoothAdapter == null) {
Log.e("service", "No bluetooth adapter available");
}

if (!mBluetoothAdapter.isEnabled()) {
Intent enableBluetooth = new Intent( 
BluetoothAdapter.ACTION_REQUEST_ENABLE);
}

Set pairedDevices = mBluetoothAdapter
.getBondedDevices();
if (pairedDevices.size() > 0) {
for (BluetoothDevice device : pairedDevices) {

// BMV2 is the name of the bluetooth printer device
if (device.getName().equals("BMV2")) {
mmDevice = device;
break;
}
}
}
Log.e("service ",mmDevice.toString());
openBT();

} catch (NullPointerException e) {
e.printStackTrace();
} catch (Exception e) {
e.printStackTrace();
}
return mmOutputStream;
}

// Tries to open a connection to the bluetooth printer device
void openBT() throws IOException {
Log.e("service","Open BT");
try {
// Standard SerialPortService ID
UUID uuid = 
UUID.fromString("1101--1000-8000-00805F9B34FB");
mmSocket = mmDevice.createRfcommSocketToServiceRecord(uuid);
mmSocket.connect();
mmOutputStream = mmSocket.getOutputStream();
mmInputStream = mmSocket.getInputStream();

Log.e("BT","Bluetooth Opened");
} catch (NullPointerException e) {
Log.e("Null pont err","error");
e.printStackTrace();
} catch (Exception e) {
Log.e("service","socket error");

e.printStackTrace();
}
}
}

public class MainActivity22Activity extends Activity {

Button button ;
OutputStream mOutputStream;
BluetoothAdapter mBluetoothAdapter;
BluetoothSocket mmSocket;
BluetoothDevice mmDevice;

OutputStream mmOutputStream;
InputStream mmInputStream;

BluetoothDevice device;
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main_activity22);

button = (Button)findViewById(R.id.button);
device = getIntent().getExtras().getParcelable("device");

try {

[android-developers] App Crash

2014-11-24 Thread Arun Kumar K
HI guys,


I am using intent service to upload some data to server. Some times its
fully uploaded and some times the app will be crashed. I am getting below
log

11-24 14:59:12.198: E/(9367): Device driver API match
11-24 14:59:12.198: E/(9367): Device driver API version: 23
11-24 14:59:12.198: E/(9367): User space API version: 23
11-24 14:59:12.198: E/(9367): mali: REVISION=Linux-r3p2-01rel3
BUILD_DATE=Wed Oct  9 21:05:57 KST 2013
11-24 15:03:39.659: A/libc(9367): Fatal signal 6 (SIGABRT) at 0x08b8
(code=0), thread 9367

Please help me

-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Get Real display height and width in android

2014-09-24 Thread Arun Kumar K
Hello Guys,

I want to get real device display height and width. Can anyone help me..

And one more thing,

How to set Margintop for Notification bar ...?

-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] android spreadsheet api and example.

2014-06-02 Thread Arun Kumar
Hi All,

I want to use google spreadsheet as a database for an android app. Is there
an android library for this? This Google Spreadsheets API version 3.0
https://developers.google.com/google-apps/spreadsheets/ has library for
.NET and java only. How to use it in an android app.

-- 
Regards,

Arun Kumar
http://clicknscroll.blogspot.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] API to access spreadhseet rows and columns

2014-05-12 Thread Arun Kumar
Hi All,

Are there any android libraries to access the Google drive spreadsheet's
rows and columns.

-- 
Regards,
Arun Kumar
http://clicknscroll.blogspot.com

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] How to find outgoing call is answered

2014-03-23 Thread Arun Kumar K
Hi,


I am developing a small application. *i don't know how to find My outgoing
call is answered or not. *If any one knows please tell me..


-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Outgoing Call

2014-01-23 Thread Arun Kumar K
Hi,

I am arun , working as a android developer. now i am stuck with one
problem.please help me. My problem is I want to identified my outgoing
call is answered or not
 how can i achieve this.
-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] How to parse this json

2013-12-09 Thread Arun Kumar K
[
[
strServiceToken,
intVoteNowMemberID,
intAbort,
strInstallURL,
strImageURL
],
[
46D2BAB0-5AA0-481D-9D0A-B37C38CC962E,
2,
0,
,
http://xxx.xxx.com/VNImages/;
]
]

-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Jelly Bean Gallery Issue

2013-12-07 Thread Arun Kumar K
Hi guys,

I am using a Jelly Bean Gallery 2D code . That Code is in the below link
https://android.googlesource.com/platform/packages/apps/Gallery2/+/jb-release
and
some of said this code was deprecated that link is
http://www.aopensource.com/index.php?category=9 please help me...

And my aim is i want a Jelly bean Gallery Code. And one more thing i am
having google Nexus 10 in that gallery-setting-open source lib they given
some files name . In that file are not available in android git. I need
those files .. Where i can get that code ? Please Help me

-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] DropBox

2013-11-26 Thread Arun Kumar K
Hi Guys,

I am integrate my android app with drop-box...What i need is i am get the
share file/folder link now i want to know how to share that link with my
friends?


-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


[android-developers] Tab Host with fragment

2013-08-12 Thread Arun Kumar K
Hi guys,

How to start fragment from tab activity...
-- 
*Regards*
*Arun*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Viewport in meta Tag

2013-07-03 Thread Arun Kumar K
view port is not support for android web view.can any one help me

-- 
*Regards*
*Arun*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Frame Works

2013-05-06 Thread Arun Kumar K
Hi guys,

Which frame work is best for android web appslike jquery,phonegap
etc.

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Avoid black Screen

2013-04-09 Thread Arun Kumar K
Hi,

i want to avoid black screen between two activity...how can i avoid please
reply me soon... i am using asynchronous task

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Webview

2013-04-03 Thread Arun Kumar K
Hi,
How to display the JSP page in webview
i m having the jsp page in my local host how can i display

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Activity

2013-03-29 Thread Arun Kumar K
Hi guys,

I have one doubt in activity.i want  a call back when activity is destroyed
from the stack.My constrain is

1.Without using any inbuilt function like( onDestroy,finish and all)

My another doubt is For example:

ActivityA,ActivityB if i go to activityB from activityA then i go to
activityA from activityB how can i find to reached the activityA.My
constrain is

1.Without using any inbuilt function like( onStart)

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Activity

2013-03-26 Thread Arun Kumar K
Hi Friends,

I have a doubt in activity destroy.
1. When the activity is destroy without calling the in-built method like
(on-destroy,finish, is Finishing) and without press back button?
2.How can i get the call back in default Stack process like activity is
adding the stack and deleting the stack?

Pls help me

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Bar code Generator

2013-03-14 Thread Arun Kumar K
Hi

I want to generate a bar code for euro symbol and rupee symbol.Now i m
using zxing library.How can i solve this problem

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Edit Text

2013-03-01 Thread Arun Kumar K
Hi Guys,

I have one problem in edit textif i enter the number in edit text i
want to display like this 1234-5678-9102-3214

Constrain is
Input Type=number
maximumlength=19


how can i do this one pls help me

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] DatePicker

2013-02-27 Thread Arun Kumar K
Hi Guys,

I want to show only year and month in datepicker how can i do that one

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Button

2013-02-26 Thread Arun Kumar K
Hi guys,

I want to add a button in App Uninstall page..how can i add the button
can any one help me..



-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] date pickers

2013-02-21 Thread Arun Kumar K
Hi guys,

i want to disable the past dates in date picker can any one help me pls

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Spinner

2013-02-19 Thread Arun Kumar K
Hi guys,

If i pressed the spinner i ll get the popup menu.if my list contain
only one item means then the spinner does not show the popupmenuhow can
i do tat one

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] View pager

2013-02-18 Thread Arun Kumar K
Hi guys,


I m not able to reduce the height of the view pagerhow can i do it...
But my constrain is

---   don't mention the  hard code height

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] View

2013-02-13 Thread Arun Kumar K
Hi guys,

I have doubt about layout..
RelativeLayout
  xmlns:android=http://schemas.android.com/apk/res/android;
  android:id=@+id/layercontainer
  android:orientation=horizontal
  android:layout_width=fill_parent
  android:layout_height=wrap_content
  android:background=#ff
  TextView
android:id=@+id/existingbillers_header
android:layout_width=match_parent
android:layout_height=wrap_content
android:background=@drawable/background_with_out_logo
android:gravity=center
android:text=Select Existing Billers
android:textAppearance=?android:attr/textAppearanceLarge
android:textColor=#ff
android:textSize=20sp
android:textStyle=bold /

  RelativeLayout
  android:id=@+id/*existing_list*
  android:layout_width=wrap_content
  android:layout_height=wrap_content
  android:layout_below=@+id/existingbillers_header

   ListView
   android:id=@android:id/list
   android:layout_width=fill_parent
   android:layout_height=wrap_content
   android:layout_below=@+id/text1 /

   TextView
android:id=@+id/text1
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_alignParentLeft=true
android:padding=10dp
android:textSize=16sp
android:textColor=#00
android:typeface=sans/
   ImageView
android:id=@+id/image1
android:layout_width=wrap_content
android:layout_height=wrap_content
android:layout_alignParentRight=true/
   /RelativeLayout
/RelativeLayout

i want to get the *existing_list idhow can i get it pls help me*
-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Parser

2013-02-12 Thread Arun Kumar K
Hi,
I want to know which parser is best for android application..
What is the different between json and jackson parser.
which parser is best json or JACKSON

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




[android-developers] Gallery

2013-02-12 Thread Arun Kumar K
Hi Guys,

I want to get the height of the gallery at run time
and i want to change the height of the gallery at run time..
How can i do this..
Can any explain me

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Sim cannot be detected

2013-02-10 Thread Arun Kumar K
if i put other sim.It is not detected i ll check my mobile



On Mon, Feb 11, 2013 at 12:44 PM, Asheesh Arya asheesharya...@gmail.comwrote:

 call 100 in emergency

  --
 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 You received this message because you are subscribed to the Google Groups
 Android Developers group.
 To unsubscribe from this group and stop receiving emails from it, send an
 email to android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/groups/opt_out.






-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
Android Developers group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [android-developers] Re: Get the calling thread's id

2012-11-19 Thread Arun Kumar K
hi all,
i have doubt.i want to minimize and maximize the layout it is possible in
android mobile phones.And how to re-size the layout during the run time.i
m beginner for the android


On Mon, Nov 19, 2012 at 4:08 PM, Johan Appelgren
johan.appelg...@gmail.comwrote:

 You can get the thread id using Thread.getId()
 http://developer.android.com/reference/java/lang/Thread.html#getId()

 On Monday, November 19, 2012 10:14:27 AM UTC+1, AndroidCompile wrote:

 Hi,
 Is it possible to retrieve the id of a thread that called a certain
 function? (assuming this function can be called from several threads)
 I know that it is possible to ask a Binder object which Process had
 called it, but is it also possible with threads from the same process?

 Thanks

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] App Update - Why data files got deleted?

2012-11-19 Thread Arun Kumar K
hi all,
i m beginner for the android.How can i import the android icon template
pack into my application.
Any one can help me.


On Tue, Nov 20, 2012 at 12:16 PM, TreKing treking...@gmail.com wrote:

 On Tue, Nov 20, 2012 at 12:32 AM, Nikolay Elenkov 
 nikolay.elen...@gmail.com wrote:

 There is a bug in some early Froyo releases that deletes data on update.


 Ah, that's probably it. I didn't realize the OP was referring to the SD
 card folder, but makes sense if he's downloading image files.


 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Icon

2012-11-19 Thread Arun Kumar K
hi all,
i m beginner for the android.How can i import the android icon template
pack into my application.
Any one can help me.

-- 
*Thanks  Regards*
*K.Arun Kumar*

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: custom listview delete the corresponding row

2012-09-12 Thread arun kumar
costobject value :000120 is changed to 000180



On Wed, Sep 12, 2012 at 5:23 PM, arun kumar arun.kata...@gmail.com wrote:

 Hello , am having acustom list view in that products are there .when i
 click on that products it will be saved in the *Arraylist that arraylist *
 are giving to the another custom list view .(for this listview remove
 button will be there for corresponding row.)

 if i click on that remove then that corresponding value will be
 deleted.Here am getting problem.when i click on remove image that
 particular product items are deleting it going well up* 3 items *(suppose
 this screen *contains for 3 product.*...but if the screen contains *5 or 6
 * products then if i removing the bottom product of the screen then the
 values are *costobject* values are changing)
 am attaching the scrren shots of it 






 public class MyApplication extends Application {
 ArrayListString product = new ArrayListString();
  ArrayListString account = new ArrayListString();
 ArrayListString cost = new ArrayListString();
   ArrayListString input = new ArrayListString();
  String productdata,accountdata,costdata=null;
 }
   when i click the button the items are adding into the arraylist


 app.product.add(app.productdata);
 app.cost.add(app.costdata);

 app.account.add(app.accountdata);





  then the added arraylist values are setting to the custom listview
  here the custom listview contains textview and remove button
 corresponding.when remove image




   adapter =new MyAdapter(this, app.product,app.account,app.cost);
  listView.setAdapter(adapter);
  }

 public class MyAdapter extends BaseAdapter {

  Context context = null;
 ArrayListString items= null;
 ArrayListString items1= null;
  ArrayListString items2= null;
 ArrayListString items3= null;

 public MyAdapter(CheckOut checkOut, ArrayListString items,
  ArrayListString items1,ArrayListString items2,ArrayListString
 items3 ) {
 // TODO Auto-generated constructor stub
  this.items = items;
 this.items1 = items1;
  this.items2 = items2;this.items3 = items3;
   }

 public MyAdapter(OnClickListener onClickListener, ArrayListString items7,
  ArrayListString items12, ArrayListString items22,
 ArrayListString items32) {
  // TODO Auto-generated constructor stub
 }

 @Override
  public int getCount() {
 // TODO Auto-generated method stub
 return items.size();
  }

 @Override
 public Object getItem(int position) {
  // TODO Auto-generated method stub
 return items;
  //return items.get(position);
 }

 @Override
  public long getItemId(int position) {
 // TODO Auto-generated method stub
  return 0;
 }

 class ViewHolder
  {
 private View layout = null;
  private TextView produ = null;
  private TextView accon = null;
 private TextView costob = null;
  private TextView total,quantit = null;
  ImageView remove,edit=null;
 }
   ViewHolder holder;
 @Override
  public View getView(final int position, View convertView, ViewGroup
 parent) {
 // TODO Auto-generated method stub


   if (convertView == null) {
 holder=new ViewHolder();

 lay = LayoutInflater.from(getApplicationContext());
  convertView = lay.inflate(R.layout.customlist, null);
  holder.accon = (TextView) convertView.findViewById(R.id.check14);
  holder.costob = (TextView) convertView.findViewById(R.id.check15);
  holder.produ = (TextView) convertView.findViewById(R.id.check11);
  holder.remove = (ImageView) convertView.findViewById(R.id.check19);
   convertView.setTag(holder);
 } else {
  holder =(ViewHolder) convertView.getTag();
 }

holder.produ.setText( +app.product.get(position));
   holder.costob.setText(Account : +
 app.account.get(position));
   holder.costob.setText(Cost Object : + app.cost.get(position));

holder.remove.setOnClickListener(new OnClickListener() {
  @Override
 public void onClick(View v) {
 // TODO Auto-generated method stub
  try {

 // remove the values
 app.product.remove(app.product.get(position));
  app.account.remove(app.account.get(position));
 app.cost.remove(app.cost.get(position));
 adapter.notifyDataSetChanged();
 //
  } catch (IndexOutOfBoundsException e) {
  // TODO Auto-generated catch block
 e.printStackTrace();
 }
  catch (ConcurrentModificationException e) {
 // TODO: handle exception
  }
 }
 });

   return convertView;
 }






















-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] App targeted for non armv7 devices

2012-08-16 Thread arun kumar
Hai all,
We are working in an android project in which we are using a third party
scanning library. We got the information from that third party that they
compiled their scanning library for ARM v7. We have uploaded the app to the
market and working fine for the devices with ARMv7.
Our app has to support from android 2.2 to latest version. There are some
devices without armv7.
To support the non-armv7 devices, we removed the third party scan library
and also removed all the related things from manifest file. According to
goolge play mulitple apk support,(
http://developer.android.com/guide/google/play/publishing/multiple-apks.html)
we build different apks and uploaded with different configuration
parameters for minSdkVersion uses-feature.
We expect those devices without ARM v7 would get this package. But the
Google market says both the packages are targeted for the same users. And
also it warned that one of the package will be ignored and won’t be served
to the users.
But those users without ARM v7 are getting the message that ‘Your device
isn’t compatible with this version’ and also for those users, the app is
not even displaying when searching for our app.
We have searched a lot in the blogs and many sites, but we are not getting
any details on how to get the multiple packages work for.
Kindly assist us how to create an app which is targeted for non-ARM v7
devices.
We are using Eclipse for our development and for creating the builds and we
are developing with Java base.
Thanks a lot in advance :)

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Fetching Image from contact

2012-08-08 Thread arun kumar
Hai krrish, Refer this website you got some idea
http://thinkandroid.wordpress.com/2010/01/19/retrieving-contact-information-name-number-and-profile-picture/

On Thu, Aug 9, 2012 at 10:58 AM, RENJITH KRISHNAN R renjithkr1...@gmail.com
 wrote:

 then give me one example










 On Thu, Aug 9, 2012 at 10:49 AM, TreKing treking...@gmail.com wrote:

 On Wed, Aug 8, 2012 at 11:35 PM, RENJITH KRISHNAN R 
 renjithkr1...@gmail.com wrote:

 i searched it on google but didn't get the answer.please help
 me...


 What did you search for? I just tried and found a ton of examples.



 -
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to compile Android APP for ARM v6?

2012-08-03 Thread arun kumar
How to compile Android APP for ARM v6?

We are developing an android application which has to be targeted only to
ARM v6 devices.

We use android SDK for Eclipse as our development environment.

When we explore the possibilities, we see, there are options to be set
during compilation when NDK is used.
 But we need to compile our Android App with SDK only.

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to compile Android APP for ARM v6?

2012-08-03 Thread arun kumar
for to achieve scan functionality purpose.

On Fri, Aug 3, 2012 at 1:13 PM, RichardC richard.crit...@googlemail.comwrote:

 What in your application, compiled with only the SDK, makes you dependent
 on ARM v6?


 On Friday, August 3, 2012 8:24:16 AM UTC+1, arunkumar wrote:

 How to compile Android APP for ARM v6?

 We are developing an android application which has to be targeted only to
 ARM v6 devices.

 We use android SDK for Eclipse as our development environment.

 When we explore the possibilities, we see, there are options to be set
 during compilation when NDK is used.
  But we need to compile our Android App with SDK only.

 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9994794759

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to compile Android APP for ARM v6?

2012-08-03 Thread arun kumar
yeah already find out NDK possibilities. i need in android sdk provision

On Fri, Aug 3, 2012 at 5:49 PM, goodG arji...@gmail.com wrote:

 open the file *CPU-ARCH-ABIS.html* in the folder *NDK_root_folder/docs*and 
 read about the target
 *armeabi*

 Il giorno venerdì 3 agosto 2012 09:24:16 UTC+2, arunkumar ha scritto:

 How to compile Android APP for ARM v6?

 We are developing an android application which has to be targeted only to
 ARM v6 devices.

 We use android SDK for Eclipse as our development environment.

 When we explore the possibilities, we see, there are options to be set
 during compilation when NDK is used.
  But we need to compile our Android App with SDK only.

 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9994794759

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] SAP web service consuming by android

2012-07-17 Thread arun kumar
   try {
HttpClient httpclient = new DefaultHttpClient();
 UsernamePasswordCredentials creds = new
UsernamePasswordCredentials(username, password);
   ((AbstractHttpClient)
httpclient).getCredentialsProvider().setCredentials(new
AuthScope(AuthScope.ANY_HOST, AuthScope.ANY_PORT),creds);


   //give the Below request details u will get from soap Ui


   String data =  soapenv:Envelope 
   +  xmlns:soapenv=\http://schemas.xmlsoap.org/soap/envelope/\;
   + 
xmlns:urn=\urn:sap-com:document:sap:soap:functions:mc-style\+
   (soapenv:Body
   +   urn:Zemptrack
 + Mno/Mno//Give parameter values here which u want to send u
want to send


   +  Userid/Userid
   + Year/Year
   + /urn:Zemptrack /soapenv:Body /soapenv:Envelope);
Log.e(Referral_Request, xmlRequest +data);

   HttpPost post = new HttpPost(give the url address if u open the
WSDL link bottom u will find the Another link address use that one);
   StringEntity se = new StringEntity(data,HTTP.UTF_8);
   post.setHeader(Content-Type, text/xml;charset=UTF-8);

   post.addHeader(SOAPAction: ,);


   post.setEntity(se);
BasicHttpResponse httpResponse =
(BasicHttpResponse)httpclient.execute(post);
   httpResponse.getEntity();
  String Status = httpResponse.getStatusLine().toString();
  InputStream is = httpResponse.getEntity().getContent();
  String line = ;
  StringBuilder sb = new StringBuilder();
  BufferedReader rd = new BufferedReader(new InputStreamReader(is));
  while ((line = rd.readLine()) != null) {
sb.append(line);
  }
Log.i(Response:,Referral_Request Response data
is:+sb.toString());
} catch (Exception e) {
  Log.e(getClass().getSimpleName(), e.toString());
}
   finally {
   if (is != null) {
// is.close();
   }
  }


On Fri, Jul 13, 2012 at 5:56 PM, MERT TUNÇBİLEK merttuncbi...@gmail.comwrote:

 Hi everyone,

 I try to consume SAP web service by android with ksoap2 but ı did not
 achieve it, since this error,

 WARN/System.err(1229): org.xmlpull.v1.XmlPullParserException: expected:
 START_TAG 
 {http://schemas.xmlsoap.org/soap/envelope/}Envelope(position:START_TAG {
 http://schemas.xmlsoap.org/wsdl/}wsdl:definitionstargetNamespace='urn:sap-com:document:sap:soap:functions:mc-style'@1:686
 in java.io.InputStreamReader@4052bc78)

 I investigated and almost 95% of people, that try to access SAP web
 service, have this error but there is not a succesfull answer.
 please help me.
 are there any other way to access SAP web service by android without
 KSOAP2.

 Thanks.

 Mert

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Show Spinner Initial Text

2012-07-17 Thread arun kumar
Hai abhijeet tomar,
just refer this site you got some idea
http://www.androidpeople.com/android-spinner-default-value

On Tue, Jul 17, 2012 at 6:49 PM, Justin Anderson magouyaw...@gmail.comwrote:

 http://lmgtfy.com/?q=android+spinner+initial+text

 Thanks,
 Justin Anderson
 MagouyaWare Developer
 http://sites.google.com/site/magouyaware



 On Tue, Jul 17, 2012 at 6:41 AM, abhijeet tomar abhijeet...@gmail.comwrote:

 Narendra Sir,

 i have applied that...but it shows when i clicked in spinner...i want
 when the first spinner appeared then
 it will show some text.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Date Picker

2012-07-10 Thread arun kumar
Hai Nagu,
Refer this code snippet
dialog.setButton(DialogInterface.BUTTON_NEGATIVE,
getString(R.string.cancel), new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int which) {
   if (which == DialogInterface.BUTTON_NEGATIVE) {

  dialog.dismiss();
  onBackPressed();
   }
}
  });

On Tue, Jul 10, 2012 at 1:22 PM, nageswara rao rajana nagu.raj...@gmail.com
 wrote:

 Hi,

 How to implement Cancel button in DatePickerDialog ?

 thanking you,
 nagu.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Gif image not display properly in android

2012-07-09 Thread arun kumar
Hello all,
I have loading gif image.  i am extract frames and the use frame by frame
by animation. But sometimes the gif image is struck and is not animating.
anybody please help regarding this issue.

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Android ViewPager invalidate() not working

2012-07-06 Thread arun kumar
Hai all,
I've just started with android development and invalidate the ViewPager is
really bugging me :/

Can someone tell me how can i invalidate the ViewPager while changing the
orientation.

This is what I've tried so far -

@Override
public void onConfigurationChanged(Configuration newConfig) {
super.onConfigurationChanged(newConfig);

 myPager = (ViewPager) findViewById(R.id.my_pager);
 myPager.setAdapter(adapter);
 myPager.setCurrentScreen(currentPosition, false);
 invalidate();
}
The above code is working fine when attached debugging. But it is not
working on runtime (without debug mode). I have also tried with sleep but
no changes on view.

Can someone explain in detail what is happening here?

Thanks in advance :)
-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] call method after every 5 min

2012-07-05 Thread arun kumar
import java.util.Date;

import java.util.Timer;

import java.util.TimerTask;

public class ClassExecutingTask {

long delay = 10*1000; // delay in ms : 10 * 1000 ms = 10 sec.
LoopTask task = new LoopTask();
Timer timer = new Timer(TaskName);

public void start() {
timer.cancel();
timer = new Timer(TaskName);
Date executionDate = new Date(); // no params = now
timer.scheduleAtFixedRate(task, executionDate, delay);
}

private class LoopTask extends TimerTask {
public void run() {
System.out.println(This message will print every 10 seconds.);
}
}

public static void main(String[] args) {
ClassExecutingTask executingTask = new ClassExecutingTask();
executingTask.start();
}


}

On Thu, Jul 5, 2012 at 5:33 PM, Rahul Kaushik rahulkaushi...@gmail.comwrote:

 Hi,

 Can anyone pls tell me the best way to call an method after every 5 min
 (handler,timer),i googled and found handler.postdeleyd doesnt not guarntee
 to execute,timer hangs some time ,pls suggest me the way to call method
 after every 5 minutes
 Code snippet will be very useful

 Thanks

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] How to use google static maps in android

2012-07-04 Thread arun kumar
http://android-coding.blogspot.in/2011/06/using-itemizedoverlay-to-add-marker-on.html

On Wed, Jul 4, 2012 at 5:31 PM, Rakesh Rajput rakeshrajput...@gmail.comwrote:

 Dear Remo

 1.remove overlay image
 2.remove current lat lon inside your code



 On Wed, Jul 4, 2012 at 5:07 PM, Henry Addo add...@gmail.com wrote:

 You might want to use ImageView --
 http://developer.android.com/reference/android/widget/ImageView.html and
 the static map API
 https://developers.google.com/maps/documentation/staticmaps/

 Henry!
 --
 Be the change you want to see ~ Mahatma Gandhi. So stop complaining :-).
 Website: http://www.addhen.org/



 On Wed, Jul 4, 2012 at 10:59 AM, Remo crajesh2...@gmail.com wrote:

 Hi all,

   In my Android application I want to use google static maps, and I
 want to display markers at my current location.

 Please help me, its urgent

 Thanks
 Remo

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 @@@Rakesh Rajput@@@


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] mapviewError

2012-07-02 Thread arun kumar
Its due to map api key problem.please check your map api key.

On Mon, Jul 2, 2012 at 3:27 PM, deepak mamdapure 
developer.it.a...@gmail.com wrote:

 : Couldn't get connection factory client
 plz  how to resolve this problem

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] pull to refresh in horizontal listview

2012-05-21 Thread arun kumar
Hello all,
I want Pull to refresh in horizontal list view. Anybody please help me
I already try pull to refresh from top to bottom. it works fine. but i need
horizontal listview

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] ListView items

2012-05-09 Thread arun kumar
http://danroundhill.com/2009/12/18/working-with-the-android-listview/

On Wed, May 9, 2012 at 5:49 PM, nageswara rao rajana
nagu.raj...@gmail.comwrote:

 Hi,

 How to generate xml file form list view items.
 Please help me...

 Thanking you.
 nagu.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] developing mp3 splitter, need help

2012-05-07 Thread arun kumar
Hi,

I want to develop mp3 trimmer app. Can you please tell me how to approach. 
Do i need any encoder or decoder? How to get the current time stamp of the 
currently playing audio. I will catch the time stamps of the start and end 
point. Now how to trim the audio according to the start and end time stamps?

Regards
Arun Kumar

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to call Android Native functions from html page

2012-05-03 Thread arun kumar
Hello all,
i created one html page with two buttons. then i stored that html page in
assets folder. then i load that html page to web view. my question is if i
click that html button i want to show android native layout like linear
layout with buttons? is it possible?

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: How to call Android Native functions from html page

2012-05-03 Thread arun kumar

 Hello all,
 i created one html page with two buttons. then i stored that html page in
 assets folder. then i load that html page to web view. my question is if i
 click that html button i want to show android native layout like linear
 layout with buttons? is it possible?

 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9994794759

--

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to call Android Native functions from html page

2012-05-03 Thread arun kumar
Hai Murphy,
Thanks For your answer. in that button click event i used intent that part
is  working. but i want if i click that button i want to show a button or
layout in a same activity?

On Thu, May 3, 2012 at 5:46 PM, Mark Murphy mmur...@commonsware.com wrote:

 You can start up another activity that has linear layout with buttons.

 Or, you can use addJavaScriptInterface() to have JavaScript code call
 a method in your app that puts a linear layout with buttons
 somewhere adjacent to the WebView on the current activity, or loads a
 new fragment, or something.

 However, you cannot put a linear layout with buttons in a WebView
 itself, nor can DOM events or JavaScript directly cause changes
 outside of the Web page without assistance from Java code.

 On Thu, May 3, 2012 at 8:06 AM, arun kumar hariarun2...@gmail.com wrote:
 
  Hello all,
  i created one html page with two buttons. then i stored that html page
 in assets folder. then i load that html page to web view. my question is if
 i click that html button i want to show android native layout like linear
 layout with buttons? is it possible?
 
  --
  WITH REGARDS
  ARUN KUMAR P D
  +91-9994794759
 
  --
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Developers group.
  To post to this group, send email to android-developers@googlegroups.com
  To unsubscribe from this group, send email to
  android-developers+unsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-developers?hl=en




 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training...At Your Office: http://commonsware.com/training

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to call Android Native functions from html page

2012-05-03 Thread arun kumar
yeah i tried adjacent to web view still not working. can u send sample code
for i click html button i want to show android native button in that
webview.

On Thu, May 3, 2012 at 6:05 PM, Mark Murphy mmur...@commonsware.com wrote:

 On Thu, May 3, 2012 at 8:32 AM, arun kumar hariarun2...@gmail.com wrote:
  Thanks For your answer. in that button click event i used intent that
 part
  is  working. but i want if i click that button i want to show a button or
  layout in a same activity?

 As I wrote:

  Or, you can use addJavaScriptInterface() to have JavaScript code call
  a method in your app that puts a linear layout with buttons
  somewhere adjacent to the WebView on the current activity, or loads a
  new fragment, or something.

 --
 Mark Murphy (a Commons Guy)
 http://commonsware.com | http://github.com/commonsguy
 http://commonsware.com/blog | http://twitter.com/commonsguy

 Android Training...At Your Office: http://commonsware.com/training

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] window memory leaked

2012-04-23 Thread arun kumar
Hi...



I declared the dailog box in asyn task   onPostExecute()  if i do this
am getting window leaked erroram attaching Code and Logcat Error
...((.and also in log cat am getting.
 Grow heap (frag case) to 14.789MB for 2975968-byte allocation .)))

Thank In advance



private class Task extends AsyncTaskVoid, Void, Void {


protected void onPreExecute() {
// TODO Auto-generated method stub
super.onPreExecute();
ACTIVITY_INSTANCE.showDialog(PROGRESS_DIALOG);

}


protected Void doInBackground(Void... params) {
// TODO Auto-generated method stub
try {
HttpClient httpclient = new DefaultHttpClient();
 String data = new String(
--request---);

HttpPost post = new HttpPost(
 --url(wsdl address)---);

StringEntity se = new StringEntity(data, HTTP.UTF_8);
post.setHeader(Content-Type, text/xml;charset=UTF-8);
post.setHeader(SOAPAction:, );
post.setEntity(se);
BasicHttpResponse httpResponse = (BasicHttpResponse) httpclient
.execute(post);
httpResponse.getEntity();

InputStream is = httpResponse.getEntity().getContent();
byte[] buffer = new byte[1024];
int bytes_read = 0;

StringBuilder sb = new StringBuilder();

while ((bytes_read = is.read(buffer, 0, buffer.length))  0) {
sb.append(new String(buffer, 0, bytes_read));
 }

XMLhandler handler = new XMLhandler();
Xml.parse(sb.toString(), handler);

// Log.i(Resfor first:, R: + sb.toString());
 String response = sb.toString();
 }
 startActivity(ACTIVITY_INSTANCE.intentuser);
 }
 } catch (IOException e) {
 error=102;
// TODO Auto-generated catch block
e.printStackTrace();
 } catch (SAXException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
 catch (NullPointerException e) {
// TODO: handle exception
}
catch (Exception e) {
 }
return null;
}


protected void onPostExecute(Void result) {
// TODO Auto-generated method stub
super.onPostExecute(result);
  if (error == 102) {

ACTIVITY_INSTANCE.dismissDialog(PROGRESS_DIALOG);

 AlertDialog.Builder dialog = new AlertDialog.Builder(LoginScreen.this);
LayoutInflater inflater =
(LayoutInflater)LoginScreen.this.getSystemService(LAYOUT_INFLATER_SERVICE);
View layout = inflater.inflate(R.layout.login,null);
Button add_item = (Button)layout.findViewById(R.id.Btn1);
dialog.setView(layout);

final AlertDialog alertDialog = dialog.create();
alertDialog.setTitle(Login Failure);
alertDialog.setMessage(Invalid Login Details);
add_item.setOnClickListener(new OnClickListener()
{

public void onClick(View v)
{
 alertDialog.dismiss();
}
});


alertDialog.show();
}
}



-LOGCAT ---




0
 ERROR/WindowManager(392): Activity com.android.LoginScreen has leaked
window com.android.internal.policy.impl.PhoneWindow$DecorView@406a4a30 that
was originally added here
04-23 12:01:57.642:
 ERROR/WindowManager(392): android.view.WindowLeaked:
Activity com.android.LoginScreen has leaked window
com.android.internal.policy.impl.PhoneWindow$DecorView@406a4a30 that was
originally added here
04-23 12:01:57.642:
ERROR/WindowManager(392):
at android.view.ViewRoot.init(ViewRoot.java:285)
04-23 12:01:57.642: ERROR/WindowManager(392):
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:152)
04-23 12:01:57.642: ERROR/WindowManager(392):
at android.view.WindowManagerImpl.addView(WindowManagerImpl.java:95)
04-23 12:01:57.642: ERROR/WindowManager(392):
at android.view.Window$LocalWindowManager.addView(Window.java:526)
04-23 12:01:57.642: ERROR/WindowManager(392):
at android.app.Dialog.show(Dialog.java:269)
04-23 12:01:57.642: ERROR/WindowManager(392):
at com.android.LoginScreen$Task.onPostExecute(LoginScreen.java:351)


04-23 12:01:57.642:
ERROR/WindowManager(392):
 at com.android.LoginScreen$Task.onPostExecute(LoginScreen.java:1)


04-23 12:01:57.642:
 ERROR/WindowManager(392):
  at android.os.AsyncTask.finish(AsyncTask.java:590)



04-23 12:01:57.642:
 ERROR/WindowManager(392):
 at android.os.AsyncTask.access$600(AsyncTask.java:149)
04-23 12:01:57.642: ERROR/WindowManager(392):
  at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:603)
04-23 12:01:57.642: ERROR/WindowManager(392):
at android.os.Handler.dispatchMessage(Handler.java:99)
04-23 12:01:57.642: ERROR/WindowManager(392):
  at android.os.Looper.loop(Looper.java:132)


04-23 12:01:57.642: ERROR/WindowManager(392):
at android.app.ActivityThread.main(ActivityThread.java:4025)
04-23 12:01:57.642: ERROR/WindowManager(392):
at java.lang.reflect.Method.invokeNative(Native Method)
04-23 12:01:57.642: ERROR/WindowManager(392):
at java.lang.reflect.Method.invoke(Method.java:491)
04-23 12:01:57.642: ERROR/WindowManager(392):
   at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
04-23 12:01:57.642:
 ERROR/WindowManager(392): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
04-23 12:01:57.642:
ERROR/WindowManager(392): at 

Re: [android-developers] How to reduce size of JPEG Image in Android

2012-04-17 Thread arun kumar
*Maybe this will helpful for you*

opt = new BitmapFactory.Options();
opt.inTempStorage = new byte[16 * 1024];
opt.inSampleSize = 4;
opt.outWidth = 640;
opt.outHeight = 480;
Bitmap imageBitmap = BitmapFactory
.decodeStream(in, new Rect(), opt);
Bitmap map = Bitmap.createScaledBitmap(imageBitmap, 100, 100, true);
BitmapDrawable bmd = new BitmapDrawable(map);
ByteArrayOutputStream bao = new ByteArrayOutputStream();
map.compress(Bitmap.CompressFormat.PNG, 90, bao);
ba = bao.toByteArray();
imagedata=Base64.encodeBytes(ba);

WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Sleep

2012-04-17 Thread arun kumar
try this


import android.app.Activity;
import android.app.ProgressDialog;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.os.Message;


public class SplashScreen extends Activity{
/** Called when the activity is first created. */
 public ProgressDialog myDialog;

@Override
public void onCreate(Bundle savedInstanceState) {

super.onCreate(savedInstanceState);
setContentView(R.layout.splashscreen);

new Handler().postDelayed(new Runnable() {

public void run() {
myDialog = ProgressDialog.show(SplashScreen.this,,
Loading, true);

Intent intent=new Intent(SplashScreen.this,OtherActivity.class);
SplashScreen.this.startActivity(intent);
myDialog.dismiss();
SplashScreen.this.finish();
}

}, 3000);// 3 Seconds
}
};


On Tue, Apr 17, 2012 at 5:18 PM, baturanija1 jadrankobodiroga1...@gmail.com
 wrote:

 Hey people, i have simple problem but it gives me a headache :(  I
 whant to have a Welcome screen for 3 seconds and than that screen to
 redirect to screen number 2.But my Code do not work :

 try {
Thread.sleep(3000);
}
 catch (InterruptedException e) {

e.printStackTrace();
}

final Context context = this;


Intent intent = new Intent(context, first.class);

startActivity(intent);

 First.class is my other screen2.It unfortunatly automatic show screen
 number 2.Do not wait these 3 seconds.Can you send me some your
 exsample,code,links with solution to this problem...Thans for sharing
 people :)

 P.S.On the road of life... Sometimes you're the bug; sometimes you're
 the windshield.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9994794759

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Server response

2012-03-29 Thread arun kumar
am having a button in the activity (button) ...if i click the button then
it fetches data from the server .if data is sucess then i has to show toast
as sucess...after if i click button while fetching data from the server if
net or wifi disconnect then it has to show (wifi or net disconnect
toast)...it sis working fine..


After disconnecting and connecting the wifi or net (not changing the
Activity just in the mobile making wifi disable and enable) ...now here
the wifi is enabled but iam getting the toast as wifi or net disconnected
..instead of the Sucess Message.




here am attaching the code am getting data (emailResponse=sb.tostring)...

int bytes_read = 0;

StringBuilder sb = new StringBuilder();

while ((bytes_read = is.read(buffer, 0, buffer.length))  0) {
sb.append(new String(buffer, 0, bytes_read));
}

 emailResponse=sb.toString();


Log.i(response:, R: + sb.toString());


}
 catch (ConnectException e) {
 error=105;
 }
 catch (SocketException e) {
// TODO: handle exception
}
 catch (UnsupportedEncodingException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
} catch (IllegalStateException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
} catch (IOException e) {

error = 101;

// TODO Auto-generated catch block
// e.printStackTrace();
}

catch (NullPointerException e) {
// TODO: handle exception
}

catch (Exception e) {

error = 100;

Log.e(getClass().getSimpleName(), e.toString());
}


 return null;
}

@Override
protected void onPostExecute(String Result) {
// TODO Auto-generated method stub
super.onPostExecute(Result);
 if (emailResponse!=null) {
ACTIVITY_INSTANCE.dismissDialog(PROGRESS_DIALOG);

Toast.makeText(getApplicationContext(),Sucess ,Toast.LENGTH_SHORT).show();
}
  else if (error == 105) {
Toast.makeText(getApplicationContext(),Wifi or net disconnect
,Toast.LENGTH_SHORT).show();


}

}

}

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Alert dailog --.view.WindowLeaked

2012-03-21 Thread arun kumar
I want to dispaly alert dailog in asyn task( in post method..) am getting
the alert dailog but in log it show the errorandroid.view.WindowLeaked:
Activity com.androi.LoginScreen has leaked window



protected void onPostExecute(Void result) {
// TODO Auto-generated method stub
super.onPostExecute(result);

// ACTIVITY_INSTANCE.dismissDialog(PROGRESS_DIALOG);

if (error == 100) {

AlertDialog.Builder builder = new AlertDialog.Builder(Login.this);
builder.setTitle(Login Details);
builder.setMessage(INvalid Login details)

   .setCancelable(false)
   .setPositiveButton(Yes, new DialogInterface.OnClickListener() {

@Override
public void onClick(DialogInterface dialog, int id) {
// TODO Auto-generated method stub
 }

   });
AlertDialog alert = builder.create();
 // AlertDialog dialog=alert.create();
alert.show();
}












03-21 18:29:57.888: INFO/ActivityManager(59): Starting activity: Intent {
cmp=com.androi/.YearDetails }
03-21 18:29:58.258: DEBUG/AndroidRuntime(292): --- registering native
functions ---
03-21 18:29:59.038: INFO/ActivityManager(59): Displayed activity
com.androi/.YearDetails: 1082 ms (total 1082 ms)
03-21 18:29:59.608: ERROR/WindowManager(282): Activity
com.androi.LoginScreen has leaked window
com.android.internal.policy.impl.PhoneWindow$DecorView@44e78238 that was
originally added here
03-21 18:29:59.608: ERROR/WindowManager(282): android.view.WindowLeaked:
Activity com.androi.LoginScreen has leaked window
com.android.internal.policy.impl.PhoneWindow$DecorView@44e78238 that was
originally added here
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.view.ViewRoot.init(ViewRoot.java:247)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:148)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.view.WindowManagerImpl.addView(WindowManagerImpl.java:91)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.view.Window$LocalWindowManager.addView(Window.java:424)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.app.Dialog.show(Dialog.java:241)
03-21 18:29:59.608: ERROR/WindowManager(282): at
com.androi.LoginScreen$Task.onPostExecute(LoginScreen.java:327)
03-21 18:29:59.608: ERROR/WindowManager(282): at
com.androi.LoginScreen$Task.onPostExecute(LoginScreen.java:1)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.os.AsyncTask.finish(AsyncTask.java:417)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.os.AsyncTask.access$300(AsyncTask.java:127)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:429)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.os.Handler.dispatchMessage(Handler.java:99)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.os.Looper.loop(Looper.java:123)
03-21 18:29:59.608: ERROR/WindowManager(282): at
android.app.ActivityThread.main(ActivityThread.java:4627)
03-21 18:29:59.608: ERROR/WindowManager(282): at
java.lang.reflect.Method.invokeNative(Native Method)
03-21 18:29:59.608: ERROR/WindowManager(282): at
java.lang.reflect.Method.invoke(Method.java:521)
03-21 18:29:59.608: ERROR/WindowManager(282): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
03-21 18:29:59.608: ERROR/WindowManager(282): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
03-21 18:29:59.608: ERROR/WindowManager(282): at
dalvik.system.NativeStart.main(Native Method)
03-21 18:30:00.188: DEBUG/dalvikvm(282): GC_FOR_MALLOC freed 2945 objects /
206072 bytes in 247ms
03-21 18:30:00.878: DEBUG/dalvikvm(220): GC_EXPLICIT freed 497 objects /
28456 bytes in 162ms
03-21 18:30:01.237: DEBUG/PackageParser(59): Scanning package:
/data/app/vmdl30936.tmp
03-21 18:30:01.258: INFO/PackageParser(59): com.androi: compat added
android.permission.WRITE_EXTERNAL_STORAGE
android.permission.READ_PHONE_STATE
03-21 18:30:01.518: INFO/PackageManager(59): Removing non-system
package:com.androi
03-21 18:30:01.518: INFO/ActivityManager(59): Force stopping package
com.androi uid=10036
03-21 18:30:01.578: INFO/Process(59): Sending signal. PID: 282 SIG: 9
03-21 18:30:01.578: INFO/ActivityManager(59):   Force finishing activity
HistoryRecord{45067938 com.androi/.SecondScreen}
03-21 18:30:01.648: INFO/UsageStats(59): Unexpected resume of
com.android.launcher while already resumed in com.androi
03-21 18:30:01.847: INFO/WindowManager(59): WIN DEATH: Window{44f7f068
com.androi/com.androi.SecondScreen paused=true}
03-21 18:30:01.847: INFO/WindowManager(59): WIN DEATH: Window{44fd0210
com.androi/com.androi.YearDetails paused=false}
03-21 18:30:01.847: INFO/WindowManager(59): WIN DEATH: Window{450c1f70
com.androi/com.androi.YearDetails paused=false}
03-21 18:30:01.987: DEBUG/PackageManager(59): Scanning package com.androi

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this 

Re: [android-developers] hi

2012-03-07 Thread arun kumar
*Try this
String filename = pippo.jpg;
File sd = Environment.getExternalStorageDirectory();
File dest = new File(sd, filename);

Bitmap bitmap = (Bitmap)data.getExtras().get(data);
try {
 FileOutputStream out = new FileOutputStream(dest);
 bitmap.compress(Bitmap.CompressFormat.PNG, 90, out);
 out.flush();
 out.close();
} catch (Exception e) {
 e.printStackTrace();
}*


On Wed, Mar 7, 2012 at 5:27 PM, chowdary nani naveenneeli...@gmail.comwrote:

 Hi All,
 Is it possible to convert bitmap image to .png image format in android

 Thanks
 Naveen

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Not able to display map in android app.

2012-03-04 Thread arun kumar
hai ashish,
i am also got same error. its map api key problem. so please regenerate api
key.

On Fri, Mar 2, 2012 at 12:38 PM, ASHISH ashishkcusa...@gmail.com wrote:

 I am not able to display map in my android app.
 I am getting Exception  Couldn't get connection factory client.

 Anyone please help me for that.

 Thanks And Regards
 Ashish Keshri

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Is there any open sourced android voice recognition application available?

2012-03-04 Thread arun kumar
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html


On Mon, Mar 5, 2012 at 12:24 PM, Abhishek Kumar Gupta
akgaec2...@gmail.comwrote:

 Is there any open sourced android voice recognition application available?
 If available then please give some reference.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] how to get alert dialog on home screen?

2012-03-02 Thread arun kumar
hai juned khan use *broadcastreceivers* it will help you to achieve your
task.

On Fri, Mar 2, 2012 at 3:30 PM, Juned Khan jkhan6...@gmail.com wrote:

 hello all developers,
  for incoming call notification i am using alert
 dialog but problem is that when i am on home or main screen the dialog does
 not appears. it resides in the application. how to get that alert dialog on
 main or home home screen. so i can get notify of incoming calls.
  any idea about this. any suggestion and advice
 will be appreciated . thanks

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] how to get alert dialog on home screen?

2012-03-02 Thread arun kumar
http://mylifewithandroid.blogspot.in/2008/01/phonecalls.html
This site will help you :)

On Fri, Mar 2, 2012 at 4:15 PM, Juned Khan jkhan6...@gmail.com wrote:

 thanks arun kumar,
 if you know any link or source regarding this task please
 share.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re : Spinner

2012-03-01 Thread arun kumar
spinner1 = (Spinner)this.findViewById(R.id.spinner1);
final String[] groupes = new String[] {A, B, C, D, E, F, G,
H};
ArrayAdapterCharSequence featuresAdapter = new ArrayAdapterCharSequence(
this, android.R.layout.simple_spinner_item, new ArrayListCharSequence());
featuresAdapter.setDropDownViewResource(android.R.layout.
simple_spinner_dropdown_item);
spinner1.setAdapter(featuresAdapter);
for (String s : groupes) featuresAdapter.add(s);

spinner1.setOnItemSelectedListener(new OnItemSelectedListener() {
 public void onItemSelected(AdapterView? arg0, View arg1, int position
, long id) {
 // Here go your instructions when the user chose something
 Toast.makeText(getBaseContext(), groupes[position], 0).show();
 }
 public void onNothingSelected(AdapterView? arg0) { }
});


On Thu, Mar 1, 2012 at 4:34 PM, vivek elangovan
elangovan.vi...@gmail.comwrote:

 Hi members,
  Using spinner i display list of details what i need to do
 is after selecting the item using spinner i need to display a data in text
 field.
 For eg : If i m selecting state from spinner i need to display country
 name in next field.

 - Vivek Elangovan

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re : Spinner

2012-03-01 Thread arun kumar
same you create another spinner and declare another string array and get
the position value and assign to string and set to textbox thats it.

On Thu, Mar 1, 2012 at 5:12 PM, vivek elangovan
elangovan.vi...@gmail.comwrote:

 Hi Arun,
How will i set the name for the next text field


 On Thu, Mar 1, 2012 at 4:44 PM, arun kumar hariarun2...@gmail.com wrote:

 spinner1 = (Spinner)this.findViewById(R.id.spinner1);
 final String[] groupes = new String[] {A, B, C, D, E, F, G,
 H};
 ArrayAdapterCharSequence featuresAdapter = new ArrayAdapter
 CharSequence(this, android.R.layout.simple_spinner_item, new ArrayList
 CharSequence());
 featuresAdapter.setDropDownViewResource(android.R.layout.
 simple_spinner_dropdown_item);
 spinner1.setAdapter(featuresAdapter);
 for (String s : groupes) featuresAdapter.add(s);

 spinner1.setOnItemSelectedListener(new OnItemSelectedListener() {
  public void onItemSelected(AdapterView? arg0, View arg1, intposition
 , long id) {
  // Here go your instructions when the user chose something
  Toast.makeText(getBaseContext(), groupes[position], 0).show();
  }
  public void onNothingSelected(AdapterView? arg0) { }
 });


 On Thu, Mar 1, 2012 at 4:34 PM, vivek elangovan 
 elangovan.vi...@gmail.com wrote:

 Hi members,
  Using spinner i display list of details what i need to
 do is after selecting the item using spinner i need to display a data in
 text field.
 For eg : If i m selecting state from spinner i need to display country
 name in next field.

 - Vivek Elangovan

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9663471079

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 thanks  regards,
 Vivek . E
 9841841099


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re : Spinner

2012-03-01 Thread arun kumar
SOURCE CODE [main.xml] is


?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
 android:orientation=vertical
android:layout_width=fill_parent
android:layout_height=fill_parent 

TextView  android:layout_width=fill_parent
android:layout_height=wrap_content
android:text=@string/hello  /

Spinner android:layout_height=wrap_content
android:id=@+id/spinner1
android:layout_width=fill_parent /

/LinearLayout


SOURCE CODE [SpinnerExample.java] is


package com.SpinnerExample;

import android.app.Activity;
import android.os.Bundle;
import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSelectedListener;
import android.widget.ArrayAdapter;
import android.widget.Spinner;
import android.widget.Toast;

public class SpinnerExample extends Activity
{
Spinner sp;
ArrayAdapterString adapter;
String numbers[] = { ONE, TWO, THREE, FOUR, FIVE,
SIX, SEVEN,
EIGHT, NINE, TEN };

public void onCreate(Bundle savedInstanceState)
{

super.onCreate(savedInstanceState);
setContentView(R.layout.main);

sp = (Spinner) findViewById(R.id.spinner1);

adapter = new ArrayAdapterString(this,

android.R.layout.simple_spinner_item, numbers);
sp.setAdapter(adapter);

sp.setOnItemSelectedListener(new
OnItemSelectedListener()
{
public void
onItemSelected(AdapterView? arg0, View arg1,

int arg2, long arg3)
{
Toast.makeText(getBaseContext(), sp.getSelectedItem().toString(),
Toast.LENGTH_LONG).show();
}
public void
onNothingSelected(AdapterView? arg0)
{
// TODO
Auto-generated method stub
}
});
}
}



On Thu, Mar 1, 2012 at 6:01 PM, vivek elangovan
elangovan.vi...@gmail.comwrote:

 ok i will try that one ,if u any samples also pls send me


 On Thu, Mar 1, 2012 at 5:18 PM, arun kumar hariarun2...@gmail.com wrote:

 same you create another spinner and declare another string array and get
 the position value and assign to string and set to textbox thats it.


 On Thu, Mar 1, 2012 at 5:12 PM, vivek elangovan 
 elangovan.vi...@gmail.com wrote:

 Hi Arun,
How will i set the name for the next text field


 On Thu, Mar 1, 2012 at 4:44 PM, arun kumar hariarun2...@gmail.comwrote:

 spinner1 = (Spinner)this.findViewById(R.id.spinner1);
 final String[] groupes = new String[] {A, B, C, D, E, F,
 G, H};
 ArrayAdapterCharSequence featuresAdapter = new ArrayAdapter
 CharSequence(this, android.R.layout.simple_spinner_item, new ArrayList
 CharSequence());
 featuresAdapter.setDropDownViewResource(android.R.layout.
 simple_spinner_dropdown_item);
 spinner1.setAdapter(featuresAdapter);
 for (String s : groupes) featuresAdapter.add(s);

 spinner1.setOnItemSelectedListener(new OnItemSelectedListener() {
  public void onItemSelected(AdapterView? arg0, View arg1, intposition
 , long id) {
  // Here go your instructions when the user chose something
  Toast.makeText(getBaseContext(), groupes[position], 0).show();

  }
  public void onNothingSelected(AdapterView? arg0) { }
 });


 On Thu, Mar 1, 2012 at 4:34 PM, vivek elangovan 
 elangovan.vi...@gmail.com wrote:

 Hi members,
  Using spinner i display list of details what i need
 to do is after selecting the item using spinner i need to display a data 
 in
 text field.
 For eg : If i m selecting state from spinner i need to display country
 name in next field.

 - Vivek Elangovan

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 WITH REGARDS
 ARUN KUMAR P D
 +91-9663471079

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 thanks  regards,
 Vivek . E
 9841841099


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email

[android-developers] android related topics and tutorial

2012-02-28 Thread arun kumar
http://arunkumarpd.blogspot.in/http://arunkumarpd.blogspot.in/2012/02/calculator-in-android.html

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Fwd: sax parsing

2012-02-25 Thread arun kumar
hai suraj visit www.arunkumarpd.blogspot.in  you find sax parser example.



-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] How to use Http connection , SaxParser and SharedPreferences in Android

2012-02-22 Thread arun kumar
http://arunkumarpd.blogspot.in/

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] H0w to convert monthname to month number

2012-02-02 Thread arun kumar
 I have to convert month name in to month number
(JAN=1,FEB=2,MARCH=3

String month = getIntent().getStringExtra(MONTH);

*

int* x =Integer.parseInt(month);

*if* (month.equals(JAN)) {

*x* = 1;

}

*else* *if* (month.equals(FEB)) {

*x* = 2;

}

*else* *if* (month.equals(MARCH)) {

*x* = 3;

} *else* *if* (month.equals(APRIL)) {

*x* = 4;

} *else* *if* (month.equals(MAY)) {

*x* = 5;.

if i do like this am getting fata close exception...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] login problem

2012-02-01 Thread arun kumar
thanks for the reply...its solved

On Thu, Feb 2, 2012 at 11:22 AM, unicus unicus unicus...@gmail.com wrote:

 Use bundle object.
 save username and password in bundle object and then pass to intent .

 *More info*,
 http://androidbasic-answer.blogspot.com/


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] login problem

2012-01-28 Thread arun kumar
 Hi

in the first activity  am givning the uname and pass values in the
intent...and get that data in the
second activity


String login = getIntent().getStringExtra(Username);  and this data login
value i have to pass to the

UsernamePasswordCredentials creds = *new* UsernamePasswordCredentials(

login, logpass);   here how to place the login value in the credential..



firstactivity:

Intent intent = *new* Intent(getApplicationContext(),
SecondScreen.*class*);

intent.putExtra(Username, uname.getText().toString());
System.*out*.println(username: + uname);
intent.putExtra(Password, pass.getText().toString());
System.*out*.println(password: + pass);
startActivity(intent);



Second Activity

String login = getIntent().getStringExtra(Username);

System.*out*.println(login entered:+login);

String logpass = getIntent().getStringExtra(Password);

System.*out*.println(password entered:+logpass);

*try* {

HttpClient httpclient = *new* DefaultHttpClient();

UsernamePasswordCredentials creds = *new* UsernamePasswordCredentials(

login, logpass);

((AbstractHttpClient) httpclient).getCredentialsProvider()

.setCredentials(

*new* AuthScope(AuthScope.*ANY_HOST*,

AuthScope.*ANY_PORT*), creds);

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Unfortunately the activity has stopped

2012-01-27 Thread arun kumar
 you create repeated the button id two times that's the problem.
btnLogin=(Button)this.findViewById(R.id.btnLogin);
   btnLogin=(Button)this.findViewById(R.id.btnLogin);

On Fri, Jan 27, 2012 at 11:39 AM, newtoandroid shobana...@gmail.com wrote:

 i tried a simple login page which gets the gps location if the login
 condition is satisfied,while running it shows ünfortunately,the
 activity has stopped with an ok button. i have created the avd with
 gps support supporting android 4 with google Inc and even set the gps
 manually in ddms perspective.here is my launcher activity.
 package com.first;

 import android.app.Activity;
 import android.content.Context;
 import android.content.Intent;
 import android.os.Bundle;
 import android.view.View;
 import android.view.View.OnClickListener;
 import android.widget.Button;
 import android.widget.EditText;
 import android.widget.Toast;

 public class FirstActivity extends Activity {
EditText txtUserName;
EditText txtPassword;
Button btnLogin;
Button btnCancel;

/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
final Context context=this;

 txtUserName=(EditText)this.findViewById(R.id.txtUname);
txtPassword=(EditText)this.findViewById(R.id.txtPwd);
btnLogin=(Button)this.findViewById(R.id.btnLogin);
btnLogin=(Button)this.findViewById(R.id.btnLogin);
btnLogin.setOnClickListener(new OnClickListener() {

public void onClick(View v) {
// TODO Auto-generated method stub



 if((txtUserName.getText().toString()).equals(txtPassword.getText().toString()))
 {

Toast.makeText(FirstActivity.this, Login
 Successful,Toast.LENGTH_LONG).show();

Intent i=new Intent(context,com.first.LbsGeocoding.class);
startActivityForResult(i,0);
FirstActivity.this.finish();} else{
   Toast.makeText(FirstActivity.this, Invalid
 Login,Toast.LENGTH_LONG).show();
  }

   }
  });


}}

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers]

2012-01-21 Thread arun kumar
Submitted by IT Zain BlackBerry

On Sun, Jan 22, 2012 at 6:21 AM, Marcelo Henrique marceloh...@gmail.comwrote:

 language English please !


 2012/1/21 b0592221...@gmail.com


 ارسل بواسطة تقنية بلاك بيري من زين

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
   - Marcelo Henrique -
   Se não puder se destacar pelo talento, vença pelo esforço. (Dave
 Weinbaum)

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] ISSUE

2012-01-13 Thread arun kumar
Hi

I am developing an application for android phone, In this I need to use at
least 100 audio file which can be played for some respective texts, Now my
question is which is the optimized way to do this.. One solution is putting
all the audio files in the resource folder and referring from there, this
will never be a feasible solution as the application size will increase. Is
there any way to convert the audio file into some format and dump into the
SQLite database and retrieve flexibly.

-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079




-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] webservice response parsed data

2012-01-10 Thread arun kumar
Hello,

  i am able to get the data from the server.the parsed data i has to show
into  Two activities in the first as text... and in the  second activity as
list ..am able to show in the text field but am unable to show in the list
view (in the first activity i will have a abutton when i click on that
in the second activity a list has to appear.



first activity

handler =*new* XMLhandler();

Xml.*parse*(sb.toString(), handler);

tv1.setText(ItemStructure.*name*);

myList= handler.retrieveItemStructureList();

Log.*i*(List :,R:+handler.retrieveItemStructureList());

Log.*i*(Res:,R:+sb.toString());



second activity




XMLhandler handler=(XMLhandler) getIntent().getSerializableExtra(handler);

ArrayList ItemStructure *items*=handler.retrieveItemStructureList();

 ArrayAdapterString adapter = new ArrayAdapterString(this,
android.R.layout.simple_list_item_1);
setListAdapter(adapter);



so can anyone give me guidance 

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: webservice response parsed data

2012-01-10 Thread arun kumar
below is the xml file i has to show name and total in textview which am
able to do but i has to show the Monthname in the list in next activity
where am struck...so plzz can any one give guindance on this .





NameAndMontotal
item
NameArjun/Name
Total406/Total
Unit$/Unit
item

Monthlist
item
MonthnameFEB/Monthname
/item
MonthnameMAR/Monthname
/item
itemMonthnameAPRI/Monthname
/item
item
MonthnameMAY/Monthname
/item

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: webservice response parsed data

2012-01-10 Thread arun kumar
hey thanks for reply 


ArrayAdapterString adapter = new ArrayAdapterString(this,
android.R.layout.simple_list_item_1,items);

if i add like that am getting the below error...


The constructor ArrayAdapterString(Year, int, int,
ArrayListItemStructure) is undefined
On Tue, Jan 10, 2012 at 3:38 PM, Mukesh Srivastav mukicha...@gmail.comwrote:

 OMG, Arun, where are you setting the last parameter of the list.do you see
 the below example which i have shown in bold letters.

  ListAdapter adapter = new ArrayAdapterString(this,
 android.R.layout.simple_list_item_multiple_choice,*list*);

 The above list should be filled by your xml parser. hope you understand.

 Warm Regards,
 *Mukesh Kumar*,
 Android Consultant/Freelancer,
 India,Hyderabad.


  On Tue, Jan 10, 2012 at 3:29 PM, arun kumar arun.kata...@gmail.comwrote:



 below is the xml file i has to show name and total in textview which am
 able to do but i has to show the Monthname in the list in next activity
 where am struck...so plzz can any one give guindance on this .





 NameAndMontotal
 item
 NameArjun/Name
 Total406/Total
 Unit$/Unit
 item

 Monthlist
 item
 MonthnameFEB/Monthname
 /item
 MonthnameMAR/Monthname
 /item
 itemMonthnameAPRI/Monthname
 /item
 item
 MonthnameMAY/Monthname
 /item

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --


 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: need help in coding for flickr integration

2012-01-10 Thread arun kumar
Hi you have built a Flickr Java library for Android:
http://code.google.com/p/flickrj-android/


-- 
WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Couldn't get connection factory client

2011-11-28 Thread arun kumar
its Api key problem

On Wed, Nov 23, 2011 at 5:51 PM, jaya prakash gjp151...@gmail.com wrote:

 Hi,


This is jayaprakash android developer ,
 The MapView always stays grey and I get the following error message in
 the log : Couldn't get connection factory client but i can get a map
 on my enumulator so am using all permissions and api key then why am
 getting this error

 I generated my api key followed by android developers tutorial ,please
 provide me the exact reason

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Calculate percentage of a video file

2011-11-24 Thread arun kumar
*Manually calculate the bitrate**
*The basic bitrate formula is

(*S*ize - (*A*udio x *L*ength )) / *L*ength = *V*ideo bitrate

L = Lenght of the whole movie in seconds
S = Size you like to use in KB (note 700 MB x 1024*°* = 716 800 KB)
A = Audio bitrate in KB/s (note 224 kbit/s = 224 / 8*°* = 28 KB/s)
V = Video bitrate in KB/s, to get kbit/s multiply with 8*°*.

*°8 bit = 1 byte.*
*°1024 = 1 kilo in the computer world.*

Example
90 minutes video, L = 90 x 60 = 5 400 seconds
700 MB CD but be sure that if fits use a bit lower like 695 MB, S = 695 x
1024 = 711 680 KB
Audio bitrate, A = 224 kbit/s / 8 = 28 KB/s

(711 680 - (5400 x 28) ) / 5400 = 104 KB/s x 8*°* = 830 kbit/s.


WITH REGARDS
ARUN KUMAR P D
+91-9663471079

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Ksoap2

2011-11-14 Thread arun kumar
Hi

can we use Ksoap library for sap webservices?

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] .net webservices am able to get the response but for sap webservices am getting org.xml pull parser exceprion

2011-11-11 Thread arun kumar
*
Hi for .net webservices (currency converter and temperature converter) am
able to get response using the below code .But for the webservice which are
generated from SAP am not getting the response .am getting this error.

11-11 09:55:13.113: WARN/System.err(272):
org.xmlpull.v1.XmlPullParserException: expected: START_TAG {
http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG
html@1:6 in java.io.InputStreamReader@44e9e580)

while debugging am getting struck in the line

androidHttpTransport.call(SOAP_ACTION, envelope);

so can any one having idea how to consume webservice which are generated
from sap plz share with me








public* *class* EmployeeTracking *extends* Activity {
TextView tv;
*private* String METHOD_NAME = ZemptrackEarnOview; //
*public* *final* String SOAP_ACTION =;
*private* String NAMESPACE =
urn:sap-com:document:sap:soap:functions:mc-style;
*

private* *static* *final* String *URL* = myurl;

/** Called when the activity is first created. */
@Override
*public* *void* onCreate(Bundle savedInstanceState) {
*super*.onCreate(savedInstanceState);
setContentView(R.layout.*main*);
String Username = username;
String Password = 12345;
Log.*i*(one, track);
tv = (TextView) findViewById(R.id.*tv*);

*try* {
AuthScope as = *new* AuthScope(host, 8000);
UsernamePasswordCredentials upc = *new* UsernamePasswordCredentials(
Username, Password);
((AbstractHttpClient) httpclient).getCredentialsProvider().setCredentials(as,
upc);
} *catch* (Exception e) {
// *TODO*: handle exception
}
Log.*i*(two, track);
*try*
**{
SoapObject request = *new* SoapObject(NAMESPACE, METHOD_NAME);
Log.*i*(three, track);
PropertyInfo propertyInfo = *new* PropertyInfo();
propertyInfo.setType(PropertyInfo.*STRING_CLASS*);
propertyInfo.setName(Userid);
propertyInfo.setValue(SRINIVASUS);
request.addProperty(propertyInfo);

SoapSerializationEnvelope envelope =
*new*SoapSerializationEnvelope(SoapEnvelope.
*VER11*);
envelope.dotNet=*false*;
envelope.setOutputSoapObject(request);
envelope.bodyOut=request;
HttpTransportSE androidHttpTransport = *new* HttpTransportSE(*URL*);
androidHttpTransport.debug =*true*;
Log.*i*(five, track);
// Log.i(demo, demo);
androidHttpTransport.call(SOAP_ACTION, envelope);
//Object result = envelope.getResponse();
SoapPrimitive result = (SoapPrimitive)envelope.getResponse();
Log.*e*(httpResponse,Referral_Request +result);
Log.*i*(six, track);
System.*out*.println(Result :  + result.toString());
((TextView) findViewById (R.id.*tv*)).setText(Tracking : 
+result.toString());
} *catch* (Exception E) {
E.printStackTrace();
((TextView) findViewById (R.id.*tv*)).setText(ERROR: +
E.getClass().getName() + : + E.getMessage());
}
}
}

 wsdl file
wsdl:definitions
targetNamespace=urn:sap-com:document:sap:soap:functions:mc-style
-
wsdl:documentation
sidl:sidl/
/wsdl:documentation
wsp:UsingPolicy wsdl:required=true/
-
wsp:Policy wsu:Id=BN_BN_ZEMPTRACK_EARN_OVIEW02
saptrnbnd:OptimizedXMLTransfer uri=
http://xml.sap.com/2006/11/esi/esp/binxml; wsp:Optional=true/
saptrnbnd:OptimizedXMLTransfer uri=
http://www.w3.org/2004/08/soap/features/http-optimization;
wsp:Optional=true/
-
wsp:ExactlyOne
wsp:All-
sp:TransportBinding-
wsp:Policy
-
sp:TransportToken
wsp:Policy
sp:HttpsToken/
/wsp:Policy
/sp:TransportToken
-sp:AlgorithmSuite
-
wsp:Policy
sp:TripleDesRsa15/
/wsp:Policy
/sp:AlgorithmSuite
-
sp:Layout
-
wsp:Policy
sp:Strict/
/wsp:Policy
/sp:Layout
/wsp:Policy
/sp:TransportBinding
/wsp:All
/wsp:ExactlyOne
/wsp:Policy
-
wsp:Policy wsu:Id=IF_IF_ZEMPTRACK_EARN_OVIEW02
-
sapsession:Session
sapsession:enableSessionfalse/sapsession:enableSession
/sapsession:Session
-
sapcentraladmin:CentralAdministration wsp:Optional=true
sapcentraladmin:BusinessApplicationIDE050E0E32D50BFF1A3D400221969C2CB/sapcentraladmin:BusinessApplicationID
/sapcentraladmin:CentralAdministration
/wsp:Policy
-
wsp:Policy wsu:Id=OP_IF_OP_ZemptrackEarnOview
sapcomhnd:enableCommitfalse/sapcomhnd:enableCommit
sapblock:enableBlockingtrue/sapblock:enableBlocking
saptrhnw05:requiredno/saptrhnw05:required
saprmnw05:enableWSRMfalse/saprmnw05:enableWSRM
/wsp:Policy
-
wsdl:types
-
xsd:schema attributeFormDefault=qualified
targetNamespace=urn:sap-com:document:sap:rfc:functions
-
xsd:simpleType name=char12
-
xsd:restriction base=xsd:string
xsd:maxLength value=12/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=char4
-
xsd:restriction base=xsd:string
xsd:maxLength value=4/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=char80
-
xsd:restriction base=xsd:string
xsd:maxLength value=80/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=cuky5
-
xsd:restriction base=xsd:string
xsd:maxLength value=5/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=curr15.2
-
xsd:restriction base=xsd:decimal
xsd:totalDigits value=15/
xsd:fractionDigits value=2/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=numeric4
-
xsd:restriction base=xsd:string
xsd:maxLength value=4/
xsd:pattern value=\d*/
/xsd:restriction
/xsd:simpleType
/xsd:schema
-

Re: [android-developers] customized date picker

2011-11-07 Thread arun kumar
can u change sdk version. your code supports all devices change to manifest
file and send to me. then only i have to check

On Mon, Nov 7, 2011 at 12:44 PM, vani reddy vani.reddy.bl...@gmail.comwrote:

 I have already sent the code.



 On Fri, Nov 4, 2011 at 6:55 PM, ramesh mandare 
 ramesh.manda...@gmail.comwrote:

 please give me code


 On Fri, Nov 4, 2011 at 4:15 PM, vani reddy vani.reddy.bl...@gmail.comwrote:


 Hi,
 Check out the code I  have attached.

 On Fri, Nov 4, 2011 at 3:52 PM, Ratheesh Valamchuzhy 
 android...@gmail.com wrote:

 can u give me all the code to debug.

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to
 android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Regards,
 Vani Reddy


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en




 --
 Regards,
 Vani Reddy

  --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Unable to install the .apk file on Samsung Galaxy SII mobile

2011-11-05 Thread arun kumar
gotomanifest file and change min sdk 1 and max sdk 11 and then load apk
file to device. its works:)

On Sat, Nov 5, 2011 at 6:24 PM, Mani manidhar.karnata...@gmail.com wrote:

 Hi,

 Thanks for the reply.

 Let me clear my issue.

 I have created an hello world apk file using eclipse and copied the
 file in the mobile. When i tried to install the file in the samsung
 galaxy sII mobile i can see the message Application not installed.

 Regards,
 Manidhar


 On Nov 4, 8:19 am, manidhar kumar manidhar.karnata...@gmail.com
 wrote:
  Hi,
 
  I am new to android world. I have created the HelloWorld.apk file using
 the
  Eclipse IDE using the Android 2.3.3 api 10. I am unable to install the
 apk
  file in the mobile.
 
  Please help in installing the apk file on the mobile.
 
  Please let me know the links used for android development.
 
  Thanks  Regards
 
  Manidhar.k

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Is soapAction mandatory or leftblank

2011-11-04 Thread arun kumar
for wsdl file they given as soapAction= it is mandatory field or it can
be left blanc...actually soapAction will be  defined as
(namespace/mathodname).


wsdl:operation name=ZemptrackEarnOview
soap:operation soapAction= style=document/
wsdl:input

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re:GoogleMap

2011-11-02 Thread arun kumar
Hai jagadeesh,
look this site u can get map in your application.
http://www.androidpeople.com/android-google-map-application-example

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] soap webservice(xml pull parser exception )

2011-11-01 Thread arun kumar
Thanks for reply

I done the debugging in this line am getting problem
 androidHttpTransport.call(SOAP_ACTION, envelope);

  In my url  soapAction=  is given like this..but i find in the google
soapAction willbe in the form(saopAction=NAMESPACE/METHODNAME) does this
is the problem or soapAction can also be defined like (soapAction=  )

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: org.xml pull parser exception

2011-11-01 Thread arun kumar
 androidHttpTransport.call(SOAP_ACTION,envelope);

i done the debugging am getting error at this above line ...SOAP_ACTION=
in my url saop action is define like that but actually the soap action will
be in the forms SOAP_ACTION=NAMESPACE/METHODNAME... so,i have to modify
like that in the url  ...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] soap webservice(xml pull parser exception )

2011-10-29 Thread arun kumar
/sapcentraladmin:BusinessApplicationID
/sapcentraladmin:CentralAdministration
/wsp:Policy
-
wsp:Policy wsu:Id=OP_IF_OP_ZemptrackEarnOview
sapcomhnd:enableCommitfalse/sapcomhnd:enableCommit
sapblock:enableBlockingtrue/sapblock:enableBlocking
saptrhnw05:requiredno/saptrhnw05:required
saprmnw05:enableWSRMfalse/saprmnw05:enableWSRM
/wsp:Policy
-
wsdl:types
-
xsd:schema attributeFormDefault=qualified
targetNamespace=urn:sap-com:document:sap:rfc:functions
-
xsd:simpleType name=char12
-
xsd:restriction base=xsd:string
xsd:maxLength value=12/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=char80
-
xsd:restriction base=xsd:string
xsd:maxLength value=80/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=curr15.2
-
xsd:restriction base=xsd:decimal
xsd:totalDigits value=15/
xsd:fractionDigits value=2/
/xsd:restriction
/xsd:simpleType
/xsd:schema
-
xsd:schema attributeFormDefault=qualified
targetNamespace=urn:sap-com:document:sap:soap:functions:mc-style
xsd:import namespace=urn:sap-com:document:sap:rfc:functions/
-
xsd:element name=ZemptrackEarnOview
-
xsd:complexType
-
xsd:sequence
xsd:element name=Userid type=n0:char12 minOccurs=0/
/xsd:sequence
/xsd:complexType
/xsd:element
-
xsd:element name=ZemptrackEarnOviewResponse
-
xsd:complexType
-
xsd:sequence
xsd:element name=MnthTotal type=n0:curr15.2/
xsd:element name=Name type=n0:char80/
/xsd:sequence
/xsd:complexType
/xsd:element
/xsd:schema
/wsdl:types
-
wsdl:message name=ZemptrackEarnOview
wsdl:part name=parameters element=tns:ZemptrackEarnOview/
/wsdl:message
-
wsdl:message name=ZemptrackEarnOviewResponse
wsdl:part name=parameter element=tns:ZemptrackEarnOviewResponse/
/wsdl:message
-
wsdl:portType name=zemptrack_overview
-
wsp:Policy
wsp:PolicyReference URI=#IF_IF_zemptrack_overview/
/wsp:Policy
-
wsdl:operation name=ZemptrackEarnOview
-
wsp:Policy
wsp:PolicyReference URI=#OP_IF_OP_ZemptrackEarnOview/
/wsp:Policy
wsdl:input message=tns:ZemptrackEarnOview/
wsdl:output message=tns:ZemptrackEarnOviewResponse/
/wsdl:operation
/wsdl:portType
-
wsdl:binding name=zemptrack_overview type=tns:zemptrack_overview
-
wsp:Policy
wsp:PolicyReference URI=#BN_BN_zemptrack_overview/
/wsp:Policy
soap:binding transport=http://schemas.xmlsoap.org/soap/http;
style=document/
-
wsdl:operation name=ZemptrackEarnOview
soap:operation soapAction= style=document/
-
wsdl:input
soap:body use=literal/
/wsdl:input
-
wsdl:output
soap:body use=literal/
/wsdl:output
/wsdl:operation
/wsdl:binding
-
wsdl:service name=service
-
wsdl:port name=zemptrack_overview binding=tns:zemptrack_overview
soap:address location=
http://tracking.dataacess.eu/sap/bc/srt/rfc/sap/zemptrack_overview/800/zemptrack_overview/zemptrack_overview
/
/wsdl:port
/wsdl:service
/wsdl:definitions

 Reply

Forward



Reply
[image: More]|
arun kumar to android-develo.
show details Sep 16

  while debugging  the problem occured at the  namespace and
soapaction.can any one tell me how to solve this


 private static final String SOAP_ACTION =
urn:sap-com:document:sap:soap:functions:mc-style/zemptrack_overview;
  private static final String METHOD_NAME = zemptrack_overview;
 private static final String NAMESPACE =
urn:sap-com:document:sap:soap:functions:mc-style;


Thanks in advance

 Reply

Forward



Reply
[image: More]|
arun kumar to android-develo.
show details Oct 12

- Show quoted text -


On Fri, Sep 16, 2011 at 4:14 PM, arun kumar arun.kata...@gmail.com wrote:

   while debugging  the problem occured at the  namespace and
 soapaction.can any one tell me how to solve this


  private static final String SOAP_ACTION =
 urn:sap-com:document:sap:soap:functions:mc-style/zemptrack_overview;
   private static final String METHOD_NAME = zemptrack_overview;
  private static final String NAMESPACE =
 urn:sap-com:document:sap:soap:functions:mc-style;


 Thanks in advance


 Reply

Forward



TCS is Hiring 
Nowhttp://pagead2.googlesyndication.com/aclk?sa=lai=B6YuKbrWrTvKQAqqu4QTa7vDnAtHhhIAC6-36vhPAjbcB4OfKAhABGAEgho-AAigFOABQhY_k5_z_AWDl6uODmA6gAae5mv0DsgEPbWFpbC5nb29nbGUuY29tugEOZ21haWwtY3YtYmVsb3fIAQHaAT1odHRwOi8vbWFpbC5nb29nbGUuY29tL01UTTRNemt4TWpjME5EZzJNakExTkRjNU4wTlBURXhCVUZORlJBqQLj--bRwOlVPsgCibGmGqgDAegD1SfoA8AH6AMF6AOiBvUDRAnum=1sig=AOD64_1zCnKKK0c0E5jNUW_IyVgGS01AGgadurl=http://my.monsterindia.com/create_account.html%3Fspl%3DG_ITech_TCSNP-
http://pagead2.googlesyndication.com/aclk?sa=lai=B6YuKbrWrTvKQAqqu4QTa7vDnAtHhhIAC6-36vhPAjbcB4OfKAhABGAEgho-AAigFOABQhY_k5_z_AWDl6uODmA6gAae5mv0DsgEPbWFpbC5nb29nbGUuY29tugEOZ21haWwtY3YtYmVsb3fIAQHaAT1odHRwOi8vbWFpbC5nb29nbGUuY29tL01UTTRNemt4TWpjME5EZzJNakExTkRjNU4wTlBURXhCVUZORlJBqQLj--bRwOlVPsgCibGmGqgDAegD1SfoA8AH6AMF6AOiBvUDRAnum=1sig=AOD64_1zCnKKK0c0E5jNUW_IyVgGS01AGgadurl=http://my.monsterindia.com/create_account.html%3Fspl%3DG_ITech_TCSNPExp:0-5
yrs, 
Sal:25-100khttp://pagead2.googlesyndication.com/aclk?sa=lai=B6YuKbrWrTvKQAqqu4QTa7vDnAtHhhIAC6-36vhPAjbcB4OfKAhABGAEgho

Re: [android-developers] Fwd: consuming webservice using soap (wsdl file genrated in sap server)

2011-10-25 Thread arun kumar
THANKS for the REPLAY ..i done that also..but am getting
 10-25 17:36:14.373: WARN/System.err(874):
org.xmlpull.v1.XmlPullParserException: expected: START_TAG {
http://schemas.xmlsoap.org/soap/envelope/}Envelope (position:START_TAG
html@1:6 in java.io.InputStreamReader@43e57768)

am postinng my code...
*

public* *class* Track *extends* Activity {

TextView tv;

*private* String METHOD_NAME = ZemptrackEarnOview;

*private* *static* *final* String *URL* =
http://76.10.226.133:8000/sap/bc/srt/wsdl/bndg_E0EE4EE62A0739F19D0400221969C2CB/wsdl11/allinone/ws_policy/document?sap-client=800
;

 **

// private static final String URL = 
http://76.10.226.133:8000/sap/bc/srt/rfc/sap/zemptrack_earn_oview02/800/zemptrack_earn_oview02/zemptrack_earn_oview02
;

*private* String NAMESPACE =
urn:sap-com:document:sap:soap:functions:mc-style;

*private* String soapAction = ;
*

//private String soapAction =
urn:sap-com:document:sap:soap:functions:mc-style/ZemptrackEarnOview;

**//private* AbstractHttpClient httpclient;

 /** Called when the activity is first created. */

@Override

*public* *void* onCreate(Bundle savedInstanceState) {

*super*.onCreate(savedInstanceState);

setContentView(R.layout.*main*);

tv = (TextView) findViewById(R.id.*tv*);

 *try* {

UsernamePasswordCredentials creds = *new* UsernamePasswordCredentials(arun,
12345);

 ((AbstractHttpClient) httpclient).getCredentialsProvider().setCredentials(*
new* AuthScope(76.10.226.133,8000 ),creds);

} *catch* (Exception e) {

}

*try
*

{

SoapObject request = *new* SoapObject(NAMESPACE, METHOD_NAME);

request.addProperty(Userid, SRINIVASUS);

envelope.setOutputSoapObject(request);

envelope.bodyOut=request;

HttpTransportSE androidHttpTransport = *new* HttpTransportSE(*URL*);

androidHttpTransport.debug =*true*;

Log.*i*(five, track);

androidHttpTransport.call(soapAction,envelope);SoapPrimitive result =
(SoapPrimitive)envelope.getResponse();

Log.*e*(httpResponse,Referral_Request +result);

System.*out*.println(Result :  + result.toString());

((TextView) findViewById (R.id.*tv*)).setText(Tracking : 
+result.toString());

} *catch* (Exception E) {

E.printStackTrace();

((TextView) findViewById (R.id.*tv*)).setText(ERROR: +
E.getClass().getName() + : + E.getMessage());

}

}

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] org.xml pull parser exception

2011-10-24 Thread arun kumar
my webservice is created in sap server .i want to authenticate to the server
and fetch the response.while am doing am getting ORG.XML PULL PARSER
EXCEPTION ..am attaching my code and wsdl file ...

thanks in advance


TextView tv;
private String METHOD_NAME = ZemptrackEarnOview;
   // private static final String URL = 
http://76.10.226.133:8000/sap/bc/srt/rfc/sap/zemptrack_earn_oview02/800/zemptrack_earn_oview02/zemptrack_earn_oview02;;

private static final String URL = 
http://76.10.226.133:8000/sap/bc/srt/wsdl/bndg_E0EE4EE62A0739F19D0400221969C2CB/wsdl11/allinone/ws_policy/document?sap-client=800;;


 private String NAMESPACE =
urn:sap-com:document:sap:soap:functions:mc-style;
private String soapAction = ;
private AbstractHttpClient httpclient;


/** Called when the activity is first created. */

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
 Log.i(one, track);
 tv = (TextView) findViewById(R.id.tv);

 try {
 UsernamePasswordCredentials creds = new
UsernamePasswordCredentials(arun, 12345);
((AbstractHttpClient)
httpclient).getCredentialsProvider().setCredentials(new AuthScope(
http://76.10.226.133:8000/sap/bc/srt/rfc/sap/zemptrack_earn_oview02/800/zemptrack_earn_oview02/zemptrack_earn_oview02,8000
),creds);

} catch (Exception e) {
// TODO: handle exception
}

try
{
SoapObject request = new SoapObject(NAMESPACE, METHOD_NAME);
 PropertyInfo propertyInfo = new PropertyInfo();
 propertyInfo.setType(PropertyInfo.STRING_CLASS);
 propertyInfo.setName(Userid);
 propertyInfo.setValue(SRINIVASUS);
 request.addProperty(propertyInfo);

SoapSerializationEnvelope envelope = new
SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.dotNet = false;

envelope.setOutputSoapObject(request);
//envelope.getResponse();
 envelope.bodyOut=request;

 HttpTransportSE androidHttpTransport = new HttpTransportSE(URL);

androidHttpTransport.debug =true;
androidHttpTransport.call(soapAction,envelope);
//Object result = envelope.getResponse();
 SoapPrimitive result = (SoapPrimitive)envelope.getResponse();

 Log.e(httpResponse,Referral_Request +result);

System.out.println(Result :  + result.toString());
((TextView) findViewById (R.id.tv)).setText(Tracking :
+result.toString());
} catch (Exception E) {
E.printStackTrace();
((TextView) findViewById (R.id.tv)).setText(ERROR: +
E.getClass().getName() + : + E.getMessage());
}

}





wsdl file
wsdl:definitions
targetNamespace=urn:sap-com:document:sap:soap:functions:mc-style
-
wsdl:documentation
sidl:sidl/
/wsdl:documentation
wsp:UsingPolicy wsdl:required=true/
-
wsp:Policy wsu:Id=BN_BN_ZEMPTRACK_EARN_OVIEW02
saptrnbnd:OptimizedXMLTransfer uri=
http://xml.sap.com/2006/11/esi/esp/binxml; wsp:Optional=true/
saptrnbnd:OptimizedXMLTransfer uri=
http://www.w3.org/2004/08/soap/features/http-optimization;
wsp:Optional=true/
-
wsp:ExactlyOne
-
wsp:All
-
sp:TransportBinding
-
wsp:Policy
-
sp:TransportToken
-
wsp:Policy
sp:HttpsToken/
/wsp:Policy
/sp:TransportToken
-
sp:AlgorithmSuite
-
wsp:Policy
sp:TripleDesRsa15/
/wsp:Policy
/sp:AlgorithmSuite
-
sp:Layout
-
wsp:Policy
sp:Strict/
/wsp:Policy
/sp:Layout
/wsp:Policy
/sp:TransportBinding
/wsp:All
/wsp:ExactlyOne
/wsp:Policy
-
wsp:Policy wsu:Id=IF_IF_ZEMPTRACK_EARN_OVIEW02
-
sapsession:Session
sapsession:enableSessionfalse/sapsession:enableSession
/sapsession:Session
-
sapcentraladmin:CentralAdministration wsp:Optional=true
sapcentraladmin:BusinessApplicationIDE050E0E32D50BFF1A3D400221969C2CB/sapcentraladmin:BusinessApplicationID
/sapcentraladmin:CentralAdministration
/wsp:Policy
-
wsp:Policy wsu:Id=OP_IF_OP_ZemptrackEarnOview
sapcomhnd:enableCommitfalse/sapcomhnd:enableCommit
sapblock:enableBlockingtrue/sapblock:enableBlocking
saptrhnw05:requiredno/saptrhnw05:required
saprmnw05:enableWSRMfalse/saprmnw05:enableWSRM
/wsp:Policy
-
wsdl:types
-
xsd:schema attributeFormDefault=qualified
targetNamespace=urn:sap-com:document:sap:rfc:functions
-
xsd:simpleType name=char12
-
xsd:restriction base=xsd:string
xsd:maxLength value=12/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=char4
-
xsd:restriction base=xsd:string
xsd:maxLength value=4/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=char80
-
xsd:restriction base=xsd:string
xsd:maxLength value=80/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=cuky5
-
xsd:restriction base=xsd:string
xsd:maxLength value=5/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=curr15.2
-
xsd:restriction base=xsd:decimal
xsd:totalDigits value=15/
xsd:fractionDigits value=2/
/xsd:restriction
/xsd:simpleType
-
xsd:simpleType name=numeric4
-
xsd:restriction base=xsd:string
xsd:maxLength value=4/
xsd:pattern value=\d*/
/xsd:restriction
/xsd:simpleType
/xsd:schema
-
xsd:schema attributeFormDefault=qualified

Re: [android-developers]

2011-10-13 Thread arun kumar
yes. SQLite plz check in www.developers.android.com


On Thu, Oct 13, 2011 at 1:33 PM, RAHUL PAWAR pawarrb...@gmail.com wrote:

 hi friends
 please anyone tell me is there any way as such database?if yes,how it can
 be used?

 --
 You received this message because you are subscribed to the Google
 Groups Android Developers group.
 To post to this group, send email to android-developers@googlegroups.com
 To unsubscribe from this group, send email to
 android-developers+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: soap webservice(xml pull parser exception )

2011-10-12 Thread arun kumar
On Fri, Sep 16, 2011 at 4:14 PM, arun kumar arun.kata...@gmail.com wrote:

   while debugging  the problem occured at the  namespace and
 soapaction.can any one tell me how to solve this


  private static final String SOAP_ACTION =
 urn:sap-com:document:sap:soap:functions:mc-style/zemptrack_overview;
   private static final String METHOD_NAME = zemptrack_overview;
  private static final String NAMESPACE =
 urn:sap-com:document:sap:soap:functions:mc-style;


 Thanks in advance



-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] socketexception

2011-10-12 Thread arun kumar
10-12 14:41:18.286: DEBUG/SntpClient(58): request time failed:
java.net.SocketException: Address family not supported by protocol




while am doing webservice appliacation am getting the above error..can
anyone ggive me how to solve those issue...

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

  1   2   3   >