« first day (154 days earlier)      last day (193 days later) » 
04:00 - 12:0012:00 - 14:00

4:52 AM
good morning @all
 
5:13 AM
gud mrng @all
 
@Tamilselvan vgm ji
 
@mohan ;-)
 
5:34 AM
GD to All
 
@johnsakthi vgm . welcome;-)
 
@Tamilselvan Hi
 
@johnsakthi hi
 
5:49 AM
@johnsakthi have u tried to put all these names in a list and sort ?
 
@johnsakthi so it should work.
 
@Tamilselvan How?
 
collection sort is normal sort only.
what is the code that u have used to sort the list?
 
ya i tired but not get pa.
:13842105
 
5:56 AM
68
A: Sorting arraylist in alphabetical order (case insensitive)

denis.solonenkoCustom Comparator should help Collections.sort(list, new Comparator<String>() { @Override public int compare(String s1, String s2) { return s1.compareToIgnoreCase(s2); } });

 
6:16 AM
@all: vanakam
 
@Kalai.G vanakkam ji
 
@Tamilselvan :)
 
@Kalai.G ji ungalukaga than waiting
 
@Tamilselvan not get solution, it returned given same list
 
@Tamilselvan solra
 
6:19 AM
@johnsakthi i have tested working
@johnsakthi paste.org/69550
@Kalai.G cyanogenmod ji.. my frnd rom ah sunday poda poren. athuku munadi itha try pnalam nu iruken
@Kalai.G procedure slunga
 
@Tamilselvan okay, How to get files instead of string?
 
@johnsakthi u r having the file name . using that get the file.
@Kalai.G ji
 
7:00 AM
@Emender hi mapla
 
@Tamilselvan yes machi
 
@Tamilselvan ok thanks, i got it. And one more think, u r working image processing in android.
 
@johnsakthi image processing.. no. i didnt
 
ok, i crop one star image, and it save to bitmap in sdcard?
:13843710
 
7:15 AM
@johnsakthi k
 
 
1 hour later…
8:44 AM
@Tamilselvan u there?
 
9:20 AM
@Kalai.G oru china doubt
 
@Icoder solra
 
@Kalai.G gud noon ji
went for lunch
 
gn da
k
 
@Kalai.G rendu button layout la iruku...
 
@Kalai.G procedure ketenae
 
9:22 AM
clockwodrecovery software potuku
@Tamilselvan
 
potrait la correct ah varuthu but landscape la oru button height chinnatha iruku @Kalai.G any idea
 
@Tamilselvan phone boot panratha recovery mode la panu..then wipe all datas/cache/rom
 
@Tamilselvan hello thanks i started my work on Ubuntu 12.04
 
@AbrahimNeil :-)
 
@Tamilselvan install the cynogenmod zip from recovery mode
thats all
 
9:24 AM
@Kalai.G ji ji methuva slunga
 
but still i have a small issue, will you help me?
1
Q: Null Pointer Exception - Trying to show Alert if List has no Item

Abrahim NeilIn my progam i want to show alert if UploadActivity.java has no item in a List, i am allowing user to do tap on button in LoginActivity.java, see code for btnCheckUpload which i am using in LoginActivity.java to check item(s) in a List of UploadActivity.java Getting NPE: Line number 105 is: if ...

 
@Tamilselvan mobile model enna da
 
@Kalai.G canvas a110 ji
 
@Icoder layout-land nu oru folder create panu..
 
@Tamilselvan try to help me ?
 
9:25 AM
ok anna @Kalai.G
 
adhula layoutla kudutha xml name la design panu @Icoder
 
puriyala anna @Kalai.G
 
layout la oru xml design panipa la
 
@AbrahimNeil i have already told to u i think. isnt the activity is visible?
 
@Kalai.G s anna
 
9:26 AM
will you show me the way to achieve this
@Tamilselvan
 
same name la landscapeku layout-land folder andha xml create panu da
@Icoder
 
@AbrahimNeil 1min
 
ok anna @Kalai.G
 
SURE @Tamilselvan
 
@AbrahimNeil u have to check the imagelist count instead of listview count
u r checking the listview count so its returning npe
 
9:35 AM
@Kalai.G actually bro i am getting confuse, can you show me the way, how and what i need to write to achieve this ?
 
@Kalai.G ji i think that activity is not visible.
@AbrahimNeil isnt that activity is active?
 
yes, for more clearity Like i am on LoginActivity.java (it contains a button) and using this button trying to know the status of List from UploadActivity.java
@Tamilselvan
 
@Tamilselvan avan UploadActivity.lstView call panran apo adhu enna panum static ListView lstView of uploadactivity, idha than point panum
 
@Kalai.G s ji , i thnk he finish the previous activity when he goes to that activity
because i check with that scenerio the list view count coming correctly
@AbrahimNeil where is ur intent code to the next activity
 
i think he didn't start the uploadactivity else by the way u told it is not active
@Tamilselvan
 
9:40 AM
@Kalai.G then how the list view will give a result that might be his problem
 
@AbrahimNeil ???
 
yes ??
@Kalai.G
 
wat abt tamil ques? @AbrahimNeil
 
@AbrahimNeil where is ur intent code to the upload activity
 
9:42 AM
@AbrahimNeil try with imagelist count it will wrk
it wont wrk if u didnt start the upload activity via intent
 
Intent intentUpload = new Intent(LoginActivity.this, UploadActivity.class);
startActivity(intentUpload);
 
@Kalai.G see his code ji. he is not using any list
 
@Tamilselvan illa da he is using image list... ImageList = getSD();
 
hm but he didnt use that and also it is private.
 
@AbrahimNeil u have added this code when u click on some button?
 
9:44 AM
@AbrahimNeil once debug at that line and check which one is null whther the button or the list view
or post the full code of both the activity i tell u
 
@AbrahimNeil yes post the code in paste bin
 
of UploadActivity?
@Tamilselvan @Kalai.G
 
@AbrahimNeil both the activities
 
s
both
 
sure
wait
 
9:49 AM
itha than install pnava
 
@Tamilselvan
@Kalai.G
 
@Tamilselvan no da..u can use xda developers site..it wil be much helpful
 
@Kalai.G hm k ji
 
actually i unlocked T-mobile of US with the help of this site oly
 
@Kalai.G ji avaru code ah pathengala. he is using in a single activity.
 
9:58 AM
@Tamilselvan ???
 
@AbrahimNeil u r getting the list view count and the list view in same activity in that code right.
 
dei count enga da chec panringa?
 
@Kalai.G ji for(int i=0; i<lstView.getChildCount(); i++) search pnunga
buttonSync button la parunga
 
illa da he need to check in loginactivity
he didnt paste that code
@AbrahimNeil can u pls explain the scenerio
 
sure, will tell you step by step
@Kalai.G and @Tamilselvan
1. Login Activity showing single button
2. want to launch UploadActivity
3. If UploadActivity's List contain any data else show alert "No Images found in UploadActivity"
is that ok or need some more
?
 
10:06 AM
@AbrahimNeil here where u r using the function to get the list view count?
 
in LoginActivity.java ?
 
@AbrahimNeil how can u check a list view before it is opened or initialized.
once u provide the intent to the upload activity only the list view show right
 
yes
@Tamilselvan
else show alert
 
@AbrahimNeil the flow is wrong.. upload activity is not yet started then how can u get value from that activity?
 
hi guys any one use paint app
i need to develop similar as paint app help me
 
10:13 AM
i just want to show alert dialog if upload activity has no data in a List @Tamilselvan
 
@AbrahimNeil see upload activity is not yet started right?
 
yes
@Tamilselvan
 
@AbrahimNeil do 1 thing..place list in 1 separate class
make that function as static and call that function wherever necc
 
@AbrahimNeil then how can u get a value from that class.? one idea. there exists one method to return the list<string> keep that method in first acitivy also and get the list<string>, and proceed
 
can you show me the way to do that
@Tamilselvan
 
10:17 AM
@Tamilselvan beginner ah da
 
@Kalai.G hm
 
@AbrahimNeil create 1 utility class
put that list function make it static
@Tamilselvan make the code to be reusable da..he is going to use in other activities i think
 
1 message moved to Trash can
@Kalai.G hm k ji
@AbrahimNeil see @Kalai.G suggestion.
 
andha mari solu..utility class use pana solu
adhula theavayana func potu call panika solu..
 
@Kalai.G as you can see in my code i already made list satic
public static List <String> getSD()
{
it = new ArrayList <String>();
String string = "/mnt/sdcard/Pictures/Awesome/";
f1 = new File (string+ CameraLauncherActivity.folder+ "/");
files = f1.listFiles ();

for (int i = 0; i < files.length; i++)
{
file = files[i];
Log.d("Count",file.getPath());
it.add (file.getPath());
}
return it;
}
 
10:21 AM
use static instead of public..instance create panama call paniklam
 
not getting you ? @Kalai.G
 
@AbrahimNeil correct..but u r not calling the list..u r calling the listview count
@AbrahimNeil frnduuu...
 
will you show me the way, i posted my whole code here: pastebin.com/NrdPximr
 
first create utility class
@AbrahimNeil
 
or place your suggestion as answer
 
10:24 AM
nitesh goel answered u but ur not understanding that
@AbrahimNeil there?
 
@Kalai.G bro i really want to perform all as you want me to do, but not getting, and its urgent, will you show me the way to achieve my target, i am promising you, i will learn by that for future use
try to understand my problem
 
@AbrahimNeil k
create a new class name it Utility
do that
 
ok
now
@Kalai.G
 
copy that list function public static List <String> getSD() {}
from uploadactivity
paste it in utility class
 
then
done @Kalai.G
 
10:30 AM
now ImageList = utility.getSD(); call this from loginactivity
before this line if (UploadActivity.lstView.getCount() > 0)
 
@Kalai.G Hi machi
How R u
 
ok wait want to confirm something.. finally my Utility class should look like this: pastebin.com/KG9ZHgC4, am i right? is that ok?
@Kalai.G
 
@saravanan hi da
fine da
irru machi
 
@Kalai.G Sollu da
enna machi
 
@saravanan wait talk to u later
@AbrahimNeil yes
 
10:33 AM
@Kalai.G Ok da
 
now use (utility.getSD().getCount() > 0) instead of if (UploadActivity.lstView.getCount() > 0) in loginactivity
@AbrahimNeil
 
The method getCount() is undefined for the type List<String>
@Kalai.G
 
use size
 
utility.getSD().size()
 
s
 
10:51 AM
@AbrahimNeil done?
 
getting NPE here:for (int i = 0; i < files.length; i++)
in Utility.class
@Kalai.G
how to resolve this issue?
@Kalai.G @Tamilselvan please help me to sort out this
 
try like this
public static List<String> getSD() {
List<String> it = new ArrayList<String>();
String string = Environment.getExternalStorageDirectory()
+ "/Pictures/";
File f1 = new File(string);
File[] files = f1.listFiles();

for (File path : files) {
File file = path;
Log.d("Count", file.getPath());
it.add(file.getPath());
}
return it;
}
 
but what about this: f1 = new File (string+ CameraLauncherActivity.folder+ "/");
@Tamilselvan
 
11:07 AM
@AbrahimNeil give the folder name or leave it because. cameraLauncher acitivity is active ah? while u calling this function?
 
as you can i am using that folder name to create for in Pictures/Awesome directory, so i can't leave it
 
so
String string = Environment.getExternalStorageDirectory() + "/Pictures/Awesome";
right?
 
@AbrahimNeil hm. working ah?
 
but also creating sub-folder using this: f1 = new File (string+ CameraLauncherActivity.folder+ "/");
 
11:11 AM
@AbrahimNeil dont forget to create folder if not exists
@AbrahimNeil for a single word why u r giving reference to another class which is not active?
 
@Tamilselvan enda solved ah?
went 4 T
 
@Kalai.G hm issue vanthuchunu snaru sliruken. nan test pni pathen enaku work aguthu. avaruku epade nu therla ji inum slala
 
@Tamilselvan hi
 
@Michel hi . welcome:-)
 
@Tamilselvan thanks i am getting stuck in map v2
 
11:23 AM
@Tamilselvan mm
:)
@saravanan solu mama
 
@Michel what s the issue now..
 
@Tamilselvan i am using mMap.setonMylocation change listener from where we will get lat long of current loaction so i am taking that location as a update location for making line mate but it is not working
 
@Kalai.G ji
 
@Tamilselvan solra
 
@Michel can u post u r code
map ji
 
11:29 AM
mapv1 use panathu da
i think 1 yearku meala aagidichi
 
kk ji.
 
@Michel isnt the map is showing the current location.? only the line draw is the problem right?
 
yes
 
@Tamilselvan line draw pananuma?
 
11:35 AM
@Kalai.G s ji'
 
@Michel u r not using the last location lat long that is the problem i think
 
but bro i am using current location and it is changing rapidly so i think no need to take last location bro is it??
 
Location lastLocationloc=null;
@Override
public void onMyLocationChange(Location location) {
if(lastLocationloc == null)
lastLocationloc = location;
LatLng lastLatLng= new LatLng(llastLocationloc.getLatitude(),lastLocationloc.getLongitude());
LatLng thisLatLng= new LatLng(location.getLatitude(),location.getLongitude());
mMap.addPolyline(new PolylineOptions().add(lastLatLng).add(thisLatLng).width(3).color(Color.RED));
lastLocationloc = location;
@Michel you should keep track the last location to update
@Kalai.G s ji
 
@Tamilselvan ok i do :)
 
11:39 AM
@Michel :-) let me know once u tried.
 
@Tamilselvan ok bro
 
@Kalai.G ena project ji ipa pnitu irukenga?
 
calling card
 
@Kalai.G apadina?
 
ipo nama call panrom la uk to india or from other countries
call cost will be higher na
 
11:42 AM
@Kalai.G hm s
 
so there is seperate cards like booster to reduce call cost
our cmp provides that
so if the card is saved with the help of our app
 
@Kalai.G machi.. innum nee calling card mudikalaiya da
 
@Kalai.G hm k k ji .. so payment la irukumla
 
@Tamilselvan no
@saravanan illa machan hold la irrundhuchi...ipo than dhoosi thati eduthan
 
@Kalai.G hm apa card ah vachu activation pnura mathiria ji
 
11:44 AM
@Tamilselvan call has be to go thru our application with saved card
s
 
@Kalai.G hm nice ji
 
@Tamilselvan :)
 
@Kalai.G hm
 
@Kalai.G ok machi..
 
@saravanan enada new yearla epudi pochi
 
11:45 AM
@Kalai.G Romba mokka machi..
very sad..
 
appada
 
wt abt u machi
?
nee eallam nalla varuva machi..
 
went like normal days
 
@Kalai.G ok da
 
new year office working day or off?
@Kalai.G
 
11:49 AM
@CJRamki leaveu leaveu
 
good...
 
@CJRamki 4 u
 
enna machi ? @Kalai.G
 
same to same... leaveu leaveu...
 
@MoorthyTheBoss new year epudi pochi'
 
11:52 AM
@Kalai.G ha ha semma semma
 
@MoorthyTheBoss ayayoooo
ena solra
 
:$
 
@MoorthyTheBoss enna nalla pochiya..
 
yes
pondicherry
 
back burning mama
 
11:54 AM
@MoorthyTheBoss OMG... appo semma semma tha...
 
pondicherry ahhhh
 
@MoorthyTheBoss very good..
 
ha ha
@Feeds why this kolaveri machi :D
 
11:56 AM
@Kalai.G enna machi
ippadi pandra
 
@MoorthyTheBoss dei semaya irrku da hotel
nasama poga
 
@Feeds pondichery poitu vandhadhuku ivlo periya treat ah?
 
@MoorthyTheBoss enoda guru machan nee
 
@MoorthyTheBoss enjoy enjoy...
 
@Kalai.G ha ha :D
 
11:57 AM
@CJRamki he is guru da
 
@Kalai.G appadilam illa machi
you also helped me lot :)
 
@saravanan en enna machi?
 
@Kalai.G appo moorthy illaya?
 
guru moorthy da @CJRamki
@MoorthyTheBoss thandakam?
 
@Kalai.G now your owner app my room too :D
 
11:59 AM
@MoorthyTheBoss thala @Kalai.G Valga
 
@MoorthyTheBoss dai
 
@MoorthyTheBoss mudiayala sami
pothum
 
@saravanan :D
 
@saravanan ungala enala add pana mudiyala..reputation 100 veanum..illana en surya va vitrupana?
 
04:00 - 12:0012:00 - 14:00

« first day (154 days earlier)      last day (193 days later) »