[android-developers] Re: Installing APK from Internet?

2009-11-19 Thread Roman ( T-Mobile USA)
You want to make sure that you use a public reachable URL. The href in your post for example won't work to download the APK. Setup Apache-Tomcat for testing web access and place your apk somewhere in the webapps folder of your Tomcat setup. You should be able to download the apk using the

[android-developers] Re: media recorder error on start

2009-11-18 Thread Roman ( T-Mobile USA)
It might be helpful to attach your code. Have you called the prepare() method before starting the recording? -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and

[android-developers] Re: Download Android source code failed

2009-11-18 Thread Roman ( T-Mobile USA)
I noticed that I got this error when I used a much slower internet connection. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent

[android-developers] Re: outgoing call data stream / channel

2009-11-11 Thread Roman ( T-Mobile USA)
Hi Joachim, That's kind of correct. The so called baseband processor (which runs the cellular low level stuff, RF, modem functionality, ...), has to expose whatever would be needed from higher level. You might be able to get some additional radio property information using AT commands but getting

[android-developers] Re: outgoing call data stream / channel

2009-11-11 Thread Roman ( T-Mobile USA)
of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Nov 11, 12:06 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: Hi Joachim, That's kind of correct. The so called baseband processor (which runs the cellular low level

[android-developers] Re: Transfer file between phone

2009-11-09 Thread Roman ( T-Mobile USA)
You can write a ftp like client/server application. Use TCP socket communication for the file transfer application. If you are in the same network you have not to worry about too much. If you try to do a file transfer on cellular things get more complicated. Let me know what you exactly are

[android-developers] Re: motorola cliq sdk 2.0

2009-11-09 Thread Roman ( T-Mobile USA)
Hey, the page www.androidhallofshame.com is still not up -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile

[android-developers] Re: Transfer file between phone

2009-11-09 Thread Roman ( T-Mobile USA)
you please guide me through to the initial steps?  Thanks,  Abhi  On Nov 9, 1:50 pm, Roman ( T-Mobile USA) roman.baumgaert...@t-  http://mobile.commobile.com wrote:   You can write a ftp like client/server application. Use TCP socket   communication for the file transfer application

[android-developers] Re: Calling a URL from Android phone

2009-11-05 Thread Roman ( T-Mobile USA)
In general I would first check whether you can connect to a server which is on your local LAN. For example setup Apache and see whether you can programmatically connect. If this works fine, then you camera should be also reachable. My next question would be, what happens if you try to connect

[android-developers] Re: Managing receiving/making calls with MediaPlayer

2009-11-05 Thread Roman ( T-Mobile USA)
Listen to the phone state changes using the PhoneStateListener. You want to act on the following states * CALL_STATE_IDLE * CALL_STATE_RINGING * CALL_STATE_OFFHOOK and stop your stream in case of an incoming call. When the call state switches back to call state idle, continue with

[android-developers] Re: how to know if it the emulator or device

2009-11-04 Thread Roman ( T-Mobile USA)
methods. On Nov 4, 6:19 am, Zhihong GUO gzhh...@gmail.com wrote: It can not work. There is no exception throws and the wifiManager returned can be used as wifiManager.isEnabled() 2009/11/4 Dianne Hackborn hack...@android.com On Tue, Nov 3, 2009 at 11:10 AM, Roman ( T-Mobile USA

[android-developers] Re: Problem with playing media through http/rtsp

2009-11-04 Thread Roman ( T-Mobile USA)
You have to concert your 3gp file to a progressive downloadable file. You can use the tool mp4box to convert your 3gp file and add a hint track to make it rtsp streamable http://www.videohelp.com/tools/mp4box -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views,

[android-developers] Re: how to know if it the emulator or device

2009-11-03 Thread Roman ( T-Mobile USA)
Furthermore the API call (WifiManager)mContext.getSystemService(mWifiService); gives you an exception on the Emulator which is an indication that Wifi radio is not supported. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this

[android-developers] Re: voice quality not good

2009-11-02 Thread Roman ( T-Mobile USA)
I am using nearly the similar configuration for some audio recording and play back than you. Try to check whether you get some better audio quality when you use AudioManager.STREAM_MUSIC instead of STREAM_SYSTEM. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The

[android-developers] Re: voice quality not good

2009-11-02 Thread Roman ( T-Mobile USA)
I am using nearly the similar configuration for some audio recording and play back than you. Try to check whether you get some better audio quality when you use AudioManager.STREAM_MUSIC instead of STREAM_SYSTEM. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The

[android-developers] Re: Fetch IMSI or detect SIM change?

2009-10-30 Thread Roman ( T-Mobile USA)
Use TelephonyManager getSubscriberId() to get the IMSI Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA,

[android-developers] Re: Client server architecture problem (one receiving thread and many activities)

2009-10-30 Thread Roman ( T-Mobile USA)
Michal, I could think of to implement a dispatcher mechanism in your thread where you receive the incoming messages. I assume that you know which traffic should be routed to which activity, correct? You could put the incoming message with an destination identifier (identifier for the

[android-developers] Re: HttpConnection forWifi

2009-10-29 Thread Roman ( T-Mobile USA)
See response to your post on beginner http://groups.google.com/group/android-beginners/browse_thread/thread/6b3d05991fbc9cb2?hl=en -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-developers] Re: use data network while connected to wifi

2009-10-29 Thread Roman ( T-Mobile USA)
This is right now not supported from SDK level. You can modify the framework/platform code to get this running... -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity,

[android-developers] Re: Connection dropped / app sleep on device standby?

2009-10-28 Thread Roman ( T-Mobile USA)
Try to implement a service which is responsible for the data connectivity. You want to make sure that you acquire a CPU wake lock, that you are able to process the incoming data in your service. Also check out the Wifi wake lock (http://developer.android.com/

[android-developers] Re: Access Wifi and UMTS interface on Android

2009-10-26 Thread Roman ( T-Mobile USA)
You have to do this on native -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Oct 26, 6:56 

[android-developers] Re: Android getConnectionInfo() crash

2009-10-26 Thread Roman ( T-Mobile USA)
The code looks fine to me. Are you using the Access_Wifi_State permission in the manifest file? -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: Native Shared Lib

2009-10-26 Thread Roman ( T-Mobile USA)
Change the following code static{ System.load(/data/data/com.android/libnative.so); } to static{ System.load(native); } and make sure that your lib is in folder data/data/your app folder/ lib (the lib is placed automatically in this folder). -- Roman Baumgaertner Sr. SW

[android-developers] Re: - Play video in Android Media Player from given URL

2009-10-25 Thread Roman ( T-Mobile USA)
If you stream from a remote server, make sure the the file is in a streamable format. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: call forwarding

2009-10-23 Thread Roman ( T-Mobile USA)
Current SDK does not support call forwarding. APIs related to calls are very limited especially SS support. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and

[android-developers] Re: Find MAC address

2009-10-23 Thread Roman ( T-Mobile USA)
The following works fine on Wifi. NetworkInfo networkInfo = connection.getActiveNetworkInfo(); WifiInfo wifiInfo = mWifiMgr.getConnectionInfo(); Log.d(TAG,MAC:+wifiInfo.getMacAddress()); For cellular I am not aware of a method over Java. You might be able to use busybox for obtaining some

[android-developers] Re: android record video(3gp) to remote server

2009-10-21 Thread Roman ( T-Mobile USA)
formats from the MediaRecorder? On Oct 19, 4:21 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: A file which is recorded as a3gpfile by the Android MediaRecorder is NOT streamable. You would need to make it streamable before trying to play it back via the MediaPlayer

[android-developers] Re: android record video(3gp) to remote server

2009-10-21 Thread Roman ( T-Mobile USA)
Check the Gpac source forge page http://gpac.cvs.sourceforge.net/viewvc/gpac/gpac/applications/mp4box/ The app mp4box does the conversion. Roman ( T-Mobile USA) View profile More options Oct 21, 11:16 am From: Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com Date: Wed, 21 Oct

[android-developers] Re: uninstall an application

2009-10-20 Thread Roman ( T-Mobile USA)
For being able to uninstall an application you need a permission DELETE_PACKAGES which can only be used by the system or by the application having the same signature. This means you won't be able to uninstall third party application if you don't have the corresponding signature. If it is

[android-developers] Re: Unable to simulate network delay/speed

2009-10-20 Thread Roman ( T-Mobile USA)
I noticed that enabling/disabling data connectivity (airplane mode) does not disable data communication on the emulator. There is a bug filed related to this issue. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those

[android-developers] Re: Devices information using Wifi API

2009-10-20 Thread Roman ( T-Mobile USA)
If you want to get valid IP address you can try to enumerate over your LAN addresses. If your LAN network has an IP address like 192.168.1.0 you can try to ping192.168.1.1, 192.168.1.2, ... If you get a response back, you know that there is another system which has the IP address assigned.

[android-developers] Re: android record video(3gp) to remote server

2009-10-19 Thread Roman ( T-Mobile USA)
A file which is recorded as a 3gp file by the Android MediaRecorder is NOT streamable. You would need to make it streamable before trying to play it back via the MediaPlayer. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email

[android-developers] Re: Audio Playback while Recording... ------- attemp playback while recording, cheat it! ----- error

2009-10-16 Thread Roman ( T-Mobile USA)
I am assuming when you record your audio stream, the file is blocked from playback. Check out the following blog which talks about video streaming and deals with a similar problem http://blog.pocketjourney.com/2008/04/04/tutorial-custom-media-streaming-for-androids-mediaplayer/ -- Roman

[android-developers] Re: NFC support on adroid platform and available devices

2009-10-16 Thread Roman ( T-Mobile USA)
You might get better answers in the Android porting group than in the Developer. Do yo have a device with NFC support? Keep me updated about your finding, I am also interested in this topic. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and

[android-developers] Re: State of a phonecall

2009-10-14 Thread Roman ( T-Mobile USA)
I feel your pain . The only way to be more precised in reflecting call states is to look in the framework/platform code and expose this information to the higher level (framework code changed needed :-( ) The Android Telephony on SDK level has no concept of a Call or Connection as other

[android-developers] Re: Socket.connect works on Wifi, fails on 3G (actually sort of the opposite...)

2009-10-14 Thread Roman ( T-Mobile USA)
You might want to take a tcpdump to check what traffic you receive on the 3g interface. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: Stream youtube to a videoview?

2009-10-13 Thread Roman ( T-Mobile USA)
I noticed that I cannot play the file rtsp://rtsp.youtube.com/youtube/videos/S2eoCqwBCQI/video.3gp which you put in your source code on my desktop browser. The Android MediaPlayer is very sensitive. If the container format does not fit the one which is expected by the mediaPlayer, you won't be

[android-developers] Re: How can I package shared libs only into apk

2009-10-12 Thread Roman ( T-Mobile USA)
Which version of the NDK are you using? I am using 1.5 and the Android.mk does not look as complicated. By the way, try to ask your question in the Android-NDK instead of the developer group! -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and

[android-developers] Re: get outgoing call details in background

2009-10-12 Thread Roman ( T-Mobile USA)
You should be able to measure the time between multiple onCallStateChanged events. In case of an outgoing call the state would switch from IDLE to CAll_STATE_OFFHOOK to to IDLE again. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in

[android-developers] Re: Check for internet connection

2009-10-12 Thread Roman ( T-Mobile USA)
On the emulator you always have data connectivity. For example with enabling the Airplane mode you can still browse the web (which should not be the case). I submitted a bug on this (don't remember the bug number). -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The

[android-developers] Re: Chat Application

2009-10-11 Thread Roman ( T-Mobile USA)
To be able to implement an IM application you should think first about which signaling protocol you can use You would have the following options: + write your own proprietary signaling protocol + usage of XMPP protocol + usage of SIP + (porting of opensource IM projects or available IM

[android-developers] Re: Is network slower when screen is blacked out?

2009-10-08 Thread Roman ( T-Mobile USA)
The speed of your data connection has nothing to do whether your screen is on or not. As Marco already said, when your Wifi data connection is idle, it will turn of the Wifi radio. When the phone goes back to active mode Wifi reconnects. In case of cellular you are not in control of your data

[android-developers] Re: Connectivity Manager - CONNECTIVITY_CHANGE

2009-10-08 Thread Roman ( T-Mobile USA)
Try to implement the following + use the NetworkInfo on your connection to find out about your current connection (whether it's Wifi or Mobile) + implement a broadcast receiver and listen to NETWORK_STATE_CHANGED_ACTION events When you receive the network state change event and you have a valid

[android-developers] Re: Handling Network Unavailability

2009-10-07 Thread Roman ( T-Mobile USA)
Android supports some intents about network connection change. In your onReceive method listen for this network connection changes and check connectivity with NetworkInfo networkInfo = connection.getActiveNetworkInfo(); (at least this works for me when for example the app loses

[android-developers] Re: WiMAX for Android

2009-10-07 Thread Roman ( T-Mobile USA)
Yep, you would have to implement the usb driver support for your WiMax card on Android which also includes platform/framework changes to recognize WiMax as a data interface. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email

[android-developers] Re: Integrating G729 codec in mjsip

2009-10-05 Thread Roman ( T-Mobile USA)
SipDroid has right now implemented the G711 on Java level. You can use the current implementation as a guideline for your G729 codec implementation (how to pass the raw audio to the convert API). First you should answer the question whether you want to implement your codec on Java or on native

[android-developers] Re: VOIP Media Stack

2009-10-05 Thread Roman ( T-Mobile USA)
If you cannot wait doing Voip on Android, play around with SipDroid. The application does some basic support Voip support (SIP, RTP and G711 codec). Most of the functionality is right now implemented on Java level. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The

[android-developers] Re: Auto answer calls and hangup programmetically

2009-10-02 Thread Roman ( T-Mobile USA)
The Android SDK does not support this. Of course you find apps on the market place doing these kind of things but it is NOT the official way. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely

[android-developers] Re: A question about rtsp Streaming

2009-10-01 Thread Roman ( T-Mobile USA)
Have you tried to find out whether any traffic is successfully sent out the the device using tcpdump or wireshark? Also run a tcpdump on your device to see whether you receive any rtsp streaming. Only from reading about the problem, my first guess is that whatever is causing the problem, it

[android-developers] Re: Adding a JAR to my Android project?

2009-09-30 Thread Roman ( T-Mobile USA)
You need to update the properties of your project in Eclipse. Go to the Project Tab -- Properties and select the Java Build Path. After selecting this you should see 4 tabs with Projects and Libraries. For adding a JAR, select Libraries -- Add External JARs. That's it -- Roman

[android-developers] Re: conference call

2009-09-29 Thread Roman ( T-Mobile USA)
I haven't seen any Android SDK APIs which are supporting supplementary services. For being able to support such a functionality APIs like -- hold -- join -- switch have to be available. This functionality is supported on the lower level of the telephony support (look in the Android source

[android-developers] Re: Peer-to-peer phone application?

2009-09-25 Thread Roman ( T-Mobile USA)
Right now there is no real P2P possible on Android using the official SDK APIs. In case of Wifi there is no support of Ad-Hoc. You could try to use a multicast approach where you try first to discover which devices are in the WLAN. Problem with multicast/broadcast on Wifi is that your network

[android-developers] Re: Is Android able to connect to WPA Enterprise Wi-Fi networks ?

2009-09-25 Thread Roman ( T-Mobile USA)
Alex, Check out the following discussion http://forums.t-mobile.com/tmbl/board/message?board.id=Android_MRthread.id=106 Find information on WifiHelper at http://www.androlib.com/android.application.fan-wifi-jmjE.aspx -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together

[android-developers] Re: Get Telephony Country code

2009-09-24 Thread Roman ( T-Mobile USA)
Which information do you exactly need? There are static information like - IMEI: (15 digit unique code, first 2 digits = country code of the approval-country) is related to your mobile device - IMSI International Mobile Subscriber Identity: first 3 digits represent the mobile country code

[android-developers] Re: Android as a virtual PBX

2009-09-23 Thread Roman ( T-Mobile USA)
Of course you could think of to run your Android device as a server like system, but be aware that in case of cellular you have to deal with NAT. This means all your clients have to know how to reach you. One possibility to deal with this problem would be to use a cloud service and notify the

[android-developers] Re: How can I get Activity object from Intent object or something else

2009-09-21 Thread Roman ( T-Mobile USA)
When you are able to get the handle for the intent, you should be able to use intent.getExtras(); The API returns a bundle object which you should have used to send your complex object. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements

[android-developers] Re: Including other Java source projects in Android project

2009-09-20 Thread Roman ( T-Mobile USA)
In general you have not to create a jar package and add it to your build path. Make sure that you have your project created as a Java project. Also make sure that you don't see any problems/errors. When you now add this project to your existing Android project, I normally select only the

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-19 Thread Roman ( T-Mobile USA)
USA, Inc. On Sep 18, 9:21 pm, !oEL runzhou...@gmail.com wrote: So there is no way I can really test it? On 9月18日, 下午1时07分, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You don't have Wifi support on the emulator -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-18 Thread Roman ( T-Mobile USA)
You don't have Wifi support on the emulator -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On

[android-developers] Re: Route Audio Output to Mic?

2009-09-17 Thread Roman ( T-Mobile USA)
When you are in a call the audio is controlled by the baseband (this is valid for the HTC hardware). It might be that the new Motorola cliq offers here more flexibility -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are

[android-developers] Re: How use root permission

2009-09-17 Thread Roman ( T-Mobile USA)
IF you want to set root permission with your app, the application has to be started as root. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: Can a native application use java methods in TelephonyManager using getSystemService()

2009-09-17 Thread Roman ( T-Mobile USA)
JNI is bi-directional. You can alsoo call Java methods from native code. I haven't tried this on the Android platform but I assume that it works fine. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the

[android-developers] Re: How To Programmatically Turn On/Off WIFI?

2009-09-16 Thread Roman ( T-Mobile USA)
Could you post the Exceptions? What might help is a clean on your project. I got the following exception nor current process has android.permission.WAKE_LOCK and resolved it by cleaning the project/ -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views,

[android-developers] Re: Can I use android.provider.Telephony?

2009-09-15 Thread Roman ( T-Mobile USA)
Using code in the Android source directly instead of the SDK API's is always a risk. Your application might work for only a temporary time. In cases of framework code changes the chances are high that your app breaks. Use the APIs which are offered on SDK level -- Roman Baumgaertner Sr. SW

[android-developers] Re: mount sd card

2009-09-15 Thread Roman ( T-Mobile USA)
You could write a client/server app. The server run's on your phone and informs the client when to mount the sdcard. Also the server informs were to find the data you want to share. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in

[android-developers] Re: mount sd card

2009-09-15 Thread Roman ( T-Mobile USA)
, Chris Stratton cs07...@gmail.com wrote: On Sep 15, 6:25 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You could write a client/server app. The server run's on your phone and informs the client when to mount the sdcard. Also the server informs were to find the data you want

[android-developers] Re: Android Call Mechanism?

2009-09-15 Thread Roman ( T-Mobile USA)
I would like to know how a call is processed in android. I have been gng thru the code, but nothing seems to be working out. What do you mean with nothings seems to be working out? Please, be more specific. Which code did you look at (TelephonyManager in framework or native code)? From wat

[android-developers] Re: Communication over USB with Program on Computer

2009-09-14 Thread Roman ( T-Mobile USA)
When you connect the USB cable make sure that you act on the intent ACTION_UMS_CONNECTED when you mount the USB storage. After receiving the event you could tell the desktop application to send/copy files from the desktop to the sdcard of the device. The other way is not supported which means

[android-developers] Re: routing audio to speaker

2009-09-14 Thread Roman ( T-Mobile USA)
me know where can I invoke the provided speaker methods,         .         mAudioManager.setSpeakerphoneOn(true); Kindly provide me pointers like file name or funtion name. Thanks Sunee On Sep 12, 7:48 am, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: For the headset

[android-developers] Re: Solution suggestions

2009-09-14 Thread Roman ( T-Mobile USA)
I would go for a). Here are my reasons To retrieve your XML data to obtain server information is a fast TCP call. You can store the data in shared preferences. If the server versions are changing frequently within a day, query for the server data more often. I think a data base (option b) might

[android-developers] Re: tool for Android performance measure

2009-09-14 Thread Roman ( T-Mobile USA)
Which performance data are you interested in? Code performance Traceview (http://d.android.com/guide/developing/tools/traceview.html) Shell commands - top benchmark applications (http://www.androlib.com/android.application.softweg-hw-performance- jiCn.aspx) Tool measure phone performance

[android-developers] Re: tool for Android performance measure

2009-09-14 Thread Roman ( T-Mobile USA)
USA, Inc. On Sep 14, 9:11 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: Which performance data are you interested in? Code performance Traceview (http://d.android.com/guide/developing/tools/traceview.html) Shell commands - top benchmark applications (http

[android-developers] Re: drop call after some time duration

2009-09-11 Thread Roman ( T-Mobile USA)
I am not aware of that this is supported. If yes it is a very dangerous API/event ... -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily

[android-developers] Re: Checking the user's country

2009-09-11 Thread Roman ( T-Mobile USA)
What do you mean with user's country? Static methods: - You could use the phone number which is assigned to you. The phone number starts with the country code. - Also the IMEI has information about in which country your phone was approved card was approved. Dynamic method based on your cellular

[android-developers] Re: Checking the user's country

2009-09-11 Thread Roman ( T-Mobile USA)
What do you mean with user's country? Static methods: - You could use the phone number which is assigned to you. The phone number starts with the country code. - Also the IMEI has information about in which country your phone was approved/registered. Dynamic method based on your cellular

[android-developers] Re: Execute chown command

2009-09-11 Thread Roman ( T-Mobile USA)
3rd party apk's can be found in /data/app Change the permission to the folders and then owner of your APK. Is this what you were looking for? -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author

[android-developers] Re: routing audio to speaker

2009-09-11 Thread Roman ( T-Mobile USA)
::MODE_NORMAL, AudioSystem::ROUTE_SPEAKER, AudioSystem::ROUTE_ALL); So wouldn't it route to speaker by default. Kindly let me know your comments. -Pras On Sep 10, 11:46 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You want to try the following         AudioManager

[android-developers] Re: Take control of wireless hardware

2009-09-10 Thread Roman ( T-Mobile USA)
There is no SDK API available which you can use for controlling the underlying hardware regarding transmitting/receiving. Especially for the cellular this control can be found on the baseband level and which is not accessible on higher level. For wifi I am also not aware of any driver support

[android-developers] Re: routing audio to speaker

2009-09-10 Thread Roman ( T-Mobile USA)
You want to try the following AudioManager mAudioManager = (AudioManager) mContext.getSystemService(Context.AUDIO_SERVICE); mAudioManager.setMode(AudioManager.MODE_NORMAL); . mAudioManager.setSpeakerphoneOn(true); -- Roman Baumgaertner Sr. SW Engineer-OSDC

[android-developers] Re: discovery of other computers/devices on WiFi network?

2009-09-10 Thread Roman ( T-Mobile USA)
You need to implement a discover mechanism which is not trivial. You have the following options -- using a client/server approach where the server knows about the connected clients. When a client gets Wifi connectivity it would tell the server about its connection information. Another client

[android-developers] Re: Security framework available on android??

2009-09-09 Thread Roman ( T-Mobile USA)
The Bouncy Castle framework is part of Android. You can find it in the dalvik/libcore. If you want to use bouncy castle on SDK level you can download a jar package from http://www.bouncycastle.org/ -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and

[android-developers] Re: Ethernet / IP over USB connection?

2009-09-08 Thread Roman ( T-Mobile USA)
You have to solve the USB ip connectivity on your Windows system as well as on Android. On Windows I could think of the following options - get a USB IP support based on Linux. You can run VMWare player or another free Virtual machine on top of Windows. Normally USB connections will be detected

[android-developers] Re: Broadcasting reboot intent

2009-09-08 Thread Roman ( T-Mobile USA)
Kacper, Sorry, I am not Dianne but I still answer :-) I would not allow this permission for 3rd party applications. Of course Android informs you about permissions of applications you install but how may people are installing apps without reading or understanding what they install. When you

[android-developers] Re: running emulator on a remote machine

2009-09-08 Thread Roman ( T-Mobile USA)
If your systems support NFS then start the emulator remotely over NFS. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not necessarily represent those of

[android-developers] Re: running emulator on a remote machine

2009-09-08 Thread Roman ( T-Mobile USA)
would like the emulator running on the laptop to show up in the list of devices in DDMS on my desktop, and receive its logcat output, etc. How could I use NFS for that? On 9 sep, 01:01, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: If your systems support NFS then start

[android-developers] Re: How to block incoming call?

2009-09-07 Thread Roman ( T-Mobile USA)
thishttp://www.cyrket.com/package/com.dragon.pandafirewall ? the call blocking works. My G1 doesn't even ring. On Sep 7, 1:18 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: I am not aware that you can intercept an incoming call only from SDK level. Firewall programs which

[android-developers] Re: detect usb device

2009-09-07 Thread Roman ( T-Mobile USA)
I'm in the Activity1, and insert a usb device, then app can detect right now and use dialog send a message to user the device is mounted!? thanks On 9月7日, 下午1時30分, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: You can detect when you attach a USB storage device. See

[android-developers] Re: A sample mobile banking solution

2009-09-07 Thread Roman ( T-Mobile USA)
The security architecture for your mobile application depends on the requirements for mobile banking application in general. I would start the following investigations - What are the mobile banking requirements on a mobile device --- required radio interface for your transaction (wifi is not as

[android-developers] Re: A sample mobile banking solution

2009-09-07 Thread Roman ( T-Mobile USA)
in this email are those of the author solely in their individual capacity, and do not necessarily represent those of T-Mobile USA, Inc. On Sep 7, 5:31 pm, Roman ( T-Mobile USA) roman.baumgaert...@t- mobile.com wrote: The security architecture for your mobile application depends on the requirements

[android-developers] Re: Cannot get PhoneNumber on Real device but code works in Emulator

2009-09-07 Thread Roman ( T-Mobile USA)
Your code looks fine to me. Could you check whether this.telMgr.getLine1Number() returns null ? Also verify the setting application (go to about phone -- status -- phone number). You should be able to see your phone number. In cases where you have the radio switched off you cannot read the

[android-developers] Re: What is the best way to backup app database to a file?

2009-09-06 Thread Roman ( T-Mobile USA)
Are you right now thinking only to backup your data base on the device or also somewhere on a remote location (PC, server)? You could easily do a byte copy of your DB //open your existing DB InputStream dbStream = mContext.getAssets().open(yourDBName); OutputStream

[android-developers] Re: How to block incoming call?

2009-09-06 Thread Roman ( T-Mobile USA)
I am not aware that you can intercept an incoming call only from SDK level. Firewall programs which are claiming to block incoming calls are not working on my phone. If there is a mechanism out there, please let me know. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together

[android-developers] Re: detect usb device

2009-09-06 Thread Roman ( T-Mobile USA)
You can detect when you attach a USB storage device. See android.intent.action.MEDIA_MOUNTED -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: Can I leave some info after my app is uninstalled?

2009-09-03 Thread Roman ( T-Mobile USA)
I could think of to write a service which keeps track of application you are uninstalling. When you are in progress of uninstalling an application your new service would be called and keeps track of the uninstalled app using the DB. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick

[android-developers] Re: How to detect/query the screen off event?

2009-09-03 Thread Roman ( T-Mobile USA)
Use intent ACTION_SCREEN_OFF. Broadcast Action: Sent after the screen turns off. Constant Value: android.intent.action.SCREEN_OFF -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their

[android-developers] Re: Communicating with the gtalk app?

2009-09-03 Thread Roman ( T-Mobile USA)
You might want to look at the libjingle library which had some hard coded hooks to talk to the GoogleTalk servers. Of course you would have to port the needed libraries to the Android platform which is not a trivial task. I am not aware that there is any porting available on Android. -- Roman

[android-developers] Re: Take a long time to make call

2009-09-03 Thread Roman ( T-Mobile USA)
I have to check out this app :-) ... If you have the source code try to find out how long it actual takes from switching from ringing to connected. I could imagine that the phone does the processing in time but the backend processing might be pretty slow for the case you described. Any ideas

[android-developers] Re: Audio streaming

2009-09-02 Thread Roman ( T-Mobile USA)
Yes, it does. You can do something like audioStreamer.startStreaming(”http://web -address/your-audio.mp3″, 1444, 180); -- Roman Baumgaertner Sr. SW Engineer-OSDC ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual

[android-developers] Re: Who makes embedded hardware Android devices?

2009-09-01 Thread Roman ( T-Mobile USA)
Check out the following pages about smartq5/7. It's a device with bluetooth and Wifi support. Don't ask me how difficult the Android porting would be. http://www.engadget.com/2009/02/12/smartq-5-touchscreen-pmp-mid-promises-wifi-bluetooth?icid=sphere_blogsmith_inpage_engadget

[android-developers] Re: Is it possible to make pure VOIP for Android?

2009-08-31 Thread Roman ( T-Mobile USA)
What is for you pure VOIP? In case of putting a Voip application on Android you have to decide which kind of signaling protocol you want to use -- XMPP -- SIP -- your own signaling As Mark already posted earlier, SipDroid is a pretty good Voip client using SIP signaling. You can create an

  1   2   >