last day (3476 days later) » 
04:00 - 11:0011:00 - 13:00

4:38 AM
Hello
 
Have seen this already, but too lengthy to understand. So I created a simple one.
 
how?
@Appu
 
First you create login screen with username edittext, password edittext and a login button.
Later on I would tell you what to do?
 
vakey
done macha
@Appu
 
4:48 AM
macha?
what
 
na vootha padam le @Appu leave it
so whats next
@Appu
 
show me the screeshot of your login page.
 
hey how to upload this
@Appu
 
4:57 AM
Create another activity(class) in that prject which is named as result.java or something like that. In that put a textview
 
vakey @Appu
its done @Appu
 
pastie.org/5193682 paste this code in your main activity and modify according to your conventions......... understand the code.
 
ok
done @Appu next
 
result class..........pastie.org/5193710
 
5:25 AM
@Appu do you know when r.java class misses
i getting error near r.java
 
It is a unsolved reason why that happens. But clean your project and restart your eclipse. You most probably would not get that error.
 
done but resulting the same :'( @Appu
 
I guess there might be some mistake in values/strings folder. check them correctly
 
ok
wait a while i will do it again
yeah now its done good @Appu
 
What was wrong
 
5:40 AM
i too donno :(
i started from first'
 
okay. fine.
 
noew json parser
 
5:54 AM
@appu unable to start the activity getting crashed at starting itself :'(
could you gimme your main xml file
@Appu
 
What? Did you register result class in the manifest? and also did you add internet permission?
We have to add still php files. Why did you run the program without adding that files.
 
shit i forgot yaar @Appu
ha result and internet permissions are given already
i forgot about our php codes
:(
 
db_config.php pastie.org/5193820
db_connect.php pastie.org/5193822
 
same as previous one
 
checking_credentials.php pastie.org/5193830
nope. just add these files in your htdocs . That's it. only these 3 files enough.
Create a table in database by going to cmd promp as I said on the otherday.
insert data into the table.
 
6:04 AM
ok
done
 
then execute now.
 
created users database having username and passwors
 
yeah. Good.
 
its stopping abruptly @Appu
 
users table
 
6:09 AM
yeah
 
not database.
 
yeah yeah table
 
In which database you created that table?
 
userdatabase
i know basic knowledge macha
hey could you send me your activity's xml file
@Appu
 
what about the link url_check in activity class. Did you change it?
 
6:14 AM
ha
done
 
you mean main.xml
?
 
yeah
my log shows that unable to luanch main activity
@Appu
 
Will come online later. After half an hour might be....
 
ok njoy @Appu
 
In the mean while you rectify the errors and make it work. Did you keep ip address in the place of localhost?
 
6:24 AM
ha evrything works fime @Appu
go ahead
 
6:42 AM
@Appu ping me when you are back
 
I am back.
 
thats great but half an hour not completed :) @Appu
anyways i have one requirement that we can do
shall i proceed
?
 
Okay. So you want me to go offline until half an hour gets completed.
?
 
no no no
 
Yeah. go ahead.
 
6:45 AM
previously we have done that products application right? NOw i want to implement the images by the side of the product name
how could we do it?
the images should be dynamically passed by the user
@Appu
 
You mean in the listview? you want to get the product name along with image in the listview?
 
yupp
der? @Appu
 
Yeah.
@victor
 
can we do using webservices?
@Appu
 
Sure @victor
just a sec. will give you link which could help us.
 
6:52 AM
how?
any idea
ok
 
check this whether it meets our requirement.
 
@Appu where the images getting stored is it in database or in sqlite
 
I have seen it a long back. Let me check it. In the mean while you too go through it.
 
ok
 
hey luckily from the database itself. remote url.
 
7:01 AM
ha
where it is?
hey ok ok
i got it
 
7:23 AM
@victor It's lengthy. Isn't it? But let's finish it.
 
yeah its too lengthy
@Appu
 
lunch
@victor
 
ok i too will complete and comme back
lets start together
vakey?
@Appu
 
 
1 hour later…
8:37 AM
r u der @Appu
 
Yeah @victor
 
started?
@Appu
 
Nope. Gonna start
 
i just ran the application its working but they gave us xmls
we previously parsing jsons
keep it in mind at the end we should be able to use the same listview near products
in our old application
@Appu ok?
 
Yeah. What to do. If we store images in database how could we get it and embed into listview?
 
8:45 AM
thats what i am thinking @Appu
what i think is ..Here they are using xmls
but we have json string
from json we getting listview
 
Yes.
But now we have to get images.
 
while creating a new product shall we give "enter book url for the product image"
 
Nope. I don't think it's better. We have to get it from the database.
That is only correct.
 
ya from db we are getting json
right?
 
Hmmm.
 
8:50 AM
check our old one
 
Let us think one solution. I will search.
 
from db we will get listview
if you check log the json string will be displayed
that is getting from the db
in the same way buddy @Appu
 
Yeah. I understood. But we not only need string data now but the image that is stored in blob column through json parsing.
 
yeah now we have to find the way to get it
 
hmmmmm.......
 
8:59 AM
52
Q: How to load an ImageView by URL in Android?

PraveenHere is an example image URL: http://java.sogeti.nl/JavaBlog/wp-content/uploads/2009/04/android_icon_256.png How do you use an image referenced by URL in an ImageView?

check this
 
Nope. It's the url. How can an online url contain only image?
 
ok
then how
@Appu
 
let's search.
 
ok
any luck @Appu
der ? @Appu
have a look on this
are you der? @Appu
 
9:29 AM
Yeah.
0
Q: Get images from remote SQL database using PHP to Android SQLite database

ZXingITI am trying to develop an Android app that will connect to a remote SQL database using PHP. I have images stored in the remote SQL database as BLOB. (For example a table with student id, student name, student image) I will need to save this data onto my Android database. I have read that using ...

 
der? what to do now?
@v
@Appu
 
Yeah. Of all these it is concluded that better to use url.
But how can we store an image in such a way that it gives url.
 
yeah
cant we store url in db
 
You know what I think Better is while entering product details , give the user a chance to take a pic of the product at that moment itself by adding camera intent.
 
0
Q: Converting Image URL into Image Android

ZamaniI'm trying to display the image into android emulator 3.1, but i'm having a problem. I only able to display URL into ListView. I'm using my local server, and i arleady stored the url into mysql database and pass php, but now the problem is in android. 1) I need to convert image url into image an...

check this
 
9:41 AM
But the question is how to store the image in remote database.
 
how can we achieve that @Appu
check this
 
You mean how to achieve the pic from camera.
?
 
Okay. great. This solves only one part of our problem.
How to get the urls. This is the first thing.
 
ha
1
Q: How can i add an image file into json object?

Chirag Ravali want to add an image file into json object . is it possible to add image file into json object ? I triend below code but its not working ? Because i want to send that json object to the server then server will read my image file and store into that database. JSONObject test = new JSONObject()...

check this
 
9:50 AM
I mean suppose we take pic from camera and we should store it in database or make it as url to retrieve it again to display in the listview.
 
yours was the good idea
read comments
in links that i sent
it solves our problem
r u der ? @Appu
 
Yeah. Checking the last link you have given. It is somewhat good. Going through it.
 
vakey
check once this link
are you there?
@Appu
 
10:16 AM
Hmmm.....
 
finally what decided? @Appu
 
My eyes are feeling strain. Checked this. blog.sptechnolab.com/2011/03/09/android/… It's good. Gonna check the other one too . but not now. Or if you find which one is easy and efficient out of that both. Please guide me. Will tell you how to take pic from the cam and convert bitmap.
@victor you there?
 
yeah checking new onew
 
ok
 
i think the last link is best one for us to continue
shall we start
@Appu
are you der>? @Appu
 
10:30 AM
Hmmmmmm. Pls.
 
so shall we start from scratch first
?
 
Okay. Let's start from scratch....
 
i created a new project
you have done?
 
Yeah. just now created new project.
 
so what shall we do firsty
on taking pic ?
or else with that uploading
like that
der @Appu
?
 
10:38 AM
Let's desing front end. Later php
I added the same main.xml from the products project...
Okay?
 
ok
could send me screen shot @Appu
?
 
same view products and create products
 
next
 
copied the same class.
 
next
 
10:45 AM
Copy the allproductsactivity.class also
Later we have to do modifications in it. remember.
 
ok done
i copied allproducts,newproducts,jsonparser and edit and related layouts @Appu
 
create newproductactivity and copy.
Okay. wait a sec. Let me copyh
 
k
 
Now it's time to modify addproduct.xml
 
hi,,,all
 
10:54 AM
where to modify @Appu
hi @CoolJatt
 
@victor,,,how r u....
 
good you?
@CoolJatt
 
@victor,,fine buddy
i have a vcf file,,,
 
Put scrollview as parent to all the childs in the main.xml
 
want to save all the details in it in android contact book
 
10:56 AM
k @Appu
no idea @CoolJatt
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:orientation="vertical"
android:gravity="center_horizontal">

<!-- Sample Dashboard screen with Two buttons -->
<!-- Button to view all products screen -->
<Button android:id="@+id/btnViewProducts"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="View Books"
android:layout_marginTop="25dip"/>

<!-- Button to create a new product screen -->
is this the way @Appu
 
04:00 - 11:0011:00 - 13:00

  last day (3476 days later) »