Click here to Skip to main content
15,881,852 members
Home / Discussions / Android
   

Android

 
QuestionRe: android Pin
David Crow6-Sep-15 14:02
David Crow6-Sep-15 14:02 
Questionandroid Pin
Member 119536642-Sep-15 4:19
Member 119536642-Sep-15 4:19 
AnswerRe: android Pin
Richard MacCutchan2-Sep-15 5:39
mveRichard MacCutchan2-Sep-15 5:39 
Questionandroid Pin
Member 119536642-Sep-15 4:17
Member 119536642-Sep-15 4:17 
AnswerRe: android Pin
David Crow2-Sep-15 6:05
David Crow2-Sep-15 6:05 
QuestionHow to Parsing kSoap response Pin
kk5552-Sep-15 3:21
kk5552-Sep-15 3:21 
QuestionRe: How to Parsing kSoap response Pin
David Crow2-Sep-15 6:07
David Crow2-Sep-15 6:07 
QuestionHow to parse result returned from `ls -l` in Android Pin
Mukhtar Oyelayo1-Sep-15 3:49
Mukhtar Oyelayo1-Sep-15 3:49 
Dear Readers,
I have a problem parsing the result returned from shell command in Android
Using `ls -l`

Quote:
u0_a192@Infinix_X507:/ $ ls -l /storage/sdcard0
drwxrwx--- root sdcard_r 2015-08-14 22:23 2go
drwxrwx--- root sdcard_r 2015-08-15 11:26 360
drwxrwx--x root sdcard_r 2015-08-13 10:25 Android
drwxrwx--- root sdcard_r 2015-08-29 21:09 AppProjects
drwxrwx--- root sdcard_r 2014-01-01 00:00 Assistant
drwxrwx--- root sdcard_r 2015-08-18 10:44 Camera360
drwxrwx--- root sdcard_r 2015-08-11 21:29 DCIM
-rw-rw---- root sdcard_r 808 2015-08-19 05:36 Document.txt
drwxrwx--- root sdcard_r 2015-08-30 07:19 Download
drwxrwx--- root sdcard_r 2015-08-17 19:25 FM Recording
drwxrwx--- root sdcard_r 2015-08-24 17:18 Flash Share
drwxrwx--- root sdcard_r 2015-08-24 10:03 KingMaster
drwxrwx--- root sdcard_r 2015-08-14 04:39 Kingroot
drwxrwx--- root sdcard_r 2015-08-21 06:49 ManifestViewer
drwxrwx--- root sdcard_r 2015-08-30 19:25 Movies
drwxrwx--- root sdcard_r 2015-08-30 19:25 Music
drwxrwx--- root sdcard_r 2015-08-13 06:55 OGWhatsApp
drwxrwx--- root sdcard_r 2015-08-23 14:00 OGWhatsApp Old
drwxrwx--- root sdcard_r 2015-08-11 17:00 Pictures
drwxrwx--- root sdcard_r 2015-08-23 10:59 Rec
drwxrwx--- root sdcard_r 2014-01-01 00:00 Ringtones
drwxrwx--- root sdcard_r 2015-08-24 17:18 ShareSDK
drwxrwx--- root sdcard_r 2015-08-21 14:41 Simple Android Server
drwxrwx--- root sdcard_r 2015-08-23 11:19 VidMate
drwxrwx--- root sdcard_r 2015-08-14 04:00 WhatsApp
drwxrwx--- root sdcard_r 2015-08-30 14:55 Wps
drwxrwx--- root sdcard_r 2015-08-30 17:19 bluetooth
drwxrwx--- root sdcard_r 2015-08-24 15:11 com.facebook.orca
-rw-rw---- root sdcard_r 2999645 2015-08-30 14:55 demo.mp4
drwxrwx--- root sdcard_r 2015-08-29 17:11 dianxin
drwxrwx--- root sdcard_r 2015-08-29 21:29 documents
-rw-rw---- root sdcard_r 112 2015-08-15 07:41 e_config
drwxrwx--- root sdcard_r 2015-08-18 07:00 iQuran
drwxrwx--- root sdcard_r 2015-08-23 14:00 icloudzone
drwxrwx--- root sdcard_r 2015-08-14 11:53 jamb_cbt_science
-rw-rw---- root sdcard_r 112 2015-08-13 20:24 kr-stock-conf
drwxrwx--- root sdcard_r 2015-08-11 17:45 media
drwxrwx--- root sdcard_r 2015-08-23 14:00 mtklog
drwxrwx--- root sdcard_r 2014-01-01 01:00 obb
-rw-rw---- root sdcard_r 1132508 2015-08-14 11:54 pq_commercial.pdf
-rw-rw---- root sdcard_r 6 2015-08-23 13:44 qs.pid
drwxrwx--- root sdcard_r 2015-08-16 07:33 romtoolbox
drwxrwx--- root sdcard_r 2015-08-24 10:03 tbslog
drwxrwx--- root sdcard_r 2015-08-17 04:25 tencent
-rw-rw---- root sdcard_r 69565980 2015-08-23 17:01 update.zip
drwxrwx--- root sdcard_r 2015-08-14 22:26 viber
-rw-rw---- root sdcard_r 8514230 2015-08-30 10:43 vlc.apk
u0_a192@Infinix_X507:/ $

Pls I need help to parse the above result to a list view in a file manager app, such as just to be :
Name : file.zip
Type : dir/file
Permission : -rw-rw--
Date : 2015-09-01 14:49
Etc...
I really need this in Java/Android
QuestionRe: How to parse result returned from `ls -l` in Android Pin
David Crow2-Sep-15 6:04
David Crow2-Sep-15 6:04 
AnswerRe: How to parse result returned from `ls -l` in Android Pin
Richard MacCutchan2-Sep-15 6:36
mveRichard MacCutchan2-Sep-15 6:36 
QuestionHelp urgently needed on Http Injection in Android Pin
Mukhtar Oyelayo28-Aug-15 19:52
Mukhtar Oyelayo28-Aug-15 19:52 
AnswerRe: Help urgently needed on Http Injection in Android Pin
Richard MacCutchan28-Aug-15 22:40
mveRichard MacCutchan28-Aug-15 22:40 
GeneralRe: Help urgently needed on Http Injection in Android Pin
Mukhtar Oyelayo29-Aug-15 11:57
Mukhtar Oyelayo29-Aug-15 11:57 
GeneralRe: Help urgently needed on Http Injection in Android Pin
Richard MacCutchan29-Aug-15 21:27
mveRichard MacCutchan29-Aug-15 21:27 
QuestionMonodroid AsyncTask OnProgressUpdate Not Working Pin
Member 1113168818-Aug-15 6:17
Member 1113168818-Aug-15 6:17 
SuggestionRe: Monodroid AsyncTask OnProgressUpdate Not Working Pin
David Crow20-Aug-15 5:52
David Crow20-Aug-15 5:52 
QuestionHow to store large data in an Android application Pin
jasonalien18-Aug-15 3:13
jasonalien18-Aug-15 3:13 
AnswerRe: How to store large data in an Android application Pin
Afzaal Ahmad Zeeshan18-Aug-15 4:47
professionalAfzaal Ahmad Zeeshan18-Aug-15 4:47 
Questionwhy viewholde class make static Pin
Gaurav Tyagi17-Aug-15 18:59
Gaurav Tyagi17-Aug-15 18:59 
GeneralRe: why viewholde class make static Pin
Richard MacCutchan17-Aug-15 21:12
mveRichard MacCutchan17-Aug-15 21:12 
Questionhow to use toolbar in android Pin
Gaurav Tyagi17-Aug-15 18:39
Gaurav Tyagi17-Aug-15 18:39 
QuestionTemperature monitoring on an Android device Pin
Daniel Pfeffer13-Aug-15 4:24
professionalDaniel Pfeffer13-Aug-15 4:24 
AnswerRe: Temperature monitoring on an Android device Pin
Richard MacCutchan13-Aug-15 5:49
mveRichard MacCutchan13-Aug-15 5:49 
Questionandroid compilation problem on lower version devices Pin
Member 1190643213-Aug-15 0:25
Member 1190643213-Aug-15 0:25 
AnswerRe: android compilation problem on lower version devices Pin
Afzaal Ahmad Zeeshan13-Aug-15 1:05
professionalAfzaal Ahmad Zeeshan13-Aug-15 1:05 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.