Make sure to use two different AVD images to start up two different
emulator instances.
--
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
Sipdroid also supports Video. When you download the latest version you
will find how they are using Video over RTP.
Check the UI package and search for RTP in the VideoCamera.class
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in
My first guess is that your variable is not instantiated that's why
you cannot call the method.
but let's look at your code first
--
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
Could you send a complete trace of your logcat. It might be from
importance when exactly you are getting this error message.
Furthermore you can check in the project folder of your application
whether the APK was correctly created (look in the bin folder).
Sometimes the emulator behaves weird, a
Any ideas what is the size of your input stream?
I assume that when you call the method with passing the input stream,
your stack is too small that's why you get the segmentation fault.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements
I am assuming that you want to get the activity eSkyGuide in the
foreground, correct?
In this case as ragavendran suggested, call an Intent to start up the
new activity. Something like
Intent eSkyGuideIntent = new Intent() ;
eSkyGuideIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
Only for testing purpose, instead of using your own created
permission, use an already defined system permission and check whether
your code works fine. If yes, you know that there are some problems
with how you define and expose your own permission.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
You might want to look in the PackageManager class with which you can
retrieve installed packages/applications information.
Look at
http://developer.android.com/reference/android/content/pm/PackageInfo.html#activities
(flag GET_ACTIVITIES).
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· ·
Try to use the Java class File for operations on the file system.
Some of the system commands are not executable using exec if you are
not root.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author
I am assuming that you are able to successfully query your data. To
sort your result is independent from using the ListView. After sorting
your query result with for example Collections.sort() you can create a
ListAdapter instance and call listView.setAdapter(your adapter).
--
Roman
You cannot access the shared preference folder on the real device if
you don't have the correct permission.
One possibility would be to extend the framework/platform code by
running an app/daemon process on system level. My main concern on
enabling something like this would be security. You
With external server I refer to a server which is public reachable
somewhere in the internet.
For example for doing some Voip stuff you would place a public
reachable PBx in the internet. This server would know how to translate
addresses correctly (see Asterisk PBx which has built in
During an active phone call you have no control on SDK level of the
audio channel. In Android this is controlled from lower level.
--
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
The current Android SDK does not offer any ad-hoc functionality, which
means no p2p support. Also having root access does not change anything
on what is supported on SDK level.
In general Wifi drivers are coming with both infrastructure and ad-hoc
support. It might be possible to extend the
It is a conceptual problem which you are trying to solve with
controling an activity from another activity. The Android platform
tries to simplify UI development in a way that it defined a life cycle
for activities. If you try to control an activity from another
activity you change the current
You are trying to connect on your Android device to a local server
listening on port 8080. Of course there is no server listening on
this port because the server runs on a different machine. Try to make
sure that you use the correct server IP address instead the loopback
address.
Are you
The IMS code which you find on sourceforge is far from being
completed. Based on the latest changes I doubt that the project is
still active.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely
You can download the ISO images from http://code.google.com/p/live-android/.
Now you can download a complete ISO image for the version 0.3.
VMWare setup or Parallels setup (on Mac) is pretty straight forward.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views,
distribution including the Android Runtime?
On Aug 25, 8:59 pm, Roman ( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
You can download the ISO images fromhttp://code.google.com/p/live-android/.
Now you can download a complete ISO image for the version 0.3.
VMWaresetup or Parallels setup
You can use 3G for communication to another device on 3G. You have
only to know that the IP address on 3G is NAT'd. You have to make sure
that you tell the other device how to deal with the NAT traversal. One
way to solve this is having an external server which is able to
translate the IP
Without any framework/platform changes you cannot do this right now.
- Bluetooth is right now not supported on SDK level
- Wifi only has infrastructure support (no ad-hoc support) on SDK
level
If you want to connect over an AP, this works fine but I assume that
you try to setup up a P2P
Dave,
I noticed the same that the wifi connection manager returns wifi
connection information also if you are not registered on wifi anymore.
It might be that the API description is not correct (or the
implementation ).
If you use the API
As add to Dan's post
To resolve the NAT issue you could implement some hacks on the phone.
These hacks would be only from temporary nature because when you
disconnect and reconnect from 3G, the probability is high that you get
another IP address assigned. Of course the difficult part here is
I could think of to extend the framework code for doing this. If you
are only interested in receiving the call related intents on SDK level
you could modify the framework in a way that you could trigger these
events manually.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick
Everything is possible ... But in the case to use adb over Wifi you
have change both the adb toolkit and also the framework code.
If you try to work on such complex changes make sure that you think
about how to distinguish adb connections and eth1. I assume that you
still want that Wifi works
What do you mean exactly with OTA? Current Android devices are
supporting Wifi and 2G/3G data connections. When you are in a Wifi
connection but lose the connection, your data connectivity is
automatically switched to cellular data. When you entering a building
with a know Wifi network, your
android:name=android.permission.ACCESS_NETWORK_STATE/uses-permission
uses-permission
android:name=android.permission.CHANGE_NETWORK_STATE/uses-permission
On Thu, Aug 20, 2009 at 4:10 PM, Roman ( T-Mobile USA)
roman.baumgaert...@t-mobile.com wrote:
Ravi,
I would first try to check out
Your service won't be reachable using the loopback address from a
client on your desktop. Get familiar with port forwarding/
redirecting.
http://developer.android.com/guide/developing/tools/emulator.html#portredirection
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
Do the following:
1. In your manifest you should have
uses-permission android:name=android.permission.CALL_PHONE /
uses-permission
android:name=android.permission.PROCESS_OUTGOING_CALLS/
uses-permission
, Aug 19, 2009 at 4:18 PM, Roman ( T-Mobile USA)
roman.baumgaert...@t-mobile.com wrote:
Are you using the following permissions?
uses-permission
android:name=android.permission.ACCESS_NETWORK_STATE/
uses-permission
android:name=android.permission.CHANGE_NETWORK_STATE/
uses
A very fast check is whether you have a valid IP address assigned.
Another more complicated way is to use the network manager and listen
for connection state changes. In case of you get disconnected you
could keep this information in a persistent storage. Check this
persistent information before
.
On Aug 18, 9:38 pm, Kyo Yin kyo@gmail.com wrote:
hi roman 1.How do you try to compile?
i just use make HOST_OS=windows in ubuntu.
2.Are you doing this on Cygwin?
no.i use ubuntu.
do you mean i should use cygwin to build adb.exe for windows?
kyo
3273
2009/8/19 Roman ( T
It might be that you are running on a verrry slow
system. Emulator should start up within a minute ...
How fast is your processor and how much memory do you have?
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this
Are you using the following permissions?
uses-permission
android:name=android.permission.ACCESS_NETWORK_STATE/
uses-permission
android:name=android.permission.CHANGE_NETWORK_STATE/
uses-permission
android:name=android.permission.ACCESS_WIFI_STATE/
uses-permission
The only way I am aware of intercepting the incoming call is on
platform level. I haven't found a way to do this on SDK level.
--
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
How do you try to compile? Are you doing this on Cygwin?
--
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,
You have not to use the telephony support of Android. Questions is
whether is is worth to strip of the Android telephony support. Of
course it is possible to do this but you might end up with a lot of
work. I could think of to get rid of system applications which are
related to the phone
How do you run your application?
It seems like you are running always through the onCreate method which
creates a new broadcast receiver instance. If you want to avoid this
don't send an intent in the onCreate.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views,
Do the following:
1. In your manifest you should have
uses-permission android:name=android.permission.CALL_PHONE /
uses-permission
android:name=android.permission.PROCESS_OUTGOING_CALLS/
uses-permission
android:name=android.permission.READ_PHONE_STATE/
intent-filter
For being able to switch radio interfaces you have to make sure what a
platform can support. These are the following possibilities
1. only one radio at the same time. Browsing, instant messaging type
of data connection can be supported. User is not necessarily impacted
by switching the radio
I assume that you have all the needed information about the streams
which you are going to play which means you have also the length
information of the stream. When you start the stream start also a
timer on your mobile device and run it down. If you pause the stream,
try to retrieve the actual
for reply,
Ok so i think there is no way to develop an application with feature which
can connect to PC(without any individual configuration with PC as it would
not be feasible) .
On 8/15/09, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote:
If you want to use the USB
for reply,
Ok so i think there is no way to develop an application with feature which
can connect to PC(without any individual configuration with PC as it would
not be feasible) .
On 8/15/09, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote:
If you want to use the USB
, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote:
If you want to use the USB as a ethernet network interface then it is
not supported.
You have to port the USB network support.
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views
Yep, you do. Also if you are connected via USB to your PC, the USB
interface does not show up at a ethernet interface. Of course you
might be able to tweak the platform code to use the USB interface as
an ethernet interface.
Find some information about USB networking at
I am assuming that your device detaches from the network. When you are
attached the following is possible
- the network is capable of tracking the MS (via subsequent location
updates)
- network is aware of the services and networks that the user may have
access to.
Location updates are
http://www.amazon.com/Android-Programming-Books/lm/R3IDV45VDVAY3M
One beginner book is sufficient, because most of the books are
covering the same topics over and over
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email
This is not yet supported. You would need to change the platform code
to support this correctly.
--
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
If you want to use the USB as a ethernet network interface then it is
not supported.
You have to port the USB network 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
You can install java 1.5 and java 1.6 on your system. Setup an
environment variable which supports the selection of the Java version
which you want to use. If you do development on the SDK/platform
switch to 1.5, for app development switch to 1.6.
For example on my MAC I find the 1.6 bin in
I agree that the telephony support in Android is very limited.
I also noticed that it is not trivial to extend the platform code,
because also the rild is very limited. As long as needed state
information are not exposed from the baseband level it is very
difficult to implement more complex TAPI
The answer to both of your questions is yes.
Find information on this topic at
http://www.androidcompetencycenter.com/2009/01/basics-of-android-part-iii-android-services/
http://developerlife.com/tutorials/?p=356
http://developer.android.com/reference/android/app/Service.html
--
Roman
What exactly is info? Do you have multiple threads running which
access info?
--
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
You might want to look at the following java libraries and see whether
you can port one of them to Android.
http://www.rgagnon.com/javadetails/java-0617.html
Another way might be to execute system commands like stat (for which
you have to be root which makes it more complicated to use it from
You can change the phone application to be able to handle incoming
calls on the emulator.
See code at Phone/src/com/android/phone/CallNotifier.java
and set boolean provisioned = true; (in method
onNewRingingConnection)
--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
You want to use a WifiManager instead the TelephonyManager to find out
about the WifiConnection state.
Use the following APIs below
private WifiManager mWifiMgr;
mWifiMgr = (WifiManager)mContext.getSystemService(mWifiService);
mWifiMgr.getConnectionInfo();
If you are interested to find out in
Runtime.getRuntime().exec(ls -a);
--
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 Aug 11, 8:26
Runtime.getRuntime().exec(ls -a);
--
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 Aug 11, 8:26
Airplane mode does switch of all radios also GPS.
--
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.
, SkySte ste.is@gmail.com wrote:
Thanks :) I'll give it a try tomorrow, just a question, what is
mContext and mWifiService?
A little confused,
Cheers
Steve
On Aug 12, 4:52 pm, Roman ( T-Mobile USA) roman.baumgaert...@t-
mobile.com wrote:
You want to use a WifiManager instead
101 - 160 of 160 matches
Mail list logo