[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 share any relevant resources. This will be my first time
handling android phone :) ... my all previous life was wid emulator :S

thanks in advance.

regards,
wahib

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 database downloader. So they do not pack
these huge databases in the apk, but rather download the database on first
use.

Another example would be packing in the apk a CSV file containing
NAME|ADDRESS|PHONE. You can then, at first use of the app, create an sqlite
database from importing the data from the CSV file.

I think you can play around to see what scenario fits you best.

BR,
Adrian Vintu

http://adrianvintu.com


On Sun, Mar 7, 2010 at 5:51 AM, Ben Orchard ben.orch...@gmail.com wrote:

 Hey, I wanted to say thanks for the information.

 Let me ask one more thing: I have a large amount of data that I want to use
 in conjunction with my app.  In my mind it seems more efficient to use a db
 to store this data, but packing the db in android seems..odd.  I think it
 might be easier to pack the db using a better tool, then just access the
 pre-packed db in the app.

 Any thoughts on this?

 Thanks again.

 On Sat, Mar 6, 2010 at 3:04 PM, Adrian Vintu adrianvi...@gmail.comwrote:

 Yes to all :)

 Typically, you will pack your DB in the Android project and unpack it on
 the device.

 BR,
 Adrian Vintu

 http://adrianvintu.com


 On Thu, Mar 4, 2010 at 7:36 PM, Ben Orchard ben.orch...@gmail.comwrote:

  Let me ask this, since I suspect it's the question that was on the mind
 of the submitter, and it's on mine as well.

 Can I create an sqlite db on my computer, populate then use that as the
 main data source for my app?  That's the question that I think is most
 pressing.  If the answer is yes, then is it as simple as moving the file (I
 don't know the sqlite extension) to the resources folder in your project?

 Thanks, Ben


 On Wed, Mar 3, 2010 at 2:10 AM, Maxood maqs...@salsoft.net wrote:

 Here are your required answers:

 Q.Which database i can use ?
 A. SQLite. You can download it free from www.sqlite.org

 Q. What should be connection string ?
 A. You can make a database adapter class instead. Go though these
 links

 http://developer.android.com/reference/android/database/sqlite/package-summary.html
 http://www.devx.com/wireless/Article/40842/1954

 Q. How i can deploy queries ?
 A. You can write queries in your class using cursors

 Q. How i can parse recordsets etc ?
 A. Look into the Android SQLite API:

 http://developer.android.com/reference/android/database/sqlite/package-summary.html

 Hope this helps.

 Android Developer,
 Maqsood
 http://www.twitter.com/maxood
 On Feb 23, 11:51 pm, Harminder Singh jimmysing...@gmail.com wrote:
  Hello,
 
  I am newbie to Android application development. Can anybody help me
  about to set up database related applications.
  I have many questions into mind like:
  Which database i can use ?
  How i can use that ?
  What should be connection string ?
  How i can deploy queries ?
  How i can parse recordsets etc ?
 
  Seeking your valuable comments
 
  Thank in Advance
  Harminder

 --
 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+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




 --
 I have no bit of wisdom to include as a signature.

  --
 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+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


  --
 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+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




 --
 I have no bit of wisdom to include as a signature.

 --
 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] 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
 hello word program in android sdk.

 im building a small app for which I need to know 3 things:
 1. the battery charge begins event (plugged thru AC power / USB or how
 ever)
 2. the battery charging stopped event (unplugged from AC power / USB)
 3. api to query amount of battery left (in %)

 Can any of u guys plz help me with piece of code or links to the above

 any help is much appreciated

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 directly into the constructor to only take 2
lines of code instead of 3.

-Kitzy

On Mar 6, 8:18 am, BobG bobgard...@aol.com wrote:
 What shows: 1.23456789
 What I want: 1.23
 In c it would be printf(%4.2f,n);
 In Java its? (I dont know yet).
 Thanks!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 request is just not
sent. Sometimes its just the first post is not send and sometimes the
redirects. I see at server logs that they were not sent but
application itself do not crash , throw an exception nothing . Just
like freeze in the line of sending request. I have noticed it only on
GPRS connection so my guess would be it can be caused by client
timeout but on the other hand  I try catch IOException so I guess it
should cover this case.

Any ideas?


regards
m

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 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 share any relevant resources. This will be my first time
 handling android phone :) ... my all previous life was wid emulator :S

 thanks in advance.

 regards,
 wahib

 --
 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+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
Kenn Lisudza
Systems Developer
Cellulant Kenya LTD.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 building a small app for which I need to know 3 things:
 1. the battery charge begins event (plugged thru AC power / USB or how
 ever)
 2. the battery charging stopped event (unplugged from AC power / USB)
 3. api to query amount of battery left (in %)

 Can any of u guys plz help me with piece of code or links to the above

 any help is much appreciated

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 close]
=

Here's one of the things I tried (among dozens) which causes this:

Intent myIntent = new Intent(this, NextActivity.class);
startActivity(myIntent);

Does anyone have a link to simple example that starts up a new
activity that is complete and works?

Thanks

Mitch

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 com.example.mypackage) has stopped
 unexpectedly.  Please try again.


Did you add the new activity to your manifest?



-- 
Greg Donald
destiney.com | gregdonald.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 try again.
 
 [Force close]
 =

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to look at the
Java stack trace associated with this dialog. That will tell you what is
going wrong. Most likely, there is a problem in your second Activity.

 Here's one of the things I tried (among dozens) which causes this:
 
 Intent myIntent = new Intent(this, NextActivity.class);
 startActivity(myIntent);

That is perfectly fine, assuming that NextActivity is registered in your
manifest.

 Does anyone have a link to simple example that starts up a new
 activity that is complete and works?

There are 43 total calls to startActivity() from the sample code that
shipped with your SDK. Visit $ANDROID_HOME/platforms/$SDK/samples, where
$ANDROID_HOME is wherever you installed your SDK and $SDK is some SDK
version (e.g., android-2.1).

Also, the Notepad tutorial has multiple activities:

http://developer.android.com/resources/tutorials/notepad/index.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_Android Programming Tutorials_ Version 2.0 Available!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 been looking for the correct way (obviously
the book is either incorrect or incomplete).  The book certainly
doesn't have a full example.  So let me restate my question a bit
clearer:

1 full example of one direct invoke of an activity.  Nothing extra.


On Mar 7, 6:11 pm, Mark Murphy mmur...@commonsware.com wrote:
 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 try again.

  [Force close]
  =

 Use adb logcat, DDMS, or the DDMS perspective in Eclipse to look at the
 Java stack trace associated with this dialog. That will tell you what is
 going wrong. Most likely, there is a problem in your second Activity.

  Here's one of the things I tried (among dozens) which causes this:

  Intent myIntent = new Intent(this, NextActivity.class);
  startActivity(myIntent);

 That is perfectly fine, assuming that NextActivity is registered in your
 manifest.

  Does anyone have a link to simple example that starts up a new
  activity that is complete and works?

 There are 43 total calls to startActivity() from the sample code that
 shipped with your SDK. Visit $ANDROID_HOME/platforms/$SDK/samples, where
 $ANDROID_HOME is wherever you installed your SDK and $SDK is some SDK
 version (e.g., android-2.1).

 Also, the Notepad tutorial has multiple activities:

 http://developer.android.com/resources/tutorials/notepad/index.html

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 _Android Programming Tutorials_ Version 2.0 Available!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 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.

 Did you add the new activity to your manifest?

 --
 Greg Donald
 destiney.com | gregdonald.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 activity.  Nothing extra.

You already have one. It's in the code you posted. I will say it again:

Use adb logcat, DDMS, or the DDMS perspective in Eclipse to look at the
Java stack trace associated with this dialog. That will tell you what is
going wrong. Most likely, there is a problem in your second Activity.

 So, I need to add the next activity I'm trying to call to my current
 activity's manifest?

Activities don't have manifests, projects do. Activities have manifest
entries (i.e., activity elements). Every activity you wish to start
needs to be listed in there. For example:

http://github.com/commonsguy/cw-andtutorials/blob/master/12-Activities/LunchList/AndroidManifest.xml

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.3 Available!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 project for the new activity, but not for
any particular reason.

On Mar 7, 6:28 pm, Mitch besse...@gmail.com wrote:
 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 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.

  Did you add the new activity to your manifest?

  --
  Greg Donald
  destiney.com | gregdonald.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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 more than one project and
 have an activity in each project and have one call the other? 

Sure. You have to craft an appropriate intent-filter for the second
activity's manifest entry (in its own project and manifest) and you have
to use an Intent that will trigger that Intent filter. And the user will
have to have both applications installed (the one with your first
activity and the one with the second activity).

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_
Version 1.3 Available!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 same
project and add the activity.

Can I get a simple full example of only this with the Direct Invoke?



On Mar 7, 6:51 pm, Mark Murphy mmur...@commonsware.com wrote:
 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 more than one project and
  have an activity in each project and have one call the other?

 Sure. You have to craft an appropriate intent-filter for the second
 activity's manifest entry (in its own project and manifest) and you have
 to use an Intent that will trigger that Intent filter. And the user will
 have to have both applications installed (the one with your first
 activity and the one with the second activity).

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_
 Version 1.3 Available!

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[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 this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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

http://marakana.com/forums/android/android_examples/65.html

two classes and android manifest file snippet int the above link.

On Mon, Mar 8, 2010 at 9:07 AM, Mitch besse...@gmail.com wrote:

 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 same
 project and add the activity.

 Can I get a simple full example of only this with the Direct Invoke?



 On Mar 7, 6:51 pm, Mark Murphy mmur...@commonsware.com wrote:
  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 more than one project and
   have an activity in each project and have one call the other?
 
  Sure. You have to craft an appropriate intent-filter for the second
  activity's manifest entry (in its own project and manifest) and you have
  to use an Intent that will trigger that Intent filter. And the user will
  have to have both applications installed (the one with your first
  activity and the one with the second activity).
 
  --
  Mark Murphy (a Commons Guy)http://commonsware.com|
 http://twitter.com/commonsguy
 
  _The Busy Coder's Guide to *Advanced* Android Development_
  Version 1.3 Available!

 --
 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+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
Regards
---
D Vinod Kumar
Software Engineer - Android Platform
09916009493

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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 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 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 share any relevant resources. This will be my first time
 handling android phone :) ... my all previous life was wid emulator :S

 thanks in advance.

 regards,
 wahib

 --
 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+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




 --
 Kenn Lisudza
 Systems Developer
 Cellulant Kenya LTD.

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en



-- 
Wahib-ul-haq

3rd year Communications Engineering Student,
NUST, Pakistan.
Microsoft Student Partner
follow me on twitter @wahibhaq

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


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
sending but if no error it wont give an exception. I am also a newbie
and wait for some experts to comment on ur issue. Best of Luck wid it
:)

Regards,
wahib

On 3/7/10, wonglik wag...@gmail.com wrote:
 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 request is just not
 sent. Sometimes its just the first post is not send and sometimes the
 redirects. I see at server logs that they were not sent but
 application itself do not crash , throw an exception nothing . Just
 like freeze in the line of sending request. I have noticed it only on
 GPRS connection so my guess would be it can be caused by client
 timeout but on the other hand  I try catch IOException so I guess it
 should cover this case.

 Any ideas?


 regards
 m

 --
 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+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en



-- 
Wahib-ul-haq

3rd year Communications Engineering Student,
NUST, Pakistan.
Microsoft Student Partner
follow me on twitter @wahibhaq

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en