2401868681

2401868681



ś Debug - ListContacts/src/pl/ww/examples/listcontacts/ListContactsActivity.java - EcIipseSDK File Edit Refactor Source Run Navigate Seąrch Project Window Help

rs -    Ł3 H fe J? ^


s


^ Debug

^ [o] ListContacts [Android Application] a DalvikVM[localhost:8627]

a Thread [<1> main] (Suspended (breakpoint at linę 43 in ListContactsActivity))

= ListContactsActivity.setPeopleNameO linę: 43 = ListContactsActivity.onCreate(Bundle) linę: 20 = Instrumentation.callActivityOnCreate(Activity, Bundle) linę: 1047 = ActivityThread.performLaunchActivity(ActivityThread$ActivityRecord, Intent) linę: 262 = ActivityThread.handleLaunchActivity(ActivityThreadSActivityRecord, Intent) linę: 2679 = ActivityThread.access$2300(ActivityThread, ActivityThreadSActivityRecord, Intent) linę = ActivityThreadSH.handleMessage(Message) linę: 2033 = ActivityThread$H(Handler).dispatchMessage(Message) linę: 99


nr


| - $ t O O -r -r

53” Debug

»

(x)= Variables £2 °o Breakpoints ^8 Expressions

6 ^ 0 v a

Name

Value

>

© this

ListContactsActivity (id=83(

O phones

ContentResolverSCursorWra

O cr

ContextImplSApplicationCo

O contactUri

UriSHierarchicalUri (id=830(

O contacts

ContentResolverSCursorWra

4 | III

k

r

>

4

Y


|ęil DateWidget Manifest [ęfj HelloAndroidExample Manifest [ęjj mainocml [ęjj stringsotml | LL ListContactsActivity.java


String display_name = contacts.getString(contacts.getColumnIndex(ContactsContract.Contacts.0ISPZ./ * String id = contacts.getString(contacts.getColumnIndex(ContactsContract.Contacts._ID)); lines += id + ": " + display_name;

if (contacts. getlnt (contacts. getColumnIndex(ContactsContract .Contacts ,HAS_PHONE_NU!-]BER)) == 1){ Cursor phones = cr.query(CommonDataKinds.Phon^.CO/Vr£/Vr_L//?I, nuli,

Contact sContract.CommonDataKinds. Phone. COJV7ACr_I0 + ” = ?", new String[]{id}, nuli);

while (phones.moveToNext())

{

String phone = phones. getString(phones. getColumnIndex(CommonDataKinds. Phone ,NUr-\BER)); lines += "(" + phone

}


m


□!: Outline 53


B laz ^ Xs © XL


{Jł pl.ww.examples.listcontacts import declarations © ListContactsActivity

onCreate(Bundle): void © setPeopleNameO: void


S Console 53 \ Tasks Android


r—~;-

iffi LogCat


[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-[2011-11-T2011-11 -

4


13 22:17:51 - ListContacts] 13 22:17:51 - ListContacts] 13 22:17:51 - ListContacts] 13 22:17:51 - ListContacts] 13 22:17:51 - ListContacts] 13 22:17:51 - ListContacts] 13 22:17:57 - ListContacts] 13 22:17:57 - ListContacts] 13 22:18:57 - ListContacts] 13 22:18:57 - ListContacts] 13 22:18:58 - ListContacts] 13 22:19:23 - ListContacts] 13 22:19:23 - ListContacts] 13 77:19:7fi - li ^tCnntartO


Android Launch!

adb is running normally.

Performing pl.ww.examples.listcontacts.ListContactsActivity activity launch Automatic Target Modę: launching new emulator with compatible AVD 'Android_2.2'

Launching a new emulator with Virtual Device 'Android_2.2'

New emulator found: emulator-5554

Waiting for HOME (’android.process.acore') to be launched...

HOME is up on device 'emulator-5554’

Uploading ListContacts.apk onto device 'emulator-5554'

Installing ListContacts.apk...

Success!

Starting activity pl.ww.examples.listcontacts.ListContactsActivity on device emulator-5554

Arti ui tvManappr : ^tartinp: Tntpnt -f art=androi H . i ntpnt. art i nn . MATN ratsfandrnid . i ntpnt. ratppnrv. I AlINCHFRl


iii


rmn=nl . ww. pxamnl p«;


Writable


Smart Insert


38:66


Launching ListContacts




Wyszukiwarka

Podobne podstrony:
H Logix Designer - PIDE_EXAMPLE [1756-L71 30.11]* File Edit View Search Logic Communications Tools W
•sj? Logix Designer - PIDE_EXAMPLE [1756-L71 30.11] File Edit View Search Logic Communications Tools
£ Logix Designer - PIDE_EXAMPLE [1756-L71 30.11]* File Edit View Search Logic Communications Tools W
Regionalny Ośrodek yki Społecznej w Poznaniu ips@rops poznan.pl ww.rops.poznan.pl W wiikimsHirco
www brukarz pl ww^dmikarżrpl
Image18 (17) Systemy Ciekawe linki: www. avasi. com.pl; n ww. volta.com.pl System sygnalizacyjny lo
IMAG1496 antastic pl WW«/. (mIhiSowp,
Wyższa Szkoła Bankowa w Gdańsku www.wsb.gda.pl ww w. wsb.gdynia.pl Studia
f1 2 śSj Project2 - Microsoft Visual Basic [design] File Edit View Project Format Debug Run lools Ad
f1 6 śSj Project2 - Microsoft Visual Basic [design] File Edit View Project Format Debug Run lools Ad
f2 19 ^ Microsoft Developer Studio [break] - QSEND File Edit v - ] insert Debug Tools
f2 20 Microsoft Developer Studio [break] - QSEND    000 File Edit View insert Debug J
f20 15 a Microsoft Developer Studio [break] - DumpContextDemo - [DumpContextDemo.Cpp] [f] File Edit
f3 2 ^Netscape - [Example1] File Edit View Go Bookmarks Options Directory Window Help Go
f4 16 śSj LightBulbProject - Microsoft Visual Basic [design] BHP File Edit View Project Format Debug
f6 1 śSj Projectl - Microsoft Visual Basic [run] File Edit View Project Format Debug Run lools Add

więcej podobnych podstron