i have this app that i developed and it works great on the simulator
with no errors what so ever. but the moment i try to run the same on
the phone for testing, the app crashes stating filenotfoundexception.
it says the file /res/drawable/divider_horizontal.9.png is missing.
but actually speaking,
;
writer = new
OutputStreamWriter(conn.getOutputStream());
scanner = new Scanner(new FileReader(new File("/sdcard/
inputdata.txt")));
Log.i(tag, "Read input data");
writer.write("Hello=yes");
T
lease feel free to suggest.
Thanks,
raqz
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-deve
String[size];
>
> for(int k =0; k if(positions.get(k)){
> selected[j++]=items[k];
> }
>
> }
On Apr 21, 8:03 pm, raqz wrote:
> Hi,
>
> I am trying to use the
> android.R.lay
Hi, have a look at the below threads as well.
http://groups.google.com/group/android-developers/browse_thread/thread/3e6c3c11353f59dc/f9a0c208499cabf6?lnk=gst&q=raqz#f9a0c208499cabf6
http://groups.google.com/group/android-developers/browse_thread/thread/9183cad540114f12/bc2bd993baa20e89?lnk
Hi,
I am trying to use the
android.R.layout.simple_list_item_multiple_choice, with
CHOICE_MODE_MULTIPLE.
The contents are being displayed all right. Even if I happen to select
the items starting from the first item then it works fine. But if in
case, I select the last item ONLY, the program doesnt
i have been getting the locations fine...thats not issue..so please be
assured that i have set the manifest file right...
i just need to send the lcoations to another activity and i am not
able to do that
i just thought of this...start a service that would collect gps data
at regular intervals
yes.. its getting the locations all right..but i am unable to save the
location somwhere so that i can use it later. thats the whole
issue
I just thought of something...
if I start a service that does the onLocationChanged stuffit would
get the gps locations and store it (somewhere in the
Hi,
I am trying to retrieve the GPS location of the phone. I believe I
cannot create an object of the class which stores the location in a
variable. So that once the class gets instantiated I use a get method
and retrieve the content in the variable.
So I am trying to do this
locationListener
Hi,
I am trying to receive some data from a servlet on to android. It
works fine for the first run but if in case I happen to use the same
activity again, the previous data is getting appended to the new
data.
Could some one please tell me what is wrong. Why dont the variables
get re initialized
Hi,
I wish to send a list of type from one activity to another.
I dont find a bundle.put.. for such an requirement in the api's.
Is there a way somebody could suggest through which I could transfer
different kinds of data.
Thanks,
Raqeeb
--
You received this message because you are subscrib
Hi,
I am to display the list and store the selected items in an array. But
I am not able to get the correct items that were selected.
Here whenever the user clicks an item, the array is getting updated,
irrespective if the user is clicking the item to select it or deselect
it. Could some one please
for processing.
On Apr 17, 5:21 pm, raqz wrote:
> Thats great! Thanks.. I was not able to view
> yourhttp://github.com/commonsguy/cw-andtutorials/tree/master/20-Notificat...
> but I am looking into the other link that you provided.
>
> Thanks
>
> On Apr 17, 5:09 p
Thats great! Thanks.. I was not able to view your
http://github.com/commonsguy/cw-andtutorials/tree/master/20-Notificat...
but I am looking into the other link that you provided.
Thanks
On Apr 17, 5:09 pm, Mark Murphy wrote:
> raqz wrote:
> > Hi,
> > I need to display conten
Hi,
I need to display contents of a list of objects. Capture the selected
items and later process it. I have been trying to find a tutorial on
net but in vain.
Could some one please advise me when can I find a tutorial.
I know how to display a list but I want the CheckedTextView option.
Thanks,
Ra
Hi, I just tried reading a tutorial and created my app using SAX but
its not working for some reason and I have no idea why :)
Could some one try helping me
Thanks in advance,
raqz
On Apr 11, 12:23 am, raqz wrote:
> Hi,
>
> Could some one please tell me the basic steps that are re
Hi,
Could some one please tell me the basic steps that are required to
transfer a list of objects from a webserver to android and vice versa
using XML. I searched tutorials but found tutorials only for complex
RSS feeds or something like that.
Thanks,
Raqeeb
--
You received this message because
ng
> between the code on each side. It is usually to your advantage to use
> a looser coupling and more transparency. Especially in a client-server
> situation where you don't have control over when clients are upgraded.
>
> "A moment of convenience, a lifetime of regret!"
The list is being sent to the server. Its just that the server is not
able to receive the list and print it out.
PS: The MyFriend class implements Serializable
On Apr 10, 1:00 am, raqz wrote:
> Hi,
>
> I am trying to send a list from the android device to a webserver
> which will
Hi,
I am trying to send a list from the android device to a webserver
which will receive the list and send it back to the android device. I
have written the below code and it runs fine if I just send values but
when I send an object, the app freezes. Could someone please help me
out in this.
Than
Hi,
I am using a urlconnection method to connect to a server (here
localhost) which has a servlet running (HelloServlet). Could some one
please tell me how do I receive the contents that the client wrote on
the outputstream.
Here is my client code
try{
URL url = new URL("
e a few things, especially in
> > > the
> > > context of an object-oriented programming language, such as Java. See if
> > > you
> > > can rephrase the question, either without using "object" or else being
> > > specific about what it mea
response
> back to the UI from a non-UI thread is a well-known headache for Anfroid
> programmers.
>
> On Wed, Apr 7, 2010 at 10:36 PM, raqz wrote:
> > Hi,
>
> > I have a main class activity that does the task of sending control to
> > other activities on click o
ate email address feel free to.
>
> -Original Message-
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of raqz
> Sent: Thursday, April 08, 2010 2:27 AM
> To: Android Developers
> Subject: [android-developers] R
u get that screen...Rinse and repeat :)
>
> -Original Message-
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of raqz
> Sent: Thursday, April 08, 2010 2:10 AM
> To: Android Developers
> Subject: [android-developers] Re: Trying
in = new ObjectInputStream(is);
ArrayList list = (ArrayList)in.readObject();
in.close();
On Apr 7, 8:57 pm, raqz wrote:
> Hi,
>
> I wish to send a list containing objects from server to client and
> vice versa through httpurlconnection.
> Elaborating the same, the list contains a
hrough(f5) Keep an eye on the code b/c at some point it will
> error out and the line of code it was on right before then is the one giving
> the issue.
>
> -Original Message-
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On
oglegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of raqz
> Sent: Thursday, April 08, 2010 1:47 AM
> To: Android Developers
> Subject: [android-developers] Re: Trying to start a thread dedicated to
> sending and receiving data
>
> The e
e you stepped through to see
> what line causes the exception to throw?
>
> -Original Message-
> From: android-developers@googlegroups.com
>
> [mailto:android-develop...@googlegroups.com] On Behalf Of raqz
> Sent: Thursday, April 08, 2010 1:37 AM
> To: Android Developers
&
Hi,
I have a main class activity that does the task of sending control to
other activities on click of a button. I am also starting a thread in
the main class. This thread basically sets up a connection with the
server and is active throughout the lifetime of the application.
I have two functions
Hi,
I wish to send a list containing objects from server to client and
vice versa through httpurlconnection.
Elaborating the same, the list contains a set of objects which is
defined both in the server and the client. Its just that the server
queries a database and sends the object to the client w
great tutorial
On Apr 7, 11:57 am, Kumar Bibek wrote:
> Refer to this tutorial
>
> http://tech-droid.blogspot.com/2009/07/custom-listview-for-android.html
>
> Thanks and Regards,
> Kumar Bibek
>
> On Apr 7, 8:54 pm, raqz wrote:
>
> > Hi,
>
> > I wish
tview-for-android.html
>
> Thanks and Regards,
> Kumar Bibek
>
> On Apr 7, 8:54 pm, raqz wrote:
>
> > Hi,
>
> > I wish to display data in the the arraylist in a listview. The
> > arraylist is not a generic list but a object defined by me. I want to
> > displ
Hi,
I wish to display data in the the arraylist in a listview. The
arraylist is not a generic list but a object defined by me. I want to
display only certain data of the object. Something like, an object of
a student, I want to display the student's name only, the student id
and the student dob is
hi, thanks for the suggestion..i got it right now
On Apr 6, 5:17 pm, Bob Kerns wrote:
> ArrayList would be a better choice; Vector has extraneous method
> synchronization.
>
> But either one suffers from the problem that you'll need to store
> Integer objects rather than int values, which will ca
0 6:03 PM, raqz wrote:
>
> > Hi, I am trying to record the selection made by the user in the array.
> > But when I run the app, it crashes the moment I click something.
> > Please let me know what could be done for this.
>
> > public class ListViewExample extends ListA
Hi, I am trying to record the selection made by the user in the array.
But when I run the app, it crashes the moment I click something.
Please let me know what could be done for this.
public class ListViewExample extends ListActivity
{
public int a[];
public int i=0;
public Str
found a number of tutorials but they were of no great
help. Please suggest some tutorial which has worked out for you.
Thanks,
raqz
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-
hahahha..thanks buddy!
On Apr 2, 5:35 pm, Dan Sherman wrote:
> device = getDeviceId()
> if (device.equals("")) {
> // generate a random number
> device = "emulator"+randomNumber;
>
> }
> On Fri, Apr 2, 2010 at 5:09 PM, raqz wrote:
> &
Hi,
I just used this getDeviceId() to retrieve the unique id of the phone,
but in the emulator it gives when I try to display it. I know
it makes sense to do that but can I spoof a device id for testing
purposes. I need to setup about 4 -5 android devices in my emulator to
check the funct
I have this main class which displays a button and on click of the
button, the NextActivity class should be called. I have defined the
NextActivity class in the same package. But when I click the button,
the application closes stating there is some error.
But when i directly start an intent (un co
ket-based communications.
>
> On Mar 28, 3:36 pm, raqz wrote:
>
> > Hello,
>
> > Could you please tell me how do I send the GPS location of the phone
> > to a webserver through a socket. I am able to display the gps location
> > on the screen with a toast widget in locatio
Hello,
Could you please tell me how do I send the GPS location of the phone
to a webserver through a socket. I am able to display the gps location
on the screen with a toast widget in locationchanged() function.
After that, I try to send the co-ordinates through a socket but the
emulator crashes.
I am not sure if I asked that, I clicked on the link you gave but it
aint opening, conversation not able to loaded. Could you please paste
the solution.
Thanks,
raqz
On Mar 20, 9:47 pm, David Ashwood wrote:
> Didn't you already ask this
> raqz?https://mail.google.com/mail/?t
I could write the location on to a file. Now I tried sending the
location information through a socket but the app crashed.
Could you please tell me if that's possible.
Thanks,
Raqeeb
On Mar 21, 6:05 am, raqz wrote:
> Hi,
>
> I have setup the code for fetching the gps location
I run the app, it closes with unxpected error.
Could some one please tell me how to go about this.
Thanks,
raqz
Note: I have declared myLocation as public in the main function.
[CODE]
public class MyLocation{
private double latitude;
private double long
Hi...even I have seen this error so I keep on deleting the code and
readding the same :)
it works!
On Mar 21, 12:02 am, Stephen Lebed wrote:
> I haven't seen this mentioned anywhere so I'm posting it here if other
> people come across this issue.
>
> Somethings I'll have an ?.xml file selected wh
Hi,
Could someone please suggest me a good/efficient way to communicate
with
the server.
I could think of two options
1) Use http post methods to send data to a php script at the server
which would later call the google api's written in another java
program (jar)\or use php to use google api's (if
ks,
Raqeeb
On Mar 20, 4:56 am, Yahel wrote:
> Hi raqz,
>
> It sounds like the perfect job for a web service. The gps coordinate
> are sent to the server which computes the complete list of restaurant
> nearby.
>
> Pros :
> - You can make your app available on any platform
Hi,
I am planning to design and write an application which displays all
possible restaurants/malls etc around the mobile device.
For this, do I send the GPS info to the server and let server do the
processing and return the list of all possible restaurants/malls or
let the mobile device itself pro
Hello, I tried a lot, read most of the tutorials on the web but still
unable to run the program. The moment i run, it its says, the process
stopped and closes.
Please let me knwo what is wrong...the code is as below
main.xml
http://schemas.android.com/apk/res/
android"
android:orientation="ve
i checked the download manager but i dont find the google api package
there as well...
i downloaded the entire sdk again to check but its not present in the
addon either...nor am i able to get it from the manager
On Mar 12, 5:09 pm, Mark Murphy wrote:
> raqz wrote:
> > sorry..but i don
sorry..but i dont find an google api listed there buddy...i dont find
a link to download that as well...can you please help me
On Mar 12, 4:56 pm, TreKing wrote:
> On Fri, Mar 12, 2010 at 3:38 PM, raqz wrote:
> > hi..i wanted to use the MapActivity but i dont find the google api a
hi..i wanted to use the MapActivity but i dont find the google api add
on...its not available for download as well...
i checked the /addon folder..but its empty...could some one
please tell me how to download them
--
You received this message because you are subscribed to the Google
Groups "Andro
.6, but when I moved to SDK 2.0 it started working.
>
> Regards,
>
> Rogerio
>
> 2010/3/12 raqz
>
> > Hello...
> > I am a novice in android programming and wanted to work on the GPS
> > related apps. I tried using DDMS in eclipse but it doesn't send the c
Hello...
I am a novice in android programming and wanted to work on the GPS
related apps. I tried using DDMS in eclipse but it doesn't send the co-
ordinates (or my app doesn't pick it up). I tried typing 'geo' with
the co-ordinates but it gives a message as permission denied. Could
some one please
f all you need to
> know how to communicate with the website server that you want to retrieve
> data from using http classes and then parse the data to extract ..
>
> rgdsOn Tue, Mar 2, 2010 at 4:50 AM, raqz wrote:
> > Hi,
>
> > I am new to android programming and have a str
Hi,
I am new to android programming and have a strong keen interest to
learn it. I want to write a program that fetches the data from a
website, segregates it and displays it on the screen of the phone. The
data could be grocery list from a supermarket or sale items in a
mall.
Could you please sug
58 matches
Mail list logo