[android-developers] Re: Using JNI to call C lib on android platform

2009-02-04 Thread Android development
I find the folder in android source code: frameworks\base\media\jni I think thats the one you want. you can use the code as sample. For example, the code below defined all the methods of class MediaPlayer: static JNINativeMethod gMethods[] = { {setDataSource, (Ljava/lang/String;)V,

[android-developers] Re: Connect G1 to Vista via Ad Hoc Wifi

2009-02-19 Thread Android Development
2009/2/19 Android Development An Android Dev Phone G1 has attempted to be set up to access the internet by connecting to an ad hoc wireless network. The ad hoc Wifi network has been set up on a computer running Vista and can be seen from other computers and connected to successfully

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
a considerable cost on the system battery/resources due to the PARTIAL_WAKE_LOCK ? Thanks for your time.. On Wed, Sep 9, 2009 at 10:11 PM, Dianne Hackborn hack...@android.comwrote: On Wed, Sep 9, 2009 at 1:45 AM, Android Development indodr...@gmail.comwrote: 1) Suppose, i want my service

[android-developers] Re: Using Broadcast Receivers

2009-09-10 Thread Android Development
, then do an IPC back to each application that is receiving it, copying all of the data in it each time). For stuff happening in the local process, Handler and direct callbacks are the preferred approach. On Wed, Sep 9, 2009 at 5:42 AM, Mark Murphy mmur...@commonsware.comwrote: Android Development

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
the WiFiManager...i will take a look at it. ..and, thanks for taking the time to reply to my message. Its been of great help to me. On Thu, Sep 10, 2009 at 4:43 PM, Mark Murphy mmur...@commonsware.comwrote: Android Development wrote: 2. Now, if my application is idle (there is no incoming

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
On Thu, Sep 10, 2009 at 5:40 PM, Mark Murphy mmur...@commonsware.comwrote: Android Development wrote: Only when i start receiving packets from the underlying IP Connectivity Network and my protocol listeners intercept the messages,then i want to re-start these other services. I do

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
the cleanup job. This way i can avoid the expensive Wake Lock. On Thu, Sep 10, 2009 at 6:22 PM, Mark Murphy mmur...@commonsware.comwrote: Android Development wrote: Ok, i will tell what the application is supposed to do. It is a SIP client. And *that* explains a lot! As per the standard

[android-developers] Re: Deep sleep behaviour

2009-09-10 Thread Android Development
Yes. it worked..first the stack threw an exception..and then this nested exception: Caused by: java.net.BindException: Cannot assign requested address: Datagram send failed On Thu, Sep 10, 2009 at 6:28 PM, Android Development indodr...@gmail.comwrote: And *that* explains a lot! lol

[android-developers] Re: XML parser

2009-09-11 Thread Android Development
XML parsing is definitely a pain point in Android. I will be processing XML heavily in the future, and the current status of parsing support has me worried. There is an issue for it here regarding the resolution of a JAXB bug, that has been declined, God only knows why :

[android-developers] Recommended uses of a class extending android.app.Application

2009-09-11 Thread Android Development
Hello, The docs here: http://developer.android.com/reference/android/app/Application.html say that, if the application needs to maintain global state, it should do it here. Suppose, i need to load some configurable data from a config file (to be used later at runtime by my application's various

[android-developers] Re: Recommended uses of a class extending android.app.Application

2009-09-11 Thread Android Development
/126377651/global-application-state-in-android 2009/9/11 Android Development indodr...@gmail.com Hello, The docs here: http://developer.android.com/reference/android/app/Application.html say that, if the application needs to maintain global state, it should do it here. Suppose, i need

[android-developers] Android License compatibility with LGPLd code

2009-09-11 Thread Android Development
Hello, I have a query: Is LGPL'd code compatible with Android applications ? Or are there any gotchas ! Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: Battery Status and Signal Strength Acheivement

2009-09-11 Thread Android Development
You can use: http://developer.android.com/reference/android/telephony/PhoneStateListener.htmlhttp://developer.android.com/reference/android/telephony/PhoneStateListener.htmlto listen to the signal strength changes, just like the Android notification bar does. On Fri, Sep 11, 2009 at 9:16 PM,

[android-developers] Re: Contact Listener

2009-09-11 Thread Android Development
try this link: http://stackoverflow.com/questions/866769/how-to-call-android-contacts-listIt might be of some help. On Fri, Sep 11, 2009 at 9:23 PM, Alex Tang tangli1987...@gmail.com wrote: It seems only Observers and onChange() function can work now. On Sep 10, 11:06 am, Stephen Leong

[android-developers] Re: Android License compatibility with LGPLd code

2009-09-11 Thread Android Development
, 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 Sep 11, 8:49 am, Android Development indodr...@gmail.com wrote: Hello, I have a query: Is LGPL'd code compatible

[android-developers] Invitation to connect on Linkedin.

2009-09-17 Thread Android Development
Hello, An invitation to connect on linked in. Feel free. http://www.linkedin.com/in/abhatnagar19 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Status bar notifications only for touch screens ?

2009-10-05 Thread Android Development
I was creating a status bar notification in my application. Once the notification was received, i had to drag the upper part of the screen to view it fully and then clicked on it. What if the phone does not have a touch screen ? How will the user bring the status bar notification's content into

[android-developers] Re: Status bar notifications only for touch screens ?

2009-10-05 Thread Android Development
. On Mon, Oct 5, 2009 at 3:08 AM, Android Development indodr...@gmail.com wrote: I was creating a status bar notification in my application. Once the notification was received, i had to drag the upper part of the screen to view it fully and then clicked on it. What if the phone does

[android-developers] Relationship between Activities Dialogs: Recommended usage suggestions.

2009-10-05 Thread Android Development
Hello, I have a requirement for showing dialogs in my application. Alert dialogs fulfill by needs for now. I wish to discuss..and conceptually understand in the process, the exact relationship between the Activity that is being displayed at a given point of time...and the Dialog that pops up on

[android-developers] Re: Relationship between Activities Dialogs: Recommended usage suggestions.

2009-10-06 Thread Android Development
and you later receive that state in onCreate(). On Mon, Oct 5, 2009 at 10:34 PM, Android Development indodr...@gmail.comwrote: Hello, I have a requirement for showing dialogs in my application. Alert dialogs fulfill by needs for now. I wish to discuss..and conceptually understand

[android-developers] Re: Status bar notifications only for touch screens ?

2009-10-06 Thread Android Development
; if someone builds such a device (or the platform is updated to support them), then access to the status bar will be dealt with in an appropriate way that applications don't need to worry about. On Mon, Oct 5, 2009 at 10:20 PM, Android Development indodr...@gmail.comwrote: All right. Thanks

[android-developers] Re: Relationship between Activities Dialogs: Recommended usage suggestions.

2009-10-06 Thread Android Development
://developer.android.com/reference/android/app/Dialog.html#setOwnerActivity(android.app.Activity) method. I was referring to this in option # 2. I think the docs meant the explicit call to new Dialog in that section? On Tue, Oct 6, 2009 at 11:46 AM, Android Development indodr...@gmail.comwrote: Thanks

[android-developers] Android tracing gives me errors: Please help.

2009-10-07 Thread Android Development
Hello, I created a SD card image and mounted it to the emulator. I could see it mounted on the emulator. Then, in my onCreate method, i made a call to Debug.startMethodTracing(myTrace); When i install the application on the emulator, i get an error as shown below Am i doing something wrong ?

[android-developers] Re: Android tracing gives me errors: Please help.

2009-10-07 Thread Android Development
to write on the sdcard. On Tue, Oct 6, 2009 at 11:15 PM, Android Development indodr...@gmail.com wrote: Hello, I created a SD card image and mounted it to the emulator. I could see it mounted on the emulator. Then, in my onCreate method, i made a call to Debug.startMethodTracing(myTrace

[android-developers] Re: Issue with allocation tracker: I cannot get it to work.

2009-10-07 Thread Android Development
. Thanks On Wed, Oct 7, 2009 at 9:33 PM, RichardC richard.crit...@googlemail.comwrote: In the AndroidManifest.xml have your marked your application as debuggable? e.g. application ... android:debuggable=true ... -- RichardC On Oct 7, 4:06 pm, Android Development indodr

[android-developers] Using the AlarmManager as a timing service.

2010-01-19 Thread Android Development
Hello, I wanted to ask a question regarding the Alarm Manager. I have a requirements of setting long running timers in my application. The minimum duration for my timer is 1 hour...and the maximum may be for 4-5 days. This timer is supposed to run in the background, and when it fires/expires, i

Re: [android-developers] Using the AlarmManager as a timing service.

2010-01-19 Thread Android Development
Yes Mark. The GUI wont be running when the alarm goes off. On receipt of the alarm, i want to start an activity. So, i think i will need to use alarm manager as the choice, as i want the device to wake up when the alarm goes off. On 1/19/10, Mark Murphy mmur...@commonsware.com wrote:

[android-developers] Understand Device deep sleep behavior and its affect on the application.

2010-01-20 Thread Android Development
Hello, When the device goes to sleep, any activity that was in the foreground is paused. It is like someone has launched a black screen activity on top. Is this understanding correct ? I have some doubts on device sleep impact during the following scenarios: 1. If my device goes to sleep just

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

2010-01-20 Thread Android Development
Did you get a solution to this issue? I also need the MSIN. On Mon, Nov 23, 2009 at 3:24 PM, vasanthmatrix vasanth.kanaka...@gmail.comwrote: Hi Roman, I'm trying to get the IMSI using TelephonyManager.getSubscriberId(), but all I'm getting is MCC(Mobile Country Code ),MNC(Mobile

Re: [android-developers] Re: Creating dialogs from a thread

2010-01-22 Thread Android Development
You can also spawn an AsyncTask from the UI thread. Whenever it needs to show a dialog, this task can call publishProgress() method..that automatically runs on the UI Thread and the dialog can be shown in the onProgressUpdate method. On Fri, Jan 22, 2010 at 3:41 AM, Kevin Duffey

[android-developers] Regarding network connectivity on Android.

2010-01-23 Thread Android Development
Hello, Problem Statement: -- I wish to achieve the following: 1. Create a GPRS connection from my application and get the assigned IP address. 2. Send and Receive data through this connection. I can find whether GPRS is in use using TelephonyManager's

[android-developers] Re: Regarding network connectivity on Android.

2010-01-25 Thread Android Development
Any feedback on this friends ? On Sun, Jan 24, 2010 at 11:11 AM, Android Development indodr...@gmail.comwrote: Hello, Problem Statement: -- I wish to achieve the following: 1. Create a GPRS connection from my application and get the assigned IP address. 2

Re: [android-developers] Re: Regarding network connectivity on Android.

2010-01-26 Thread Android Development
Thanks for the replies Mark. So, this means that the PDP context establishment and APN resolution is done by android OS automatically ? I simply have to re-use it at the application. On Mon, Jan 25, 2010 at 8:45 PM, Mark Murphy mmur...@commonsware.comwrote: Android Development wrote: 1

[android-developers] Regarding ContactsContract

2010-01-27 Thread Android Development
Hello, I wanted to inquire about the ContactsContract API family. I have one requirement: 1. I wish to store the Presence Status of the user which i receive over a custom protocol. I wish to re-use these APIs for this purpose:

[android-developers] Picking a contact and returning to the parent activity.

2010-01-28 Thread Android Development
Hello, I wish to re-use the Contacts application in a way to enable the user to pick a contact and return it to the parent activity (my application's activity). For achieving this, I want to inquire about the kind of Intent that will be needed to launch the contacts application. Intent i = new

[android-developers] Re: Picking a contact and returning to the parent activity.

2010-01-29 Thread Android Development
to ? Will i need to execute a DB query to get the actual user data for the contact ? Kindly guide.. Help is appreciated. Thanks in advance Indodroid. On Fri, Jan 29, 2010 at 9:15 AM, Android Development indodr...@gmail.comwrote: Hello, I wish to re-use the Contacts application in a way to enable

Re: [android-developers] Re: sdk setup.exe and windows 7

2010-01-29 Thread Android Development
Set the ANDROID_SWT environment variable to the folder that contains the swt.jar file. It is located in the \tools\lib\x86_64 folder of your SDK installation. Best Regards Indodroid. On Thu, Jan 28, 2010 at 12:01 PM, Lambda Developer lambda.develo...@gmail.com wrote: hi, i have the same

[android-developers] Re: Picking a contact and returning to the parent activity.

2010-01-29 Thread Android Development
Regards Indodroid On Fri, Jan 29, 2010 at 4:11 PM, Android Development indodr...@gmail.comwrote: Ok, i am able to start the Contacts application...and I pick a contact from there. Now this operation succeeds too (-1 Result Code). I use the following code: Intent i = new Intent(Intent.ACTION_PICK

Re: [android-developers] Re: sdk setup.exe and windows 7

2010-01-31 Thread Android Development
, Android Development indodr...@gmail.com wrote: Set the ANDROID_SWT environment variable to the folder that contains the swt.jar file. It is located in the \tools\lib\x86_64 folder of your SDK installation. Best Regards Indodroid. On Thu, Jan 28, 2010 at 12:01 PM, Lambda Developer

Re: [android-developers] Development on sip

2010-02-01 Thread Android Development
your sip uri syntax is wrong. it should be sip:andr...@ip:port (u...@host:port format). On Mon, Feb 1, 2010 at 12:15 PM, Tony jituo...@gmail.com wrote: Is there anyone developing sip (libosip2) related Apps on android platform,I have tried my best to test my sip App , but finally failed as

Re: [android-developers] Re: DNS Query

2010-02-03 Thread Android Development
What if the application requires to send a query to a DNS server installed at a particular IP address. how do i configure my DNS server in *hosts/**resolv**.**conf from the application ?* *** * On Wed, Feb 3, 2010 at 8:40 PM, Lewske Wada r...@run.sh wrote: Hi Radhika, radhika wrote: Hi

Re: [android-developers] Re: DNS Query

2010-02-03 Thread Android Development
Bob, making a DNS query by the application is a standardized procedure of 3GPP (3rd generation partnership project). All Mobile devices need to query a DNS server installed in the VoIP network to find the address of the server which will process their requests. This DNS server is under the control

Re: [android-developers] Re: DNS Query

2010-02-06 Thread Android Development
from 1981-1987, so it's an occasion I remember well. On Feb 3, 11:07 pm, Android Development indodr...@gmail.com wrote: Bob, making a DNS query by the application is a standardized procedure of 3GPP (3rd generation partnership project). All Mobile devices need to query a DNS server installed

[android-developers] Using IPSec on Android

2010-02-09 Thread Android Development
Hello, How do I establish IPSec Security Associations on Android ? Is there a standard API for doing so ? Or will I need to issue shell commands to achieve it ? Best Regards Indodroid. -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: Service performance

2009-08-15 Thread Android Development
Should we be using thread priorities to control application behavior ? I dont think its a good practice. On Sat, Aug 15, 2009 at 7:11 PM, Mark Murphy mmur...@commonsware.comwrote: Christine wrote: On Aug 15, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote: By posts a task, do you mean

[android-developers] A Query on JAXBs portability on Android

2009-09-05 Thread Android Development
Hello, This is regarding the usage of the JAXB API on Android. There is an issue on this topic here: http://code.google.com/p/android/issues/detail?id=314 However it has been declined on the basis of an ad-hoc solution proposed by one user that does not work for the rest. Is it possible for the

[android-developers] Re: USIM and ISIM Support

2009-09-09 Thread Android Development
USIM or ISIM applications will reside on the UICC card. For the ISIM application, and the interface it exposes, please refer to the 3GPP standards. On Fri, Aug 28, 2009 at 10:13 AM, santosh kumar santosh.1...@gmail.comwrote: Hi Suziki, Thanks for quick reply. Can you please tell me where

[android-developers] Re: Android IMS support

2009-09-09 Thread Android Development
I have tried to contact the developers, as i wanted to contribute to this project. However, i have not heard from them yet. On Wed, Aug 26, 2009 at 12:38 AM, Roman ( T-Mobile USA) roman.baumgaert...@t-mobile.com wrote: The IMS code which you find on sourceforge is far from being completed.

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Android Development
I also have a query regarding this. I have two questions: 1) Suppose, i want my service to go into deep sleep initially. If my phone receives an incoming VoIP call (over the underlying IP connectivity, which may be WiFi), then i wish to start an activity, and alert one of my services to handle

[android-developers] Re: Deep sleep behaviour

2009-09-09 Thread Android Development
I got the answer to question number 2 here: http://developer.android.com/reference/android/telephony/PhoneStateListener.html http://developer.android.com/reference/android/telephony/PhoneStateListener.htmlOnly question 1 remains now. On Wed, Sep 9, 2009 at 2:15 PM, Android Development indodr

[android-developers] Re: Threads and Screen Orientation Change

2009-09-09 Thread Android Development
Hello, From the conversation above, i understand that having a static reference to the activity can be used by background threads (that we may spawn), to send callbacks to the activity (which can then render stuff on the UI). However, It would be helpful, if someone can also provide an example of

[android-developers] Re: Threads and Screen Orientation Change

2009-09-09 Thread Android Development
oops. forgot to override handleMessage ( ) in the pseudo code above. Let us assume, that in the handleMessage ( ), we decide which processxyz to call, depending on the message received ! sorry.. On Wed, Sep 9, 2009 at 3:01 PM, Android Development indodr...@gmail.comwrote: Hello, From

[android-developers] Using Broadcast Receivers

2009-09-09 Thread Android Development
Hello everyone, I had one question: Is it feasible to use a BroadcastReceiver as a glue layer between the user interface and the underlying business logic ? Example use case: Suppose i am maintaining the state of a call, and providing callbacks to the UI by invoking sendBroadcast with the

[android-developers] A question regarding AsyncTasks

2009-12-21 Thread Android Development
Hello, In the documentation, I read that it is not possible for executing 2 Async Tasks. If execute is called again, it should throw an exception. The following is given under the heading of Threading Rules, and i quote: The task can be executed only once (an exception will be thrown if a

Re: [android-developers] A question regarding AsyncTasks

2009-12-21 Thread Android Development
threads On Mon, Dec 21, 2009 at 2:23 AM, Android Development indodr...@gmail.comwrote: Hello, In the documentation, I read that it is not possible for executing 2 Async Tasks. If execute is called again, it should throw an exception. The following is given under the heading of Threading

Re: [android-developers] A question regarding AsyncTasks

2009-12-25 Thread Android Development
instance here is the magic word. On Tue, Dec 22, 2009 at 12:49 AM, Frank Weiss fewe...@gmail.com wrote: It was clear to me that the documentation meant the instance of AsyncTask cannot be executed again. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Regarding SharedPreferences and my use-case.

2009-12-25 Thread Android Development
Hello, Shared Preferences are accessible to all clients (a single instance of the preferences). I wanted to understand the following: 1. Are these preferences shared across android applications or only within the given application ? I saw a note in the documentation that read: Note: currently

[android-developers] Re: Regarding SharedPreferences and my use-case.

2009-12-25 Thread Android Development
PS: forgot to add one more question to the trailing mail: 4. Shared Preferences data becomes persistent once committed. What is the persistence scope ? Is the data persistent across application re-start ? On Sat, Dec 26, 2009 at 11:44 AM, Android Development indodr...@gmail.comwrote: Hello

Re: [android-developers] Regarding SharedPreferences and my use-case.

2009-12-27 Thread Android Development
Thanks for the clarifications Dianne. On Sat, Dec 26, 2009 at 11:56 PM, Dianne Hackborn hack...@android.comwrote: On Fri, Dec 25, 2009 at 10:14 PM, Android Development indodr...@gmail.com wrote: 1. Are these preferences shared across android applications or only within the given

[android-developers] Regarding Audio and Video send/receive on Android.

2009-12-28 Thread Android Development
Hello, Android provides a use-friendly API for playing and handling media (audio/video). However, I have the following requirements which i wish to realize with this framework : 1. My requirement is to have knowledge of the ports that the android media framework opens and uses for

[android-developers] Re: Regarding Audio and Video send/receive on Android.

2009-12-28 Thread Android Development
Any thoughts friends? On 12/28/09, Android Development indodr...@gmail.com wrote: Hello, Android provides a use-friendly API for playing and handling media (audio/video). However, I have the following requirements which i wish to realize with this framework : 1. My requirement

Re: [android-developers] Re: Regarding Audio and Video send/receive on Android.

2009-12-28 Thread Android Development
at the framework layer. under the framework media. 2009/12/29 Android Development indodr...@gmail.com Any thoughts friends? On 12/28/09, Android Development indodr...@gmail.com wrote: Hello, Android provides a use-friendly API for playing and handling media (audio/video). However, I have

Re: [android-developers] Re: Regarding Audio and Video send/receive on Android.

2009-12-30 Thread Android Development
Thanks Piyush.. I was using this framework for RTP handling as a workaround ! On Wed, Dec 30, 2009 at 2:00 PM, piyushn piyushn...@gmail.com wrote: you can use JRTP open source framework for RTP in android. https://jrtp.dev.java.net/ On Dec 29, 9:15 am, Android Development indodr

[android-developers] Listening to a video stream and rendering it on the screen

2009-12-30 Thread Android Development
Hello, *My Cases:* 1. I have a RTP stack, using which i am receiving raw audio and video streams from the network. 2. Similarly, I will be sending audio and video streams towards the network using the same RTP stack. *Following are my questions/doubts:* For working with audio formats to

[android-developers] Re: Listening to a video stream and rendering it on the screen

2010-01-03 Thread Android Development
Hello Devs Any ideas regarding inline ? On Thu, Dec 31, 2009 at 12:19 PM, Android Development indodr...@gmail.comwrote: Hello, *My Cases:* 1. I have a RTP stack, using which i am receiving raw audio and video streams from the network. 2. Similarly, I will be sending audio

Re: [android-developers] Re: Android and VOIP

2010-01-03 Thread Android Development
The biggest problem for supporting SIP based VoIP on android is the capability of the android media framework. As for example, if you refer to this table: http://developer.android.com/guide/appendix/media-formats.html..most of the media encoders are not present. There is no use for having only

Re: [android-developers] Re: J2EE client on Android

2010-01-03 Thread Android Development
Why don't you invoke some web service from the client which in turn talks to your EJB ? On Thu, Dec 3, 2009 at 6:33 AM, Bruce Xia bruce.xi...@gmail.com wrote: What I was trying to do is really to have an app client who can talk to EJB on server side. This is simply done by adding @EJB

[android-developers] Regarding port re-directions on the android emulator.

2010-01-04 Thread Android Development
Hello devs, I had the following query: The IP address of my development machine is 192.168.128.10. This machine is connected to a LAN. I wish to redirect all incoming packets on IP 192.168.128.10 and port 5060 to the emulator instance that runs on 10.0.2.15 For doing so, I have issued the

Re: [android-developers] Regarding port re-directions on the android emulator.

2010-01-04 Thread Android Development
multiple emulator instances. Thanks, Upendra On Mon, Jan 4, 2010 at 2:20 PM, Android Development indodr...@gmail.comwrote: Hello devs, I had the following query: The IP address of my development machine is 192.168.128.10. This machine is connected to a LAN. I wish to redirect all

[android-developers] Initiating a GPRS connection

2010-01-04 Thread Android Development
Hello, If I wish to initiate a GPRS data connection programatically through a configured access point on the device, how do I go about it ? Any ideas are appreciated. Thanks in advance Indodroid. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Broadcast Receiver works sometimes/sometimes not.

2010-01-06 Thread Android Development
Hello, I wish to listen to android.intent.action.BOOT_COMPLETED. However i am not getting the broadcast intent, if i specify com.test.BootBroadcastReceiver in the manifest. When i change this value to simply BootBroadcastReceiver, then i am getting the broadcast intent. receiver

[android-developers] Re: Initiating a GPRS connection

2010-01-07 Thread Android Development
Hello, Any feedback on how to achieve this task? On 1/4/10, Android Development indodr...@gmail.com wrote: Hello, If I wish to initiate a GPRS data connection programatically through a configured access point on the device, how do I go about it ? Any ideas are appreciated. Thanks

[android-developers] Re: Initiating a GPRS connection

2010-01-08 Thread Android Development
Really need to find a way to do this guys. Help really appreciated. On Thu, Jan 7, 2010 at 6:13 PM, Android Development indodr...@gmail.comwrote: Hello, Any feedback on how to achieve this task? On 1/4/10, Android Development indodr...@gmail.com wrote: Hello, If I wish to initiate

Re: [android-developers] Activity and Interface

2010-01-09 Thread Android Development
For passing stuff from Activity-A to Activity-B, use a bundle and pass it in the intent while starting the target activity. Intent intent = new Intent(ActivityA.class, ActivityB.class); intent.putExtra(name, myName); intent.putExtra(age, 24);

Re: [android-developers] How to access USIM and ISIM

2010-01-12 Thread Android Development
You should have the ISIM/USIM application loaded on your smart card for you to read it. On Wed, Nov 11, 2009 at 11:53 PM, neeloor2004 neeloor2...@googlemail.comwrote: Hi Is there any API to access ISIM ? If not how can I get it tthrough RIL, Please provide example code Neeloor -- You

[android-developers] Re-using the Android Call Log / Contacts and sms capabilities.

2010-08-20 Thread Android Development
Hello developers/community. I am making an internet telephony application based on a proprietary protocol which connects to a web server for call setup. As with other telephony applications this app also has three basic requirements: The need for a call log, a contact book and the ability to

[android-developers] Re: A Question regarding Android system preferences: Settings.Secure

2010-08-20 Thread Android Development
Any pointers for this question will be really helpful.. Thanks in advance Indodroid On Fri, May 21, 2010 at 11:31 AM, Android Development indodr...@gmail.comwrote: Hello, This is regarding the DATA_ROAMING property given here: http://developer.android.com/reference/android/provider

Re: [android-developers] Re: OutOfMemoryError: how best to transfer large video files into a byte array?

2010-04-21 Thread Android Development
Select a fixed buffer size first. Then start writing the byte array to a file. Once the file size reaches the buffer size configured, copy that file to a temporary location (a temp file). Then transfer this temp file to the web server. Once transferred successfully, make sure to delete this temp

Re: [android-developers] Re: javax.xml.bind.annotation.XmlAccessType and Android

2010-04-25 Thread Android Development
http://code.google.com/p/android/issues/detail?id=314 On Fri, Apr 2, 2010 at 10:46 AM, Nik nikhilpatil2...@gmail.com wrote: I'm getting the same error. In a different context though. I'm trying to include java classes created by JAXB's XJC (from XSD to Java) in my project. But the

Re: [android-developers] Re: CursorAdapter notifyDataSetChanged doesn't work? What am I doing wrong?

2010-07-02 Thread Android Development
I think for getting this callback, you need to call setNotifyOnChange(true). On 7/2/10, Mark Murphy mmur...@commonsware.com wrote: On Thu, Jul 1, 2010 at 10:51 PM, Moto medicalsou...@gmail.com wrote: But not sure if design wise is good? Why doesn't notifyDataSetChanged() work? what's the

[android-developers] A Question regarding Android system preferences: Settings.Secure

2010-05-21 Thread Android Development
Hello, This is regarding the DATA_ROAMING property given here: http://developer.android.com/reference/android/provider/Settings.Secure.html#DATA_ROAMING What exactly does it mean to enable/disable data roaming ? If the user is roaming in the same access technology (say GSM), then handoffs will

[android-developers] Persistent Android Activities

2010-05-22 Thread Android Development
What is the meaning of having a persistent activity ? There is a permission that can be used in the manifest: android.permission.PERSISTENT_ACTIVITY Does anyone know of any practical use case of having this permission in the application ? What can be done with it ? Best Regards Indodroid. --

[android-developers] Re: import org.apache.commons.httpclient.HttpClient library error

2009-07-02 Thread Android Development
Hello, I have a custom library that is built as a wrapper around the apache commons http client libraries. Is it possible for me to use this library on android ? Or am i only limited to use the http client libraries as part of android ? On Fri, Jul 3, 2009 at 10:43 AM, Nithu nithi...@gmail.com

[android-developers] Re: import org.apache.commons.httpclient.HttpClient library error

2009-07-03 Thread Android Development
Thanks for the reply Markuz05. My API is a wrapper over the Apache HTTP Client API..which is a well tested and proven API: http://hc.apache.org/httpclient-3.x/apidocs/ http://hc.apache.org/httpclient-3.x/apidocs/As you said, that the libraries being used in an Android application need to be

[android-developers] A question regarding Activities and Tasks.

2009-07-03 Thread Android Development
I had a question regarding this concept. Suppose i have an application that defines a task. This task has some activities that belong to another Android application. The Dev guide says, that to maintain a uniform user experience, Android will maintain such 'distributed' activities as part of the

[android-developers] Re: A question regarding Activities and Tasks.

2009-07-03 Thread Android Development
for saving the notes to be exported. If the user goes back to home screen, and launches OI Notepad again, (s)he is presented with OI File manager to select a file location (because that is the activity on top of the OI Notepad stack). Peli www.openintents.org On Jul 3, 12:06 pm, Android Development

[android-developers] Re: import org.apache.commons.httpclient.HttpClient library error

2009-07-05 Thread Android Development
I will try out my library in a PoC application today to see what happens. The library i have, is implementing the XCAP protocol( http://www.ietf.org/rfc/rfc4825.txt) which is a wrapper over the HTTP client API. On Fri, Jul 3, 2009 at 11:43 PM, Dagvadorj Galbadrakh dagvad...@gmail.comwrote:

[android-developers] Memory profiling an android application.

2009-07-07 Thread Android Development
How do we profile an android application's memory ? Help appreciated Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: error while building the android code using make

2009-07-17 Thread Android development
Hi Asif k, Have you resolved this problem? I have the same problem. [...@myandroid]$ make build/core/product_config.mk:232: WARNING: adding test OTA key TARGET_PRODUCT=generic TARGET_BUILD_VARIANT=eng TARGET_SIMULATOR= TARGET_BUILD_TYPE=release

[android-developers] Re: Any plan for support OMA-DM?

2009-07-21 Thread Android Development
OMA DM is very essential in my opinion. If Android supports it, it will be a positive step indeed. On Sat, Jul 18, 2009 at 10:09 AM, John Smith deltafoxtrot...@gmail.comwrote: 2009/7/17 timj.wdsglo...@googlemail.com timj.wdsglo...@googlemail.com The question for me is: Why would Android

[android-developers] Re: import org.apache.commons.httpclient.HttpClient library error

2009-07-22 Thread Android Development
i confirm that my library works well on android. I tried it out with a sample application. My library is an extension of the apache http commons client api. On Sun, Jul 5, 2009 at 11:44 AM, Android Development indodr...@gmail.comwrote: I will try out my library in a PoC application today

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-22 Thread Android Development
Maybe an activation licensing key for each binary may be the solution for this. But then again, its easier said than done. On Wed, Jul 22, 2009 at 8:20 PM, Moto medicalsou...@gmail.com wrote: I know that piracy will never end, I mean I'm a solo developer trying to fight a war that

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-22 Thread Android Development
okay. I think it is the only way out of this. A secret key that you generate and provide for each instance of the application sold. On Wed, Jul 22, 2009 at 8:27 PM, John Smith deltafoxtrot...@gmail.comwrote: 2009/7/23 Android Development indodr...@gmail.com Maybe an activation licensing key

[android-developers] Re: ALL DEVELOPERS PIRATED APPLICATION ALL OVER!

2009-07-22 Thread Android Development
There is also LM-X licensing server, that is promising. On Wed, Jul 22, 2009 at 9:03 PM, Moto medicalsou...@gmail.com wrote: Mmm slidelock sounds like I'm gonna try it... I guess that's another way to distribute an app instead of using the Android Market...

[android-developers] Re: Clearing the cache of your app on exit

2009-07-26 Thread Android Development
Hello Dianne, Speaking of clearing the application's cache data...what is the difference in deleting the cache when the application exits as opposed to clearing the cache data by the user himself? I have 2 use-cases: 1. When the application exits gracefully, I should be able to clean all the

[android-developers] Re: Using IPSec on Android

2010-02-27 Thread Android Development
I managed to achieve this. Thanks. Indodroid. On Tue, Feb 9, 2010 at 3:46 PM, Android Development indodr...@gmail.comwrote: Hello, How do I establish IPSec Security Associations on Android ? Is there a standard API for doing so ? Or will I need to issue shell commands to achieve

[android-developers] Configuring a DNS server IP address on android while using 3G

2010-03-26 Thread Android Development
Hello, I wish to configure the IP address of the primary DNS server while using 3G access from an android application. This is because, the DNS server is part of a private infrastructure and I need the application to resolve domain names from this particular DNS server only. For WiFi access, I

[android-developers] Re: How i can migrate my app from 1.5 to 1.6 api fast and safe???

2010-12-03 Thread Leon Moreyn-Android Development
that and if your building in eclipse make sure to change the lib to 1.6. Right click on project, properties, android, then select 1.6 On Dec 3, 9:41 am, Streets Of Boston flyingdutc...@gmail.com wrote: If you don't need/want to support 1.5 phones, just set the project's Android SDK version to

[android-developers] Re: Android TTS for Chinese

2010-12-06 Thread Leon Moreyn-Android Development
David, You dont need to wait for Android to support it per say. Depending on the engine used, you can have it speak in chinese. I am not sure if there is a chinese engine out there already but you could make it a requirement for your app like how the android tts engine checks for itself before

[android-developers] Re: How to differentiate a tap event generated by system or by user

2010-12-06 Thread Leon Moreyn-Android Development
when you drop the phone? On Dec 6, 12:16 am, XC He schosnab...@gmail.com wrote: is there any tap event generated not by user's taping behavior? 2010/12/6 ankit ankit.ag...@gmail.com: Hi All, Urgently needed help on this. Actually i am recording and playing a sequence of events using

  1   2   >