« first day (87 days earlier)      last day (4879 days later) » 
04:00 - 10:0010:00 - 18:00

10:02 AM
ru there ninad?
 
@ninad:01-11 15:33:59.211: WARN/System.err(334): java.security.KeyStoreException: KeyStore jks implementation not found
01-11 15:33:59.211: WARN/System.err(334): at java.security.KeyStore.getInstance(KeyStore.java:142)
01-11 15:33:59.211: WARN/System.err(334): at org.jivesoftware.smack.ServerTrustManager.<init>(ServerTrustManager.java:61)
01-11 15:33:59.221: WARN/System.err(334): at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1115)
01-11 15:33:59.221: WARN/System.err(334): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:
 
Hello JRC,,There is no such file in ur destination.Pls check that first.Where is ur source file?(sdcard,phone mem.,or raw folder.)?
 
i got above exception onclik
 
JRC
hello, my file is at /mnt/sdcard/test.mp4.....
 
@SankarGanesh did u r doubt cleared regarding SharedPreferences?
 
10:08 AM
@VikasPatidar: hi Dost, i haven't searched that, i had got a critical issue
 
@SankarGanesh ohh.
 
Use VideoView..-JRC
 
JRC
ok
 
ninad..Im still waiting for ur reply?
 
JRC
but reason for getting /dev/pmem_XXX ?
 
10:12 AM
@VikasPatidar: hi dost, can i ask one question
 
That i dont know too..first try videoview
 
@SankarGanesh sure my mitra
 
Hello vikas
 
@VikasPatidar: How to Control Anger, hahaha,lol
 
JRC
ok..let me try videoview
 
10:14 AM
@SankarGanesh is it urgent otherwise i will tell u later?
 
@sudhakar reply??????????????
 
@VikasPatidar: I had joined in M.S.C Psychology in part time, my first class is based on this, hahahahaha
 
@JRC-VideoView myIntroView = (VideoView) this.findViewById(R.id.VideoView01);
MediaController mc = new MediaController(this);
myIntroView.setMediaController(mc);
myIntroView.setVideoPath("/sdcard/test.mp4");
myIntroView.requestFocus();
myIntroView.start();
TRy this
Yeah!ninad
 
@VikasPatidar: ok, i will see you, after fixing that critical issue
 
what reply
 
10:15 AM
@SankarGanesh: ha ha ha .............. also there is a Static method you can call it to control Anger
 
Now I've done all the things.But still i got d same.Oh god!!!Can u pls check with my code below?

else
{
TextView tn=(TextView)findViewById(R.id.tn);
try{
FileOutputStream fStream = openFileOutput(file.getName(), Context.MODE_PRIVATE) ;
ObjectOutputStream oStream = new ObjectOutputStream(fStream);
oStream.writeObject(tn) ;

FileInputStream fStream1 = openFileInput(file.getName()) ;
ObjectInputStream oIStream = new ObjectInputStream(fStream1);
tn= (TextView)oIStream.readObject();
}
catch (IOException e) {
 
@nina
d:are you busy?
 
ya say man
was lil bit busy
now say
i saw exception
 
Have u seen above my altered code?-ninad
 
@ninad:what i do wrong?
 
10:18 AM
so what the prob tell me
 
@SankarGanesh okay...
 
@niand:it gives below exception:
01-11 15:33:59.211: WARN/System.err(334): java.security.KeyStoreException: KeyStore jks implementation not found
01-11 15:33:59.211: WARN/System.err(334): at java.security.KeyStore.getInstance(KeyStore.java:142)
01-11 15:33:59.211: WARN/System.err(334): at org.jivesoftware.smack.ServerTrustManager.<init>(ServerTrustManager.java:61)
01-11 15:33:59.221: WARN/System.err(334): at org.jivesoftware.smack.XMPPConnection.proceedTLSReceived(XMPPConnection.java:1115)
01-11 15:33:59.221: WARN/System.err(334): at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:313)
 
It shows the list of all text files from sdcard.But when i click one it happens nothing.I need to display the particular text contents when i click..
can i send my entire appn.to ur id?-ninad
 
i cant dnld jars so it wud be of no help
@chiragshah try to extract the file
 
ninad..Ur mail id pls?
 
10:28 AM
i will not be able 2 dnld .rars
so it wud be of no help
paste ur complewte code in pastebin
 
is it t0 me-ninad?
 
ya
 
k i will do
 
but what u doin first serializing and very next deserializing
 
My java file:
package com.make;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.util.ArrayList;
import java.util.List;

import android.app.AlertDialog;
import android.app.ListActivity;
import android.content.Context;
import android.content.DialogInterface;
import android.os.Bundle;
import android.view.View;
import android.widget.ArrayAdapter;
import android.widget.ListView;
My xml file:
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:id="@+id/path"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
<ListView
android:id="@android:id/list"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
/>
<TextView
android:id="@android:id/empty"
android:layout_width="fill_parent"
Im newbie to android.what would i change?
 
10:32 AM
ok now tell me when u want to set text on that text view
 
When i run this appln.It shows the list of all files(inc txt files,img files,mp4 file) from sdcard on emulator.If i click a txt file..it should show its content
got it?
 
ok now got ur prob
 
thanks
 
and u want 2 show its content on textview
 
Yeah obsoulutely
If so..How could i change my code?
 
10:37 AM
ok then u dont need serialization
sorry
u were not clear ata that time
 
k.Then?
yeah i was so so confused
 
@ninad:this is my code lnik:gist.github.com/e3170f5f1c5918dc65b6
 
u've sent coding to do chats. im right?
sry this is not for u ninad
 
@sudhakar
/Find the directory for the SD Card using the API
//*Don't* hardcode "/sdcard"
File sdcard = Environment.getExternalStorageDirectory();

//Get the text file
File file = new File(sdcard,"file.txt");

//Read text from file
StringBuilder text = new StringBuilder();

try {
BufferedReader br = new BufferedReader(new FileReader(file));
String line;

while ((line = br.readLine()) != null) {
text.append(line);
text.append('\n');
}
}
catch (IOException e) {
//You'll need to add proper error handling here
try this
 
k.i will do & thanks
 
10:44 AM
@chiragshah i m looking 8 it
 
@ninad:ok...friend
 
@ninad..Ur displaying one text file named file.txt.This was already done by me.But i need to list all text files from sdcard "not one file". from that list,i've to select one particular file.when i click that file it will show its contents.Got it?
 
come on get the name of file and on click and use that strin in place of file.txt
@chiragshah have u tried same prog with older jar
i dont have jar with me bcoz i extracted it otherwise i wud have given it 2 u.
anywaz it require more R&D
lets cntinue
 
@ninad:ya.it crashes the application when i enter the details of host,port nad service
 
so are u entering host correctly
 
10:56 AM
@ninad:ya i had told u b4 i am using same as screenshot suggest in that example.
 
@chirag der aws sae prob 2 others in the link u given and others also suggested solution 2 it
look at the 4 and 5th reply
@chiragshah look this asame prob solved
 
@ninad:i had seen it yesterday thats why i am asking you to how the patch it?
 
ok
first extract it
 
@ninad:i extracted it.
 
11:12 AM
ok now look for connection configuration.jave
 
hi any one working in android addmob adds
 
@ninad:in what?
 
in org.jivesoftware.smck
 
@ninad:but where in my project?into smack.jar file?
 
man i told u 2 extrct this jar file
 
11:19 AM
@ninad:oh you are telling abt tahe smack-diff.jar?
 
u got what 2 change
but first u will have 2 extract ur smack.jar
 
how can i extract jar file buddy?
??????
 
try 2 etract it using winrar
 
@ninad:ok i try it...
ok i did it..and i have to now change the files according to that patch..am i right?
 
ya but try this first
// Build the default path to the cacert truststore file. By default we are
// going to use the file located in $JREHOME/lib/security/cacerts.
String javaHome = System.getProperty("java.home");
StringBuilder buffer = new StringBuilder();
buffer.append(javaHome).append(File.separator).append("lib");
buffer.append(File.separator).append("security");
buffer.append(File.separator).append("cacerts");
truststorePath = buffer.toString();
// Set the default store type
truststoreType = "jks";
// Set the default password of the cacert file that is "urpassword"
replace this code in you connection configuration .java
otherwise we go for patch
 
11:26 AM
@ninad:where i should put that code?
 
in init method dermust be similar code
connectionconfiguration.java
 
@ninad:that you are teeling extract smack.jar contain class files and i dont think it can be edited....
 
it doesnot have any .java files
????????????
 
no have you ever extraxted it?i think .jar file is compiled class so they dont have .java files.
 
the jar that u dnlded yesterday must have java files
have you ever extraxted it?
ok then try it urself
it works f9 on my mc
and i m not in need of it
iwas just trying 2 help u...........
 
11:31 AM
sorry frnd i cant find java files in that also...
@ninad:if it is like that than give me that link you are using...
 
which link i dont have link or jar otherwise i wud have already given it 2 u
i have extracted jar
only
 
@ninad:which jar?
 
smacks extracted folder
 
@niand:i have dnld smack_3_1_0.zip from link you give.
 
11:37 AM
@ninad.Thank u so much
i got it finally
 
so finally worked gr8
congr8s man
 
Only because of u
 
@ninad:in that which one i have to download?
@ninad:smack_src?
 
smack_src_3_1_0.zip have u dnloaded the same
if yes than try with it
if same error then we wud apply patch
i dnloaded it
 
@NINAD:OK
 
11:42 AM
it has code
 
@NINAD:WAIT while i am dnlding and seeiung it
thanks buddy
it has code
 
try it while i m back after some time
 
@ninad:ok
 
have u dnlded it
i will b goin for brk after 10 min.
 
@ninad:ya i dnld it.you go while i am trying to do it.
 
11:50 AM
Hello is there anybody know how to replace an image in drawable folder programatically...
or that is not possiblt
 
12:12 PM
hi guys
Can anybody help me with this problem? stackoverflow.com/questions/4657236/…
 
@ankit:i dont thin it is possible you can save image in drawable folder programaticaly
 
@chirag so u mean to say i can save image in Drawables
right
@chirag shah howz that possible??
@chirag means how can i do that, plz tell me...
 
Hi chirag.
i need ur help
Hello dudes..anybody help me???
 
12:33 PM
@ankit:i dont doit yet..but i thib\nk with use of method context.getResources() you can get reference of it.
@sudhakar:i will try my best to help you.
@sudhakar:whats ur prob?
 
I need one doubt
 
Can anybody help me with this question? Its another user question, but I have the same question and I dont know how to solve it. stackoverflow.com/questions/2615957/…
 
can we get some text from webpage in emulator?-chirag
 
@sudhakar:sorry what ?i cant understand..
 
we can load one webpage using "loadURL".right?-chirag
from that i need to cut some part of text to display in next page.is it possible?
got it?-chirag
chirag.... there?
 
12:38 PM
@sudhakar:i dont think it is possible bcoz text is coming dynamically and you cant copy out from webview i think...
 
@chiragshah can you help me with this question? Its another user question, but I have the same question and I dont know how to solve it. stackoverflow.com/questions/…
 
Thats wat i need to know.Thank you Mr.Chirag
 
@sudhakr:if you can ..pls let me inform i am also eager to knw somthing how it done if it is possible.
 
sure-chirag
 
@chiragshah sorry got bit late
wats update
 
12:50 PM
@ninad:i have updated java files as suggested in that patch.
after it i have make jar file of it.
still not working.
any hint why its not working?
 
now u dont need 2 make jar file u can use it as it is.
what error r u getting
 
@ninad:now i am getting anither error..
@ninad:how can i use it without makint i tjar
it jar file.
i can add it directly to my project
 
just add it to your source folder .
it will just have different package
 
@ninad:ok now i will try that way..
@ninad:now i tried that .
@ninad:i put all classes from source but now i cant find xmlpullparser class in that
 
1:13 PM
ok ya it is missing in that
dnld it from somme resource and put it nearby jivesoftware
google it
i think u will ghet it easily
 
@ninad:ok i try to find it..
Thanks frnd for your help...
@ninad:hw many years experience you have in android?
 
buddy i have lil bit work right now otherwise i wud have searched it 4 u........
not much 6-7 mts........
android is 2 years old only
 
@ninad:you r b4 in other tech.?
 
completed studies in 09 the did some freelancing and then joined comp.
u workin in comp..........
which comp........
 
devitsolutions..
not big comp.. as you are working in..
@ninad:are you comp. eng. or m.c.a?
 
1:21 PM
engg.
 
@ninad:frm whr u did eng?
 
from ujjain
u r mca or engg.
 
@ninad:engg. from gandhinagar
@ninad:now u r in chandigarh?
 
okay.........
no man in indore
i m in indore
why did u ask chandigarh
 
@ninad:sorry..mayb i have mixed
 
1:26 PM
ok lol noprob.....
 
@ninad:so what salary you have there?
 
it depens on exp for freshers2.4 to3 for exp more than2 yrs around 4.5 -5
wat abt ur comp........
how much r u getting der.
 
@chiragshah can you help me with a question:?
 
@ninad:i think you are lucky....here for freshers it is 84k to 1.2lakh per annum
@pshyco:sure i will try my best...
 
@chiragshah my problem is exactly like this question http://stackoverflow.com/questions/2615957/android-call-log-like-design

I looked at the code he posted but I dont know how to do it
 
1:35 PM
@pshyco:can you tell me in your context more detailed here
 
@chiragshah I want to build a view exactly like the CallLog design
 
@ninad:so now i think you are getting 4lakh per annum?
@pshyco:so whats prob u getting?
 
@chiragshah I've downloaded the source code but I cant find where it is implemented. Do you know how to do that?
@chiragshah I don't need all the design, but what I'm trying to achieve is the two-columned design with the splitter in-between,
 
@pshyco:you can do it with table layout ithink?
it is issue abt splitter line that it is imageview you can set there.
 
@chiragshah I tried but it wasnt like I wanted, so I wanted to get the source code of the CallLog and manipulate it for my app
@chiragshah got it?
 
1:41 PM
@pshco:ok than send me that dnld link..i can looke in it
 
@chiragshah what link?
 
@pshco:frm which you are downloading that code?
 
oh ok
@chiragshah you want download it
@chiragshah here is the link. Its to many classes.
@chiragshah so?
 
 
3 hours later…
4:43 PM
@all I am trying to find small implemented examples of facebook integration with android. I have tried the source code facebook gives and find it little difficult. Could anyone post a link that has simple lucid examplees?
 
5:10 PM
Need a bit of help on what is probably very basic, how can i have my text link to another page within my project? Using nested linearlayouts with textviews. Thanks for any help!
 
5:32 PM
@Gaaston you there?
 
04:00 - 10:0010:00 - 18:00

« first day (87 days earlier)      last day (4879 days later) »