[android-beginners] Transmit serialized object via HTTP in Android?

2010-02-22 Thread Ray da Costa
Mostrar romanização Hi Personnel possibility exists to transmit serialized object via HTTP in Android? I'm trying to use the HttpURLConnection but I get an exception saying that does not support -- Ray da Costa The best way to predict the future is to invent it. Alan Kay -- You received this

Re: [android-beginners] Problems with executing 'substring':

2010-02-22 Thread Prabakar
I resolved substring problem. It was my mistake that 'substring' 'endoffset' value was wrong. substring(startIndex, endIndex); Martin. --- On Mon, 2/22/10, Prabakar prabhu_mp...@yahoo.com wrote: From: Prabakar prabhu_mp...@yahoo.com Subject: Re: [android-beginners] Problems with executing

[android-beginners] Re-installing an updated .apk file....

2010-02-22 Thread SaiKiran
Hi How can i reinstall the existing apk file with the new updated apk file on the mobile phone, and similarly i also want to know that if there is an update on the apk file that i have already installed from Android Market, do i get any message to my mobile, saying that i have an update on my apk

Re: [android-beginners] Deactivate any calls to Log methods before publishing app

2010-02-22 Thread Justin Anderson
AFAIK, the android:debuggable property only affects whether you can actually step through your code in the debugger... On Feb 21, 2010 11:15 AM, mikek mik...@gmail.com wrote: In the Android publishing How-To guide it says, * Deactivate any calls to Log methods in the source code. I assume

Re: [android-beginners] Re-installing an updated .apk file....

2010-02-22 Thread TreKing
On Mon, Feb 22, 2010 at 6:09 AM, SaiKiran saikiran.vel...@gmail.com wrote: How can i reinstall the existing apk file with the new updated apk file on the mobile phone, As a developer, just build and re-deploy your app. Assuming you're using the same signing key, it will replace the existing

[android-beginners] GPS Can't get onLocationChanged to hit

2010-02-22 Thread cellurl
I am using Visa, Eclipse, Emulator. I can get my position using GPS using the Emulator. I want to make my program more battery friendly. This code never gets to onLocationChanged(). In DDMS I change Lat, and hit SEND. I briefly tried the other file-lat-methods, but they didn't do any better. Q:

Re: [android-beginners] GPS Can't get onLocationChanged to hit

2010-02-22 Thread Mark Murphy
cellurl wrote: I got it to work in an entirely different Activity, but this one uses a thread, so perhaps that's a clue. snip @Override public void run() { Looper.prepare(); It is quite stunning how much Android code you can write without needing a custom

[android-beginners] Re: Tracking locations using Sensor Manager

2010-02-22 Thread BobG
On Feb 18, 7:50 pm, Rana Aich aichr...@gmail.com wrote: I the View class I'm extracting the azimuth, pitch and roll...but then I don't know how to use those numbers to check the camera direction. === The heading to the target is the

[android-beginners] Help for Network game

2010-02-22 Thread Laxmi Katti
Hi, I have developed a game. Now want to make a network version of this game. So please anybody could help me with how to get 2 emulators to work, how to check the network and stuff like that. I have no idea about this so please if anybody could give me a link to some tutorial or some discussion

[android-beginners] Default Map Not Showing Up During Tutorial

2010-02-22 Thread Mike
Hi all, not sure if this has been talked about somewhere, but I did some pretty extensive searching and couldn't find it. I've been doing the tutorial at http://developer.android.com/resources/tutorials/views/hello-mapview.html I am able to complete it all the way through having the little

Re: [android-beginners] Transmit serialized object via HTTP in Android?

2010-02-22 Thread David Fire
why you want to do such effort if you can transmit it using xml or json or something like that? 2010/2/22 Ray da Costa raydaco...@gmail.com Mostrar romanização Hi Personnel possibility exists to transmit serialized object via HTTP in Android? I'm trying to use the HttpURLConnection but I

Re: [android-beginners] Default Map Not Showing Up During Tutorial

2010-02-22 Thread Mark Murphy
Mike wrote: Hi all, not sure if this has been talked about somewhere, but I did some pretty extensive searching and couldn't find it. I've been doing the tutorial at http://developer.android.com/resources/tutorials/views/hello-mapview.html I am able to complete it all the way through having

[android-beginners] Re: Default Map Not Showing Up During Tutorial

2010-02-22 Thread Mike
Interesting, well here is my main.xml file: ?xml version=1.0 encoding=utf-8? com.google.android.maps.MapView xmlns:android=http://schemas.android.com/apk/res/android; android:id=@+id/mapview android:layout_width=fill_parent android:layout_height=fill_parent

Re: [android-beginners] Re: Default Map Not Showing Up During Tutorial

2010-02-22 Thread Mark Murphy
Mike wrote: It looks to me like both of the issues you mentioned should be taken care of, but did I type something incorrectly? I am assuming the asterisks in the API key are something you put there. Bear in mind that the API key is tied to the signing key on your development machine, so I'm

[android-beginners] Re: Default Map Not Showing Up During Tutorial

2010-02-22 Thread Mike
OK, thanks for the info. Yah, I wasn't sure about the security of the apikey so I threw those asterisks in there. I will take a look at your project and let you know what I find. Thanks again for the help. On Feb 22, 6:39 pm, Mark Murphy mmur...@commonsware.com wrote: Mike wrote: It looks to

[android-beginners] tutorials for a beginner?

2010-02-22 Thread herbie
I've started working though the 'Hello Views' tutorials but like a number of people on this group, I've found a number bugs which is frustraiting. Can anyone recommend any alternative online tutorials? Thanks -- You received this message because you are subscribed to the Google Groups

[android-beginners] How do I get phone number from a ListAdapter?

2010-02-22 Thread Jdroid
The following is the code from the First Hand Look at Building an Android Application @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); Intent i = new Intent(Intent.ACTION_CALL);

[android-beginners] How do I get phone number from a ListAdapter?

2010-02-22 Thread Jdroid
The following is the code from the First Hand Look at Building an Android Application @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); Intent i = new Intent(Intent.ACTION_CALL);

[android-beginners] Re: Unable to start service Intent { action=com.myapp.network.NetworkService }: not found

2010-02-22 Thread Johan Gardell
Worked it out by using bindService(new Intent (this, com.myapp.network.NetworkService.class), this, BIND_AUTO_CREATE) instead! 2010/2/18 Johan Gardell gar...@gmail.com: Hello I am trying to get a Server to work, but i fail to use bindService as: bindService(new Intent

Re: [android-beginners] Just want a simple app to pull from web site and also have a submission form.

2010-02-22 Thread S.T. Hector CHANCOCO
Hi I'd offer to help you get a clearer idea of what you exactly need. But first I need you to tell me more about what you would like to achieve. Can you also provide me with the link to your website ? Cheers Sent from my iPhone On Feb 16, 2010, at 7:33 PM, C.R. ned4spd8...@gmail.com

[android-beginners] Add-ons and Platform folder empty...

2010-02-22 Thread madhuri_K
Hi all.. Im an android newbie . Downloaded the android_sdk archive for windows platform . But the add-0ns and platform folder is empty. also ...I need to install sdk in OFFLINE mode.. ur guidance could help me kick start development.Please guide me... -- You received this message because you

[android-beginners] Re: Facing problem while playing video on emulator

2010-02-22 Thread SunDance
Hi, I have the exact same problem..I have h263 video stream in . 3gp file and it doesn't play in the emulator, it shows maybe the first frame (sometimes) and then freezes, the sound works fine though. It is the same thing whether I use the built in video player app or whether I build my own

Re: [android-beginners] Co-operation

2010-02-22 Thread S.T. Hector CHANCOCO
Hi I'm interested in your offer and it will be a pleasure for me to cooparate with you. Please tell more about what you would like to achieve. Cheers Sent from my iPhone On Feb 10, 2010, at 11:14 AM, Mathias dricksp...@gmail.com wrote: Hi, I´m out looking for someone to cooperate in

[android-beginners] Textview Editable Place Holder

2010-02-22 Thread Sasikumar.S
Hi, I'm using Textview Editable function. When i click the textview it is showing keyboard to type. Now i need is it should show place holder in that place to type. Please see the below link image . In that LastName Text will have a place holder (Sky Blue Color) to type

Re: [android-beginners] andriod

2010-02-22 Thread Glue H.
me too,it's wonderful! On Feb 17, 2010 5:20 AM, Naveen Guru gnaveen8...@gmail.com wrote: i like andrioed -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at

[android-beginners] Android Initialization (specifically, where does screen timeout get set ??)

2010-02-22 Thread ms12
I've been trying to find where the initial screen timeout gets set. It seems to be 1 min, but I can't find where this is set. And more generally, what is the Android initialization sequence? Where does it start? How does the flow go? Thanks.Mike -- You received this message because you are

[android-beginners] What's the little clock by one of my contacts mean?

2010-02-22 Thread Carl Whalley
One contact always shows a little green clock by their name - this is in every app like messaging, dialler etc. What's this mean? This is on my N1. It looks like the time is either 9 oclock or quarter to 12. -- You received this message because you are subscribed to the Google Groups Android

[android-beginners] GridView setOnItemClickListener for button doesn't work

2010-02-22 Thread Eugene
Hi Everyone, I'm using GridView with buttons instead of imageviews, but setOnItemClickListener it doesn't work for this. what should I use for this case? thanks a lot. -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and

[android-beginners] Unable to start service Intent { action=com.myapp.network.NetworkService }: not found

2010-02-22 Thread Johan Gardell
Hello I am trying to get a Server to work, but i fail to use bindService as: bindService(new Intent (com.myapp.network.NetworkService), this, BIND_AUTO_CREATE); in my code, and in the log it says 02-18 15:02:27.870: WARN/ActivityManager(71): Unable to start service Intent {

[android-beginners] Re: How to make gap between two TextViews'?

2010-02-22 Thread jarnaud
Marco's right but here's another method you can explore: adding padding to your textview. Basically it's adding the gap inside the object instead of adding borders. Of course this will not work for you if the background colour of your linear layout and your textviews is different. -- Jay -

[android-beginners] execSQL SQLiteException near ?

2010-02-22 Thread Torch
Why doesn't this work? db.execSQL(INSERT INTO PARTIES (PARTY_NAME, PARTY_COUNT) SELECT DISTINCT(PARTY), COUNT(PARTY) FROM ? WHERE (Year=?) GROUP BY PARTY ORDER BY PARTY ASC, new Object[] { Election, 2004 }); -- You received this message because you are subscribed to the Google Groups Android

[android-beginners] Problem with my first very basic Google map application

2010-02-22 Thread IT
Hello everyone! I am new at Android.I have been trying from many days to make very basic google map application but unable to complete it yet...:( there are no errors in code,emmulator running fine from terminal,Map key also fine but still i am unable to see the map.When i run my app only grid

[android-beginners] OnClickListener for Tablelayout created by a database

2010-02-22 Thread Magreet
Hello! I've been trying to generate TextViews within a TableLayout from a Database with the ability to edit fields by (long)clicking on them. Is it possible to get the TextViews ID with only one Listener on the table? If not: Would I have to generate hundreds of onClickListeners to the generated

[android-beginners] Service alarm/Res File - String

2010-02-22 Thread skysteve
Hi, I'm trying to make a service sync data every *user defined period*, having watched some of the I/O videos I've realised that the best way to do this is via an alarm, as a result I have a couple of questions. I have the following method to create the alarm: /** * Set the

[android-beginners] Problem with AlertDialog.Builder

2010-02-22 Thread Ivan Longin
Hi everyone. I'm having problem with creating AlertDialog. I would like that AlertDialog appears when i click on one button, so i put all code for creating dialog in that button listener...the same code works outside that listener but inside listener doesn't work...it doesn't call any errors but

[android-beginners] HorizontalScrollView - scroll by pages

2010-02-22 Thread Sandeep Chayapathi
Hi all, I have implemented a slideshow in my Android app using . This works well except that I want to scroll to next image on a scroll gesture (now it just scrolls past few images before decelerating). I have couldn't find a appropriate way to do this, should I be using a FrameLayout

[android-beginners] Encoding mechnism in android

2010-02-22 Thread salman shah
Hi i want to know which encoding mechanism is used in android ? is it unicode or something else? can anyone please elaborate it. And i want to know the complete mechanism of android (e.g what is the flow ,what is the sequence of classes) thanks -- You received this message because you are

[android-beginners] google gdata Calender api problems with android

2010-02-22 Thread gganesh
Hi group, I trying to use Datepicker widget to select the date and pass to google gdata api to fetch calender events private DatePickerDialog.OnDateSetListener mDateSetListener = new DatePickerDialog.OnDateSetListener() { public void onDateSet(DatePicker view, int

[android-beginners] Clear application data?

2010-02-22 Thread Nick Clucas
Is there any way I can get my application to clear user data for contacts upon clicking? I have been searching for days for a solution, and I feel like it is extremely simple, but I just cant get it to go! Thanks! -- You received this message because you are subscribed to the Google Groups

[android-beginners] play youtube video in WebView

2010-02-22 Thread Sandeep Chayapathi
Hi all, In my android app I have a WebView to display html data from our website. Sometimes the page will have youtube embed objects. This doesn't show up properly in the app. Is there any way to show/play youtube videos in WebView ? Thanks. - Sandeep -- You received this message because you

[android-beginners] java.security.NoSuchAlgorithmException: SSLContext SSL implementation

2010-02-22 Thread kums
Hi All, I want to use sslsocket to my application. I am having one certificate file called myserver.cer Using my code i got all the details about certification file . Now i created instance for SSLContext like below. SSLContext sc = SSLContext.getInstance(SSL); If i used this in my code i got

[android-beginners] onClick mouse position

2010-02-22 Thread Emine Çimen
Hi, i am trying to develop a simple application as a starting point to android. i have a simple view and i am trying to get the mouse position when mouse is clicked on the view. i think, i should get the mouse position in onClick method, but i don't know how to do that. Could you help me?

[android-beginners] Why on Earth is it so hard to set up the development environment?

2010-02-22 Thread Subjective Effect
I've used PHP/Apache/mySQL/HTML/CSS/JavaScript for years. I've also do a bit of ASP and vBasic coding. In order to use these tools I've had to install various development environments in my time. But this Android Dev kit has me stumped. The installation instructions are not clear at all. Do I

[android-beginners] Re: BlazeDS + Android

2010-02-22 Thread Aftek Android
Yes we have used the same. We have actually developed a Android AMF Library and verified the same with BlazeDS. In your case it can be an issue with build path libraries being specified as external jar and also included in the application. SM On Jan 8, 1:19 am, filrv filhar...@gmail.com wrote:

[android-beginners] home based work

2010-02-22 Thread seetha rajam
http://www.123maza.com -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to

[android-beginners] launch app with private URL schema from browser

2010-02-22 Thread Vertifi
Hello, I've built an app that can be launched with a private URL schema via an intent. e.g.: myapp://com.mycompany.myapp We've built a test/demo web page which contains javascript to launch the app, e.g.: window.location.href = myapp://com.mycompany.myapp; which works fine, my app launches

[android-beginners] Filtering ListViews powered by SimpleCursor Adapter

2010-02-22 Thread Stephen Knox
Hi, I am having problems filtering my ListView, that gets its data from a SimpleCursorAdapter. There are a number of threads around about this, including a href=http://groups.google.co.uk/group/android-developers/ browse_thread/thread/5d19c5dd3f28307d# here/a, a href=http://

[android-beginners] Problems installing Dev Kit

2010-02-22 Thread Subjective Effect
2 things. 1. No matter which version of Eclipse I DL when I try to run it I get an error saying it needs java in some /jre/ directory which doesn't exist in the location it states (in the Eclipse directory). NB: I have the latest JDK. 2. The Android SDK set-up program does nothing. A cmd window

[android-beginners] Re: Usage of TextView. Append and setText.

2010-02-22 Thread Marco
It's also my doubt... No one know how to do?? On Feb 4, 6:51 am, Jung Droid iam1...@gmail.com wrote: I have one simple problem with updatingTextView. Here is example of my sample code. class MyClass extends Activity{ .. ..    TextViewtv = (TextView)findViewById(R.id.body);    

[android-beginners] onClick mouse position

2010-02-22 Thread Emine Çimen
Hi, i am trying to develop a simple application as a starting point to android. i have a simple view and i am trying to get the mouse position when mouse is clicked on the view. i think, i should get the mouse position in onClick method, but i don't know how to do that. Could you help me?

[android-beginners] help installing ADT eclipse Plugin

2010-02-22 Thread bmesta
Hello, I tried following the installation steps on http://developer.android.com/sdk/eclipse-adt.html but i get the following errors when i reach the last step. The error i get is the following: Cannot complete the install because one or more required items could not be found. Software being

Re: [android-beginners] Re: Default Map Not Showing Up During Tutorial

2010-02-22 Thread Imran Tanveer
Hello Mark, I am stuck in prob similar to this i-e i am making basic Map app that jst displays map.Only grid appears when i run my app and no map...:( I posted this problem on beginner's group but got no reply.I am using android 1.6 and working on linux.Can u share any app as shared one for

Re: [android-beginners] Re-installing an updated .apk file....

2010-02-22 Thread Glue H.
1.just install the lastest version directly it'll recover the old version . 2. u'll never get that message . On Feb 22, 2010 8:09 PM, SaiKiran saikiran.vel...@gmail.com wrote: Hi How can i reinstall the existing apk file with the new updated apk file on the mobile phone, and similarly i also

[android-beginners] Help Cannot Deploy to Droid

2010-02-22 Thread Dale
Hi - I've been working on a Bluetooth application for about a month. I used the sample application BlueToothChat as a base. Today while working on the it I went to deploy to my Droid phone and it started the AVD emulator. I cannot deploy to this because it does not have a bluetooth emulator.

[android-beginners] Webview

2010-02-22 Thread StouteEnterprises
I can not figure a way to make the back button recall the last loaded page in my applications. Search: Stoute in market for the apps. When you click the back button it closes the application. Can someone help me figure this out? I tried looking it up in the developer tools and got lost in a

Re: [android-beginners] A couple of beginner questions

2010-02-22 Thread Justin Anderson
I too have been experimenting with widgets... I don't have an answer for number one yet. I currently have my widget set to update manually when clicking a button on the widget. I should be adding auto-update functionality soon though, so if this hasn't been answered yet and I come across a

Re: [android-beginners] Why on Earth is it so hard to set up the development environment?

2010-02-22 Thread Justin Anderson
* But this Android Dev kit has me stumped.* I have found it to be pretty straightforward... And so have hundreds, if not thousands, of other developers * The installation instructions are not clear at all.* I would have to disagree... * Do I need to DL Eclipse first? * No. You can develop in

Re: [android-beginners] Problems installing Dev Kit

2010-02-22 Thread Justin Anderson
1) http://wiki.eclipse.org/FAQ_How_do_I_run_Eclipse%3F 2) Not sure offhand, but you may need java installed for it to work... -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: Alarm not triggered after restart.

2010-02-22 Thread Ken H
The problem I have with the example is it fires the alarm a certain amount of time after reboot (like 5-minutes). How do you set an alarm for a specific time (say 6:00am) using this reboot example? Ken On Feb 14, 11:35 am, wonglik wag...@gmail.com wrote: Cool it helps. Thx Mark. On Feb 14,