[android-developers] L2TP/IPSEC VPN run from root shell

2017-01-11 Thread Magic Maus
"linkname", "vpn", "refuse-eap", "nodefaultroute", "usepeerdns", "idle", "1800", "mtu", "1400", "mru", "1400", }; break; <<<<<<<

[android-developers] GroupMembership problems in 1.6

2010-10-06 Thread magic
Hello: I am trying to query a contact group for retrieve its members using Cursor cc = cr.query(GroupMembership.CONTENT_URI, null, group_id=?,new String[]{groupID, null); However it can only find the contact which i manually added by code as following: Contacts.People.addToGroup(content,

[android-developers] Example of adding custom contact group using sdk 1.6

2010-10-05 Thread magic
Hello, I am using the android sdk 1.6 to develop a contact app. Is anyone can provide an example of adding the new groups for contacts (not starred)? and will the app have problems in the higher version using the contact API of 1.6?? Thanks for your answers !! It will help a lot. : ) -- You

[android-developers] Re: VideoView cannot play long path video

2010-06-01 Thread Magic
ok. On 5月28日, 午後5:06, Magic xuanyi...@gmail.com wrote: VideoView cannot playlongpathvideo issue: Bug#8699 enviroment: Platform 2.0 simulator  and  G2 H/W. If setVideoPath(/data/data/com.abc.android.abcd/Transformers.mp4); It can play well. While, If setVideoPath(/data/data

[android-developers] VideoView cannot play long path video

2010-05-28 Thread Magic
VideoView cannot play long path video issue: Bug#8699 enviroment: Platform 2.0 simulator and G2 H/W. If setVideoPath(/data/data/com.abc.android.abcd/Transformers.mp4); It can play well. While, If setVideoPath(/data/data/com.abc.android.abcd/content/ Transformers.mp4); It cannot play.

[android-developers] VideoMemo: long file path cannot work

2010-05-27 Thread Magic
); It is played well. This issue is confirmed on Platform 2.0 simulator and Magic H/W. Would you please provide some idea about this problem? Thanks a lot. Br, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Updating sqlite database

2010-01-20 Thread Magic
I need a little help updating my database. I created an app that has an embedded database. When you first install the app it creates the database fine and works great, but when I do an update, change the database version the app crashes. I looked all over to see if there was a line of code I

[android-developers] Record audio from SoundPool?

2010-01-03 Thread magic
I am developing a musical app which can allow user to insert notes and define its sound to play. (Just like Reason or Guitar Pro) I use soundpool to play the audio file. I am wondering is there a way to record the audio from the SoundPool.Play() to output the sound file (Mp3 or Wav)? Thanks for

[android-developers] How to refresh view after chaging Visible?

2009-12-30 Thread magic
Hallo everyone, Here is a problem i have: I am wondering how to refresh the view after I set the visibility of some view to be GONE. layout Parent:_linearView child:_tableView child:_someView After I GONE the _tableView, the _tableView should be no more

[android-developers] Re: How to refresh view after chaging Visible?

2009-12-30 Thread magic
I call the setActivity function by click a button when activity is running. On 12月30日, 下午6時03分, magic llmagi...@gmail.com wrote: Hallo everyone, Here is a problem i have: I am wondering how to refresh the view after I set the visibility of some view to be GONE. layout Parent