mock locations to the Hero - Android Software Development

Hi all.
I am developing using Eclipse, using a Hero for actual device testing - but am having trouble with sending mock locations to it. I have enabled it on the device, but cannot send locations to it via DDMS. Can send fine to the emulator, and can deploy apps to the Hero - just not mock locations.
Any trick to it?

Related

Clean Access Agent on WMO?

Hi.
I would like to use my HTC Touch HD with the WiFi at school. The only problem is that the WiFi is protected with something called Clean Access Agent. I've got this on my laptop, and it allows me to connect. Is it possible to install this program on a WMO?
Thanks
Hi Bungieman, I have run into this problem as well, and have not yet found any solutions here. I know it is impossible to install CAA on your phone as they do not have a cab for a mobile version. The only thing you can do at this point is contact your IT department. I believe CAA is able to bypass certain MAC addresses, (your phone has a specific one) but the people who install it must change that.
Programs that use Opera, Skyfire, or Safari should work, as CAA has no way to monitor those and lets those through. (That is why everyones Iphone works )
Hope this helps!
So the standard browser, Opera Mobile, should bypass the stupid program? I can't believe so many schools and universities from so many different countries use this program on a regular base. It takes both me and my classmates 15 minutes to start and log on to it. And it keeps bugging up. Yuck.

mock location

Can anyone help tell me how i can set mock locations on my phone even if its via the PC with the SDK?
I am hoping I dont have to write a specific app to do it.

[Q] Which file/property tells apps phone HAS internet access?

Hi,
I'm working to get reverse tethering (internet passthrough) working through a Linux pc. The app that comes with the phone is for Windows only. I have got to the stage where I can bridge the interfaces on the pc, get a dhcp address on the phone's usb interface, set the route and access the internet (from some apps). However, other apps don't even bother to try to connect if the phone tells them it has no access. This must be set in a property somewhere, but I don't know where? Can anybody help find it and tell me how to set it?
Cheers!
They probably only ask this class, directly or automatically when creating a connection :
http://developer.android.com/reference/android/net/ConnectivityManager.html
You will probably need to browse the Android SDK sources, but looking at this class, this will not help you much as the connectivity itself is hidden behind a IDL interface :
http://android.git.kernel.org/?p=pl...ore/java/android/net/ConnectivityManager.java
Thanks for the reply faugusztin.
Sounds too complex for me to set, unless there are ways to do this indirectly.

[Q] Connect to Remote Database?

Hey, Im developing a web app with java servlets that can access an oracle database through the tomcat server. I am also developing an android app that I want to use to be able to display the information that is stored on this database.
I am just wondering how I do this or is it even possible with oracle & tomcat? If not what other databse/server should i use? The data will also have gps coordinates to display the items on a map.
Fairly new to this type of application
Thanks a mill

How to stop 3G connections?

I seem to have unwanted apps connecting to my 3G service every day. According to 3G Watchdog the apps are:
Network Location com.android.qxdmlog
HTC Message Uploader
HTC Sense
I use APNDroid, and use it to turn off 3G at all times. I also have Auto-Sync disabled in my Accounts and Sync settings. I have Background Data enabled, however, as disabling it seems to stop the Market app working.
How can I detect and stop the rogue app from connecting each day?
Had the same problem.
I solved it with that two app's.
TrafficStats and DroidWall.
The first tell me, which one goes out and the firewall (DroidWall) allowed me to stop that for wifi or umts or both.
But! You need custom Kernel to use the firewall!
Ok, hope could help you.
Greetings ivi
Sent from my HTC Vision
3G Watchdog also tells me which apps are using the connection (as per my first post), but what I'm trying to work out it how to stop it?
DroidWall?
Give a try, it works.
Ivi
And no, i dont knew to stop that, cos it would generet a lot og problem to deinstall this stock software, why dont try to make them blind with a firewall?
Sent from my HTC Vision
purpose ?
what is the purpose in disallowing sense to use data ? doesn't it need it to update widgets and such ?
also
if you're going to disallow it access to updates, why use sense ?
I don't think setting up additional layers of applications backgrounded will save any battery life (hint) if that is the intent. take a read into exactly what background data is used for before you start denying acess.
also, those are not rogue applications.
Actually I'm not using Sense - I'm using Launcher Pro Plus and shooting for a vanilla Android experience, as I'm on a par-per-connection data contract.
ivifly said:
DroidWall?
Give a try, it works.
Ivi
And no, i dont knew to stop that, cos it would generet a lot og problem to deinstall this stock software, why dont try to make them blind with a firewall?
Sent from my HTC Vision
Click to expand...
Click to collapse
I just downloaded Droidwall but it needs root access and I haven't been brave enough to root my Desire Z yet. I've seen some pretty complex guides to doing this - are there any simple options?
I think any kind of network blockage requires root as it is suppised to communicate with linux internally somehow? I forgot how it worked but I do remember it needs root access to use a wall.
Love the Overclocked "nonsense" CM7
Yes you need root and s-off and a customer kernel.
It seems, it is a longway.....but no worry! This forum is a great help on your side! Just use the search option for the word above and you will sucess.
Have fun
Lg ivi
Sent from my HTC Vision
ivifly said:
Yes you need root and s-off and a customer kernel.
It seems, it is a longway.....but no worry! This forum is a great help on your side! Just use the search option for the word above and you will sucess.
Have fun
Lg ivi
Sent from my HTC Vision
Click to expand...
Click to collapse
My firmware version is 1.82.161.1, and from ready instructions on rooting I would need to downgrade to 1.34 before I can root - do you think it is worth the trouble? i.e. will rooting the phone give me alot more flexibility?
So...to return to where I came in...does anyone know which settings I can change to stop the unwanted services from accessing my 3G connection every day?
The following is the list that I get from 3G Watchdog:
1. Phone
Dialer Storage
SIM toolkit
Field test
2. Network Location
com.android.qxdmlog
Settings
Settings Storage
Accounts & Sync
Setup
HTC Hub
Android System
HTC Function Test Program 1.04g
HTC checkin service
Brcm bluetooth services
Google backup transport
VPN services
Upgrade Setup
CLock
3. DCS service
Calendar storage
Customisation settings provider
Open Sense plugin manager
HTC location service
com.htc.dcs.service.stock
Stocks
HTC weather sync provider
Friend Stream
com.htc.provider.settings
Weather provider
Peep
Customisation setup
DCS utility component
Weather agent service
HTC media uploader
Connect to PC
Facebook to HTC sense
Flickr
To confirm, I already have Background Data disabled on the Accounts & Sync page, and have also disabled data connections using APNDroid. Neither of these measures is stopping the above services from using my 3G connection.
itm said:
So...to return to where I came in...does anyone know which settings I can change to stop the unwanted services from accessing my 3G connection every day?
The following is the list that I get from 3G Watchdog:
1. Phone
Dialer Storage
SIM toolkit
Field test
2. Network Location
com.android.qxdmlog
Settings
Settings Storage
Accounts & Sync
Setup
HTC Hub
Android System
HTC Function Test Program 1.04g
HTC checkin service
Brcm bluetooth services
Google backup transport
VPN services
Upgrade Setup
CLock
3. DCS service
Calendar storage
Customisation settings provider
Open Sense plugin manager
HTC location service
com.htc.dcs.service.stock
Stocks
HTC weather sync provider
Friend Stream
com.htc.provider.settings
Weather provider
Peep
Customisation setup
DCS utility component
Weather agent service
HTC media uploader
Connect to PC
Facebook to HTC sense
Flickr
To confirm, I already have Background Data disabled on the Accounts & Sync page, and have also disabled data connections using APNDroid. Neither of these measures is stopping the above services from using my 3G connection.
Click to expand...
Click to collapse
i think your app is mistaken. when data is disabled, and sync is OFF, there should be nothing like this happening. they may -try- and the app report it, but there should be no data what so ever.
try accessing a webpage, or refreshing the content of any of those applications. i think you will find they cannot.
update us ?

Categories

Resources