Re: [android-beginners] Re: chat software , android based

2010-07-15 Thread Wayne Wenthin
You could use a REST based backend using something like RoR or php as your
rest server.   It's fairly simple and relatively robust.

On Thu, Jul 15, 2010 at 3:46 PM, Emmen Farooq wrote:

> no server is on a PC,
>
> On Fri, Jul 16, 2010 at 1:58 AM, chaitanya  wrote:
> > Why do you need to connect with the SQL database from the Android
> > phone? is your server on the Android phone? If it is i think you must
> > use a web service like SOAP, etc.. If the server is on an independent
> > machine which generally is the case, use sockets to connect to the
> > server from the Android phones
> >
> > On Jul 15, 8:01 am, Emmen Farooq  wrote:
> >> Hi , we need to make a android based chat software , now the scenario
> >> is as follows
> >>
> >> let I be user A and I want to use the application under developemnt ,
> >> let the application be called friends circle , now when i log in for
> >> the first time , the app should ask me to sign up and save my data , I
> >> am handling xml , I dont know even what Im trying to ask
> >>
> >> On the server I have made a database , that would store the necessary
> >> requirements now i should somehow communicate between an SQL database
> >> and the android phone ,
> >>
> >> guide appropriately please
> >
> > --
> > 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
> >
>
> --
> 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
>



-- 
Follow us on Twitter  @fuliginsoftware
Join the forums.
http://www.fuligin.com/forums

-- 
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] App Inventor

2010-06-15 Thread Wayne Wenthin
Wow.  Just think of the raft of garbage that will be coming out soon.I
can't tell if it would be useful for RAD or prototyping though.


On Fri, Jun 11, 2010 at 7:38 AM, TallGirl  wrote:

> Has anyone used this? I know Google has taken it down until the
> "official" launch in second half of 2010 (which is coming up, btw),
> but was curious if anyone had used it or downloaded it before it was
> removed from Google?
>
> --
> 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
>



-- 
Follow us on Twitter  @fuliginsoftware
Join the forums.
http://www.fuligin.com/forums

-- 
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] NEED help--working on twitter app want list click to be expanded and again shrinked on another click plz help

2010-05-04 Thread Wayne Wenthin
Well to be fair his entire post was in the subject.   ;-)

On Tue, May 4, 2010 at 7:01 AM, TreKing  wrote:

> Do you really expect to get a response to an empty post?
>
>
> -
> TreKing - Chicago transit tracking app for Android-powered devices
> http://sites.google.com/site/rezmobileapps/treking
>
>  --
> 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
>



-- 
Follow us on Twitter  @fuliginsoftware
Join the forums.
http://www.fuligin.com/forums

-- 
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] App icon development?

2010-04-26 Thread Wayne Wenthin
I would just pull your current icon into photoshop and mess around with the
layer styles.   You can pull off some 3d effect there.

On Mon, Apr 26, 2010 at 11:22 AM, Chris Ross

> wrote:

>
>  I have an app mostly ready for initial release.  What I *don't* have is an
> icon I like that fits the recommended style.  I have a 2D icon that I built
> for the iPhone version of the app, but that doesn't fit the android
> look-n-feel very well, so I'd like to come up with a tilted 3Dish icon
> according to the recommendations, but I don't have any 3D graphics
> experience.
>
>  Does anyone have any skill to spare, or advice to share, on making an app
> icon?  I have an idea or two, but no 3D content with which to start.  I've
> done amateur 2D graphics for years, but 3D I've barely experimented with.
>
>  Any help or advice appreciated.
>
> - Chris
>
>
> --
> 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
>



-- 
Writing code is one of few things
that teaches me I don't know everything.

Make Call Girl Manager great!
Join the forums.
http://www.fuligin.com/forums

-- 
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] how to open the new screen

2010-01-28 Thread Wayne Wenthin
You'll want something like this in your onCreate

requestWindowFeature(Window.FEATURE_NO_TITLE);  //Turn off the title bar
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);  //Make it full screen


On Thu, Jan 28, 2010 at 5:55 AM, me,Ramesh Yankati
wrote:

> You need to use Intent.
>
> like
>
> Intent intent=new Intent();
> intent.setclass(this, class_name);
> etc..
>
> Regards
> Ramesh.
>
> On Sun, Jan 24, 2010 at 8:21 PM, crajesh  wrote:
>
>> Hi,
>>
>>  i am new in android, i need to open the new screen, how to open it
>>
>>
>> Thanks
>> C.rajesh
>>
>> --
>> 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
>>
>
>  --
> 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
>



-- 
Writing code is one of few things
that teaches me I don't know everything.

Join the Closed Beta of Call Girl Manager
http://www.fuligin.com/forums

-- 
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] Eclipse can't seem to locate R.java

2010-01-28 Thread Wayne Wenthin
I second that!   It just happened to me a few days ago.

On Thu, Jan 28, 2010 at 2:40 PM, Temitope Akinwande wrote:

> Look at your import statements at the top. Is there one that imports
> android.R? If so, just delete that import statement.
> Had this happen to me a few times when I just started with android.
>
> On Thu, Jan 28, 2010 at 2:59 PM, Justin Anderson
>  wrote:
> > You need to create this file: res/layout.main.xml
> >
> > --
> > There are only 10 types of people in the world...
> > Those who know binary and those who don't.
> > --
> >
> >
> > On Thu, Jan 28, 2010 at 2:49 PM, Kevin Duffey 
> wrote:
> >>
> >> Pick up Mark Murphy's online books for $40 and read them. They'll
> >> definitely help you out. Well worth the price.
> >>
> >> On Thu, Jan 28, 2010 at 1:47 PM, André  wrote:
> >>>
> >>> Hello,
> >>>
> >>> I'm not sure if it's me or eclipse that has a problem. Probably me
> >>> with eclipse!
> >>> With three different projects where I have copy and pasted the code
> >>> from the sample apps as an example I almost always get a problem to
> >>> locate setContentView(R.layout.main); for instance and it says that it
> >>> can not be resolved.
> >>>
> >>> Any suggestions on what I can do to solve this?
> >>>
> >>> André
> >>>
> >>> --
> >>> 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
> >>
> >> --
> >> 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
> >
> > --
> > 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
> >
>
> --
> 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
>



-- 
Writing code is one of few things
that teaches me I don't know everything.

Join the Closed Beta of Call Girl Manager
http://www.fuligin.com/forums

-- 
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: How can I install android sdk on windows 7 x64?

2009-11-29 Thread Wayne Wenthin
I believe you need the 32 bit Java.  I have it running under  windows 7 64
right now and that is the path I had to take

On Sat, Nov 28, 2009 at 4:51 AM, vekexasia  wrote:

> Did you find a solution to this?
>
> On Nov 18, 3:21 pm, Súper JMN  wrote:
> > It's just the same that happens to me. I'm under Windows 7 Ultimate
> > x64 and installed JDK SE x64.
> >
> > On Oct 30, 10:34 pm, Shuo HUANG 
> > wrote:
> >
> >
> >
> > > When start the SDK setup.exe, the program is automatically terminated!
> >
> > > Shuo
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
> To post to this group, send email to android-beginners@googlegroups.com
> 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
>



-- 
Writing code is one of few things
that teaches me I don't know everything.

Join the Closed Beta of Call Girl Manager
http://www.fuligin.com/forums

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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] I just gotta say

2009-11-20 Thread Wayne Wenthin
Sometimes it pays to go back and read "books"   I just restarted Mark
Murphy's Busy Coders book and picked up some great tips.  Of course I no
longer support 1.5 doing  them but hey...

-- 
Writing code is one of few things
that teaches me I don't know everything.

Join the Closed Beta of Call Girl Manager
http://www.fuligin.com/forums

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Android 2.0 SDK is here!

2009-10-28 Thread Wayne Wenthin
Keep trying.   I had to select the components individually and it finally
made it.   I think it is related to a big rush to get the components.   I
had no problem at home during the evening hours.

On Wed, Oct 28, 2009 at 5:31 AM, Dori  wrote:

>
> Exactly the same problem here, any suggestions?
>
> On Oct 28, 10:32 am, Maxood  wrote:
> > I am getting the following messages after
> >
> > Done. Nothing was installed.
> >
> > Downloading SDK Platform Android 2.0, API 5, revision 1
> > SSL peer shut down incorrectly
> >
> > Whats the solution?
> > On Oct 27, 11:16 am, Jeffrey Blattman 
> > wrote:
> >
> >
> >
> > > new and updated tools. regardless of the SDK version, you can always
> > > develop your app to target previous SDK versions. in your manifest,
> look
> > > for the line,
> >
> > > 
> >
> > > 3 is for 1.5, 4 for 1.6 ...
> >
> > > On 10/27/09 10:42 AM, Matt Raffel wrote:
> >
> > > > how does this apply if my phone is currently 1.5 and I wanted my app
> to
> > > > work on it?  Do I stick to 1.5?
> >
> > > > Matt
> >
> > > > Xavier Ducrohet wrote:
> >
> > > >> Hello everyone!
> >
> > > >> We've just announced the Android 2.0 SDK
> > > >>
> http://android-developers.blogspot.com/2009/10/announcing-android-20-...
> >
> > > >> If you already have the 1.6 SDK, note that you can simply use the
> SDK
> > > >> Manager to add Android 2.0 to your SDK. Make sure you also get the
> new
> > > >> SDK Tools (revision 3), as the SDK Manager in revision 2 (the one
> that
> > > >> shipped with 1.6) doesn't enforce dependencies between platforms and
> > > >> Tools (fixed in rev 3)
> >
> > > >> For more information about using the SDK Manager, see:
> > > >>http://developer.android.com/sdk/adding-components.html
> >
> > > >> Have fun!
> > > >> Xav
> >
> > > --
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

http://www.fuligin.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: DDMS doesn't show my G1

2009-10-20 Thread Wayne Wenthin
is USB debugging on?

On Mon, Oct 19, 2009 at 8:29 PM, Matt  wrote:

>
> Hi Mark,
>
> I seem to be having the same problem.  I thought I could remedy it by
> getting the G1 drivers in there, and I finally figured out how to do
> it.  In the device manager, when the G1 is plugged in, it now shows
> "Android Phone > Android Composite ADB Interface."
>
> I've also installed the Java Development Kit (JDK) as per the
> instructions of this site which was recommended to me:
>
> http://www.simplehelp.net/2009/07/21/how-to-take-screenshots-of-your-android-based-phone-from-windows/
> .
>
> This has no effect.  I've also installed Eclipse as per the developer
> instructions, and added the Android plugin.  Still nothing in ddms.
>
> No matter what I do, connect, or install in any order, the ddms.bat
> will not see my G1.  I'm just looking to get a few screen shots for an
> article.  Is there any hope here?
>
> Thanks for any insight.
>
> Matt
>
> On Oct 9, 2:05 pm, Mark Murphy  wrote:
> > heartbraden wrote:
> > > I've been working at this for hours now, and I can't figure out what's
> > > going wrong.  I've got USB debugging turned on, I have eclipse, I have
> > > android-sdk-1.6, but when I clickddms.bat, I get a blank command
> > > prompt, and Dalvik Debug Monitor comes up, but it doesn't show any
> > > devices at all.
> >
> > > I'm on Windows XP 32 bit.  What could I be doing wrong?
> >
> > Did you install the G1 driver?
> >
> > --
> > Mark Murphy (a Commons Guy)http://commonsware.com|
> http://twitter.com/commonsguy
> >
> > Warescription: Three Android Books, Plus Updates, $35/Year
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

http://www.fuligin.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Best "Hello World" Map Tutorial/Application?

2009-10-14 Thread Wayne Wenthin
http://developer.android.com/guide/tutorials/views/hello-mapview.html
would be a good start.   It is what finally gelled all the other knowledge
together for me.

On Wed, Oct 14, 2009 at 7:02 AM, Kent Borg  wrote:

>
> Still stuck in the mud with trying to do a map application, but I am not
> very invested so far.  I am willing to start over from scratch...
>
> Any suggestions for the best tutorial and sample code for doing a map
> application?  Looking around I see
> http://www.devx.com/wireless/Article/39101/0/page/1 looks good, but it
> is a year old.  Should I be looking for something newer?
>
>
> What is the cleanest way for a newbie to get going?
>
>
> Thanks,
>
> -kb
>
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

http://www.fuligin.com

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Skipping the long load time by having the emulator on all the time

2009-10-07 Thread Wayne Wenthin
Yeah like Romain says.   If you don't quit you will just have the APK
replaced and run when you hit debug.

On Wed, Oct 7, 2009 at 9:33 AM, Romain Guy  wrote:

>
> Just don't quit the emulator :))
>
> On Wed, Oct 7, 2009 at 4:41 AM, Mika  wrote:
> >
> > Hello,
> >
> > I'm developing a game on the Android and the problem I'm running into
> > is the fact that the actual emulator takes long time to boot. I have
> > to wait roughly 45s to 75seconds to get into my program. And when
> > actually doing lot of recompiling I'm wasting too much time for that.
> >
> > So what can be done to get around this? I'd like to have the emulator
> > running and just upload the new program into it and run it instantly.
> > Is there a way to have the emulator up and running and upload the
> > program into it every time I compile, so I wouldn't have to wait for
> > the boot up time of the emulator?
> >
> > All tips and tricks are definitely welcome.
> > Thank you.
> >
> > - Mika
> >
> > >
> >
>
>
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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] How Many OnClickListeners is too many?

2009-09-18 Thread Wayne Wenthin
I'm quickly becoming a junkie!   I'm trying to dress up my app with buttons
that do the same thing as my menus.   How many is too many or is there such
a thing?
Wayne

-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Send JSON object via HttpPost method

2009-09-09 Thread Wayne Wenthin
Yep that is what I vaguely based mine on.   I recognize the Praeda line.   I
had to modify mine because I was not sending back an array of json objects
but a specific one that I handle based on the ID on the backend with ruby.

On Wed, Sep 9, 2009 at 1:43 AM, Alok Kulkarni  wrote:

> Hey Wayne, thanks a lot..
> I have also got a solution parallely which i would like to post
>
> URL url = new URL(serverURL);
>
> // open the conncetion
> HttpURLConnection connection =
> (HttpURLConnection)url.openConnection();
>
> // Let the run-time system (RTS) know that we want input.
> connection.setDoInput(true);
> // Let the RTS know that we want to do output
> connection.setDoOutput(true);
> // No caching, we want the real thing
> connection.setUseCaches(false);
> // set the content type property
> connection.setRequestProperty("Content-type",strContenttype);
>
> // set request method
> connection.setRequestMethod("POST");
> // create the post body to send
> String content = credDevPair.toString();
> Log.i("Request ... ",content);
> DataOutputStream printout = new DataOutputStream (
> connection.getOutputStream () );
>
> // send the data
> printout.writeBytes(content);
> printout.flush();
> printout.close();
> String output =
> convertStreamToString(connection.getInputStream());
> Log.i("Response 1... ",output);
> // A Simple JSONObject Creation
> JSONObject json=new JSONObject(output);
>
> Log.i("Praeda","\n"+json.toString()+"\n");
>
> // A Simple JSONObject Parsing
> JSONArray nameArray=json.names();
> JSONArray valArray=json.toJSONArray(nameArray);
> for(int i=0; i {
>
> Log.i("Praeda","\n"+nameArray.getString(i)+"\n\n"
>
> +"\n"+valArray.getString(i)+"\n");
> }
> //BufferedReader input = new BufferedReader ( new
> InputStreamReader(connection.getInputStream()) );
>
> }catch (ClientProtocolException e) {
>  // TODO Auto-generated catch block
>  e.printStackTrace();
>  }catch (IOException e) {
>  // TODO Auto-generated catch block
>  e.printStackTrace();
>
> }catch(Exception ex)
> {
>
> }
>
> }
>   private static String convertStreamToString(InputStream is) {
> /*
>  * To convert the InputStream to String we use the
> BufferedReader.readLine()
>  * method. We iterate until the BufferedReader return null which
> means
>  * there's no more data to read. Each line will appended to a
> StringBuilder
>  * and returned as String.
>  */
> BufferedReader reader = new BufferedReader(new
> InputStreamReader(is));
> StringBuilder sb = new StringBuilder();
>
> String line = null;
> try {
> while ((line = reader.readLine()) != null) {
> sb.append(line + "\n");
> }
> } catch (IOException e) {
> e.printStackTrace();
> } finally {
> try {
> is.close();
> } catch (IOException e) {
> e.printStackTrace();
> }
> }
>
> return sb.toString();
> }
>
>
> On Wed, Sep 9, 2009 at 3:08 AM, Wayne Wenthin  wrote:
>
>> A snippet for what I do...
>> public HttpResponse updateGirl(String url, Pawn girl, int pawnID) {
>> HttpClient httpclient = new DefaultHttpClient();
>>  HttpPut httpput = new HttpPut(url);
>>
>> // Execute the request
>>
>> try {
>> List nameValuePairs = new ArrayList(
>>  39);
>> nameValuePairs.add(new BasicNameValuePair("id", Integer
>>  .toString(pawnID)));
>> ..  Many nameValuePairs later.
>>
>>
>> httpput.addHeader("Content-Type",
>>  "application/x-www-form-urlencoded");
>> httpput.setEntity(new UrlEncodedFormEntity(nameValuePairs,
>>  HTTP.UTF_8));
>>  HttpResponse response = httpclient.execute(httpput);
>>  return response;
>>
>> } catch (ClientProtocolException e) {
>> // TODO Auto-generated catch block
>>  // e.printStackTrace();
>> } catch (IOException e) {
>> // TODO Auto-gener

[android-beginners] Re: Send JSON object via HttpPost method

2009-09-08 Thread Wayne Wenthin
A snippet for what I do...
public HttpResponse updateGirl(String url, Pawn girl, int pawnID) {
HttpClient httpclient = new DefaultHttpClient();
HttpPut httpput = new HttpPut(url);

// Execute the request

try {
List nameValuePairs = new ArrayList(
39);
nameValuePairs.add(new BasicNameValuePair("id", Integer
.toString(pawnID)));
..  Many nameValuePairs later.


httpput.addHeader("Content-Type",
"application/x-www-form-urlencoded");
httpput.setEntity(new UrlEncodedFormEntity(nameValuePairs,
HTTP.UTF_8));
 HttpResponse response = httpclient.execute(httpput);
return response;

} catch (ClientProtocolException e) {
// TODO Auto-generated catch block
// e.printStackTrace();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
return null;

}

Hope that helps.   I struggled with it for a couple of weeks before I found
a site that had a good source.



On Tue, Sep 8, 2009 at 6:18 AM, Alok Kulkarni  wrote:

> Any answers ??
>
>
> On Tue, Sep 8, 2009 at 2:00 PM, Alok  wrote:
>
>>
>> I have created a JSON object which i want to send over the network to
>> a server.Do i need to user OutputStream and BufferedOutput stream ?
>> I have read the RestClient example which parses an incoming JSON
>> object and retrieves the string data. But how do i send a JSON object
>> to the server?
>> Thanks,
>> Alok
>>
>>
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: A Google Maps App

2009-08-18 Thread Wayne Wenthin
I'm sure it's possible.   But a word of Warning.   If you have never
programmed for the Android platform you are in for a really steep learning
curve dealing with mapviews.   I'm working on about 8 months and I still get
surprised at least once a week.  But then I could just be slow and old
too

On Mon, Aug 17, 2009 at 10:30 PM, Maxood  wrote:

>
> I want to write an app involving Google Maps API. I want my user to
> enter the name of a place where he is in a textbox and then enters the
> name of his desired destination in another textbox. Once he clicks the
> button after that, the required map gets displayed.
>
> I have 2 questions here:
>
> Is it possible to make such an app on android?
>
> I guess the android can auto-detect where the user is..am i correct?
>
> Thank you,
> Maqsood
>
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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] androidID

2009-08-14 Thread Wayne Wenthin
Is anyone else using this as a Unique identifier? Is there anyway to
force this in the emulator?If not what are other people using?   I've
read where someone said to use the IMEI but I don't see that as valid on
devices that don't make calls like netbooks.

-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: New Android App

2009-08-14 Thread Wayne Wenthin
That is a nice looking app.  I to would like to know how you did the
sliders.   I haven't messed with the openintent libraries yet but if there
are sliders like that in there it would work well with my game I'm
developing.

On Fri, Aug 14, 2009 at 5:52 AM, johnjj  wrote:

>
> Hi there,
>
> yesterday I finished my new Android App and I want you to take a look
> at it and tell me what you think about it.
>
> http://www.kwaisun.org/~johannes/drink-schedule
> http://www.youtube.com/watch?v=nTG-D-0LMFQ
>
> Thanks in advance,
> Johannes
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Random question on app market

2009-07-06 Thread Wayne Wenthin
After my third phone I can absolutely tell you that the NON paid apps do not
follow.  My guess is that the market relies on the AndroidID to associate
downloads.   Since I had not paid for an app yet I cannot give you an answer
on paid apps.


On Mon, Jul 6, 2009 at 5:47 AM, QLinks  wrote:

>
> You shouldn't have to pay again! It would be wrong if you did.
>
> Nicholas Radford wrote:
> > Okay, so it's not a dev question, but I was wondering if anyone knew.
> >
> > For arguments sake, lets say I had G1, and then later I bought a HTC
> Hero.
> >
> > I've purchased paid apps on my G1, but now I want to transfer those
> > over to my HTC Hero. Would I have to repurchase them again? or are
> > they linked to my google account or something similar?
> >
> > >
>
>
>
> __ Information from ESET NOD32 Antivirus, version of virus
> signature database 4219 (20090705) __
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: SDK USB driver for Vista SP1 won't install - Solution?

2009-07-02 Thread Wayne Wenthin
This may help.

http://code.google.com/p/android/issues/detail?id=2676


On Tue, Jun 30, 2009 at 7:16 AM, Gabriel  wrote:

>
> I am running Vista 32 downloaded sdk 1.5r2 with a t-mo g1 with 1.5.
>
> I am unable to get adb to see my device.
> I am unable to get the microCRAP drivers to stop reinstalling
> themselves.
> I tried doing a legacy option of installing the sdk usb driver.
>
> All I get is a stupid error code 10
>
> I have scoured the internet and have tried everything under the sun to
> get my device to work on vista 32 with no luck
> I have tried using the USBdev utility that doesn't work and will not
> uninstall usb devices in vista.
> I have tried every possible way of uninstalling updating reinstalling
> the usb drivers and nothing works.
>
> I even found a stupid inf file that had chars for windows instead of
> *nix since vista wouldn't read the inf and that didn't work either.
> Brilliant Google.  Way to support your open source community Google.
> You guys get PAID TONS OF CASH to dev this crap and you can't even
> code a friggen driver to work with vista?!?!?!?!?
>
> Do you even test the software you make google?
>
> The android dev community would like you to make a usb driver that
> will work in VISTA 32. That will install. Otherwise we can develop on
> a Vista machine.  There are billions of threads on the internet of
> people with the same problem as us and nobody has a solution. This is
> a problem you idiots FIX IT
>
> Or at least update the stupid developer page to say your CRAP usb
> driver will not work with Vista 32 so someone else doesn't have to
> spend hours and hours becoming disillusioned to your ability to
> support a major MARKET.
>
>
>
> On Jun 3, 1:52 pm, Tony Su  wrote:
> > Update -
> > I was attempting to get around T-Mobile's onerous requirement of having
> to wait until the completion of the current billing cycle to upgrade the
> account to support the G1 (preventing communication with Google servers for
> activation, essentially turning the device into a doorstop).
> >
> > In the end, I just said to hell with trying, and just waited the 3 weeks.
> I'm surprised that this situation exists and after an Internet search has
> existed for a very long time... I don't think Sprint or Verizon has ever
> been unable to upgrade/modify an account on the fly and properly
> re-calculate billing accordingly.
> >
> > After device activation, everything works and Vista SP1 continues to
> insist on using the Microsoft driver, still refusing to recognize the SDK
> driver (so your (2) is apparently incorrect, ADB works fine using the
> Microsoft driver).
> >
> > So, it's apparently a T-Mobile restriction closing holes that could
> potentially jailbreak the device.
> >
> > Tony
> >
> >
> >
> > - Original Message -
> > From: Raphael 
> > Sent: Sat, 5/23/2009 9:03pm
> > To: android-beginners@googlegroups.com
> > Subject: [android-beginners] Re: SDK USB driver for Vista SP1 won't
> install - Solution?
> >
> > What driver do you want to install?
> >
> > 1- For transfering files from the SD Card, you do not need any driver.
> >
> > 2- For using ADB to debug, you need the driver that comes with the
> > SDK. If you have trouble with that one please read this thread first:
> http://groups.google.com/group/android-beginners/browse_thread/thread...
> >
> > R/
> >
> > On Thu, May 21, 2009 at 1:39 PM, Tony Su 
> wrote:
> > > Howdy,
> >
> > > When I connect a G1 to Vista SP1, the phone is automatically recognized
> and
> > > Vista's own USB driver (WpdFs.dll and WUDFRd.sys) is installed, but
> that
> > > driver doesn't work.
> >
> > > Nothing I try seems to update or change the USB driver to the one
> supplied
> > > by the SDK...
> > > Have tried
> > > uninstalling the device and re-scanning
> > > Updating the driver in the Device Properties
> >
> > > When I try to force "updating" by manually pointing to the SDK driver,
> Vista
> > > says it's not even a driver. Of course, with Vista's improved security
> I
> > > can't disable/rename the Microsoft driver (permissions even an Admin
> can't
> > > touch).
> >
> > > Any ideas?
> >
> > > TIA,
> > > Tony
> >
> > > Full deatils on the Vista SP1 driver...
> > > Provider: Microsoft Corporation
> > > File Version: 6.0.60001.18000(longhorn_rtm.080118-1840- Hide quoted
> text -
> >
> > - Show quoted text -
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: startActivity called from non-Activity context - help

2009-06-24 Thread Wayne Wenthin
Not to hijack the thread but ... Mark do you know any books that cover this
stuff because it makes my head hurt also and seems to be one of my main
stumbling blocks.

On Wed, Jun 24, 2009 at 7:00 PM, Mark Murphy wrote:

>
> Jason Van Anden wrote:
> > I
> > assumed when the Activity was activated it would call onCreate, or
> > startActivity ... or something else where I could retrieve the extras
> > from.  onResume gets called - but when it gets called, the intent has
> > changed via LogCat
>
> That certainly would not have been my expectation, but the whole Android
> task model makes my head hurt...which is one of the reasons I don't have
> a chapter on it in any of my books. :-(
>
> Have you tried hooking onRestart() or onStart() and see if the desired
> extras are available at that point? Or maybe onNewIntent()?
>
> Have you tried adding Intent.FLAG_ACTIVITY_NEW_TASK as a flag on the
> PendingIntent you are handing to the Notification? It's possibly that
> the "forcing Intent.FLAG_ACTIVITY_NEW_TASK" is somehow contributing to
> your woe. You would need this, for example, if your service is a remote
> service, in its own application, rather than a local service in the same
> application as your activity.
>
> Have you tried FLAG_UPDATE_CURRENT with your PendingIntent?
>
> And why do you think your app is blah? You might hurt your app's
> feelings with that attitude... ;-)
>
> > This is where either I am totally confused or my
> > paradigm needs some major shifting.
>
> In a pinch, can you have your activity call into your service, in effect
> asking "u...you rang?", and get the details you need that way?
> Extras would seem to be preferable, but I'm trying to think of
> alternatives in case this all gets too painful.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 1.0 Available!
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: How to debug on an actual device?

2009-06-18 Thread Wayne Wenthin
This might be a really stupid question but you have loaded the driver for it
correct?   Windows recognizes it?   Under your device manager in windows you
see the ADB Interface and under that windows see an HTC Dream composite ADB
Interface?

On Wed, Jun 17, 2009 at 3:08 PM, Zhijun Sheng  wrote:

> Really frustrating.  I have 10+ years of wireless experience and developed
> great products on other platforms.  Got the new Google Dev Phone 2 days ago.
>  It surprised me a lot that me, such a late comer, still got stuck in such a
> low level problem for many hours already.
>
> Thank a lot for all your warm helps!
>
> I'm using WinXP, Eclipse 3.4.2.
> Following one of the posts I clean registry twice with no luck.  Maybe I am
> heading totally wrong direction.  My question is: after I plug in the phone,
> how do I feel its existence?  Right click the proj and run/debug as android
> always trigger the emulator.  On the phone that page says: USB debugging
> Debug mode when USB is connected with a green check mark to the right.
>
> Did I miss anything?
>
> thx again!
>
> "Be patient, everything will be fine eventually" I told myself.
>
> Donald
>
> On 17-Jun-09, at 5:16 PM, Mike Garcia wrote:
>
> Which OS and version of Eclipse?
>
> When you plugged in the device to the computer (if Windows), you didn't
> mount the device from notifications pane on the device did you?
>
> The best setup I have found so far is Windows XP/Vista/7 with Eclipse 3.4.2
> installed with the Android Plugin installed.  All you need to do with that
> setup, is plug in the phone and run the application in eclipse.  I've never
> had an issue but do know of several individuals who have...especially in
> their *nix environments.
>
>
> On 6/17/09, Ralf  wrote:
>>
>>
>> [adding android-beginners back to the thread]
>>
>> On Wed, Jun 17, 2009 at 9:40 AM, Donald wrote:
>> > Hi, Ralf,
>> >
>> > I'm using Windows XP.  I have the similar problem: the emulator,
>> > instead of the connected google dev phone, is always triggered.  Could
>> > you help me out?
>>
>> Not sure. When you use "adb devices", do you see your device listed?
>> Would the thread "How to solve "G1/HTC Magic not recognized by ADB
>> under Windows"" help?
>>
>> http://groups.google.com/group/android-beginners/browse_thread/thread/ff713181959c48ee/98dbfe1887d671c0
>>
>> R/
>>
>> >
>> > Thanks!
>> >
>> > Donald
>> >
>> > On Dec 9 2008, 4:27 am, Ralf  wrote:
>> >> On yourdevice:
>> >> - home > settings > applications > development > enable usb debugging
>> >> - using windows ? search this forum for a link to the usb driver
>> >> - plug yourdevice
>> >> - in eclipse, select your project, right click and select "debugas >
>> >> android application"
>> >>
>> >> HTH
>> >> R/
>> >>
>> >>
>> >>
>> >> On Mon, Dec 8, 2008 at 1:30 PM, Doughy  wrote:
>> >>
>> >> > Can someone either tell me here, or point me to a link, that explains
>> >> > how todebugapplications on anactualandroiddevice?  I just got a
>> >> > G1, I have written a simple program using the Eclipse plugin, and now
>> >> > I would like todebugit on myactualphone.  I can't seem to find any
>> >> > documentation on this.  Obviously, it would be really nice if I could
>> >> > just run the program right through the USB cable connected to the
>> >> > computer.
>> >>
>> >> > Any help?
>> >>
>> >> > Thanks.- Hide quoted text -
>> >>
>> >> - Show quoted text -
>>
>>
>>
>>
>>
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Google Maps on Android

2009-06-17 Thread Wayne Wenthin
Never mind I saw you have it setup differently.

On Wed, Jun 17, 2009 at 7:29 PM, Wayne Wenthin  wrote:

> I think you need to move your uses-sdk lone to after the .
> This is a fragment of mine that works and is similar to the main app I'm
> developing.
>
>
>  android:label="@string/app_name">
>android:label="@string/app_name">
> 
> 
>  />
> 
> 
> 
> 
> 
> 
> 
>
> On Wed, Jun 17, 2009 at 9:07 AM, Geoff Newson  > wrote:
>
>>
>> Hi all,
>>
>> I'm joining this thread as I've had the same problem when following
>> the tutorial.  I have the INTERNET permission set, as per the
>> tutorial.  The manifest is below.
>>
>> I also have a key that was generated from my debug.keystore file.
>> I've put the key into the manifest file, again as in the tutorial but
>> I still only get the grid lines.
>>
>> I read something about signing the app.  Does this need to be done as
>> well?
>>
>> Geoff
>>
>> 
>> http://schemas.android.com/apk/res/android";
>>  package="com.newson.android"
>>  android:versionCode="1"
>>  android:versionName="1.0">
>>
>>
>>
>>
>>>  android:label="@string/app_name">
>>
>>
>>> android:name="android.intent.category.LAUNCHER" />
>>
>>
>>
>> 
>>
>> On May 29, 12:25 am, Dave Bordoley  wrote:
>> > Did you sign up and configure your application specificmapsdeveloper
>> key?
>> >
>> > dave
>> >
>> > On Wed, May 27, 2009 at 10:52 AM, simonfro...@googlemail.com
>> >
>> >  wrote:
>> >
>> > > Hello Everybody!
>> >
>> > > I currently getting started with developing for Android and I was just
>> > > doing the "MapView Tutorial" fromhttp://developer.android.com. I
>> > > managed to get it all working, except I can't see an actualGoogle-Map
>> > > on my emulator. Instead I'm only seeing that grid, so that I'm
>> > > assuming the emulator has some problems connecting to the internet.
>> > > Are there some settings that have to be changed in order to let my
>> > > emulator use the internet connection of my computer?
>> >
>> > > Thanks in advance!
>> > > Simon
>>
>> >>
>>
>
>
> --
> Writing code is one of few things
> that teaches me I don't know everything.
>



-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Google Maps on Android

2009-06-17 Thread Wayne Wenthin
I think you need to move your uses-sdk lone to after the .
This is a fragment of mine that works and is similar to the main app I'm
developing.















On Wed, Jun 17, 2009 at 9:07 AM, Geoff Newson
wrote:

>
> Hi all,
>
> I'm joining this thread as I've had the same problem when following
> the tutorial.  I have the INTERNET permission set, as per the
> tutorial.  The manifest is below.
>
> I also have a key that was generated from my debug.keystore file.
> I've put the key into the manifest file, again as in the tutorial but
> I still only get the grid lines.
>
> I read something about signing the app.  Does this need to be done as
> well?
>
> Geoff
>
> 
> http://schemas.android.com/apk/res/android";
>  package="com.newson.android"
>  android:versionCode="1"
>  android:versionName="1.0">
>
>
>
>
>  android:label="@string/app_name">
>
>
> android:name="android.intent.category.LAUNCHER" />
>
>
>
> 
>
> On May 29, 12:25 am, Dave Bordoley  wrote:
> > Did you sign up and configure your application specificmapsdeveloper key?
> >
> > dave
> >
> > On Wed, May 27, 2009 at 10:52 AM, simonfro...@googlemail.com
> >
> >  wrote:
> >
> > > Hello Everybody!
> >
> > > I currently getting started with developing for Android and I was just
> > > doing the "MapView Tutorial" fromhttp://developer.android.com. I
> > > managed to get it all working, except I can't see an actualGoogle-Map
> > > on my emulator. Instead I'm only seeing that grid, so that I'm
> > > assuming the emulator has some problems connecting to the internet.
> > > Are there some settings that have to be changed in order to let my
> > > emulator use the internet connection of my computer?
> >
> > > Thanks in advance!
> > > Simon
>
> >
>


-- 
Writing code is one of few things
that teaches me I don't know everything.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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] OverlayItem Drawable Any way to get current drawable?

2009-06-09 Thread Wayne Wenthin
I am looking at changing the drawable on an OverlayItem when it is tapped
and then restoring that to its previous state later.   I can't seem to find
a way to extract the current drawable out of the OI.   I have multiple
drawables in the same overlay and would prefer not to split them up.   Is
there something I'm missing here?

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Clicks and Gestures on MapView...

2009-06-08 Thread Wayne Wenthin
If you find a better approach please let me know.   I feel so old school
using flags and such.

On Mon, Jun 8, 2009 at 12:19 PM, ian.fawcett.hun...@googlemail.com <
ian.fawcett.hun...@googlemail.com> wrote:

>
> Thanks for this Wayne,
>
> I have considered this approach - I was hoping for a neater (built in)
> mechanism.
>
> Might have to do this anyway - ho-hum.
>
> Ian
>
> On Jun 5, 10:55 pm, Wayne Wenthin  wrote:
> > My low tech solution was to set a flag with onTap that was readable by
> the
> > other detectors.  This let the know that I had picked the overlay item
> and
> > to ignore the rest of the processing and cleared the flag on the way out.
> > Actually it was a little more complicated than that but it was low tech
> and
> > works for me.
> >
> > On Fri, Jun 5, 2009 at 3:21 AM, ian.fawcett.hun...@googlemail.com <
> >
> > ian.fawcett.hun...@googlemail.com> wrote:
> >
> > > Hi Folks,
> >
> > > I have a need to effect the following:-
> >
> > > 1) Single tap on overlay item centres the item on the MapView at
> > > current zoom.
> > > 2) Double tap on item centres the item on the MapView at high
> > > resolution zoom.
> > > 3) Double tap, anywhere on the map, other than an item, centres home
> > > location on map at a reasonable zoom.
> > > 4) Double tap on home item centres home item on the MapView at high
> > > resolution zoom. (as per 2).
> >
> > > [In addition, I set a 'keep me in the centre mode' for GPS updates for
> > > (3) and (4), and turn it off for (1) and (2)]
> >
> > > My problem is that detecting a double tap on the overlay item
> > > (currently using onTap(int) with inter-click time measurement), also
> > > triggers a double tap on the MapView (via the OnGestureDetector).
> >
> > > Does anybody know how I can resolve the high level guesture (double
> > > tap) between items and maps, and prevent the event getting to both?
> >
> > > Many Thanks for any help.
> >
> > > Ian
> >
> >
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Where do I start

2009-06-08 Thread Wayne Wenthin
Depending on your development language of choice you will either need to
start with a book on Java Programming or pick up one of the numerous books
on Android Programming.
http://pragprog.com/  has the Hello Android book and
http://commonsware.com/has The Busy Coders series.   Mark Murphy wrote
the later and is all over
these message boards.  I have both and would recommend the same for anyone
looking to get into this.   The price is negligible when you realize what
you get.



On Sun, Jun 7, 2009 at 7:35 AM, wrkuout2  wrote:

>
> Hi,
>
> Looking to develop a calendar program for co-workers to use.  I have
> some basic programming knowledge and am willing to research and learn
> anything.  Where is a good place to start?
>
> Thanks
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Opening an old project in Eclipse

2009-06-08 Thread Wayne Wenthin
Check to see that you don't have an R.java in your src directory.   You
probably need to remove that one if you do.

On Sat, Jun 6, 2009 at 3:06 PM, Mauricio  wrote:

>
> On Jun 5, 10:51 am, "Balwinder Kaur (T-Mobile)"  mobile.com> wrote:
> > You need a project created (or imported) in your Eclipse IDE and you
> > need to select that project to use the "Open Project" menu. If not, it
> > will be grayed out.
> >
> > I'm assuming you mean to ask how to import your existing android
> > project into Eclipse.
> > If that is your question then there are two ways to do it.
> >
> > (1) File->Import->General->Existing Project into Workspace
> > (2) File->New->Android Project->Create Project From Existing Source.
> >
> > In either case, you need to point to the folder when your existing
> > android project lives.
> >
> > Hope this helps,
>
> Thanks. That helps. Now all I need to find out is why It is marking
> R.java with a red X but does not give any error message. Out of the
> blue, I deleted the R file as suggested by
> http://developer.android.com/sdk/1.5_r2/upgrading.html#UpdateYourProjects.
> Immediately after it came back still being marked as before. Anything
> I could be missing here?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Clicks and Gestures on MapView...

2009-06-08 Thread Wayne Wenthin
My low tech solution was to set a flag with onTap that was readable by the
other detectors.  This let the know that I had picked the overlay item and
to ignore the rest of the processing and cleared the flag on the way out.
Actually it was a little more complicated than that but it was low tech and
works for me.

On Fri, Jun 5, 2009 at 3:21 AM, ian.fawcett.hun...@googlemail.com <
ian.fawcett.hun...@googlemail.com> wrote:

>
> Hi Folks,
>
> I have a need to effect the following:-
>
> 1) Single tap on overlay item centres the item on the MapView at
> current zoom.
> 2) Double tap on item centres the item on the MapView at high
> resolution zoom.
> 3) Double tap, anywhere on the map, other than an item, centres home
> location on map at a reasonable zoom.
> 4) Double tap on home item centres home item on the MapView at high
> resolution zoom. (as per 2).
>
> [In addition, I set a 'keep me in the centre mode' for GPS updates for
> (3) and (4), and turn it off for (1) and (2)]
>
> My problem is that detecting a double tap on the overlay item
> (currently using onTap(int) with inter-click time measurement), also
> triggers a double tap on the MapView (via the OnGestureDetector).
>
> Does anybody know how I can resolve the high level guesture (double
> tap) between items and maps, and prevent the event getting to both?
>
> Many Thanks for any help.
>
> Ian
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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: Hello, Android the book

2009-06-08 Thread Wayne Wenthin
I'll second on both of these choices.   Plus Mark is pretty on the ball when
someone snafu's their password.

On Fri, Jun 5, 2009 at 10:32 AM, Mark Murphy wrote:

>
> Musashi Baka wrote:
> > Hello Android is indeed excellent. My personal favorite is "The busy
> > coders guide to Android development".
> > I purchased the e-book (pdf) which came with two other books (The
> > advanced guide, and the tutorial) for free.
> >
> > I primarily purchased it because of the 1 year update guarantee, and
> > with the sdk constantly evolving I would hate to
> > buy a book that didn't update its examples.
>
> Thanks for the vote of confidence!
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://twitter.com/commonsguy
>
> Android Development Wiki: http://wiki.andmob.org
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---