« first day (649 days earlier)      last day (1596 days later) » 

8:00 AM
@sophie are u able to detect USB device??
 
no
 
0
Q: Android Print intent

Nospic JoseI noticed handful of printer applications in Android Market (HP, Epson, Canon, Kodak, Brother, Samsung, Lexmark etc) allows user to make LAN printing. But i could not find any generic intent to invoke them. Intent.ACTION_VIEW is opening up all applications which can view the photo/doc including ...

have a look
 
@sophie first elaborate wht are u doing in app ?
 
any ios developer in this chat room?
 
In my app i am using ListView, with Image and a button
and by doing tap on button i wan to detect USB connected devices
@SweetWisherツ is that clear
 
8:02 AM
connected to what?
 
to device.
 
any ios developer in this chat room?
 
Yep
@user3152553. Yes.
 
0
A: How to check usb host support on android device programmatically?

Peter TranI had the same question and after some googling I found this: http://android.serverbox.ch/?p=549 In summary, your app needs to use the UsbManager system service and enumerate through attached USB devices. mUsbManager = (UsbManager) mApplicationContext.getSystemService(Context.USB_SERVICE); Ha...

 
1. first want to detect connected USB devices (like : printer/PC) with my android phone
then need to send image to that connected device
@SweetWisherツ
 
tried many times, but not done
@SweetWisherツ
 
@SweetWisherツ can u help
 
anyways thanks for help i will try my best then let you know
 
@sophie the same links?
@Wizard u want to scroll the selected item to the center na?
 
second one
 
8:09 AM
@SweetWisherツ yup
 
@SweetWisherツ and friend who is @user3152553
 
@sophie leave that room...u will find many such ppl here...better to avoid dear
 
yeah you are correct
i left
@SweetWisherツ
 
nw do ur wrk :P @sophie
 
yes,i am christian
thanks
mom gave me
@SweetWisherツ oho
 
8:15 AM
10 din me bada acha kam de dia aapko @sophie
 
ji nahi main apni hi 1 app banana chaha rahi hoon
@SweetWisherツ
 
@sophie ohh nice :)
aaj room bhara pada he @Aaღirkhan @Prince @NareshSharma :)
 
like we do prayer in church, and join many events, so all about pics on both places
that's why want to allow mates to print/share image via bluetooth, usb
@SweetWisherツ
 
nice idea :)
 
thanks
 
8:19 AM
@All hello
 
@Achilles hello :)
 
@Achilles "@All" will not TAG to anyone. ;P
 
@Achilles hii
 
@SilentKiller to bolo kya karu :P
@Lollipop hey
 
@SilentKiller hi bro
 
8:20 AM
@Achilles sab ke nam likh kar ping karo. :D
@Lollipop hello.
 
@hello hello
 
@SilentKiller hehehehehe... thanks bata diya warna woh to pata hi nahi tha..
 
@SilentKiller jkaise hoo?
 
@Wizard check your connection may be it has issue.. ;)
@Achilles sath me rahega to or b naya naya sikha ne milega.. :D
@Lollipop Alhamdulillah Very Fine. you say.?
 
@SweetWisherツ any idea please help
 
8:22 AM
@SilentKiller ha to aaj se sath me.. ;)
 
i need to study hindi first than android.. :) :D
 
@Achilles lols.. my promise.. ;)
 
@SilentKiller ya there is no net..
 
@Lollipop hahaha you have to learn National Language. :P
 
:)
 
8:23 AM
@SilentKiller okey.. thanks.. :D
 
@Wizard then use Satellite..
 
@SilentKiller will you help me ?
 
@SilentKiller :)
 
@sophie for what.?
 
@Lollipop lolmlol
 
8:24 AM
@sophie he will sure solve ur problem as i know
 
how to detect usb devices connected to my android device and then send image to that device
 
@SweetWisherツ u from??
 
@SweetWisherツ
 
@Wizard i am not AndyRubin. :P
@sophie you want to connect two android devices using USB.?
 
are nhi
 
8:25 AM
@SweetWisherツ i have doubt.
 
areh nhi
 
then?
@SweetWisherツ tumhe, muje nahi.. :P
 
@SilentKiller one canon printer and one android device
kisi ko alert nahi rehna padega
 
@SilentKiller Hindi is not our national language :P
 
@Leena oh to konsi hai.? :P
 
8:27 AM
@SilentKiller i have query
 
there is no national language of India
 
@sophie aapko...logo se jyada bate mat kro... tc :)
@Leena O_o
 
Hindi is just official language
 
oh forgot
@SweetWisherツ
 
@sophie your device is connected with Printer and want to print image from there.?
@Leena may be naya rule aaya hoto pata nahi par 1947 me to yahi tha
 
8:28 AM
yes
@SilentKiller
onbuttonclick
 
@SilentKiller heheh...
 
my code using bluetooth
Intent intent = new Intent();
intent.setAction(Intent.ACTION_SEND);
intent.setComponent(new ComponentName(
"com.android.bluetooth",
"com.android.bluetooth.opp.BluetoothOppLauncherActivity"));
intent.setType("image/jpeg");
intent.putExtra(Intent.EXTRA_STREAM, Uri.fromFile(fileToPrint));
startActivity(intent);
@SilentKiller
 
@Leena facebook 2009 me aaya me 1995 se sunta aaya hu.. sayad school wale galat padhate hai.
 
8:30 AM
@SilentKiller but i wanna make it custom for my app
 
hahahah.... apdi rashtriya bhasha to hindi j che
 
bichare school valon ko b misconception tha
 
@sophie best option is to Reverse Engineere this app
 
ok may i know how can i send image to USB Connected device with my android device programmatically
@SilentKiller
 
8:33 AM
@SweetWisherツ
 
@Achilles bolo ne
 
@Leena may be possible to Indian government ko study syllabus b dekhna chahiye na
 
@SweetWisherツ kaam karne jaane.. :PPPPPPPPPP
 
@Achilles saru thyu khai didhu..hu bhagu :P
 
@Leena to bolo Modi Sir ko 12 sal se kya kar rahe hai..
 
8:34 AM
@SweetWisherツ bhaaag sweeti bhaag :PP
 
@Achilles chaplaaaa
 
@SweetWisherツ hju na gyi.???
 
@Achilles kam krwa de. :/
 
@SweetWisherツ ohhoooo :D :D :D
@SweetWisherツ ehhhh :D
 
8:36 AM
@Achilles hum ek mail kru e chk kr..thodi help joye che
 
@SweetWisherツ okkkk
 
@SweetWisherツ @SilentKiller if i will use below code, and user attached USB device with android device, so it will show up in options or not
0
Q: Detect USB Connected device and send Image

sophieI am writing an app in which i have to detect USB Connected device and then i need to share image. In one of my previous app, i used below code to Share image using Intent: buttonShare.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent shareIntent = new...

buttonShare.setOnClickListener(new View.OnClickListener() {
public void onClick(View v) {
Intent shareIntent = new Intent(Intent.ACTION_SEND);
shareIntent.setType("image/jpg");
Uri uri = Uri.fromFile(new File(getFilesDir(), "foo.jpg"));
shareIntent.putExtra(Intent.EXTRA_STREAM, uri.toString());
startActivity(Intent.createChooser(sharingIntent, "Share image using"));
}
});
 
@Achilles checked?
 
@SweetWisherツ wait
 
@SweetWisherツ ?
 
8:42 AM
@sophie yeah ?
 
@sophie what i found if you should use APF Core library to print.
 
not clear, will you tell me, if i will use this code, and if user already attached USB device to android phone, so this will up in a list or not ?
@SweetWisherツ
@SilentKiller
that's really difficult for me to understand
 
@sophie havnt used such code earlier..jst gave u links to follow..
 
no this time i am asking simple question
@SweetWisherツ
please read it one more time
 
@SilentKiller hi
 
8:48 AM
@Harshid yes sir
 
@SilentKiller abey hi
 
like sharing button, let you show all the available services/apps on the basis of mime type, so if i will same sharing image code, and if user already attached usb to android device and printer, so this will prompt for printer as well or not ?
 
@Aaღirkhan solved MAP issue ?
 
@SweetWisherツ
 
@Prince bol
 
8:49 AM
@SilentKiller
like sharing button, let you show all the available services/apps on the basis of mime type, so if i will same sharing image code, and if user already attached usb to android device and printer, so this will prompt for printer as well or not ?
 
@SilentKiller chod
 
@sophie i am checking for same thing. but mostly what i found is they are using APFCore Lib to print
@Prince kya hua.?
 
@SilentKiller ase hi @Furqi nazar nai aa raha
 
@Prince abey hi :P
 
@Furqi Assalamualaikum Sir.
 
8:51 AM
@SweetWisherツ happy married life
 
@SilentKiller walakum-asalam
 
@Gajini lolsss...
 
@SweetWisherツ lol :D :D
@Furqi abey hi
 
I am back
 
@Prince abey hey :P
 
8:52 AM
@SilentKiller good night
 
@Gajini thnku So much :)
 
@Prince cabbage
 
@Furqi abey kesa he ?
 
@SweetWisherツ cabbage cabbage
 
abey ye kya horha he:P
 
8:52 AM
@Prince abey thik hun abey tu suna :P
@SweetWisherツ abey kuch nahi kuch nahi pyar ho rha ha :)
 
@Gajini flower flower :P
@Furqi abey kahi aur jake krlo :P
 
@Furqi abey jigar me jakkas. :D :D
 
@SweetWisherツ you pinged me yesterday when i am not here
 
@Gajini carrate.
 
@SweetWisherツ abey kahan jaon :D
@Prince abey lush :D
@SweetWisherツ ye doriyan :(
 
9:00 AM
@SweetWisherツ :O ye kab hua?
 
last week
 
@SweetWisherツ Many many congratlations
 
@RoshanJha Congrats for what?
@Prince Working just came from lunch
 
9:03 AM
@Furqi abey ye @Prince ko leja waha :P
 
@SweetWisherツ Really?
 
@Aaღirkhan yes. it is true
 
@SweetWisherツ abey ok :P
 
@Furqi abey thnku :P
 
@SweetWisherツ Congrats
 
9:05 AM
@Aaღirkhan kis lie
 
@SweetWisherツ u got married :O abey kb
 
This is a joke of the day :)
 
@Furqi abey ye @Gajini ne meri shadi krwadi:P
 
last week.
 
Hello Everyone
 
9:06 AM
@NareshSharma help to @sophie
 
@NareshSharma Aao bhai tum bhi suno
@SilentKiller tum is plan ke mastermind ho?
 
@Aaღirkhan ok buddy :D
 
@SweetWisherツ no not me . I didnot understand what you are saying . I believe you are not scolding me since i leaked the secret right
 
@SweetWisherツ congo.
 
Dophar k 2:36 baj chuke hai or aapke sath hai aapka Dost Naresh
 
9:07 AM
@NareshSharma hahaha
 
lolmlol
 
wah naresh :D :D
 
@RoshanJha nopes
 
@Gajini not at all sir...i happy that u fulfilled ma wish :)
@NareshSharma ahahaa
 
14 mins ago, by Gajini
@SweetWisherツ you pinged me yesterday when i am not here
 
9:08 AM
@Gajini issue with html...ask u later :P
 
@NareshSharma Aur waqt he ek chotese break ka, washing powder nirma, thanda matlab coca cola, thumbsup test the thunder, life boy he jaha tandu rasti he vaha, washing powder nirma, namaskar break ke bad aapka swagat he......
 
@SweetWisherツ oops will it come later ?
 
@Gajini yeah yeah...currently busy with android :/
 
@SweetWisherツ okay
@SweetWisherツ then catch me on gmail once you stuck with it . I am leaving here
 
@Gajini i dnt have ur id
 
9:11 AM
@SweetWisherツ edited
check history
 
@sophie jee khiye how can I help you ?
 
@Gajini can delete
 
@NareshSharma left. use usb se image print karvani thi from device.
 
@SilentKiller Ok dekhta hn
 
@SweetWisherツ ?
 
9:13 AM
@Gajini if u want u can delete that msg :P
 
@all hi
how r u
 
@Tushar bhai Govt job mili k nhi ?
 
Does @all ping all?
 
@RoshanJha Valid point
 
@NareshSharma
abhi to tyari karni shuru ki
6 months me
 
9:18 AM
@vishalsharma Welcome, Enjoy stay
 
@vishalsharma access granted
 
@vishalsharma welcome :)
lol
 
thanks... how r u guys..
 
@Aaღirkhan yar ye kam @SweetWisherツ ko he krne diya kro.
 
ok sir
 
9:19 AM
@NareshSharma lol
 
@vishalsharma fine you say
 
Receptionist :P
 
@SweetWisherツ , aapki to har wish puri ki jaegi....just say..
 
@vishalsharma aisa kyo bhai meri bhi kuch 1-2 wish hai wo bhi puri kr dena
 
@Prince In this class pastie.org/9084517#6 second time toast is not coming at line num 97
That means setUpMapIfNeeded function is not calling
 
9:22 AM
Ejjectly
 
@NareshSharma Dont forget me.. ;)
 
So what's a problem?
 
if (readyToGo()) {
setUpMapIfNeeded();
}
 
yes
 
its calling only one time
 
9:23 AM
Yes right
 
@SilentKiller yes sure buddy :)
 
That means second time condition is false
 
@Prince Arun jately :P
 
@Aaღirkhan its calling only one time. so second time toast is not coming
@RoshanJha ?
 
@Aaღirkhan ek kaam kar us method me if else if and else me koi text print karva le mil jaega kaha jata hai..
 
9:25 AM
ok let me see
 
@SilentKiller there?
 
@Prince kuch nahi jaane do
 
@Khan nahi.
 
I downloaded the code of APV but it shows an error in jni folder
 
@Khan usme scripts hogi wo run kar
 
9:27 AM
@SilentKiller thanks for approach
 
ok let me check
 
@NareshSharma heloo
 
@sophie Hi
 
@sophie he has better knowledge on printer then me.
 
I am making an app in which i have to detect USB connected printer
@NareshSharma
@SilentKiller ohk
 
9:28 AM
@SilentKiller Sir aap ye kya kh rhe hai
 
@NareshSharma mazak mat karo issue solve karo. :P
 
ok ? @NareshSharma
 
@SilentKiller Start kisne kiya tha :P
@sophie yes say
 
@NareshSharma @Furqi ne.. ;) :D
 
@sophie which printer you are using ?
 
9:29 AM
Canon
@NareshSharma
 
:15873968 amone angreji aatlu ghanu no aavde. khambhakhani. :P
 
@NareshSharma Please check this:
3
Q: Printing/Sharing Images using USB Programmatically

sophieI am using below code to print/share image via Bluetooth using Intent, but now i have to do same thing (printing/sharing) image via USB programmatically. see my existing code, which i am using to print/share image using Bluetooth, but don't know how can i do same thing using USB ...

 
@SilentKiller :) bhai hamara bhi aisa hi hai
 
@RoshanJha :P
 
9:32 AM
@sophie let me check
 
1 missed call and 1 unread message.
@DevCarlsberg
 
@DevCarlsberg looks good.
@Prince wifi full hai. ;) and battery b.. jo mere cell me nahi hoti.. ;)
 
hahahaha
 
@Prince @SilentKiller ye timer kaise bnega
 
sure @NareshSharma
 
9:33 AM
@DevCarlsberg chronometer use karo.
 
@DevCarlsberg simple chronometer he bro.
 
okay!!
 
@DevCarlsberg kaam karne ka mood nahi hai kya.?
 
@SilentKiller hai bhai..kaam bhut jada hai
@SilentKiller aisa kyu pocha
 
9:35 AM
@DevCarlsberg itna chhota and simple que pu6a tune isliye kaha.
 
@SilentKiller haan kuki kaam jada hai..or search krne ka jada time nhi or sch btaun to muje nhi pta tha ..mai timer he smj raha tha
 
@DevCarlsberg chal koi na.. ho jaega kaam b. :)
 
ho bhi gya..thankyou @Prince @SilentKiller
 
@SilentKiller @Aaღirkhan Assalamualikum..
@Prince @NareshSharma : good noon dostoz..
 
9:38 AM
@sophie have you seen any other app printing via usb connection ?
@shihab_returns welcome back mate
 
@NareshSharma i found and it is using APF Core lib to print
@shihab_returns WalaikumAssalam
 
@NareshSharma : i try to come the room in the morning..but..Browsers n Internet distrubs me a lot.
 
@shihab_returns Walaikum Assalam Vi
 
@shihab_returns coz SO main site was down...
 
@Prince @SilentKiller Done
it was a Silly Mistake
 
9:40 AM
@DevCarlsberg welcome dude :)
 
OOOO_ @SilentKiller
 
@Aaღirkhan good kya mistake thi.?
 
@shihab_returns good noon
 
line number 79 per check kia he if (mMap == null) {
 
@Aaღirkhan :D
 
9:41 AM
first time jab map load hojatahe tab map null nahi rahta
so onCreate per
 
:) @Prince
 
@Aaღirkhan good.
 
mMap=null;
 
NO
 
waha se hi return ho jata hoga.
 
9:41 AM
On Create me ye rakh dia
 
@NareshSharma
no
 
onCreate me null kardia
 
@Aaღirkhan abe to har bar naya generate karvata hai MAP ko.?
 
@SilentKiller uske bina display nahi horaha
null karvatahu to ajatahe
 
@SilentKiller that app printed via USB ? am asking this bcoz to communicate via usb we need the canon sdk and I searched they didn't provide that.
 
9:42 AM
@Aaღirkhan par null kyu check kar raha hai bhai.?
@NareshSharma canon ka nah pta par ek app hai usse USB se print kar sakte hai.
 
Bcs First time map null hoga , aur null hoga to initialize hoga
 
deta hu link
 
@SilentKiller link share krna dekhta hn
 
@NareshSharma ?
 
9:44 AM
@sophie madam aap wala issue he discuss ho rha hai
 
ok
sir ji
@NareshSharma
 
@NareshSharma ji Sir ji
 
may i know how to detect USB connected device ?
@SilentKiller @NareshSharma
 
@sophie No idea about USB thts why i passed that link to you
 
@SilentKiller can i make a textview visible if i define invisible in xml layout??
 
9:53 AM
yup
 
@SilentKiller sb device me ok chal rhi hai ap ek device me inflate exception..aisa kyu?
 
@Lollipop yes u can make textview visible if u define invisible in xml layout
 
@Wizard tview.setVisibility(View.VISIBLE); but its not showing.
 
@Prince
1 min ago, by Dev Carlsberg
@SilentKiller sb device me ok chal rhi hai ap ek device me inflate exception..aisa kyu?
 
@sophie download this app and check is that printing with usb connection. play.google.com/store/apps/details?id=com.ivc.starprint
 
9:56 AM
@Lollipop u added question in SO
 
@Wizard no :)
 
@NareshSharma
 
@Lollipop will add code here
 
pastie.org
 
@Lollipop is it showing any error
 
9:58 AM
@DevCarlsberg yes
 
@SilentKiller ma ny kya kiya :O :)
 
@Wizard no. if(list.size()==0) i am showing that just " list is empty ".
 

« first day (649 days earlier)      last day (1596 days later) »