« first day    last day (1707 days later) » 

SPK
3:42 AM
room topic changed to Android People: This is an Android room. Android developers can chat here. [android]
 
 
3 hours later…
SPK
6:48 AM
Morning
0
Q: Making an animation app for Touching Sensor?

SPKHow to create a simple animation app for Touch sensor. Just if i touch any object means it'll moved or manually moved. How to do this? Any ideas? Best Regards - SPK

 
 
3 hours later…
SPK
9:59 AM
@Gabrielle Hi, good noon
 
 
2 hours later…
11:32 AM
@SPK hi:)
 
SPK
@Gabrielle hi dude
 
Hello is there any android gurus willing to help me out?
I have a problem with using the ArrayWheelAdapter
 
SPK
@Matt sure if i can means, i'll help you. And, welcome to my room
 
@Matt sorry, i had never worked with ArrayWheelAdapter
 
Cool if you take a look here it should show you my problem stackoverflow.com/questions/8181216/android-four-arrays
 
SPK
11:42 AM
Sorry man, i never worked in ArrayWheelAdapter
@AmolBhanushali : Good evening
 
Ok thanks anyway
 
SPK
12:07 PM
@MiteshTechMe : hi
 
hi @SPK
 
SPK
@MiteshTechMe how do you? do
0
A: How to Clear content on the layout?

PawanHave a look on this link. It is already provided in apidemos sample projects. Hope this helps you..

 
Great dude..
 
SPK
Can you clear my doubt on my above question.
 
i check it bro...
 
SPK
12:11 PM
I've debugging that, i got nullpointer exception on LinearLayout's object.
What'll i assign for that?
 
u want to clear yr layout na??
 
SPK
Just display the blank layout
I've download that project from this blog.
It's used to write something on screen by touchevent.
 
u want to clear your layout in button click event na??
 
SPK
You ned that proj ah?
 
no...
 
SPK
12:18 PM
You don't understand na?
 
i understand ...
but where u want to clear your content...
 
SPK
in layout only
 
but when... which time ???
 
SPK
Just press the button on menu item
 
on than.. jst call your class activity .... on that button click event..
or u can pass this code : onCreate(null);
 
SPK
12:25 PM
@MiteshTechMe Yes, it's working give me this an answer i'll accept that.
what a code. I forget this method. Nice
 
ha ha ha..
it's k bro...
u also give point over here
 
SPK
@MiteshTechMe Okay
 
but what u pass??? oncreate?
 
SPK
yes. onCreate(null) only
 
remember 1 this.... this code reset your whole activity ..
 
12:29 PM
i need to get phone number from contacts but the curser is not entering in this loop plz help me out....

for (phoneCursor.moveToFirst(); !phoneCursor.isAfterLast(); phoneCursor.moveToNext()) {

// Get a phone number
String phoneNumber = phoneCursor.getString(phoneCursor
.getColumnIndexOrThrow(ContactsContract.CommonDataKinds.Phone.NUMBER));

Toast.makeText(this, "Phone = "+phoneNumber, Toast.LENGTH_LONG).show();
}
can anybody help me out plz
 
@SPK : r u tr??
 
SPK
@MiteshTechMe Yes, Okay. I'll handle
 
@SPK: gud... what u create?
 
SPK
@MiteshTechMe Just like writting on screen only
yes @iPhoneAndroidrahul
yes, i'm seeing your post only
@iPhoneAndroidrahul : you got any exception
 
12:34 PM
ok @SPK
put your code in try catch .... @iPhoneAndroidrahul
 
SPK
@MiteshTechMe Where are you from?
 
no cursor is not entering in the loop @spk
@ spk i havent got any exception.
 
SPK
wait i'll give one code
 
@ spk any suggetion why it is happnig
ok
 
@SPK : ahmedabad..
 
SPK
12:36 PM
@MiteshTechMe oh oh
 
i told u b4 also
u from bangloar na...
 
@SPK im waiting plz
@SPK ru there
 
SPK
@MiteshTechMe S S S. Sorry i jst forget
@iPhoneAndroidrahul i'm copying the code for you
 
k
i use yr code .. but i cant draw any thing....
 
SPK
12:40 PM
@iPhoneAndroidrahul try this code - pastebin.com/raw.php?i=dsesem4M
 
@SPK i try
 
i copy your code... but jst only icon display ..
 
SPK
@iPhoneAndroidrahul You already try this
@MiteshTechMe i just paste some codes only
 
:)
k..
 
SPK
@MiteshTechMe You need that app. just download from here - vogella.de/code/de.vogella.android.touch.scaledetector/…
 
12:43 PM
i copy tht all code..
but none is paint
 
SPK
@MiteshTechMe You just only do that. Just draw anything on screen
@iPhoneAndroidrahul : Take the sample for you prj - mediafire.com/?05md5mjc5cps44t
 
i draw on that.. but no output get
 
SPK
@MiteshTechMe wait
 
@SPK : k
 
@SPK actually my problem is the cursor is not entering in the loop whether it is for or while..the code is same as that i am using it right now.
 
SPK
12:47 PM
@iPhoneAndroidrahul did you ask this as question
 
i check it
 
SPK
@MiteshTechMe You download that
 
ya..
now run this code... wait
 
SPK
@MiteshTechMe working na?
 
wait bro..
 
SPK
12:50 PM
@iPhoneAndroidrahul you there
 
@SPK : gud code
 
SPK
@MiteshTechMe yeah
 
@SPK i was asking that the particular is right it is not giving any error but the cursor is not entering in the loop.
 
SPK
@iPhoneAndroidrahul your code is right man. I've worked like this type. Give your loop in try/catch
 
@Spk it is not giving any execptions man.
 
SPK
12:55 PM
Did you use getContentResolver()
 
SPK
Oh my god. Then, why it's happening. Wait. I'll check
 
SPK
can you please elobarate more code as question
 
@spk the problem has solved .
thanks man for helping me.
 
SPK
1:05 PM
@how?
 
from this code
ContentResolver cr = getContentResolver();
Cursor cursor1 = cr.query(ContactsContract.Contacts.CONTENT_URI, null,
null, null, null);
if (cursor1.moveToFirst()) {
String contactId1 =
cursor1.getString(cursor.getColumnIndex(ContactsContract.Contacts._ID));
//
// Get all phone numbers.
//
Cursor phones = cr.query(Phone.CONTENT_URI, null,
Phone.CONTACT_ID + " = " + contactId1, null, null);
while (phones.moveToNext()) {
String number = phones.getString(phones.getColumnIndex(Phone.NUMBER));
Toast.makeText(this, "Phone = "+number , Toast.LENGTH_LONG).show();
 
SPK
So you used, another content uri
 
yes came
 
SPK
@Abhi : Welcome to my room
@Abhi tell me here, what's your full name
 
thank you
see in my profile
 
SPK
1:08 PM
sure
 
yeah
 
SPK
@Abhi there's also shown only abhi
 
ok abhi is my nickname continue let us with that one
 
SPK
ok
Did i give the code @iPhoneAndroidrahul
 
SPK
1:43 PM
Hello guys, am back
am back
@Venky : Hi
 
yes me also back
 
SPK
@RoshanJha Here's little net problem
 
hmmm
 
SPK
@RoshanJha Are you i office
 
why?
 
SPK
1:56 PM
@RoshanJha don't know man
 
what you dont know
 
SPK
My network cable is damaged
 
ohhh
 
SPK
You've also network problem na?
@Venky : hai man
 
ya its in office net,right now i am in my home
 
2:01 PM
Hi da
 
@venky hi mate
 
SPK
how do you do? @Venky
how do you do? @Venky
 
@RoshanJha Hi mate
Fine da
 
SPK
@Venky Sorry guys my network cable totally jamed. I can't chat today. I'll catch you tomorrow
 

« first day    last day (1707 days later) »