Re: [android-developers] Re: How to set the preferred APN through code?

2012-01-24 Thread Sayed Atif Ali
Hi, What I infer from your code is that you haven't added the APN first into the database. You need to first write the APN settings into the database before updating the preferred APN code. The following links will be helpful in making you understand and resolve the issue: http://blogs.msdn.com/b/

Re: [android-developers] How to set the preferred APN through code?

2012-01-23 Thread Sayed Atif Ali
You need to set the MCC )(Mobile Country Code) and MNC (Mobile Network Code) values too in your code to set and display the APN's on Android UI. Try the following code and see what happens: > > *private static* *final* Uri *PREFERRED_CONTENT_URI* = Uri.*parse*( > "content://telephony/carriers/pre

Re: [android-developers] Setting proxy in android through code

2012-01-16 Thread Sayed Atif Ali
ut on this topic. On Wed, Jan 11, 2012 at 6:18 PM, Mark Murphy wrote: > On Tue, Jan 10, 2012 at 9:39 PM, Sayed Atif Ali > wrote: > > I need to set the proxy through my code in android devices upwards of > > Android 2.3.3. The only method which I know of right now is doing it &g

[android-developers] Setting proxy in android through code

2012-01-11 Thread Sayed Atif Ali
Hi, I need to set the proxy through my code in android devices upwards of Android 2.3.3. The only method which I know of right now is doing it through the shell in the emulator: 1. > adb shell 2. # sqlite3 /data/data/com.android.providers.settings/databases/settings.db 3. sqlite> INSERT INTO syste

Fwd: [android-developers] Re: Android Emulator

2009-02-16 Thread atif ali
So is there a simpler way I can do it? Because my aim is to show the users the application I built befre they download it. What should I do to accomplish this? -- Forwarded message -- From: atif ali Date: Wed, Feb 11, 2009 at 1:36 PM Subject: Re: [android-developers] Re: Android