[Q] Programming a Native Messenger - Windows Phone 7 Q&A, Help & Troubleshooting

Native Messenger
Hello,
I have a question about the programming on a Phone7.
(I canĀ“t write this in the developer section sry
Can I write a App that use sockets on a unlocked device?
I planing a port of Pidgin for Windows Phone 7 but this OS is to new for me that I can collect enough informations.
br
Bibox

Yes, you can use sockets, but not through an official API, so you can't publish an application using sockets on the Marketplace. See this thread for an example using COM interop. I think it might also be possible to access the .NET classes using reflection, but I'm not sure about that.

Technically you can for developer unlocked devices, but the official SDK is coming out next month with socket support - so you may be better writing the UI and data models, then implementing the socket support when the SDK arrives.
I think the Webserver source code in the software development section shows how to use sockets on developer unlocked devices.
Sent from my 7 Pro T7576 using Board Express

Related

New app dev server host question

I'm new and want to develop a new app.
My Q is:
I want to connect 3 or more devices to one pc. Via bluetooth or IP (Wifi) or activesync.
The app that I have to run on the PC (Host and settings) can be build from the ppc development tool (for example basic4ppc or the MS dev kit) or I need to use a different language - development tool for PC only?
I know it's totally noob q but I'm a newbie...
thanx for your time in advance...
Ok I started with Visual Studio 2008 and C#.
Here in the wiki is said to use C++. In that case I have to build the app then send it to the ppc or the emulator and test it?
Now another Q concerning locking and having to register the app... are there any standards?
Are there any buttons tricks etc to spice the forms?
Since as I see there is no answer can you please point me at some programmers forum for WM???

[Q] developing an Android wp7 app combo

Ok, so I recently got a brand new asus transformer honeycomb tablet and I have a Samsung focus. I am a developer (for practicing and developing little on-the-side projects) for wp7 and I have the app development software for Android ( I am going to develop apps for Android also) and I was wondering if the current wp7 would be able to support remote control of an Android device (the reverse is seemingly impossible) similar to a remote desktop solution. I can develop a server app for Android once I familiarize myself with the language but my problem is whether the client is possible to build on the wp7 side. Or should I wait for mango? Thanks and if this needs to be moved to development, then please move it.
Sent from my mailbox
Oh, and the expensive xda app for windows phone 7 is broken because once u reach a certain # of lines, a black bar covers up what you are typing so u can't really know what u posted
Sent from my mailbox

send serial data over USB from my motorola defy+

Hi xda dev team !
I would like to write an android app which sends serial data (over USB as bridge) to a hobby
circuit. The app should work on my Motorola Defy+ (android 2.3.6) and look like
a text editor (with some exceptions) - the window content should be sent to my circuit.
The problem is that the only programming language I know is C and my Linux knowledge
is minimal, almost zero ! FTDI offers some "java drivers" on their site for USB to serial converter
chipsets, but those work only on android 3.1 and above (USB host capability on android device).
An alternative would be the use chipsets like FT 311/312 which act as usb hosts
and comunicate over AOA (Android Open Accessory) Protocols with android devices.
How do i know which AOA protocol version my phone has (i want to make my app upwards compatible
so it can be used by as much android devices as possible)? Also, which IDE should i use
taking into account that i'm a beginner in this matter ? Can somebody give me some tips
where to start from ?
thanks!

[Q] Mapping a shared Windows file to Android using Adhoc

I am newer to Android development but would like to know how to communicate with my Windows 8 (7 or XP) environment over Adhoc from my Android phone. I have researched this topic and I generally see people refer to the play store to download an app. I don't just want the functionality, but I want to know how to do it myself. Whether if there is a specific library I can use through android development, or if their is some command line option I can use via Android to do this.
So, how would I go about browsing files on my Windows machine without using an app? I know the Android O/S (at least what I gathered from the articles I have read) does not support this. So what are developers doing in their apps to create this connection? Or what is the best book to buy to help me understand how to do this?
Thanks!
google about android socket file transfer

Android 11 popup on unattended device

Hello,
I have a huge problem that is making me leave android.
Since android 4 I have been developing software for devices that are stuck to a wall and spread-ed across the country, mainly price-checking and digital signage software.
The end user (the client from the retailer) cannot access menus and anything else other then what running software offers. With android 4 I was able to make updates to software remotely, and monitor control all the device, with vnc and ssh.
Recent android versions are picky and for example i cant have vnc , neither an ssh that allows me to control the system, unfortunately whit this i can live. but for example if i need to update my app with another apk which require more permissions it will show a popup asking for permissions, that is not OK on a remote device where no one from the company is using it. I cannot hope a client clicks yes on the popup for my app to run again.
Android 4 and 5 where perfect, android 10 and 11 are terrible for this. How can i bypass this, is it possible?
Thanks and sorry for the English.

Categories

Resources