[android-developers] [Help] Recognize vertical swiping and vertical scrolling in gridview

2014-04-14 Thread cybersun
Hi all, I am a junior android dev, I have a question, please help me. I have a Gridview, include hundred of items (thumbnail images). I set a multi-select mode, in this mode, user just need to swipe his finger to start selecting multiple items (this case, gridview can not be scrolled). And in a

Re: [android-developers] Create Logcat filtered by Application name

2013-08-16 Thread cybersun
> On Fri, Aug 16, 2013 at 2:43 AM, cybersun > > wrote: > >> How can I do that? > > > Try the first hit on Google for "logcat filter by application" > > > -

[android-developers] Re: Create Logcat filtered by Application name

2013-08-16 Thread cybersun
More, I want to say that I use command in code, not in terminal/command line. >From my program, I execute: Runtime.getRuntime().exec("logcat -v time -d AndroidRuntime:E "+TAG+":W *:S"); to get log for a tag. Thanks. On Friday, August 16, 2013 2:43:06 PM UTC+7, cybersun

[android-developers] Create Logcat filtered by Application name

2013-08-16 Thread cybersun
Hi, I want to print LogCat just for my application when it's running to test. I can get log message for specified tag (tag was defined in my Activities), but I want to print all log messages for my application. If my app was crashed, I can find out and fix it. How can I do that? I run this to ge

[android-developers] Android webview with multi redirect url

2013-08-14 Thread cybersun
Hi all, I am creating an app that can edit word documents saved on google drive. >From Android app, my webview will show an document manager page, click on a file (an Edit icon on webview), webview will redirect to google-drive-document-edit address. I used a WebViewClient, checked 3 methods: o

Re: [android-developers] Best way to save user's avatar

2013-07-23 Thread cybersun
; database to store an id or url of the photo, then have a specified file > structure based on that id (could be one large directory with a photo named > after each id). > > Remember, you can also use a content provider to provide access to the > file system, so check that out a

[android-developers] Best way to save user's avatar

2013-07-21 Thread cybersun
Hi all, I am creating an app that user can communication with other friends (IM app, send message, card, ...), so user have provide user's profile like id, name, avatar. My question is: what is the best way to save friend's avatar to make local contact list for my app? I created a local databas

[android-developers] Re: How to insert MS Office word table into Edittext

2012-04-09 Thread cybersun
t a problem - until now its just a fantastic creative idea. > > > > > > > > > > On Mon, Apr 9, 2012 at 11:06 AM, cybersun wrote: > > Hi all, > > I want to draw atablecontains some texts into myEdittext. I have a > > screen to input d

[android-developers] How to insert MS Office word table into Edittext

2012-04-09 Thread cybersun
Hi all, I want to draw a table contains some texts into my Edittext. I have a screen to input data at every row, now I need draw that table. Before inserting table, my Edittext contains some text paragraphs. Pls give me the answer for this problem. Thanks. -- You received this message because you