Can't Deploy application from Visual Studio - HTC Tornado

Hi,
I've just bought my new O2 XDA IQ. (Tornado). I thought I'd try and deploy an application to it but I'm getting the following error:
Error 1 The device security configuration disallowed the connection. Ensure that you have the appropriate certificates on your device for development. Review your SDK documentation for proper security settings for connecting to this device. Device Connectivity Component.
Has anyone got any ideas for what I need to do?

Sorry for replying to own topic.
I found this link:
http://blogs.conchango.com/stuartpreston/archive/2005/11/10/2376.aspx
Just what I needed. Hope this helps if anyone else has the same problem.

Actually, it will be a good idea to use device emulator rather than your real device to debug your app. Unless you want your phone really mess up.
On the other hand, if your app use some device specific features, than you should pray every time before deploying.
That's my experience.

Related

Spyware on cooked rom?

since no one start discussing it, let me kick start.
as we all know, some of the ISO for windows operating system from BT consist of spyware, so when user download & start installing on their PC and use it, their info and access password are also given out.
seems like hackers now turn their target on smartphone users, reports says that iphone and other os for mobile start to have spyware on their system without user knowing it.
as for windows mobile, its a easier target with cooked rom spreading ard.
up til now, there isnt much news on xda dev but in china, there have reports that china made phones may have such program that monitor user usage and getting info out of phone without user knowledge.
should XDA DEV start filtering or do we need to set a rule that kitchen must be share along with the rom file?

How do I begin developing an app that controls my computer?

Hi guys,
I am new to app development and I have seen a lot of articles about apps that control the computer, but how would I actually go about making one? It doesn't need to be over Wifi either; it just has to be able to do basic keyboard actions over USB.
- Adam
Bump. Anyone know where I could start?
Start with c+ and toss in a little Java coding.
amarcott11 said:
Bump. Anyone know where I could start?
Click to expand...
Click to collapse
You haven't even described what platform you're writing said app for.
Android apps are mostly Java... The rest, I dunno. MS is probably dotNET, apple is... objective C I think?
Sorry for the lack of information. All I know so far is I have Eclipse and ADT (I am developing an Android app). I understand XML and how to develop the GUI, but when it comes to making the app communicate with a computer, I don't have a clue where to begin or how to do it.
Any tips or guidelines on tools to use or how to start are appreciated.
amarcott11 said:
Sorry for the lack of information. All I know so far is I have Eclipse and ADT (I am developing an Android app). I understand XML and how to develop the GUI, but when it comes to making the app communicate with a computer, I don't have a clue where to begin or how to do it.
Any tips or guidelines on tools to use or how to start are appreciated.
Click to expand...
Click to collapse
By having a server program running on your computer which accepts data you send from your android.
If you want it to be difficult, do it over usb, the easy way would be wifi.
Check up on "sockets".
Thanks for the reply. The only problem is, I need it to have very fast response time. I would like it to be as similar to a USB keyboard as possible, so I don't think WiFi would work. What makes doing it over USB difficult?
Do you have the server side app already? what exactly are you trying to control on your computer?
It doesn't matter what I'm controlling, I just want to be able to get my app to send information that a server side program can take and be able to keyboard map.
So I'll need to code with C++ for the server side and java for the app itself?
Plus, from what I've read, I've learned that the Android platform doesn't support USB hosting. Is this true? I've seen ways around it but it seems pretty cryptic.
Sent from my Galaxy Nexus using XDA App
There already is one that is apart of the android market and you can even use it on another computer It's called Team viewer not sure if this would help you or not, but I liked it when I needed to use it.
You can do app development on a pc emeulator instead of your phone (if thats what your asking) and Google App Inventor is great, but servers are closing soon. So goodluck!
Yeah I would start looking up about c+, c++, and java coding.... goodluck
I appreciate the help. Ryan1918, I have used Teamviewer myself, but I am looking to develop more of a controller, as opposed to a remote desktop app.
amarcott11 said:
Thanks for the reply. The only problem is, I need it to have very fast response time. I would like it to be as similar to a USB keyboard as possible, so I don't think WiFi would work. What makes doing it over USB difficult?
Click to expand...
Click to collapse
Both can be done with java and if you program it right and the wifi signal is good you shouldnt have much of a delay.
It will be difficult to use the USB as a network interface for your application.
Using TCP/IP or UDP over Wifi will be much much easier.
I don't mean to ignore what you're saying about WiFi, but I strongly believe that for the market this app will be directed toward, USB will be necessary. I don't feel comfortable giving away my idea, but just know that my goal is to make the responsiveness virtually seamless if it is at all possible.
I will test it out with WiFi first, but in case I don't get the results I'm looking for, can you expand a little more on USB?
Will it only be hard for me on the developing side, or will the consumer have to also put in extra effort to get it to work over USB (installing other apps, rooting, etc.)? If I was to develop the app around USB, I would want it to be easy to set up if I did all the coding right.
From my continued research, I have found a few articles in the following links that might be leading me in the right direction:
http://developer.android.com/guide/topics/usb/accessory.html
http://developer.android.com/reference/android/hardware/usb/UsbManager.html
http://stackoverflow.com/questions/5848876/java-sockets-transmission-in-real-time
http://stackoverflow.com/questions/4762620/sending-simple-commands-from-android-through-usb
I don't have much expertise in the area, i just took a quick google shot at it and it showed from some forum posts and questions, that doing it through usb is not the easiest way.

[Q] Large Android TV set top box deployment

Hello All,
I originally posted this question in the Android general forum but I didn't get any traction so I'm posting here in the hopes of finding some folks in the community with ideas for this project. I work for a not-for-profit children's hospital. The idea is to create a patient entertainment system (think the LodgeNET style systems in hotel rooms) using less expensive and more open hardware/software. We've purchased a few Android based set top boxes such as the EnjoyTV (I'd post the link but it won't let me) and have managed to get them configured the way we want.
The situation we're struggling with now is managing 200+ of these boxes out in the field. I have a few ideas but no one here really with the Android experience to bounce them off of.
Some thoughts:
- We would like to be able to completely reset the device to 'factory' defaults when patients leave rather than worry about locking down the devices too much.
- We would need the defaults to be our configuration, specific applications installed and perhaps even some hospital branding involved.
- I know I can reconfigure the ADB daemon on the device to listen on the ethernet port as opposed to USB.
- In doing so there is no security but I can handle security in the network layer using ACLs etc.
- I should then be able to use remote ADB commands to reset the device which I can script but what will get reset? Will my cusotmizations/apps go away? Will I have to compile a custom ROM?
- Is there a better direction to go in entirely?
Any help or even just a jab in the right directly would be GREATLY appreciated, both by myself and the kids who will benefit while they're here.
Hi,
I think you need MDM solution.
Ideally you might want to get Device admin rights and then reset it from remote easily.

btsnoop_hci.log no entries generated

Hi,
I try do debug an application that communicates via Bluetooth with a device. The problem that I have is, it seems that the app itself handles all the bluetooth stuff. I don't see the device in the bluetooth manager of Android. I can only link it via the app. And now the biggest problem: The btsnoop_hci.log is not filled with any logs related to the communication with that device. It seems that the app bypasses some standard Android routines. Did anyone of you experienced something like that?
I wanted to ask this question in the Development forum but since I'm a new user I don't have any rights for that.
Best regards,
paraplu

Android monitoring via PC and reliable malware sources?

Hello,
I'm working on my thesis about malware on Android platform and need a little help.
One of my teachers told us about PC software, that can monitor an android device and show you which app is using what and some other things. I tried to google it, but all I can find was bunch of some spy apps. Does anyone know, which software could he meant? Or is it possible to do it via Android Studio?
Also does anyone know about some reliable source of malware apps? I have to test them to see what they are doing...
All suggestions are welcome. Thank you.
You won't find any named here as they are all banned.
You can do that with adb and a logcat. Both available with the android sdk.
I can't say anything about Android studio as I have no need to use it over the command line tools.

Categories

Resources