I serch a way to disable and disable APN. I've think for disable apn past a string "off" at the APN access point, and to enable APN, remove the string of APN access point.
example: for DISABLE: APN= "APN.ACCESS_POINT.COM"+"OFF" for ENABLE: remove "OFF" sting it is possible? 2009/11/16 <android-beginners@googlegroups.com> > Today's Topic Summary > > - how 2 slove > Can't start OBEX FTP (File Transfer > Profile)<#124fb5be8be8fd19_group_thread_0>[1 update] > - no text displayed on emulator in Hello World > program<#124fb5be8be8fd19_group_thread_1>[1 update] > - AlertDialog from AppWidget <#124fb5be8be8fd19_group_thread_2> [1 > update] > - Thread and progressBar <#124fb5be8be8fd19_group_thread_3> [1 update] > - How hard would it be to make a second language of sorts for the > Android? <#124fb5be8be8fd19_group_thread_4> [1 update] > - gen [HelloAndroid] does not exists <#124fb5be8be8fd19_group_thread_5>[1 > update] > - Fetching Android system software > version<#124fb5be8be8fd19_group_thread_6>[1 update] > - R cannot be resolved <#124fb5be8be8fd19_group_thread_7> [1 update] > - android list targets FAILS <#124fb5be8be8fd19_group_thread_8> [1 > update] > - Having Errors in HelloTimePicker > Tutoral.<#124fb5be8be8fd19_group_thread_9>[1 update] > - Error when trying HelloTimePicker Android > Tutoral<#124fb5be8be8fd19_group_thread_10>[1 update] > - Setting Up Android ADT <#124fb5be8be8fd19_group_thread_11> [1 update] > - layout for half screen <#124fb5be8be8fd19_group_thread_12> [1 update] > - Help! Error when querying non primary key in > database<#124fb5be8be8fd19_group_thread_13>[1 update] > - appwidget query <#124fb5be8be8fd19_group_thread_14> [2 updates] > - reposition a button programatically<#124fb5be8be8fd19_group_thread_15>[1 > update] > - Android - Cisco VPN AnyConnect <#124fb5be8be8fd19_group_thread_16> [1 > update] > - Android 2.0 SDK is here! <#124fb5be8be8fd19_group_thread_17> [1 > update] > - Regarding People/ContactsContract and compatibility > issues<#124fb5be8be8fd19_group_thread_18>[2 updates] > - How can I select or click on an item in a > ListView?<#124fb5be8be8fd19_group_thread_19>[1 update] > - Enable and Disable APN <#124fb5be8be8fd19_group_thread_20> [2 > updates] > - <#124fb5be8be8fd19_group_thread_21> [1 update] > > Topic: how 2 slove > Can't start OBEX FTP (File Transfer > Profile)<http://groups.google.com/group/android-beginners/t/67deae26c75fc87e> > > covaipraveen <kspraveenkris...@gmail.com> Nov 14 09:37PM -0800 > > Hi guys > > I love the touch screen which is very responsive and I quickly found > sending texts were easy. However I was not impressed with the > bluetooth. You cannot send files from another phone to yours unless > you downloaded a bluetooth app( I downloaded Bluetooth File > Transfer ). > > Even with this when I try and pair my phone with another it wont allow > me and comes up with the following message: > > Can't start OBEX FTP (File Transfer Profile ) service search > > Reason : > Value is "false" > This has completely stumped me, any ideas as to what it means and what > I should do guys/gals. > > Also I cannot set a ringtone to a contact other than the ones that are > already on the phone, ie the default ones. Again suggestions would be > greatly appreciated. > > --- > WR > HTC Tatto Yirus.ex3 > > > > Topic: no text displayed on emulator in Hello World > program<http://groups.google.com/group/android-beginners/t/cb812ee4b9f0f465> > > cybereality <cybereal...@gmail.com> Nov 15 05:42PM -0800 > > I am having the same problem on Eclipse. The 'hello, android' text > does not show up, even though the program compiles and I followed > every instruction exactly. The emulator pops up but just shows the > default "android" text and nothing happens. Can anyone help? > > > > > Topic: AlertDialog from > AppWidget<http://groups.google.com/group/android-beginners/t/f30b911ec0679788> > > eclipsed4utoo <ryanalford...@gmail.com> Nov 14 09:54AM -0800 > > Is it possible use the AlertDialog from an AppWidget? I have code > that works from an Activity, but when I copy that code to work when a > widget is clicked, I get an error that it has stopped unexpectedly. > > Is it possible? or do I need to do something different? I want to > display an option box to allow the user to choose from a few options. > > > > Topic: Thread and > progressBar<http://groups.google.com/group/android-beginners/t/5676298c3912d8f1> > > adag <adjo...@googlemail.com> Nov 14 02:21AM -0800 > > Hello, > > Here is my code: > -------------------------------------- > final Handler mHandler = new Handler(){ > public void handleMessage(Message msg) { > if(location!=null){ > Log.i(TAG, "got message from handler"); > dismissDialog(DIALOG1_KEY); > //this.getLooper().quit(); > } > } > }; > showDialog(DIALOG1_KEY); > > > new Thread(new Runnable() { > > public void run() { > > Looper.prepare(); > try { > Thread.sleep(100); > } catch (InterruptedException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > mHandler.sendEmptyMessage(0); > Looper.loop(); > }//end of run > }).start(); > -------------------------------- > The problem is as follows: > progressBar is showing correctly. mHandler obtains the message but > only once(for the first time). But I need to make it in loop(as > Looper.loop should have worked in this case), so it calls mHandler > handleMessage in every loop(but its not happening in this case). > The outcome progressBar kept on rotating though the condition in the > handleMessage (if(location!=null) )is getting satisfied in the mean > time of the active progressbar. > How can I make mHandle,sendEmptyMessage to call in each loop so I can > check for this (if(location!=null)) condition. > > Any Suggestion would be very helpful > > ag > > > > Topic: How hard would it be to make a second language of sorts for the > Android?<http://groups.google.com/group/android-beginners/t/9c05dd5aea8a6ac0> > > PJ <pjbar...@gmail.com> Nov 14 11:56AM -0800 > > If you prefer learning Java from books, I'd suggest these two: > 2. "Heads First Java" by O'Reilly: solid primer, teaches Java and OO > at the same time > 1. "Effective Java" by Joshua Bloch: fantastic practices for writing > good code, very popular at Google and other companies > > (By the way, Joshua Bloch, the author of Effective Java, works for > Google. Actually, I heard he's working on Android now!) > > -- PJ > > > > > > > Topic: gen [HelloAndroid] does not > exists<http://groups.google.com/group/android-beginners/t/710d0f2cdc531e31> > > Mikey <michael.d.p...@gmail.com> Nov 14 03:13AM -0800 > > Hey Guys, > > just setting up and trying out this stuff..... get this, problem in > eclipse, which is kind of weird because I can see the gen folder in my > project and if I try and create the gen folder manually, it says it > already exists! > > any help.. cheers.... > Michael > > > > Topic: Fetching Android system software > version<http://groups.google.com/group/android-beginners/t/e1abf3866c1f5c17> > > Nathan <nathan.greenfi...@gmail.com> Nov 14 12:50PM -0800 > > I'm writting an app that runs on multiple mobile platforms. Is there a > way to programmatically determine what version of the Android software > a phone is running? I've looked in places like TelephonyManager, but > haven't found it. Thanks a ton in advance! > > > > Topic: R cannot be > resolved<http://groups.google.com/group/android-beginners/t/fd9193499ac0936c> > > "Fred Grott(Android Developer, http://mobilebytes.wordpress.com)" < > fred.gr...@gmail.com> Nov 14 04:25AM -0800 > > use the window<avd manager its the start emulator command on the > screen where the avds are listed.. > > Fred Grott > Android Developer > http://mobilebytes.wordpress.com > > > > > > Topic: android list targets > FAILS<http://groups.google.com/group/android-beginners/t/9973f1be6e6572f0> > > Tenquitran <tenquit...@gmail.com> Nov 14 02:58PM -0800 > > My problem was the same. I've tried to add SDK components using > Eclipse. However, after the process seemed complete, directory C: > \android-sdk-windows\platforms was empty! I've noticed that after > unsuccessfully trying to execute "android list targets" command > mentioned in your question. > > Earlier on, I've added to the PATH environment variable the text: > > C:\android-sdk-windows\tools > > Following the advice found in the Internet, I've added to the PATH > variable also this: > > C:\android-sdk-windows > > After that, I've restarted Eclipse and added SDK components once again > (using Window >Android SDK and AVD Manager). Unfortunately, my HDD had > no more free space, so I had to fix that. At last, SDKs' download and > installation succeeded. > > Now C:\android-sdk-windows\platforms contains folders "android-1.1" > etc., and the command > > android list targets > > works. > > > > Topic: Having Errors in HelloTimePicker > Tutoral.<http://groups.google.com/group/android-beginners/t/40513f69105676a9> > > TangoIrvine <tien.ca...@gmail.com> Nov 14 11:50AM -0800 > > Please help! > > I am having errors in HelloTimePicker.java > > ........................................................ > package com.example.HelloTimePicker; > > private TextView mTimeDisplay; <=ERROR > private Button mPickTime; > private int mHour; > private int mMinute; > > static final int TIME_DIALOG_ID = 0; > ------------------------------------------------------------ > > Am I missing some thing? > > > > Topic: Error when trying HelloTimePicker Android > Tutoral<http://groups.google.com/group/android-beginners/t/1ceae9b8290f238> > > TangoIrvine <tien.ca...@gmail.com> Nov 14 10:39AM -0800 > > I am having errors in HelloTimePicker.java > > ************************************************* > package com.example.HelloTimePicker; > > private TextView mTimeDisplay; <== ERROR > private Button mPickTime; > > private int mHour; > private int mMinute; > > ************************************************* > Am I missing something? > > > > Topic: Setting Up Android > ADT<http://groups.google.com/group/android-beginners/t/d1b206c0c97ff983> > > TyGamer <tygam...@gmail.com> Nov 14 11:30AM -0800 > > Solved my problem. > > > > > Topic: layout for half > screen<http://groups.google.com/group/android-beginners/t/fceab8d0ee481f3> > > anand <anand.ramasw...@wipro.com> Nov 14 03:06AM -0800 > > Hi all, > > I want my application to cover only the bottom half of the screen > alone. > > Is it possible using the available layouts? > > If so can any one help me on this? > > Regards, > Anand > > > > Topic: Help! Error when querying non primary key in > database<http://groups.google.com/group/android-beginners/t/9a819d9be1706ff1> > > rcantrel <rcant...@gmail.com> Nov 14 10:45AM -0800 > > Hi, > > I am new to Android and SQLite. I am trying to query a table on a non > primary key column. Is this possible? FYI, I am able to create, insert > and retrieve all rows. The structure of the table is as follows: > ..... > private static final String DATABASE_NAME = "WordSolver"; > private static final String DATABASE_TABLE = "words"; > public static final String KEY_ROWID = "_id"; > public static final String KEY_WORD = "word"; > ..... > private static final String DATABASE_CREATE = "CREATE TABLE "+ > DATABASE_TABLE+ > > "("+ KEY_ROWID +" INTEGER PRIMARY KEY,"+ > > KEY_WORD +" TEXT);"; > ....... > //Method to retrieve by word > public Cursor getWord(String word) throws SQLException > { > //db is the SQLiteDatabase > Cursor c = db.query(DATABASE_TABLE, new String[]{KEY_WORD}, > KEY_WORD+"="+word, new String[]{KEY_WORD},null,null,null); > > if (c != null) { > c.moveToFirst(); > } > return c; > } > > ....... > This always errors on the query. Is it not possible to query on a non > primary key column? Or is there something else I am missing. Any help > will be very appreciated. > > > > Topic: appwidget > query<http://groups.google.com/group/android-beginners/t/9918ae14d3e06d53> > > anand <anand.ramasw...@wipro.com> Nov 13 01:19AM -0800 > > > Hi Justin, > > Thanks for your reply. > > I want to display the appwidget when a button is clicked on the > screen. > There is a empty space above button. The appwidget should be displayed > in the empty space. > > I want the appwidget to be created and displayed in the "onReceive" > function of the AppWidgetProvider class. > > Is it possible to do this? > > Regards, > Anand > > > > > > > > > anand <anand.ramasw...@wipro.com> Nov 13 12:21AM -0800 > > Hi Justin, > > I want the app widget to be displayed when I click on the button at > the bottom of the screen > There will be an empty screen above the button. > > > I have implemented the following logic: > > When the button is clicked, a message is broadcasted. > On receiving the broadcast, I am trying to display the app widget onto > the empty screen. > > Is it possible to display the app widget in the "onReceive" > function?.... > > Regards, > Anand. > > > > > Topic: reposition a button > programatically<http://groups.google.com/group/android-beginners/t/645cbdbf70a8dedb> > > Jags <jag...@gmail.com> Nov 13 01:08AM -0800 > > I was wondering if my post is public and visible in the forum or > not :) > > > > > Topic: Android - Cisco VPN > AnyConnect<http://groups.google.com/group/android-beginners/t/f016b293801ced4c> > > DizzyLogic <smoop...@gmail.com> Nov 12 04:27PM -0800 > > I would also love information on using AnyConnect on my Sprint HTC > Hero. > > > > > > Topic: Android 2.0 SDK is > here!<http://groups.google.com/group/android-beginners/t/5cb26ca8584678b2> > > Xu Bill <billfight...@gmail.com> Nov 13 07:39AM +0800 > > just change source to http://dl.google........... > > On Nov 11, 2009 11:12 PM, "Jun" <huangyao...@gmail.com> wrote: > > Hi, > I got a errro in my Android SDK and AVD manager when I install the SDK > ------ > Failed to fetch URL > https://dl-ssl.google.com/android/repository/repository.xml, > reason: HTTPS SSL error. You might want to force download through HTTP > in the settings. > ------ > Anyone can help me,thanks. > > On 11月1日, 上午5时11分, erisa <baw...@ucdavis.edu> wrote: > I did a fresh > install > of the new SDK on an u... > > > > Topic: Regarding People/ContactsContract and compatibility > issues<http://groups.google.com/group/android-beginners/t/9d87b98c97b9c14b> > > Ryan Rowland <ryan.w.rowl...@gmail.com> Nov 15 07:27PM -0800 > > I'm implementing a new "import" feature into an app I have that's > already > been published, designed to show your current list of contacts with a > check-mark next to them, letting you select which you would like to > import > into the app. However, I'm looking to serve all platforms: 1.1, 1.5, > 1.6, > 2.0, which doesn't seem possible. It seems that I now how to choose > whether > I want my app to be available to 2.0 or prior to 2.0, alienating all of > my > prior customers. > > The problem is the People class is deprecated in 2.0, and doesn't work. > I > must use ContactsContract. However, I can't use ContactsContract unless > I > include the 2.0 SDK which requires the user have a 2.0 phone. So it has > to > be one, or the other. It doesn't seem like their is a way around it. Am > I > missing something? Is there a method that will work across the board, > or am > I forced to severely dwarf my potential market by choosing which SDKs I > want > to support? > > -Thanks, > Ryan Rowland > > > > > Ryan Rowland <ryan.w.rowl...@gmail.com> Nov 15 07:29PM -0800 > > Sorry, I didn't proof-read, correcting mistakes... > > > I'm implementing a new "import" feature into an app I have that's > already > been published, designed to show your current list of contacts with a > check-mark next to them, letting you select which you would like to > import > into the app. However, I'm looking to serve all platforms: 1.1, 1.5, > 1.6, > 2.0, which doesn't seem possible. It seems that I now have to choose > whether > I want my app to be available to 2.0 or prior to 2.0, alienating all of > my > prior customers. > > The problem is the People class is deprecated in 2.0, and doesn't work. > I > must use ContactsContract. However, I can't use ContactsContract unless > I > include the 2.0 SDK which requires the user have a 2.0 phone. So it has > to > be one, or the other. It doesn't seem like there is a way around it. Am > I > missing something? Is there a method that will work across the board, > or am > I forced to severely dwarf my potential market by choosing which SDK(s) > I > want to support? > > -Thanks, > Ryan Rowland > > > > > Topic: How can I select or click on an item in a > ListView?<http://groups.google.com/group/android-beginners/t/d9fe83f80651a993> > > nikki <n1kk1...@gmail.com> Nov 15 04:32PM -0800 > > As far as I know ListView doesn't support setting selection by > clicking under touchmode, but I also remember you can get onItemClick > listener > invoked by turnning the focus of your list item and its children off > > > lau ka man wrote: > > > > Topic: Enable and Disable > APN<http://groups.google.com/group/android-beginners/t/30d8de58878f5d35> > > mist3r0 <giuseppe.brando...@gmail.com> Nov 15 12:24PM -0800 > > Hello boys, in my application i need to Enable and Disable APN, but I > don't have idea to' do this. > > someone help me??? > > > > > mist3r0 <giuseppe.brando...@gmail.com> Nov 15 12:28PM -0800 > > Hello boys, in my application i need to Enable and Disable APN, but I > don't have idea to' do this. > > someone help me??? > > > > Topic: > <http://groups.google.com/group/android-beginners/t/414cab92132606a8> > > saurabh sinha <saurso...@gmail.com> Nov 15 10:54PM +0530 > > tell me about pending intent > > > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > To post to this group, send email to android-beginners@googlegroups.com > To unsubscribe from this group, send email to > android-beginners+unsubscr...@googlegroups.com<android-beginners%2bunsubscr...@googlegroups.com> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en -- Giuseppe Brando -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. To post to this group, send email to android-beginners@googlegroups.com To unsubscribe from this group, send email to android-beginners+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en