Developer App Android - Android Software Development

Hi, I'm creating a free application for Android that uses GPS and GPRS Internet connection. And I need help, anyone can give me the source code of some examples of applications that use GPS and GPRS?
Greetings.

Related

Starting up GPRS connection

How can I programatically initiate a GPRS connection on an XDA (using EVB)?. I have a program which works when the connection is up (started using explorer) but fails when down. Would I do it using the TAPI?
Martin
I think you should have a look at the Connection Manager API.
I don't have any EVB sample code for you, but take a look at the PocketPC 2002 SDK sample CMHELPER usualy found at this path if you have eVC and the SDK installed:
C:\Windows CE Tools\wce300\Pocket PC 2002\samples\mfc\CMHELPER
BTW, you can download the SDK from www.pocketpc.com ...
here is the solution
I also was lookinf for this solution forever and never found it so i wrote the software myself. Here is the dll that you need to connect to the internet through evb it connects to the default connection no problems.
http://xdaconnect.wastedbrains.com
have fun,
Dan Mayer
Not knowing anything about C++, is there a simple way to open a GPRS connection with just eVB?
danmanmayer, can you send me the sources?
Or maybe somebody knows URL where can I found info about it?
Thanks in advance
SapphireRAS does all this and more.
Connects/Disconnects via GPRS using eVB or VB.Net
Create and manages connections, locations etc.
See www.sapphire-solutions.co.uk

Concurrent GPRS and WiFi connections

Hi all,
I am writing an app in which both the WiFi connection and GPRS connection are available for use at the same time. I am working on a WinMobile 6 HTC Wizard in USA on T-Mobile network.
When I have both connections open, I am able to access the WiFi but not the GPRS (faster connection I imagine). Does anybody have any ideas on how I could leverage using both connections, binding sockets on each?
Any help in this area is greatly appreciated. I don't know much about the CommManager in WinMobile, but if anybody knows any way for me to *possibly* be able to use both connections, I'd really appreciate it.
Thanks in advance,
Nick
As far asa I know, WM defaults to the strongest connection available, but some apps are very stubborn about using the WiFI unless it's the only thing available. I'm not a PPC developer, so I'm sorry I can't offer any more insight, but there should be no reason that you couldn' code your app to use both of the connections.
i dont think that is even possible in my opinion but that would drain the battery fast.
I'm definitely wrong by calling it the CommManager, thats just the user interface on WM to select which communications you want open. I meant ConnManager, which is the Connection Manager, which I've learned about here:
http://msdn2.microsoft.com/en-us/library/bb416435.aspx
I do think its possible, but unclear how to access the Connection Manager API. If anyone has any background with programming using the Connection Manager API, I'd greatly appreciate some help in the form of example source code. Also, if anyone has ported a C++ library to C# before, I could use some assistance with that. The Connection Manager API is in the connmgr.h file which I've attached here, and I want to be able to use it in C#. I wish to use this on the mobile device and don't know exactly the best way to go about doing this.
Any help is appreciated.
Thanks,
Nick

GPRS and WiFi connections in use at same time

Hi all,
I am writing an app (Visual Studio, C#, .NET CompactFramework) in which both the WiFi connection and GPRS connection are available for use at the same time. I am working on a WinMobile 6 HTC Wizard in USA on T-Mobile network.
When I have both connections open, I am able to access the WiFi but not the GPRS (faster connection I imagine). Does anybody have any ideas on how I could leverage using both connections, binding sockets on each?
Any help in this area is greatly appreciated. I don't know much about the CommManager in WinMobile, but if anybody knows any way for me to *possibly* be able to use both connections, I'd really appreciate it.
Thanks in advance,
Nick
I think you may be out of luck. Although I'm not really a PPC coder, I believe that the OS will always default to the fastest/most powerful connection. However, I may be wrong and one of the more experienced people on this board will most likely correct me.
Connection Manager, not CommManager
I'm definitely wrong by calling it the CommManager, thats just the user interface on WM to select which communications you want open. I meant ConnManager, which is the Connection Manager, which I've learned about here:
http://msdn2.microsoft.com/en-us/library/bb416435.aspx
If anyone has any background with programming using the Connection Manager API, I'd greatly appreciate some help in the form of example source code. Also, if anyone has ported a C++ library to C# before, I could use some assistance with that. The Connection Manager API is in the connmgr.h file which I've attached here, and I want to be able to use it in C#. I wish to use this on the mobile device and don't know exactly the best way to go about doing this.
Any help is appreciated.
Thanks,
Nick

setting an application to use 3g and the rest to use wifi ?

hi everyone.
is there some kind of application or someway to sett some applications to use 3g cellular internet and the others to use wifi??thanks for your answers.

Advice needed on Bluetooth application

Hello XDA developers,
I am new here. I am sorry if I'm posting this on the wrong section.
I have undertaken a project entitled Bluetooth Hotspot. As the title suggests it follows the same principle as WiFi hotspot but shares internet through Bluetooth. I have seen Foxfi, PdaNet, BlueDUN, etc none of them seems to work. Because after connecting the Bluetooth devices the applications just start broadcasting(both systems cant be server right?). But BlueDUN seems promising but it works for computers not other android devices. Is there any other way to share internet between two android mobile phones(not tablets) through Bluetooth? Or can I reuse any of the application's code?
[INFO] Before I started this project I had the idea of developing a proxy server on one mobile and proxy client on another mobile so the internet packets can be shared as Bluetooth packets. But I don't know where to start with that idea. If anyone can point to any ideas, tutorials, references, guidance I would greatly appreciate it.
Sorry if my English is bad. Waiting for your answers. Thanks in advance.

Categories

Resources