Android :: Strategy For WCF Server With Net Clients?
Apr 15, 2010
I am using WCF to write a server that should be able to communicate with .Net clients, Android clients and possibly other types of clients. The main type of client is a desktop application that will be written in .Net. This client will usually be on the same intranet as the server. It will make an initial call to the server to get the current state of the system and will then receive updates from the server whenever a value changes. These updates are frequent, perhaps once a second. The Android clients will connect over the Internet. This client is also interested in updates, but it is not as critical as for the desktop client so a (less frequent) polling scenario might be acceptable.
All clients will have to login to use the services, and when connecting over the Internet the connection should be secure. I am familiar with WCF but I am not sure what bindings are most appropriate for the scenario and what security solution to use. Also, I have not used Android, but I would like to make it as simple as possible for the person implementing the Android client to consume my services. So, what is my strategy?
View 1 Replies
Mar 5, 2013
I've created a java server and an android client (A), the client(A) gets it's GPS coordinates and sends them to the server, I need the server to send them to client(B). I'm not entirely sure as to what to do, whether I should have separate ports etc or what.
Below is my two clients and server
SERVER
[HIGH]import java.io.BufferedReader;
import java.io.DataInputStream;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.net.ServerSocket;
import java.net.Socket;
import java.util.Scanner;
[code].....
With this, I run the server, then run CLIENT B in the emulator and CLIENT A on the device, once I run CLIENT A, CLIENT B force shuts.
CLIENT A / SERVER connectivity is 100%, it prints to console (for testing). What I need to try to find out is how do I send the data to CLIENT B, I have used different ports and i'm sure that's why CLIENT B force shuts.
View 1 Replies
View Related
Jul 16, 2010
I'm using the EMail Client "Eudora" on my computer to retrieve messages on a POP3 Server. I don't understand if there is a way to retrieve the same messages from the POP3 Server on my mobile phone. The phone is running Android OS 2.1. I manually added all the information into the native E-Mail application on my phone, and it works fine for a couple hours then stops for a few hours, and then it works fine again, but then stops working again for a few hours, and so on and so on.
In addition, I received messages from 8:07AM to 10:39AM, then received no messages between 10:40AM to 1:42PM. At 1:42PM I started receiving messages again; the weird thing is I only received messages after 1:42PM, I can't retrieve the messages from the gap between 10:40AM and 1:42PM. And yes I'm sure I received messages during that time. I can't figure out any correlation between what I'm doing with the phone, and when the phone receives emails.So, my question - Is there a way to view messages from a POP3 server on my Android OS 2.1 phone using any E-Mail client?
View 1 Replies
View Related
Sep 22, 2010
Let's get real here. There are tons of threads that cover email on the droid. But Seriously, What are some good apps that support OWA <-- Emoze is the only one I can find so far, however it is not supported on droid at this time. This should be a very basic piece of software.
- connect to a https:// site - you may need to install a security certificate?
- logon with username and password
- send / receive mail
View 5 Replies
View Related
May 31, 2010
I am using vpnc on my computer to connect on my university VPN. Once again, the configuration is not straightforward, but, mainly, I use IPSec, I have an ID for the VPN, a gateway URL, a secret word, IKE Authmode of PSK, IKE DH Group, Xauth username, Xauth password, I need to enable Single DES, and I have two 'target networks'.
The fact is that Android (2.1)'s built-in VPN does not ask me all these info. It keeps asking for a pre-shared key (this is evidently the contrary of the certificate method), but I do not have such a pre-shared key. Connecting (to the VPN) through my computer works perfectly. What can I do to make Android compatible with the VPN?
View 2 Replies
View Related
Oct 8, 2010
Was just curious if there were any multi IM clients (meaning, ones that have AOL, Yahoo, Facebook, MSN etc all in one) that had push notifications? The one thing I miss on my Blackberry was the IM+ program. I could set it so that I could receive IM's via email (which come's in handy when working in a hospital and the signal goes out at times).
So whenever someone messaged me, I would get it in my email when I had a signal and respond back via email. Is there anything like this out there for me on my HTC Hero Firmware 1.5? I currently use the free eBUDDY program and have slightly tried out the free IM+ and Palringo. But I am not having any luck with finding one that has the push notification.
View 5 Replies
View Related
Dec 8, 2009
For the past two weeks, I am working to create an application ,which is used to communicate with all Messengers in android. I am using Smack api for that, and now I can able to connect to the GTalk.Now trying to connect it to the Yahoo messenger. But it is throwing some exception. I want to know whether we can create Yahoo IM client using smack api or not. If possible please give the list os IM clients supported by Smack api.
View 1 Replies
View Related
Sep 8, 2010
I have two EVO's, and I'm on the absolutely unlimited everything plan for both phones, which means that on a monthly basis Now, if I moved down to unlimited everything plan except for calls to landlines, I could save a lot. As I understand that plan, all calls to any cell phone are unlimited, but I would have a minutes cap on land line calls during the day on weekdays. So, can I use some kind of App to make land line calls during the day on weekdays and avoid the charge to my limited land line minutes? I would want an App that allows calls to be received and placed. I think there is an App for that, but it requires a new number to be registered?
View 13 Replies
View Related
Jul 8, 2010
I know that Android will help merge/link duplicates, but I keep wondering if I should consolidate my contact management in one place. That is your contact management strategy? Centralized? Distributed? Where do you keep your contacts? My gut is telling me to keep them all in MS-Exchange, and delete all contacts in the other places, and just keep them updated in MS-Exchange... At the same time, since Android is a Google based phone, perhaps consolidating in Google/Gmail is the right answer...
View 4 Replies
View Related
Jul 2, 2010
In my Android app, I have some data that needs to be synced daily but also needs to be updated every hour when a user is inside the app. I have already implemented a service that gets called from an alarm for the daily update. I'm having a problem with developing a strategy to do the hourly sync. I could use an hourly alarm too and fire the same intent, but since your app can be killed at any time, there would be no way to cancel it (and since they use the same Intent, doing a cancel would cancel ALL alarms including my daily sync, so that's probably not good). The other option is to use a Timer that's set when inside the app, and have that fire my Intent when inside the app. I'm assuming all Timers get canceled when an app is killed right? But my app consists of several activities and I want the timer to work across all activities, how do I do that? I dont want to duplicate code - we're already using a subclass for Activity and ListActivity.
View 2 Replies
View Related
Sep 3, 2010
So I've recently released an application on to the Android Market. Whilst it was in the "Just In" section I was seeing decent download numbers, but since then interest seems to have dropped off significantly. I think now people can only find my app through a specific keyword search, which doesn't make me particularly confident about it ever becoming popular.
What can you do when your app has passed the 'Just In' stage but has not reached the 'Featured' stage? The majority of applications seem to be in this middle stage so I think other people must have a similar problem. It seems like the 'Featured' section just makes the popular apps more popular, and makes it really difficult for newer apps to ever catch up with them. Does anyone know if the situation with the Apple App Store is any different?
It seems to be possible to refresh your app and make it appear in the 'Just In' section again if you update it sometime after, but I can't find any real guidelines on this. Is anyone familiar with the specific rules for this, and is repeatedly riding the 'Just In' buzz the only viable strategy for a new app?
View 1 Replies
View Related
Jun 5, 2010
I find that the basic Androd (On SE Xperia X10) features reliable But basic and I'm very frustrated that I do not seem to be able to copy/paste out from received emails And it would be nicer if the same application handled Gmail too.
So are there any work-arounds or alternative email clients with more features available?
I have asked a similar question in the Droid app developers requests forum but have no responses yet.
View 1 Replies
View Related
Aug 5, 2012
Is there any strategy war games for android? Like click and point type.?
Nexus 7 using xda premium
View 6 Replies
View Related
Dec 11, 2009
With Google Talk I'm automatically logged in with my main gmail account. Is there a way to add other gmail accounts to this? Or swap to a different account when I need to? How about non-gmail accounts? Can I add an AIM account, for example? Is there an app that can manage multiple chat accounts? I use Adium on my Mac to have 3 or 4 different chat accounts open (useful for work, people who don't have gmail etc.) and I'd love to do the same thing with my Droid.
View 2 Replies
View Related
Jan 9, 2010
I'm not looking for a program that communicates with my computer or seedbox, I have Torrent-Fu already for that. I'm wondering if there are any decent torrent clients for Android so I can just download a torrent right over my 3G connection. Searching torrent in the Market only gets one client that costs $5 and apparently is missing key features. Are there maybe some good .apk packaged torrent clients out there not in the Market? I'd assume that Vuze (as mediocre as it is), being written in Java, could be ported fairly easily as well.
View 10 Replies
View Related
Nov 17, 2010
I need to explore the world "You wrote a killer application, but do you have an Android/iPhone/iPad client?".
My questions are:
1) which is the best way to send data to those devices? Soap and Rest as suggested here? Or are there some specific techniques? (My app is written in Delphi and I can expose data with webservices if needed)
2) For x-platform (where by x I mean basically apple products and android) development is there a tool? Or the only solution is write one client per platform that "embeds" a web application optimized for mobile devices?
3) which are the techniques for caching locally some data / working offline? Is it different in the 2 worlds or is it common?
View 2 Replies
View Related
Nov 24, 2010
We have been working on making a Android Application. The issue we are facing is the support across various Handsets, which actually are increasing by everyday. Our application deals with Android Calendar. Does anyone have idea about as to how we can span across the various handsets, is there a way where we can give types of handsets supported, or MARKET can handle it on its own?
View 1 Replies
View Related
Nov 24, 2010
We are planning on this strategy to distribute our application to clients. We would like to get your your thoughts, if you have done something similar, in terms of whether we are missing something. We have tested this approach and it works.We want to distribute our application to our clients without putting it on the market as we do not want every one to download it. We want our clients to be able to easily get future upgrades to the application. Here is how we are planning to do this:
1. export the apk file using the Eclipse wizard.
2. put this apk file on a website. The user will be able to go to this website on the browser on the phone and install the 1st version of the app.
3. next versions of the app will have an incremented android:versionCode, and android:versionName in the manifest. A button in the settings will point to a link which will have the next version of the app. So to upgrade the user will click on this settings button and download the next version and click on the apk file to replace the old version.All subsequent versions of the app will be signed by the same certificate using the export wizard in Eclipse
View 2 Replies
View Related
Apr 15, 2010
In college, my senior project was to create a simple 2D game engine complete with a scripting language which compiled to bytecode, which was interpreted. For fun, I'd like to port the engine to android. I'm new to android development, so I'm not sure which way to go as far as deploying the engine on the phone. The easiest way I suppose would be to require the engine/interpreter to be bundled with every game that uses it. This solves any versioning issues. There are two problems with this. One: this makes each game app larger and two: I originally released the engine under the LGPL license (unfortunately), but this deployment strategy makes it difficult to conform to the rules of that license, particularly with respect to allowing users to replace the lib easily with another version. So, my other option is to somehow have the engine stand alone as an Activity or service that somehow responds to intents raised by game apps, and somehow give the engine app permissions to read the scripts and other assets to "run" the game. The user could then be able to replace the engine app with a different version (possibly one they made themselves). Is this even possible? What would you recommend? How could I handle it in a secure way?
View 1 Replies
View Related
Sep 29, 2009
Client makes remote call to the service (returns void) and provides a callback object Service executes some long running logic on the background thread and then uses callback object to trigger ether success or failure which (since these manipulate visual elements) The scenario runs fine. The question is - can I use AsyncTask to make code less verbose (how?) and would be there any advantages in doing it
that way Or should I just get away from client callbacks alltogether and execute remote service calls retrofitted to return some value.
View 2 Replies
View Related
Oct 5, 2010
I'm developing a series of applications for mobile devices, we'll call them Orange, Cherry, and Pear. Now, because of my familiarity with Blackberry, I chose to begin implementing the first of these three applications, Orange, on the Blackberry platform. I found a way to integrate a number of Blackberry platforms (since they use relatively the same API among different BB operating systems, with some exceptions) into the same codebase. Currently, my codebase looks something like this:I thought that perhaps another thing I could do would be to create separate projects, for instance orange-blackberry and orange-android. This might clutter my svn repository, however, since we keep all of our projects in the same repository. So, inevitably, I will have orange-blackberry, orange-android, cherry-android, cherry-blackberry, pear-android, pear-blackberry, along with a series of project folders for any other application I create. So, I'm looking for some feedback about what might be the best way to manage all of this chaos. Also, if you could throw in some ideas about the logistics of transferring from my current implementation to the newer one, (i.e. what svn commands I should use to maintain history.
View 1 Replies
View Related
Sep 15, 2010
I'm binding to a local Service (that is, not using IPC and AIDL) from several activities. I want to ensure that I'm not holding references to this service from activities that the user isn't using. My options are: 1.) to bind to the service in onCreate() and unbind in onDestroy(). 2.) bind in onStart() and unbind in onStop(). 3.) bind in onResume() and unbind in `onPause(). Or some combination of these. Which is the best-practice way of binding and unbinding to a local service? Do I not need to be concerned with holding local connections from stopped activities? Additionally, once bound to this particular service I am retrieving a Cursor which is attached to my ListActivity via a CursorAdapter. The data retrieved by the Cursor may have changed while the Activity was out of view so I want to requery it when the Activity is shown again. If I bind in onCreate() I can requery in onRestart(). If I bind in onResume() each time the data will be fresh because I'll query it in the Service's connected callback.
View 1 Replies
View Related
Nov 14, 2009
I have an app which has a download size of about 7MB and an installed/ configured size of about 25MB. So far, I've been handling this by using the SD card for the baulk of the data. This works fine although the installation process is a little cumbersome. I notice the smallest of the Archos 5 tablets is 8GB.
Can someone confirm whether this is all part of the internal memory? In other words, can /data/data/com.mypackage fill this memory (potentially). If so, does this mean there is a good chance that getExternalStorageDirectory() will quite often return null? Because people will have less need to use an external SD card.
View 2 Replies
View Related
Oct 12, 2010
I just purchased a Samsung Intercept through Virgin Mobile and am hoping I can find a simple application to store my clients information using it.
I am a Hair Colorist and I have been using a Sony Clie in the past to keep my client info up-to-date, but it finally died. I am hoping my new phone can keep track for me now.
Here is what I need the app to do.
1) Clients Name (so I can easily search for client)
2) Phone Number (so I can call them)
3) Address (not mandatory, but would probably be good)
4) Client's Hair Color Formula (text area where I can write down their color formula)
5) Date of last appointment (and maybe their upcoming appointment)
Does anyone know if there is something out there like this already? It seems like it should be a basic app, but I am BRAND NEW at this, so I have no idea .
View 4 Replies
View Related
Jul 20, 2010
Here's my issue: Came from a windows mobile phone. However, one area winmo is obviously good at is exchange support. Here's what I mean:
I regularly receive and forward large attachments (PDFS - usually 10 megs or so), and the winmo phone made it easy to do so when out of the office. I'd just hit forward and away it would go. The phone would tell the exchange server to forward the mail, and it was done. The phone never actually downloaded any attachments to forward, unless of course I wanted to download it for viewing.
I've found this phone instead of just telling the exchange server to forward the message actually has to download the attachment, then resend the attachment. This is stupidity in it's fullest when working with a 10 meg attachment. Instead of taking a split second to forward something it'll take minutes to download, then minutes to upload, and obviously shorten battery life considerably. So my question is - am I missing settings, or is the installed mail application not able to do so - and are there any android mail applications that will forward attachments off an exchange server without actually downloading the attachment first?
View 5 Replies
View Related
Nov 8, 2010
I write Windows/iPhone/Android apps that mostly display large documents (HTML) in an HTML container view. What is a good strategy to determine where in a document the users has scrolled to so that when the app runs again, it goes to that location in the HTML document? ll of my software can 'listen' to javascript. Is there a way to find in a HTML page, perhaps with javascript, where the visible section is?
View 1 Replies
View Related
Jun 8, 2010
Is there a way to make the text messages from only certain people go to lets say handcentSMS instead of the standard messaging area?
View 4 Replies
View Related
Oct 24, 2010
This Eris is rooted, with KaosFroyo v37 and Pirelli Z-rated tires. It's fast, stable, functional - everything I'd hoped. I have a nandroid save of the unit on v34, which I'd like to keep - just in case. If I do a nandroid backup, of v37, will it write over v34? I have mybackup pro and Titanium free. This Eris isn't used for music or video, so memory is far from used up. Given these conditions and resources, and considering my ignorance, what's my best backup strategy?
View 5 Replies
View Related
May 14, 2010
Long story short, my Dad gets a discount on monthly data plans on VZW through his job, so I don't want to order the Incredible online or by mail because it would be a hassle to set up the contract that way. And after reading other forums people are having a ton of problems with finding when their orders will arrive, canceling credit card billing, etc. So next week I'm coming home from school, my current phone is broken, and I need a new phone before I start a new job on the week of the 24th. If I went into one of my four local Verizon stores on Monday, Tuesday, or Wednesday, what are some tips to get the phone in-store? Are there any chances of finding one or advice you guys could offer on getting employees to pull strings?
View 12 Replies
View Related
Mar 29, 2010
When i get my Desire i will primarily be using my Outlook Exchange for work mail and google mail for private mail.
I have all my outlook contacts up to date and a few years ago i synched the outlook contacts with my google mail account.
Since then i have probably updated just a few of the google mail contact details.
This means there will be a clash between some of the contacts in my outlook and google account.
What will the phone do if i synch with outlook and also sign in to my google account?
Firstly i'm wondering if all the contacts will be out in the same place? (is this called people?)
I'm also wondering if it will duplicate contacts?
Could it be a neat new method of keeping outlook and google contacts fully synched?
For example, If i temporarily delete all my google contacts, synch the phone with outlook, and then they will be synched with google?
View 1 Replies
View Related