[Q] I can download a webservice (SOAP) for my application? - Java for Android App Development

I have a web application with SOAP webservices.
Example.: wsdl2code.com/SampleService.asmx?op=HelloWorld
I'm developping a application for Android, and i want know if can i download the SOAP service at xml file to specific folder on my Android application?
Example: webservices/soap/HelloWorld.xml
Thanks

Related

copying and pasting in c# (visual studio)

hi,
i have a problem with visualstudio .net framework 1.1
in my application, i define a context menu and a copy and paste menuitems.
in the correspondent function, i access to the Clipboard object
but the system generates a compilation error: The clipboard object is not defined.
the help contains a reference to the Clipboard class, and the examples of the msdn uses them !!
help me, please.
thank's
I have read that you need cpf 2.0 to access the clipboard idataobject. I have not tried it because I have had too many other problems with the compact framework and now only do win32. It seems to me that there is something funny going on with the clipboard and that mcrosoft have been trying to make it look like its implemented properly when in fact it is not. Look at real software like resco file explorer and see that even they could not find a way to access it. You cannot copy from file explorer to resco file explorer. There is also no help from drop files structure that a pc windows program may use to get the data object. If you do get the clipboard to work properly in cpf2.0 I would love to know if the data object can be used to access the information about the location of files or if it is only useful for framework related purposes.
hi,
if i install the cpf2 and i compile my application with them,
the application works in a pocket with cpf1 or not ?
thank's
It would not work unless the ppc had the 2.0 redistibutable. Its free so you clould just include it in your instalation.

[Q] Local HTML file in browser

Hello
I need to edit some HTML files on my tablet.
I know that we can't open a local HTML file in the browser. Only with HTML Viewer, but without javascript.
Is it possible to install a local server, as a workaround ?
Thank you for your help.
I can recommend you Dolphin Browser HD. It is not freeware, but it is the only one with which I could open local html files on my other device (i think there is a demo version if you don't want to pay. well, everyone knows what to do when they don't want to pay). And I think you can install pretty much any linux disto in chroot but you need root access first.

Help - Adding org.jboss.netty to my application?

I'm trying to write server-sent event protocol and I want to use the org.jboss.netty to my app.
1. Is it a good practice to use this folder in android application?
2. How can I add this package?
Thanks,
Dudu
you can add netty jar file in libs folder of you android project

How to add image in java web service

My android app want to display image from sql database, database contain image url.
i know how to create web service in java and how to access web service in android ,
how to add image folder in my web service and how to access image in android app
can any one help me.

How to configure android application before or during instalaltion?

How to configure android application before or during instalaltion?
Is there any standard approach how to configure android application with custom settings before or during instalaltion?
Our users will not use Android market to install our application. They will download apk file from some local site in local network.
Our android application should communicate with server side application.
Different clients(corporate clients) will use different URLs for server side applications.
We need to setup correct URL for server side application before or during installation of apk file on user's phone/tablet.
It should be done automatically without interaction with user.
User should install apk file and after installation application should work with correct server side application.
How to do it?
One approach - create different apk files for different clients and set somewhere in application resources correct URL for server side application.
I do not like it. Actually client could change location of server side. In this case we will need to create new apk files.
Second approach:
- Create apk file.
- Install/store apk file as part of web application deployed on client's server.
- During installation of web application unpack apk file and put correct URL into some resource file.
- Pack apk again.
- Sign apk file.
- Call zipalign for this file. Is this step optional or required?
- Now user can open this web application in browser, download configured apk file and install it on phone/tablet
As result we will have custom apk file with correct URL for server side application inside.
User will install such apk on phone/tablet and application will connect to correct server side without any interaction with user.
Is the second approach correct?
Is it allowed to re-pack apk files at all?
Repackaging APK is WAY too fragile IMO.
Best to find another way.
EG, app starts, and sends request to public Internet server.
Public Internet server checks originating IP address and responds with special URL.
Or,... something on phone, like IP, MAC address, phone number, country etc. is used to calculate a URL or retrieve a URL from a list.
All that said, APK is a ZIP file and I think you could put some files in that won't require a resign.
mikereidis said:
Repackaging APK is WAY too fragile IMO.
Best to find another way.
EG, app starts, and sends request to public Internet server.
Public Internet server checks originating IP address and responds with special URL.
Click to expand...
Click to collapse
We can't use public internet server.
Our users work in corporate local network. Access to internet could be disabled.

Categories

Resources