« first day (815 days earlier)      last day (2660 days later) » 

6:14 AM
@RobinHood morning
 
7:10 AM
Good Morning Guys
 
7:44 AM
@TheLittleNaruto can i redcuce size of any font file using any compressor
 
@ErumHannan I am not sure. But Why would you want that ?
 
actually i will have so many font files
thats why to reduce apk size
 
That wont be possible.
The font files will take space as much as they need
 
all files are in assets
will they not increase the size of my apk
if i have 40 font files
 
Or you can do one thing.
 
7:53 AM
what ?
 
You can upload all fonts on your app server
 
no my app dnt have server
working with local db
 
And download when app launches first time in local sdcard
Grrr....
 
nops local db only
 
That was the only option, imo
 
7:55 AM
any farsi font u know
any good font
 
No I dont know farsi, so I cant tell which farsi font is better
tbh, I only know how to write my name in Urdu. That's all.
 
good morning to all
 
50
Q: How to support Arabic text in Android?

babiI am getting Arabic text from server successfully. Retrieved text I want display in code but its showing boxes instead of Arabic text. Assume that t array values are Arabic text from server. string[] t={" "}; Textview tv = (Textview) findviewByid(R.id.text); tv.setText(t[0]);

 
@TheLittleNaruto hi there is one Query
 
Where ? :D
 
8:01 AM
snag.gy/5GfAb.jpg my current screen
desire screen snag.gy/VxCCl.jpg
what i should set in adapter coz there is only textview in oddwor.xml
ll have to set margin at run time ?
 
Better You should ask designer for 9 patch image to get the feel
@Edge No
 
then
 
Read first line
 
okya
 
8:19 AM
@TheLittleNaruto hi
 
9:03 AM
@Shweta Hi
 
9:31 AM
Yo guys.. :)
 
9:41 AM
hi
 
10:25 AM
Yo @Muk
 
@MukeshRana @TheLittleNaruto
suppose i have 7 check box like monday to sunday. i will check only 3 check box like monday , friday , sunday then get alarm play only those 3 day which is already check .alarm only play monday,friday, sunday .give any example
 
@TheLittleNaruto this is not the issue the issue is how will i maintain
alarm
means will i set alarm for all selected days at a time if 7 days are sleected then will i set 7 alarm at a time ?
 
You can set alarm for regular intervals like on each 15 minutes, an Hour , A day etc.
 
i dnt want regular intervals
i want alarm for mon , thr , sat
then ?
 
10:37 AM
lol then set for each particular day
 
each particular day at once or one day alarm fire then set for next day ?
 
You can set at once, But you'll have to take care of reboot of the device. If rebooting happens, All set alarms will be vanished and you'll have to reset the alarms again
 
yes i have an idea about reboot
right
give me time to start coding
 
Good gal
 
using this code seekbar changing is shown but volume is not setting
no error no result
 
10:55 AM
Did you initialize AudioManager ?
 
yes
 
Because I cant see that in the example you shared.
 
nops i have done that
one thing more i wanna discuss once i click the button it shows me selected and again i clicked it shows me unselected is it button or toggle button ?
 
but only single image is placed on it at a time
or is it custom checkbox ?
 
11:03 AM
Probably a checkbox
 
wait i m poting image
 
posted on January 31, 2015

New Cyanide and Happiness Comic

 
11:12 AM
@Swe :P
 
imgur.com/JNzVEOE @TheLittleNaruto pls chec
k
is it checkbox ?
 
You have very low quality camera
But I can say, It's a checkbox
 
after setting background image on checkbox will checkbox (tick mark ) still visible ?
will be visible ?
51
A: Custom checkbox image android

Mohamed Hisham Ibn HanifaCreate a drawable checkbox selector: <?xml version="1.0" encoding="utf-8"?> <selector xmlns:android="http://schemas.android.com/apk/res/android" > <item android:drawable="@drawable/checkbox" android:state_checked="false"/> <item android:drawable="@drawable/checkboxselected" android:stat...

 
See you need to make a xml drawable which will set images for various states of checkbox
and you need to pass it to the android:button attribute of the checkbox
 
yes done now
@TheLittleNaruto done in xml but in java
how will i do using android:buton
 
11:44 AM
@ErumHannan hi i have done but one more issue
 
what ?
 
@ErumHannan button and listitem click wrking fine but the but the button is while click the list titems focus how to avoid that ?
 
did not understand question ?
 
@ErumHannan That'll be in xml
 
no i want to set in java
by checking if checkbox checked then set this image else set this one
@TheLittleNaruto
 
11:49 AM
Ah
 
@ErumHannan button is focus automatically , i dont want to focus the button in listview
 
android:focus : false
set in xml
 
<Checkbox
//other attributes
android:button="@drawable/custom_xml_drawable"
/>
 
no no naruto
 
Yes! Yes!
Looks like you can do in Java as well
 
11:54 AM
lollzz lollzzz
 
yourcheckBox.setButtonDrawable(int resid);
 
@ErumHannan i gave android:focus : false but till focus wt to do ?
 
yes i done with that thanks @TheLittleNaruto
its working
 
@Swe
@Erum Good gal
 
11:56 AM
f1
 
Yes Tell me
 
set alarm successfully
 
give 10 points to Naruto :P
 
how ?
for cancel alarm pending intent id should be same or pending intent object should be same ? both shold be same
 
11:59 AM
set bounty :P
 
i dnt know how can i set bounty
 
Pending Intent ID should be Unique for each alarm so that you can cancel it anytime
 
hihahhahaha
 
@SweetWisherヅ lol, stop it already :P
@ErumHannan I dont want any points, stick with your queries
 
12:02 PM
\o
 
i have set alarm for 4:45pm now alarm set now i want to set time 5:15 now i have cancel my first alarm and then again set my new alarm right ?
basically i m updating alarm time
for cancel alarm i have used pendingintent.flagcancelcurrent
@TheLittleNaruto
 
Hi guys i have a question i.e how i will prevent user to uninstall the app,and if he want to uninstall the app then he will open the app and there will one button like uninstall then only it will uninstall otherwise i don't want to uninstall like(setting-->apps-->uninstall.How i will do that? is it possible?
 
u can put uninstall reciever in your app
and inside onRecieve u can put condition if uninstall pacakge name == your package name open your activity
 
yes i got your answer.is it check for every time?
 
12:13 PM
i think yes whenever your app is oging to be killed
or uninstall this reciver get called
@TheLittleNaruto went
?
 
ok thanks @ErumHannan
 
PendingIntent.FLAG_UPDATE_CURRENT
Use this flag
@Erum
@TGM Just now received L update. Downloading now...
 
means i dnt need to cancel the alarm i just need to update the time right ?
 
@TheLittleNaruto nice
 
12:16 PM
@TheLittleNaruto any voice chat possible ?
 
Moto phones are really good, that's the reason I opted for this
it gets update automatically to latest android os
 
@ErumHannan lol, only skype can do that
 
yes can u come
 
TGM , Right
I am already online, lol @Erum
 
id ?
yes
 
12:18 PM
:21277651 ok, thanks for sharing!
 
got ?
 
@TGMCians :D
 
request
?
 
@TheLittleNaruto would you mind if i also send you request ?
:P
 
@TGm lol You dont ahve to ask
 
12:19 PM
@TheLittleNaruto heheh, just joking, nevermind :)
 
I know I know :D
@TGM do you want me to share some good reference link for Google Analytics ?
 
@TheLittleNaruto yes sure
 
I only want to track no. of installation/uninstallation of my apps
 
@TheLittleNaruto Google analytics don't give those details.
See on your Google play developer console
it has already these details
it gives you install stats,, but not sure about uninstall (Google analytics)
 
what should I do in that case ?
Ohh Ok
 
12:23 PM
@TheLittleNaruto Open your Google Play Developer console
 
Okay. Wait
 
sure
 
@TGMCians i have one question i want to send some images to google drive how i will do that
 
@Hanuman I remember for this you have to create project on Google Api console
and enable Google Drive permission
then use Google Play Service
it has set of methods, 5-6 line of code , their intent
it do all those stuff own, that's all
 
TGM, tell me now
 
12:30 PM
now it should list all of your apps there
 
there is stats tab
 
You mean Status ?
 
where you can see daily install, active users, uninstall etc..
 
Yes
Right
 
12:31 PM
Gotcha ?
 
Gotcha! :P
 
and on main page, it gives detail of number of install and uninstall also
 
I can subtract no of installed from total
 
hmm
 
Thanks :)
 
12:34 PM
No problem :)
 
@TGMCians tell me some link to clearly understand.
 
@Hanuman My Google is not working :p, is it for you also ?
 
ok thanks
 
hehe
 
12:48 PM
i have one more doubt when i am taking backup of my contacts it is taking less number of contacts and it is not taking all contacts like(SIM1,SIM2,Device,Gmail),i have used this code. androidcodeexamples.blogspot.in/2012/06/… just tell me where is the problem @TGMCians @ErumHannan @TheLittleNaruto
 
 
8 hours later…

« first day (815 days earlier)      last day (2660 days later) »