[android-beginners] can any1 help me ... how to upgrade G1 android version from 1.0 to 1.6 ?

2010-03-07 Thread wahib
hey experts !! I havent used androidphones yet though i am in for learning development for few months. well issue is that i have been asked by a friend to upgrade his G1 OS from 1.0 to 1.6. so many of you guys have done it .. kindly help me out with few basic tips and steps on how to do it or

Re: [android-beginners] Re: Regarding Database setup

2010-03-07 Thread Adrian Vintu
How much data is your DB going to hold? Remember, you cannot force the user to download 10M of apk over GPRS. I also think there probably is a limit of the apk size on the Android Market. Dictionary applications, for example, hold ~30MB in the database. The applications have a custom built in

[android-beginners] Re: Battery events

2010-03-07 Thread Kitzy
For 1 and 2 you need to register a broadcast receiver, I've seen it done and code given in forms, I don't know the specifics off the top of my head. -Kitzy On Mar 4, 8:50 pm, veenviz veen@gmail.com wrote: hi anrdoid-folks         im a student who is new to java and 've jst managed to run

[android-beginners] Re: Format printing of floats?

2010-03-07 Thread Kitzy
Look up DecimalFormat You'll need to create the format on that object: String pattern = 0.##; // or 0.00 depending if you want 1.5 to show a 1.5 or 1.50 DecimalFormat my_formatter = new DecimalFormat (pattern); String formatted_string = my_formatter.format (1.23456789) You could put the pattern

[android-beginners] DefaultHttpClient problem sending Http request

2010-03-07 Thread wonglik
Hi Everybody I have some problem and I am not sure if I understand it correctly and I would appreciate your advice. My target is to send http request after receiving notification. Request contains HttpPost followed with 302 get redirect. Everything works fine most of the time but sometimes the

Re: [android-beginners] can any1 help me ... how to upgrade G1 android version from 1.0 to 1.6 ?

2010-03-07 Thread Kenn Lisudza
Hi Wahib, Check out this site. its got all you'll need to do your upgrade. http://developer.htc.com/adp.html On Sun, Mar 7, 2010 at 12:21 PM, wahib wahib.t...@gmail.com wrote: hey experts !! I havent used androidphones yet though i am in for learning development for few months. well

[android-beginners] Re: Battery events

2010-03-07 Thread jk-bk-vk
Take a look at: http://sourceforge.net/projects/andbatdog/ it is not too large, answers all your questions. On Mar 4, 10:50 pm, veenviz veen@gmail.com wrote: hi anrdoid-folks         im a student who is new to java and 've jst managed to run hello word program in android sdk. im

[android-beginners] Start My Next Activity

2010-03-07 Thread Mitch
I'm trying start a new Activity from my current one. Every place I look for example code is different, but the result is the same. The code brings up the following dialog: = Sorry! The application MyApp (process com.example.mypackage) has stopped unexpectedly. Please try again. [Force

Re: [android-beginners] Start My Next Activity

2010-03-07 Thread Greg Donald
On Sun, Mar 7, 2010 at 8:01 PM, Mitch besse...@gmail.com wrote: I'm trying start a new Activity from my current one.  Every place I look for example code is different, but the result is the same.  The code brings up the following dialog: = Sorry! The application MyApp (process

Re: [android-beginners] Start My Next Activity

2010-03-07 Thread Mark Murphy
Mitch wrote: I'm trying start a new Activity from my current one. Every place I look for example code is different, but the result is the same. The code brings up the following dialog: = Sorry! The application MyApp (process com.example.mypackage) has stopped unexpectedly. Please

[android-beginners] Re: Start My Next Activity

2010-03-07 Thread Mitch
Yes, tried to find calls in the NotePad, but none existed that I could find that did the call simply. They all looked like ones that did calls implicitly and not directly. Hence the reason I'm asking for 1 and not 43. I'm working on an example from a book I bought, but it's not working, so I've

[android-beginners] Re: Start My Next Activity

2010-03-07 Thread Mitch
So, I need to add the next activity I'm trying to call to my current activity's manifest? If I do, then, no, that could very well be my problem. On Mar 7, 6:06 pm, Greg Donald gdon...@gmail.com wrote: On Sun, Mar 7, 2010 at 8:01 PM, Mitch besse...@gmail.com wrote: I'm trying start a new

Re: [android-beginners] Re: Start My Next Activity

2010-03-07 Thread Mark Murphy
Mitch wrote: Yes, tried to find calls in the NotePad, but none existed that I could find that did the call simply. http://developer.android.com/resources/tutorials/notepad/notepad-ex2.html See Step 4: Intent i = new Intent(this, NoteEdit.class); 1 full example of one direct invoke of an

[android-beginners] Re: Start My Next Activity

2010-03-07 Thread Mitch
Looks like maybe I need one manifest for all my application's activities? Is there an option to create more than one project and have an activity in each project and have one call the other? Maybe this is an option and if so, why choose one way over the other. I chose to create a different

Re: [android-beginners] Re: Start My Next Activity

2010-03-07 Thread Mark Murphy
Mitch wrote: Looks like maybe I need one manifest for all my application's activities? If you want to use an Intent like: new Intent(this, MyOtherActivity.class) then MyOtherActivity should be in the same project and has to be listed in that project's manifest. Is there an option to create

[android-beginners] Re: Start My Next Activity

2010-03-07 Thread Mitch
I didn't know this was an either or choice. I was under the impression one could create activities and have them share the User ID and therefore the same process? Regardless, my goal here is to find simplest example (at this point in my learning), seems like the simplest thing to do is share the

[android-beginners] home based work

2010-03-07 Thread seetha rajam
http://www.123maza.com/Dedicated-server/dedicated-server -- 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

Re: [android-beginners] Re: Start My Next Activity

2010-03-07 Thread Desu Vinod Kumar
HI better check this u will get some understanding on using intents 1. YourActivity.java 2. AnotherActiviy.java 3. add the AnotherActiviy in Android manifest file 4. write the intent code in the YourActivity.java and execute and check for refference

Re: [android-beginners] can any1 help me ... how to upgrade G1 android version from 1.0 to 1.6 ?

2010-03-07 Thread wahib haq
Hey kenn, thats truly a very useful link. i'll surely try it out and can make my friend happy :) regards, wahib On 3/7/10, Kenn Lisudza kennlisu...@gmail.com wrote: Hi Wahib, Check out this site. its got all you'll need to do your upgrade. http://developer.htc.com/adp.html On Sun, Mar

Re: [android-beginners] DefaultHttpClient problem sending Http request

2010-03-07 Thread wahib haq
hey dear , i just get my hands on wid sending and receiving httprequest thing. it works in my case but i am not sending more than one request at a time. concerning your issue...i guess its GPRS problem and packet are lost during transmission. IOException shud occur when there is error while