[android-beginners] Reg: Mobile Applications For Your Organization

2010-02-04 Thread Jonathan
Dear Partner,

Greetings, hope this mail finds you well. This is Jonathan
representing WINIT. We propose to give you a great solution that would
enable you to save 60% of your development costs.

We at WINIT are a strategy firm providing clients with a complete
package of solutions to identify and meet all their IT requirements.
Our 13 yrs of expertise in Web development and almost 4 years on
mobile application development for IPhone, Blackberry, Android,
Windows Mobile, Symbian, J2ME, BREW and close to 42 applications on
iPhone, Android and Blackberry have enabled us to create strategies
for startups and existing companies. Here’s how we can help you.

TECHNOLOGIES:

Mobile:

IPhone, Blackberry, Android, Windows Mobile, Symbian, J2ME, BREW  etc

WORKFLOW:

1)We will allocate a team of dedicated mobile developers for your
project. This team would work for the price of just one developer
onsite.
2)We can create mockups or prototypes that you could use a proof of
concept to attract investors to your business.
3)Once you like the prototype we will build the entire application.
The reason behind this is to save time on app developmentand you
would save costs to a great extent by avoiding constant changes.
4)We can port your iPhone app into Android or Blackberry.
5)We are available 24/7 as we work for clients throughout the globe.
6)Our strategists can add ideas to your application and bring out the
best functionalities
7)We offer you a lifetime free support for fixing any bugs or issues
that may arise after production.

Please feel free to visit our website with our mobile portfolio at
www.winitsoftware.com and www.winitsoftware.com/mobile

We look forward to work with you and have a lasting business
relationship. Kindly give us a time to give you a call and discuss the
potential opportunities we could explore and how you could save costs
and make profits.

Have a great day ahead.

Thanks and Regards,
Jonathan Rees,
Business Development,
WINIT Software
Ph: 646-202-1011
jonathanr...@winitsoftware.com
www.winitsoftware.com


Note:
The contents of this message are confidential and proprietary to WINIT
Software Inc. and unauthorized possession or use may have legal
consequences. If you are not the intended recipient of this message,
please a reply with “REMOVE” in the subject line , and notify the
sender.
Thank You
*conditions apply


-- 
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] Hello World / Emulator Problem

2010-01-13 Thread Jonathan
Hey all, so I just completed the hello world tutorial but it won't
seem to run. I waited for a long time at the Android screen with the
blinking underscore, then finally I moved onto a screen with a fancy
font Android and its kinda flashing silver. The console in eclipse
still says waiting for Home anroid.process.acore... How long does it
usually take to load?? Am I doing something wrong?? 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] OpenGL and transparent PNG's

2009-10-08 Thread Jonathan

I'm having a problem with transparent 32-bit PNG's on both the
emulator and the G1. They load fine, but I can't change their alpha
value unless the texture is fully opaque to begin with. For a simple
example:

glEnable (GL_BLEND);
glBlendFunc (GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);

glBindTexture(GL_TEXTURE_2D, fully_opaque_texture); // all pixels are
opaque

glColor4f(1, 1, 1, 0.5);
glDrawArrays( ... ) // displays half transparency (correct)

...

glBindTexture(GL_TEXTURE_2D, transparent_texture); // some pixels are
transparent

glColor4f(1, 1, 1, 0.5);
glDrawArrays( ... ) // displays as fully opaque (wrong)

I've also tried the following (as suggested on another thread) with no
luck:

setEGLConfigChooser(8, 8, 8, 8, 0, 0);
getHolder().setFormat(android.graphics.PixelFormat.RGBA_);
--~--~-~--~~~---~--~~
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] Obvious color banding

2009-10-07 Thread Jonathan

I'm using Paint.NET to create textures for my game (all 32-bit png's),
and noticed that some textures appear to get extreme color banding on
the G1.

What really confused me in the beginning was that the color banding
wasn't consistent - in fact most of the textures looked fine - so at
first I thought it was something I was doing wrong with OpenGL.
Eventually I realized that the image I was using was the problem.
After doing some tests with Paint.NET, I've discovered the following
behavior:

1) Generating any image with the gradient tool using two different RGB
colors (except for black  white) had serious color banding when
rendering on the G1.

2) Saving the images at 8-bit or 24-bit had no noticeable effect.

3) Adjusting the gradient image slightly (for example, a small
Gaussian blur applied to the image) completely fixed the color
banding.

4) The color banding never showed up on the emulator.

Can anyone explain this unusual behavior?





--~--~-~--~~~---~--~~
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] glSurfaceView and the game thread vs render thread

2009-10-06 Thread Jonathan

First of all, my framework is set up exactly like example code shown
here, right under How about User Input?

http://android-developers.blogspot.com/2009/04/introducing-glsurfaceview.html

I think that the author forgot to mention one more thing, which is
How about Game Logic?. So in a nutshell, this is what I have so far:

ClearActivity extends Activity,
ClearGLSurfaceView extends GLSurfaceView,
ClearRenderer implements GLSurfaceView.Renderer

Ok, so we have three classes - ClearActivity, which just sits there
like a bump and a log and pretends to look important while really
doing nothing, ClearGLSurfaceView, which handles input, and
ClearRenderer, which updates the screen. So far so good (I guess?),
but where does the game logic go?

How about onDrawFrame()? Right now it's the only thing that's getting
called every frame. But wait a minute - isn't ClearRenderer supposed
to be running it's own thread so that the rendering code is decoupled
from everything else? For example, say I wanted my game to run at 60hz
while keeping my render update near 30hz. If that were the case, then
I'd need to enable RENDERMODE_WHEN_DIRTY, which means onDrawFrame()
will only get triggered when I call requestRender().

So I'm back to my original question - where should I put game logic?
I've looked over the OpenGL API samples and they all simply use
onDrawFrame() exclusively, conveniently avoiding the whole thing
entirely. How nice... let's take a quick peek at the LunarLander
sample, which unfortunately neither uses OpenGL nor GLSurfaceView, but
it's better than nothing:

class LunarView extends SurfaceView implements SurfaceHolder.Callback
{
class LunarThread extends Thread {
   
public void run() {
 updatePhysics();
 doDraw();
}
 }
}

It looks like they create a threaded class under the SurfaceView-
derived class which updates the game and then renders it immediately
afterward. So should I be creating a thread under ClearGLSurfaceView
(replacing doDraw() with requestRender() every 30ms), or do I need to
use a different approach? Am I at least going in the right direction?





--~--~-~--~~~---~--~~
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] bring up display setting in my activity

2009-09-24 Thread jonathan

I want to adjust display settings in my activity.

Intent intent=new Intent(Settings.ACTION_DISPLAY_SETTINGS);
startActivity(intent);

got exception:

09-24 21:24:35.901: ERROR/AndroidRuntime(5892):
android.content.ActivityNotFoundException:
No Activity found to handle Intent
{ action=android.settings.DISPLAY_SETTINGS }


--~--~-~--~~~---~--~~
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] Accelerometer on different devices

2009-09-14 Thread Jonathan

I'm currently developing an iPhone game and would like to port it to
Android. The game relies heavily on the accelerometer.

My question is - with all of the of the new Android phones entering
the market next year - will the current dev phone 1 be sufficient for
testing the game? In other words, will the accelerometer data be
consistent across all devices? I understand that the hardware will be
different for each, but is the API smart enough to recognize this and
spit out the same data regardless of which type of hardware you're
running?

--~--~-~--~~~---~--~~
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] Getting images to appear in the Gallery

2009-07-02 Thread Jonathan Daugherty

Hi all,

I'm working on a program that acquires camera captures and I'd like
them to appear in the Gallery.  I'm storing them on the SD card
alongside pictures stored by the native camera application and I've
verified with adb shell that the images are physically present, but
when I open the Gallery I don't see the ones I've captured with my own
application.  Any thoughts?  The storage URI I'm using to store the
images is:

  android.provider.MediaStore.Images.Media.EXTERNAL_CONTENT_URI

I use this code to insert into the ContentProvider:

  ContentValues values = new ContentValues();
  values.put(Media.TITLE, filename);
  values.put(Media.DESCRIPTION, Image capture by camera);
  Uri uri = getContentResolver().insert(EXTERNAL_CONTENT_URI, values);

And later I open an OutputStream to that URI and save the photo data.

Thanks!

-- 
  Jonathan Daugherty

--~--~-~--~~~---~--~~
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] Intent filters: how do I know which action to use?

2009-06-26 Thread Jonathan Daugherty

Hi all,

Here's my situation: I'd like to implement support for an alternative
share feature for images taken with the camera.  When I take a
picture on my device and then pull up the menu for that picture, I get
a Share option; then, I get a list of options (Picasa, Gmail, etc).
I'd like to add my own sharing service to that list. My understanding
of the framework thus far indicates I should probably create an
activity with an intent filter saying I'm an alternative for the user-
shares-an-image action.

Now, I don't know if it's even possible to do that; but what I've
found puzzling is that there doesn't seem to be a way to figure out,
given some behavior in some application, how to find out which action
is constituted by the behavior I want to augment.  In this case, I
think I want to provide an alternative sharing activity, but I haven't
been able to find any documentation on what such an activity's intent
filter should look like.

If anyone has pointers for my specific situation, that would be great,
but my bigger concern is how to solve this problem next time I see a
behavior I want to modify/replace/etc.

Thank you!

--~--~-~--~~~---~--~~
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: Intent filters: how do I know which action to use?

2009-06-26 Thread Jonathan Daugherty

 You can find more about Intents and how to use them at
 http://developer.android.com/reference/android/content/Intent.html
 It also has a list of standard android Intent Actions.

 The list of Intents used by Google Apps can be found at
 http://developer.android.com/guide/appendix/g-app-intents.html

Thanks for the resources!

Since my original post I did figure out how to do what I want. On my
intent-filter element in AndroidManifest.xml, I needed these elements:

  action name=android.intent.action.CHOOSER
  action name=android.intent.action.SEND
  category name=android.intent.category.ALTERNATIVE
  category name=android.intent.category.SELECTED_ALTERNATIVE
  category name=android.intent.category.DEFAULT
  data mimeType=image/*

While it's useful to know about the individual action and category
types, it took what I think was far too much googling and trial and
error to figure out that the above was necessary to do what I needed.
Which is to say, I nearly had to hunt down the Gallery source code and
look at the Intent object it was creating.  Is this just the accepted
procedure in this case?  Or is there a better way to discern exactly
what it's going to take to match something Android is doing to the
intent-filter on my activity?

Thanks,

-- 
  Jonathan Daugherty

--~--~-~--~~~---~--~~
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] data transfer between android device and pc

2009-04-20 Thread jonathan

I have been looking for a way to transfer data from android device to
pc via usb.  The only thing I found that's slightly useful is adb,
however that's a dev tool..  does the android sdk provide any means to
transfer data via usb?
--~--~-~--~~~---~--~~
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: Playing Sound

2009-01-06 Thread Jonathan Parker
This is showing a dialog to the user to tell them to enter a path. You
should handle if path =  after they close the dialog as well.

On Tue, Jan 6, 2009 at 7:54 PM, Honest honestsucc...@gmail.com wrote:


 I am learning API related to sound playing.  I was understanding code
 for it. The code is as below.

 private void playAudio(Integer media) {
try {
switch (media) {
case LOCAL_AUDIO:
/**
 * TODO: Set the path variable to a local audio
 file path.
 */
path = ;
if (path == ) {
// Tell the user to provide an audio file URL.
Toast.makeText(
MediaPlayerDemo_Audio.this,
Please edit MediaPlayer_Audio
 Activity, 
+ and set the path
 variable to your audio file path.
+  Your audio file
 must be stored on sdcard.,
Toast.LENGTH_LONG).show();

}
mMediaPlayer = new MediaPlayer();
mMediaPlayer.setDataSource(path);
mMediaPlayer.prepare();
mMediaPlayer.start();
break;


 I could not understand the block of code after the condition if
 (path==).

 What Toast.makeText() will do ? FRom my understanding it is not
 intializing any value to path variable so at the end of that code
 block the value of path will be (blank) after that there is a code
 to play file by giving path but the value of path is blank so will
 there be any exception ?


 I hope some one will give reply.





 


--~--~-~--~~~---~--~~
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: making connections online

2009-01-05 Thread Jonathan Parker
Web services would be your best choice. Or maybe REST.

On Tue, Jan 6, 2009 at 3:57 PM, Fender cmglassm...@gmail.com wrote:


 I want to try and figure out to connect to the internet and grab
 information, without using the androids browser.

 im probably being too vauge, so let me give an example.

 Say i have a MySQL database online. or a file. or anything. Say in
 that whatever, in this case maybe a table or some code, that has
 something along the lines of value1 = 1. Basically assigning a
 variable of value1 to equal 1. How do i grab that information from my
 site and give it to my app? How do i send it?

 For instance, a review. Say someone rates a particular item 5 stars in
 my app. How do i send that information to be stored online so whenever
 ANY user views it, it grabs that information and displays it?

 It could also be explained in terms of a highscore. Say someone gets a
 high score of 1000 on my app. How can i send that to a site/database
 and then retrieve it?

 Thank you!
 


--~--~-~--~~~---~--~~
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: Managing the activity history stack

2009-01-04 Thread Jonathan Parker
If D needs information from A,B or C then it should retrieve it by running
those activities.The fact that D is run first doesn't mean the user will see
D first because you will be calling A,B or C in the onCreate of D.

On Sun, Jan 4, 2009 at 3:20 PM, Adam Vartanian flo...@gmail.com wrote:


 I have an application that I'm writing that requires a complicated
 login screen to set up the application, but after login the middle
 screens are no longer valid, and I don't know how to remove those
 activities from the stack after they're no longer needed.

 In other words, given that I have activities A, B, C on the history
 stack, how can I launch activity D such that after launching the stack
 looks like either A, D or just D.  It seems like I could launch A
 using FLAG_ACTIVITY_CLEAR_TOP with information in the Intent that it
 should immediately launch D, but that doesn't seem like a clean
 solution.  Basically, I'm looking for a flag that just launches D and
 clears the rest of the stack, but it seems like the only options close
 to that are FLAG_ACTIVITY_CLEAR_TOP (which doesn't say what it does if
 the launched activity isn't currently running, but presumably does
 nothing) and FLAG_ACTIVITY_NEW_TASK (which will cause problems if the
 user goes home).  Am I missing something?

 


--~--~-~--~~~---~--~~
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 code not compiling

2009-01-01 Thread Jonathan Parker
You need to install the eclipse plugin if you are using eclipse, otherwise
you need to reference the android jar file.

On Thu, Jan 1, 2009 at 5:29 AM, Eddie O'Hagan eddieoha...@optonline.netwrote:


 I cant figure out why my code isn't running. Its giving me errors even
 with the import statements

 package com.android.hello;

 import android.app.Activity;
 import android.os.Bundle;
 import android.widget.TextView;

 public class HelloAndroid extends Activity
 {

public void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
}
 }

 I know its not the full code but even this will not compile. For the
 import statments its saying that android cannot be resolved. Any
 ideas?


 


--~--~-~--~~~---~--~~
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: Launching other applications

2008-12-30 Thread Jonathan Parker
This is just a wild guess but maybe you need to use two intents (first a
contacts intent and then a phone intent passing in the contact id).
http://code.google.com/android/reference/android/provider/Contacts.Phones.html

On Tue, Dec 30, 2008 at 5:54 PM, Sarath Kamisetty 
sarath.kamise...@gmail.com wrote:


 Hi,

 The following worked for me

Intent i = new Intent(Intent.ACTION_PICK,
 Uri.parse(content://contacts/people));
startActivityForResult(i, CONTACTS_PICK_REQ);

 in my onActivityResult, I extract the picked URI like below:

protected void onActivityResult(int requestCode, int resultCode,
Intent intent) {
Uri pickedContact;

super.onActivityResult(requestCode, resultCode, intent);
if ((requestCode == CONTACTS_PICK_REQ)  (resultCode == RESULT_OK))
 {
pickedContact = intent.getData();
}
}

 However this didn't quite solve the problem for me. What I want is to
 let user pick a contact *and* then select one of the home/mobile/work
 numbers. I am not sure how to proceed from this point onwards where I
 have URI for contact. Is there a way to let user first pick a contact
 in one screen and then display all his numbers in another screen and
 let user pick one of those numbers ?

 Thanks,
 Sarath

 On Mon, Dec 29, 2008 at 11:38 AM, Mark Murphy mmur...@commonsware.com
 wrote:
 
  Binesy wrote:
  Hi
 
  I was wondering is it posible to launch other applications within an
  activity, such as the native contacts application?  If so how do you
  do this?
 
  startActivity(), with an Intent that will launch whatever it is you
  want. For example, if you want the user to choose a contact, you would
  use an ACTION_PICK Intent with the contacts Uri.
 
  --
  Mark Murphy (a Commons Guy)
  http://commonsware.com
 
  Android Training on the Ranch! -- Mar 16-20, 2009
  http://www.bignerdranch.com/schedule.shtml
 
  
 

 


--~--~-~--~~~---~--~~
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: Can Java dynamically reference an object?

2008-12-30 Thread Jonathan Parker
It can but in this case (R) it is not supported.

On Wed, Dec 31, 2008 at 3:17 AM, myIP marckas...@gmail.com wrote:


 As being a programmer from ActionScript, I am trying to use brackets
 ( [  ] ) to reference an Object.  In ActionScript the following is
 syntactically correct:


 //ActionScript
 var currentIcon:Drawable = getResources().getDrawable(  R
 [drawable].icon  );

 //attempt in Java
 Drawable currentIcon   = getResources().getDrawable(  R
 [drawable].icon  );
 


--~--~-~--~~~---~--~~
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: Starting to get my grips with Java....question

2008-12-30 Thread Jonathan Parker
When using android:id in the xml this will be compiled into the R class and
you will have access to it via R.id.name
So:

ListView android:id=@android:id/list
android:layout_width=wrap_content
android:layout_height=wrap_content/


When compiled will give:

R.id.list

in java.

From ( http://code.google.com/android/intro/tutorial-ex1.html ):
Resources and the R class

The folders under res/ in the Eclipse project are for resources. There
is aspecific
structure http://code.google.com/android/kb/commontasks.html#filelist to
the folders and files under res/.

Resources defined in these folders and files will have corresponding entries
in the R class allowing them to be easily accessed and used from your
application. The R class is automatically generated using the contents of
the res/ folder by the eclipse plugin (or by aapt if you use the command
line tools). Furthermore, they will be bundled and deployed for you as part
of the application.




On Wed, Dec 31, 2008 at 4:28 AM, Fender cmglassm...@gmail.com wrote:


 OK, so im starting to get the hang of things with android. XML wise, i
 get it. Its the java side that im currently struggling with. For a
 test app, im trying to do something very simple.

 Create a field and a radio box with a value (an empty field, then a
 radio group with like 1, 2, 3, 4, etc.). That i can do.

 Now, i want my app to be able to define the inputs as variables. AKA
 Whatever is put into the field is stored as fieldvariable, then
 whatever number is selected is stored as selectednumber or something,
 then i want to be able to do some basic math with it, and display the
 answer. For example, i type 4 in the field, i select 1 from the radio
 group, then hit a button that says calculate, and the answer is
 displayed.

 XML wise, i get it. I can create a field for numbers only, i can
 create the radiobox no problem, its the java side i dont get. Would
 someone be kind enough to show me what java id have to use, and break
 down the different parts for me? Id GREATLY appreciate it.
 


--~--~-~--~~~---~--~~
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: TextView Widget - OnResume

2008-12-30 Thread Jonathan Parker
I think the problem is that you should be using a service instead of a
background thread as you will be able to control it better.The thread will
probably become disconnected from the UI when you resume the activity.

With a service you should be able to pause/stop it when the user clicks back
and then resume it when they reenter the UI.

http://code.google.com/android/intro/lifecycle.html

On Tue, Dec 30, 2008 at 8:54 AM, Dan danscott0...@gmail.com wrote:


 Hi All,

 I have a basic application running under the 1.0 SDK of Android. My
 application just opens an activity that has a textview onscreen and
 then has a background thread listening for any incoming messages on a
 specific IP address and port. The app works great the first time into
 the activity. The messages are received on the background thread and
 posted to the UI thread and from there it is written to the textview
 via an append() call.

 The issue I'm having is when I exit the activity - via the back button
 on the G1 and then reenter the activity. When running under the
 debugger, I can still see the messages being received but when I try
 to write the message to the textview nothing happens. No text is
 written out to the control. Has anyone seen this behavior?

 I make sure to get a valid instance to the textview in the onCreate()
 method and I can see the code getting executed on the first entry as
 well as all subsequent entries to the activity. I have even tried
 moving my code to get the instance of the control within my message
 handler method and still nothing.

 I'm just wondering if there is anything that I am missing (like
 resetting the textview somehow) when I resume execution of the
 activity?

 Any help is greatly appreciated,
 Dan

 


--~--~-~--~~~---~--~~
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: Shipping price to Singapore

2008-12-29 Thread Jonathan Parker
Kogan.com.au ( http://www.kogan.com.au/shop/category/mobile-phones/ ) has an
android phone for $399 AUD.International delivery is $60 AUD.

On Sun, Dec 28, 2008 at 9:28 AM, InterestedDev dota...@hotmail.com wrote:


 That would be in USD am i right? thx

 On Dec 27, 11:14 am, Zi Yong Chua chu...@gmail.com wrote:
  $120.
 
  On Dec 26, 2:04 am, InterestedDev dota...@hotmail.com wrote:
 
 
 
   Hi all.
 
   I was looking around everywhere on theshippingprice of the Android
   Dev Phone 1 to Singapore. I know that the device cost $399 USD but
   thats excluding theshippingcost andshippingcost differ from
   country to country.
 
   Would any one happen to be able to check for theshippingprice of the
   phone to Singapore since I do not want to waste the dev fee of $25
   just to move on to find thatshippingprice would be too expensive and
   I change my mind.
 
   Help on the price would be greatly appreciated.
 
   Thanks
 
   InterestedDev- Hide quoted text -
 
  - Show quoted text -
 


--~--~-~--~~~---~--~~
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: Developing an IMS client on Android : Request for Comments.

2008-12-29 Thread Jonathan Parker
Sounds interesting to me but I have no knowledge of IMS. Feel free to let me
know of line if you need any help or if the project goes ahead.

On Tue, Dec 30, 2008 at 1:20 AM, aayush bhatnagar 
abhatnagar192...@gmail.com wrote:


 Thanks Faber,Mark for the replies.
 I will explore those mailing lists.

 But, just for the record, there are no changes required to the Android
 SDK as such to support IMS. As a matter of fact, one popular sip stack
 works perfectly on Android, with zero porting effort. The IMS client
 will be like any other android application that builds upon the stack.

 Warm Regards
 Aayush


 On 12/29/08, Mark Murphy mmur...@commonsware.com wrote:
 
  aayush bhatnagar wrote:
  Hmm...any opinions ?
  Or have i said something out of the group's context?
 
  This group is for questions-and-answers for new developers of
  applications on the Android platform, using the Java-based SDK.
 
  General discussion should be posted on [android-discuss].
 
  Questions regarding modifying the Android platform -- and, from what I
  can see, a 4G IMS client might be a firmware project -- should go to
  one of the mailing lists related to the Android platform:
 
  http://source.android.com/discuss
 
  --
  Mark Murphy (a Commons Guy)
  http://commonsware.com
  _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
 
  
 

 


--~--~-~--~~~---~--~~
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: my application wont even appear in the emulator

2008-12-29 Thread Jonathan Parker
Probably something in the manifest file that is out of date.

On Tue, Dec 30, 2008 at 4:06 AM, Fender cmglassm...@gmail.com wrote:


 i think i found the problem.

 when i boot up a hello android program, i get this:


 [2008-12-29 09:02:21 - Copy of HelloAndroid] Installing Copy of
 HelloAndroid.apk...
 [2008-12-29 09:02:23 - Copy of HelloAndroid] Success!
 [2008-12-29 09:02:23 - Copy of HelloAndroid] Starting activity
 com.android.hello.HelloAndroid on device
 [2008-12-29 09:02:25 - Copy of HelloAndroid] ActivityManager:
 Starting: Intent { comp={com.android.hello/
 com.android.hello.HelloAndroid} }

 when i boot up the app im writing, i get this:

 [2008-12-29 09:02:30 - Copy of Sudoku] Uploading Copy of Sudoku.apk
 onto device 'emulator-5554'
 [2008-12-29 09:02:30 - Copy of Sudoku] Installing Copy of
 Sudoku.apk...
 [2008-12-29 09:02:32 - Copy of Sudoku] Application already exists.
 Attempting to re-install instead...
 [2008-12-29 09:02:33 - Copy of Sudoku] Success!
 [2008-12-29 09:02:33 - Copy of Sudoku] \Copy of Sudoku\bin\Copy of
 Sudoku.apk installed on device
 [2008-12-29 09:02:33 - Copy of Sudoku] Done!


 its not starting the activity. any idea why???

 


--~--~-~--~~~---~--~~
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: Web App

2008-12-29 Thread Jonathan Parker
Maybe just call the browser with the URL of the site. Have a look at
http://code.google.com/android/reference/available-intents.html

On Tue, Dec 30, 2008 at 12:41 PM, Bear34238 bear123434...@comcast.netwrote:


 I have project where the end user has a web application.  He wants the
 server to do most of the work, and just wants an android app to
 connect.  Can any give some sample code to point me in the right
 direction?
 


--~--~-~--~~~---~--~~
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: syncing with pc

2008-12-08 Thread jonathan

I need to sync some proprietary data between my applications on gphone
and on desktop pc.
Basically the app on gphone allows data entry.  Then the user plugs
the phone into desktop pc to open an app to view these data.
Is Gphone/Android a suitable platform?
thanks


On Dec 3, 8:24 am, Fugita [EMAIL PROTECTED] wrote:
 No there is no data sync application for Android.  But you can mount
 the SD card as an external drive and drag and drop any data to your
 PC.  The real question is what do you want to transfer? Contacts and
 Calendar?  Cause if that is all you want to copy, that is stored via
 Google e-mail and calendar.  So, there is no need to sync that data.
 What else would you want to sync?

 On Dec 2, 4:17 pm, jon [EMAIL PROTECTED] wrote:

  I need to write an offline application that will be able to sync with
  the pc to transfer its data.  The app provides some data entry
  capability, then the user connects it to the pc and view these data in
  a desktop version of the app.
  Will android be a good platform for what I described?  Does it provide
  interface for syncing with pc and proprietory data transfer?

  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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Is the valid cert store available (or viewable)?

2008-10-22 Thread Jonathan Shapiro

Me too, please!

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Emulator problems :(

2008-09-30 Thread Jonathan

Hey im thinking of doing something with android for my final year
project in college, ive downloaded the sdk and installed the plugin in
eclipse but then when i run a program (like the simple hello world
one) the emulator will appear but wont display hello world or do
anything else. Can someone please help me? :( do i need to do some
other configurations or something like that.

Thanks in advance

J :D

--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---