Android :: Using Android App To Interact With A Windows Application
Feb 11, 2010
I'll come up with any excuse to get a chance to write my first Android application. I've never done much with it except for a couple of tutorials.
I've got a Windows application that controls a device, and the computer isn't necessarily right next to it. I think it would be great to be able to use my Droid to issue the device commands, but I'm not sure where exactly to start. I don't have a problem writing the GUI code or Java required to send commands to the PC, but it's the wireless connection to the PC that I don't know how to approach.
Bluetooth seems like a good choice. I have a USB-Bluetooth adapter, but no Bluetooth API on Windows. Can anyone suggest one? From reading other questions here on SO, it sounds like the 2.0 SDK has some sort of Bluetooth API, so that's good.
Another option is to use 802.11, and then write a web page / service that would allow the phone to issue commands to the device.
View 2 Replies
Nov 1, 2010
Today, the focus of a cell phone's capabilities is drifting away from plain making a phone call.
And somehow, this shows in the API's too. Therefor I'm wondering: if I want to write an app that e.g. pitches up, records, scrambles... an incoming call - you know, the voice on the other side -, what aspect of the API should I use?
I looked into Android, into Windows Phone, iPhone... (briefly), but had no luck. Is this just unintended usage?
View 4 Replies
View Related
Oct 4, 2009
I'd like to use python scripts as plugins for an app I'm developing. This seems to be possible by interacting with android-scripting-environment (ASE), as is done by Locale, but I haven't found any documentation about this. How you execute ASE scripts from your own app?
View 1 Replies
View Related
Jun 5, 2009
Is it possible for an app icon to drag over and interact with a widget, similar to the action of deleting an icon or adding something to a folder?
View 2 Replies
View Related
Mar 10, 2013
So I want to quickly make a small app that has a few buttons that spit out information, and some toggles that alter variables. Now if I were making this for PC I'd throw it together in 5 minutes with a Windows Form, but I want this on my phone. Any tools or SDKs that would provide something similar?
View 2 Replies
View Related
Jul 21, 2009
I'm trying to work with a web service (that I have no control over) that returns a SQLite database when you query it. Is there any way to do this?
View 3 Replies
View Related
Mar 22, 2012
I am trying to get an application to interact with basic settings of an andriod phone so that the functionality of the app can be switched on or off in the main settings functions...
View 1 Replies
View Related
Aug 18, 2010
I used Eclipse with the Android SDK to develop the original application. I ask since this was my first Java (and Eclipse, and Android, and XML) project. I assume that most of the Java should run on the PC without too much trouble. I may want to restructure the code to isolate the Android specific functions. Should I stay with Eclipse or move to something like NetBeans?
View 3 Replies
View Related
Aug 27, 2010
My application needs to perform some activities in background (like interacting with the network and check the location and some other stuff), having or not the main activity visible. Which is the best way to achieve this? Should I write a service for each kind of job? Or just one service that performs everything? I am aware that I will need to launch threads / asynctasks in any case because the service runs on the same thread of the UI, but maybe having several services is a more clear and readable structure.
View 7 Replies
View Related
May 18, 2010
Dear I have an app developed and deployed on my HTC mobile phone. I am able to debug this in eclipse with the USB driver SDK. The mobile phone appears now in the hardware manager ADB interface. I would now be able to send data through this USB connection to the mobilephone which my app is able to handle. I know some tethering software which does this, therefore there must be a way to communicate with user data and with my app.
View 1 Replies
View Related
Sep 3, 2010
That I can download to interact with other android users.
View 2 Replies
View Related
Sep 20, 2010
I am creating an app which allows for many different Activities to be started from a TabActivity(up to ~25). Most of the activities require data from the sqlite database, so when onCreate is run, an AsyncTask creates an SQLiteOpenHelper object(which will open a readable/writable database), runs a query, data is retrieved, and everything is then closed.
I was just testing messing around to see if i could break something, so i added every Activityto the TabActivity's TabHost. I then started mashing each tab as quickly as possible.
I noticed that very quickly i began to see in the LogCat: Caused by: android.database.sqlite.SQLiteException: database is locked: BEGIN EXCLUSIVE; and the app proceeded to die.
Typically there will only be about 4-6 tabs(i can just limit the user anyway) for the TabHost. I haven't been able to break anything with a small amount of tabs to mash, but i am still worried that maybe i am accessing the database in a poor way.
How can i prevent my SQLiteDatabase objects to cause a lock?
If i create a ContentProvider will that eliminate the possibility of database locking?
Do you have any suggestions for changes I could make for accessing data from an SQLiteDatabase?
I ended up taking the approach of using the Application class and storing 1 SQLiteOpenHelper and trying my best to keep it synchronized. This seems to be working great - i put all my 25 activities in the TabHost and mashed away on them with no errors.
I am calling ((SQLiteDbApplication)getApplication()).setDbHelper(new DBHelper(this, Constants.DB_NAME, null, Constants.DB_VERSION_CODE)); method(shown below) in every onCreate() in my activities
Any further suggestions to this approach or to the changes i made using this Application class?
CODE:...................
View 3 Replies
View Related
Jun 15, 2010
just wonder what people used to interact with their Evo....I keep hearing Linux is better to use than windows? I'm trying to get linux up and running for when i get my evo if that is the case. Just wonder if its worth the trouble...is there anything i'm missing if i dont use linux.
View 12 Replies
View Related
Apr 30, 2013
If I wanted to create an app that manipulates, reads the data of, or controls an external electronic device, what coding or technologies are involved in this? some apps control an toy RC plane in the room.
View 1 Replies
View Related
Jun 17, 2010
I'm a new HTC Desire user and was wondering if any of you could recommend the best app to use for Windows live messenger. I was going to download meebo from the market, but just before installing I read a warning that the app could prevent the phone from sleeping. Obviously this would then cause the battery to die faster, which is a concern for me. Does Meebo actually prevent the phone from sleeping? I want a decent messenger app that closes when I log out of my windows live messenger account and doesn't prevent the phone from sleeping and run down the battery.
View 3 Replies
View Related
Apr 25, 2010
I've rooted my Eris and have am wanting to use the Wired Tether app. For whatever reason, I cannot get my Windows 7 PC to connect to it. If somebody could walk me through the steps to get it connected, I'd greatly appreciate it. I have searched and come up empty on results. People say it asks to update/install drivers, it needs ndis drivers, etc, but I'm not sure exactly what all that means or even how to do it. For example, to even get to that point, which option do I select on my Eris when I connect it? Sync? Charge only?
View 20 Replies
View Related
May 6, 2013
Would make a Windows Software or tool to make an Icon Pack if it is provided with Images or even .png Icon files....... just creating the general xml n all files .......
View 1 Replies
View Related
Jan 14, 2010
Q: How does Web Applications differ from SmartPhone Applications (Iphone, Windows Mobile, Android/Nexus Application) and in what specific aspects do they differ and in what degree ?
Also for example,
Q: Why we need mobile version of Web Application like gmail.com or bankofamerica.com specifically for smartphone devices where we can access same web applications on smartphone using internet connections ? In what aspect do they differ and why do we have those differences ?
View 4 Replies
View Related
Nov 10, 2010
i cant wait to get my Xperia upgraded to 2.1! i have one issue though. i only have access to a work PC with XP but no admin account (big corp, so no chance of getting it temporarily) or my housemates Mac. my girlfriend has a laptop but she wont be home until next weekend are there any non-windows/non-admin methods of upgrading?
View 6 Replies
View Related
May 21, 2010
I have had DC 2.08.1 installed for about 2 weeks with no issues. I decided to go ahead and partition the SD to utilized apps2SD as I was having memory issues. That process, while not smooth, went through okay and the SD card is working with the partition and apps2SD. However, ever since that was completed, my Windows 7 box no longer recognizes the phone either as a phone or as a drive. My Linux laptop recognizes the drive without issue.
Any suggestions on how I can reintroduce my phone to the Windows box, at least as a drive?
View 2 Replies
View Related
Aug 9, 2009
I cannot get windows to install the SDK drivers instead of its preloaded disk drivers. I have tried to do a manual update from the device manager, but windows believes it knows better and says the best drivers are already installed. I also tried to shut of the automatic driver installation through the system settings but it still installs its own drivers. This is getting extremely frustrating, when i run adb it says that there is no device connected.
View 3 Replies
View Related
Jun 14, 2010
I have an Evo 4G and I'm eventually trying to root it (the right way). I'm trying to install the SDK (for Windows XP) and I'm having an issue. I installed the Sun Java JRE, HTC Sync and I downloaded the SDK. I re-booted my PC, then enabled USB debugging on my Evo and plugged it in to a high speed USB port and then let Windows find the drivers. Now I did a test to make sure the SDK was installed correctly. I went to "android-sdk/tools", then opened a command prompt and entered "adb devices" to make sure that I can see the device's serial number...but I keep getting this...'adb' is not recognized as an internal or external command, operable program or batch file".
I keep getting this error message even after I prompt to the tools directory. I tried re-installing drivers, I tried deleting and re-installing all software and nothing seems to do the trick. I still keep getting "...is not recognized as an internal or external command, operable program or batch file".
View 3 Replies
View Related
Aug 18, 2009
I want to modify the usb_windows.c in /system/core/adb and recompile a new adb.exe to test our platform. but, when i use "make HOST_OS=windows", it failed. i use ubuntu 8.04 and i can build with "make HOST_OS=linux". does anyone know how to build my adb.exe?
View 12 Replies
View Related
Jul 27, 2010
These days it seems like all you hear about are Iphones and Droids. Are Windows OS phones on their way out?
View 2 Replies
View Related
Nov 3, 2010
just installed it wow this is awesome would look amazing on a tablet. but htc desire for now.
View 21 Replies
View Related
May 16, 2009
Anybody can send the link how to install Android SDK 1.5 on windows XP. I have install many times according to this link.
http://www.buildcontext.com/blog/2008/11/21/android-sdk-browser-test-...
It is not displaying the simulator.
View 5 Replies
View Related
Mar 26, 2010
Has anyone tried to develop an android app on windows 7? It says that it isn't a supported OS, but sometimes that doesn't stop people from trying to develop on it anyways.
View 7 Replies
View Related
May 21, 2010
Looking to do iphone, android, and possibly windows phone development on a Mac Pro. What are the pluses and minuses of using a Mac Pro and a dual boot. Unlike most, Windows 7 will be the primary OS since most supporting software will be done with Visual Studio 08/10 over the next year. I have found driver issues from a few years ago. Do any of these issues still exist?
View 1 Replies
View Related
Mar 28, 2010
When I start setup I get this message: XML verification failed for http://dl-ssl.google.com/android/repository/repository.xml. Error: cvc-elt.1: Cannot find the declaration of element 'sdk:sdk-repository'.Failed to fetch URL reason: Unknown
Even when I force the download to use http nothing happens. I get no downloads etc for the SDK.
View 2 Replies
View Related
Dec 17, 2009
The short version of my issue at hand.
Windows 7 Professional x64
Java JDK 1.6.0_17 x64
Eclipse Galileo wADT Plugin installed
Android SDKtools r04
Since the Android SDK download now only includes the tools, you have to run the included SDK Manager application (SDK Setup) through which you can download the platforms, additional tools, docs,etc.
Under my current configuration SDK Setup bombs on launch, so, I can't do anything since I do not have a single platform to start writing against...I've read a few places that the fix is "just install the 32 bit JDK and all will be well" that seems surprising and disappointing option for a work around(downloading it now to try).
My question is this, anyone else run into this same issue and how did you get past it? Is there a place I can "download by hand" the components I need that I missed on the Android SDK site?
Odds are pretty good that the 32 bit "fix" will work, but that seems wrong that I'll have to install a secondary version of the same SDK/JRE just to run this tool and to download the actual Android SDK components
UPDATE: Well, the work around that requires you to also install 32 bit java and referencing that as your JAVA_HOME worked, either by calling the SDK setup manually or through eclipse. I'm not particularly happy with that, so I'll leave this one open for the time being in case there are other ways to get this done that people may know about.
UPDATE 2: Not directly related since it is Linux centric, but there are troubleshooting steps if trying to run the SDK/Eclipse under Linux 64bit where they reference the need to be able to run 32 bit, but nothing similar under windows x64
FINAL UPDATE (?) Taking the info Seth's answer gave me, and running the bat manually(once I knew what file SDK Setup was running) the answer for me was simply adding ANDROID_SWT path variable that pointed to a valid location with the x86_64 swt.jar....the android sdk directory had one, seemingly in the right place, but it couldn't find it until I added that to my path.
View 7 Replies
View Related