[android-developers] Re: How to set up as a straight vertical display

2008-11-06 Thread Kipling Inscore
It can also be done in AndroidManifest.xml
there are a lot of existing discussions on this list answering this question.

On Thu, Nov 6, 2008 at 5:15 AM, dailyLife <[EMAIL PROTECTED]> wrote:
> Thanks a lot.
>
>
> [EMAIL PROTECTED]
> 2008年11月6日
>
> - Original Message -
> From: songs
> To: Android Developers
> Sent: 2008-11-06, 16:20:45
> Subject: [android-developers] Re: How to set up as a straight vertical
> display
> You probably want to put the following in your activity's onCreate:
>
>setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
>
> Cheers,
> Steve
>
> On Nov 5, 11:28爌m, "dailyLife"<[EMAIL PROTECTED]> wrote:
>> Hi,EveryOne.
>> ?Today, I finally had to buy the G1, I have to write the software
>> installed on the G1 above to see results, every time I open the keyboard,
>> software, images are also displayed along with change.
>>
>> Who can tell me how to set up as a straight vertical display shows that
>> even open the keyboard show the same way.
>> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Camera preview on G1 only works in landscape ?

2008-11-05 Thread Kipling Inscore

As can be discovered by using the built in camera (no need to look at
the source code), it always uses landscape mode, even when the
keyboard is closed and the home screen and most other apps are in
portrait mode.
I've tried using CameraPreview in portrait, found the same issue as
jarkman and apkdev, and decided to see what the built-in camera did,
which is to simply force landscape mode. So I decided to do the same.
I would guess that it's possible to somewhat manually rotate the
image, using a view- or image-related class, but I don't think there's
anything like that in the camera-related classes.

On Wed, Nov 5, 2008 at 2:30 PM, apkdev <[EMAIL PROTECTED]> wrote:
>
> Same problem here.
>
> I've had NO luck getting the Camera to work in Portrait mode.  As a
> last resort, I'm going to download the android source and peek in to
> the built-in Camera app's source (assuming it's in there).
>
> Cheers
>
> On Nov 4, 2:29 am, jarkman <[EMAIL PROTECTED]> wrote:
>> I'm using camera preview on the G1, using code from CameraPreview in
>> ApiDemos.
>>
>> I'm seeing the preview image appear stretched & rotated unless my
>> screen orientation is set to 'landscape' in the manifest.
>>
>> I can reproduce the same effect by changing the manifest for ApiDemos,
>> setting the screen orientation for .graphics.CameraPreview to
>> portrait.
>>
>> I'd love to know if this is a bug in the Camera class, or if there is
>> some way I can work around this behaviour in my code, perhaps by
>> telling the Camera or SurfaceHolder something about orientation.
>>
>> Thanks!
>>
>> Richard
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Folders in main "Start" menu/tab?

2008-11-04 Thread Kipling Inscore

On Tue, Nov 4, 2008 at 3:49 PM, Romain Guy <[EMAIL PROTECTED]> wrote:
>
> When the list of all apps is opened, you can use the keyboard to
> filter apps by name.

I had no idea. That's useful. That may be enough for me, actually, but
I still think there's room for improvement for some users, like
organization on the author's end rather than the user's end (like in
the Android Market and most third party download sites), folder icons,
ordering by criteria other than name (install date, last use date,
size with or without data...), application launching and management in
the same interface?

>
> On Tue, Nov 4, 2008 at 3:46 PM, hackbod <[EMAIL PROTECTED]> wrote:
>>
>> My point is...  yes, the drawer is a list of all the available
>> applications.  That is its purpose.  If you want to organize them, you
>> can drag them on to the home screen in the various panels, and make
>> folders and put them in folder there.
>>
>> On Nov 4, 1:50 pm, "Dan B." <[EMAIL PROTECTED]> wrote:
>>> that's exactly the problem with the drawer, you have to dig... the
>>> market is just as huge a mess... it needs organization
>>>
>>> On Nov 4, 2:21 pm, hackbod <[EMAIL PROTECTED]> wrote:
>>>
>>> > Put your apps on the home screen, in their own folders if you want.
>>> > Is there any particular reason you want to have a whole other facility
>>> > to organize things in the set of all apps?  To me it just makes them
>>> > harder to get to -- if you put them in a folder on the home screen,
>>> > you can launch with two clicks, but in the drawer you'd have to first
>>> > bring up the drawer, then dig down to the app, then launch it.
>>>
>>> > On Nov 4, 11:28 am, "Dan B." <[EMAIL PROTECTED]> wrote:
>>>
>>> > > the default drawer is definitely a disaster once you start installing
>>> > > more than 2-3 apps. I hope you can successfully replace it, and I'd be
>>> > > willing to assist with any testing.
>>>
>>> > > On Nov 4, 4:23 am, Ian <[EMAIL PROTECTED]> wrote:
>>>
>>> > > > I now have a lot of installed apps, and I want to organise them in the
>>> > > > pull-up-menu/tab.
>>> > > > But it is not possible to create folders?
>>> > > > I know I could copy all icons to the desktop with my folders there,
>>> > > > but that is something else.- Hide quoted text -
>>>
>>> > - Show quoted text -
>> >
>>
>
>
>
> --
> Romain Guy
> www.curious-creature.org
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Android for flip phones and smaller devices

2008-11-04 Thread Kipling Inscore

I think four directions, click and menu are the minimum. Of course
software modifications will have to be done to make this work. An
on-screen keyboard using direction and click would be needed for many
(but not all) applications. The four buttons on the G1 are also
important but the core software can be modified to add these functions
to all menus (or have a long-press menu that provides only these).

On Sun, Nov 2, 2008 at 12:08 PM, marc0047 <[EMAIL PROTECTED]> wrote:
>
> I'm having little luck finding discussions for Android on smaller
> devices: for now I'm specifically curious about what kind of UI
> Android supports if non-touch is not capable on a phone?
>
> Basically, what are the minimum *hardware* requirements of a device
> that will make Android usable?
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: delete my app on G1

2008-11-04 Thread Kipling Inscore

I forget how I learned about this feature. I think it might have been
from one of the pre-release videos. I would have expected it to also
be in the manual that comes in the box but I didn't see it there.

On Tue, Nov 4, 2008 at 1:41 AM, Ian <[EMAIL PROTECTED]> wrote:
>
> Without causing offence, its actually a very cool feature that most
> people either have found out for them selfs, or read about.
> (The ability to "pick-up" and move/drag/drop desktop icons)
>
> IV
>
> 2008/11/3 Ric Higgins <[EMAIL PROTECTED]>:
>> Thank you for that! How would I have learned that unless u told me? Much
>> appreciated!
>>
>> On Nov 3, 2008 1:53 PM, "Kipling Inscore" <[EMAIL PROTECTED]> wrote:
>>
>>
>> If you mean removing the desktop icon, hold the icon until your phone
>> vibrates and the application pane tab turns into a trash bin, then
>> drag the icon to the trash bin.
>>
>> On Mon, Nov 3, 2008 at 1:41 PM, ric <[EMAIL PROTECTED]> wrote: > > I
>> have removed applications ...
>>
>> >
>>
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Folders in main "Start" menu/tab?

2008-11-04 Thread Kipling Inscore

I don't think you can with the built-in drawer but you could write a
replacement home screen and/or drawer. The Launcher code is available
on source.android.com if you don't want to start from scratch.
I think it would be a good idea, if the required information can be
compiled into the apk through AndroidManifest.xml, to have a drawer
that automatically organizes icons by type and category and allows
searching for applications.

On Tue, Nov 4, 2008 at 2:23 AM, Ian <[EMAIL PROTECTED]> wrote:
>
> I now have a lot of installed apps, and I want to organise them in the
> pull-up-menu/tab.
> But it is not possible to create folders?
> I know I could copy all icons to the desktop with my folders there,
> but that is something else.
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: delete my app on G1

2008-11-03 Thread Kipling Inscore

If you mean removing the desktop icon, hold the icon until your phone
vibrates and the application pane tab turns into a trash bin, then
drag the icon to the trash bin.

On Mon, Nov 3, 2008 at 1:41 PM, ric <[EMAIL PROTECTED]> wrote:
>
> I have removed applications from my G1 and now how do i remove the
> imprint of the applications left on the 'desktop' of the phone? Thanks
> or the info if you can help.. hope someone has the answer. :)
>
> On Nov 2, 4:49 am, zero <[EMAIL PROTECTED]> wrote:
>> you should be able to delete anything thru adb shell.
>> it's a bit tricky, but works.
>>
>> On Nov 2, 12:41 pm, Guillaume Perrot <[EMAIL PROTECTED]> wrote:
>>
>> > Do not uninstall applications from the adb shell,
>> > Run the following in a shell:
>> > adb -d uninstall applicationpackagename (not the appplication name)
>>
>> > On Nov 1, 6:05 am, sd <[EMAIL PROTECTED]> wrote:
>>
>> > > I am able to delete my app on the emulator either using adb or the
>> > > file explorer on ddms. However,  I have been having trouble deleting
>> > > my app on G1. I get 'permission denied' when I use adb to browse the
>> > > data directory. I cannot expand the 'data' folder on the file explorer
>> > > either.
>>
>> > > Any ideas what I am missing?
>>
>> > > Thanks in advance for your help!
>> > > sd
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: "Cannot finish download. There is not enough space."

2008-11-03 Thread Kipling Inscore

Is that 48MB on the device's internal memory or on the SD card in the
device? Downloads go to the SD card.

On Sun, Nov 2, 2008 at 10:22 PM, GasBot <[EMAIL PROTECTED]> wrote:
>
> I'm trying to set up my IIS server to serve out my APK for anyone who
> wants to download it directly from my site.  I added the .apk
> extension and mime type to my site which changed the error I was
> getting in the android's browser from not compatible with the device,
> to not enough space on the device.  However it's showing that I have
> more than enough space (the apk is only 9KB and device shows over 48MB
> available).  I'm guessing there's some other kind of configuration
> error going on with this.  Has anyone seen this issue before?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Quick method for capturing country...

2008-11-02 Thread Kipling Inscore

You can use cell- or WiFi-based coarse location. You still have to go
through the same process with a LocationManager and Geocoder as you do
for GPS, but you can probably usually get away with
getLastKnownLocation() instead of requestLocationUpdates()...unless
the user just got off of an international flight (and the radios have
been and may still be turned off).
Instead of using a Criteria with ACCURACY_FINE, use ACCURACY_COARSE
and in AndroidManifest.xml, instead of uses-permission
ACCESS_FINE_LOCATION, use ACCESS_COARSE_LOCATION.

On Sun, Nov 2, 2008 at 8:05 AM, atrus123 <[EMAIL PROTECTED]> wrote:
>
> Is there a class that provides quick method for capturing the user's
> country without needing to query the GPS?
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Media player Problem-The application videoplayer has stopped unexpectedly please try again.

2008-11-02 Thread Kipling Inscore

On Sun, Nov 2, 2008 at 7:53 AM, Dagger <[EMAIL PROTECTED]> wrote:
>
> hey developers I need help with this problem

Posting a message like the above usually doesn't help.

>
> On Nov 2, 8:45 pm, Dagger <[EMAIL PROTECTED]> wrote:
>> I am using the 0.9 version of android SDK

Why are you using 0.9? Use 1.0.

>> Encountering the error The application videoplayer has stopped
>> unexpectedly please try again.

That's what almost every application will give you if it crashes.
Use adb to get a log. 'adb logcat'.

>> This is the code which I have
>> Videoplayer.java
>>
>> package com.android.VideoPlayer;
>>
>> import java.io.File;
>> import java.io.FileOutputStream;
>> import java.io.IOException;
>> import java.io.InputStream;
>> import java.net.URL;
>> import java.net.URLConnection;
>>
>> import android.app.Activity;
>> import android.graphics.PixelFormat;
>> import android.media.MediaPlayer;
>> import android.media.MediaPlayer.OnBufferingUpdateListener;
>> import android.media.MediaPlayer.OnCompletionListener;
>> import android.media.MediaPlayer.OnErrorListener;
>> import android.os.Bundle;
>> import android.util.Log;
>> import android.view.SurfaceHolder;
>> import android.view.SurfaceView;
>> import android.view.View;
>> import android.webkit.URLUtil;
>> import android.widget.EditText;
>> import android.widget.ImageButton;
>>
>> public class VideoPlayer extends Activity implements OnErrorListener,
>> OnBufferingUpdateListener, OnCompletionListener,
>> MediaPlayer.OnPreparedListener, SurfaceHolder.Callback {
>> private static final String TAG = "VideoPlayer";
>>
>> private MediaPlayer mp;
>> private SurfaceView mPreview;
>> private EditText mPath;
>> private SurfaceHolder holder;
>> private ImageButton mPlay;
>> private ImageButton mPause;
>> private ImageButton mReset;
>> private ImageButton mStop;
>> private String current;
>>
>> /**
>>  * Called when the activity is first created.
>>  */
>> public void onCreate(Bundle icicle) {
>> super.onCreate(icicle);
>>
>> setContentView(R.layout.main);
>>
>> // Set up the play/pause/reset/stop buttons
>> mPreview = (SurfaceView) findViewById(R.id.surface);
>> mPath = (EditText) findViewById(R.id.path);
>> mPlay = (ImageButton) findViewById(R.id.play);
>> mPause = (ImageButton) findViewById(R.id.pause);
>> mReset = (ImageButton) findViewById(R.id.reset);
>> mStop = (ImageButton) findViewById(R.id.stop);
>>
>> mPlay.setOnClickListener(new View.OnClickListener() {
>> public void onClick(View view) {
>> playVideo();
>> }
>> });
>> mPause.setOnClickListener(new View.OnClickListener() {
>> public void onClick(View view) {
>> if (mp != null) {
>> mp.pause();
>> }
>> }
>> });
>> mReset.setOnClickListener(new View.OnClickListener() {
>> public void onClick(View view) {
>> if (mp != null) {
>> mp.seekTo(0);
>> }
>> }
>> });
>> mStop.setOnClickListener(new View.OnClickListener() {
>> public void onClick(View view) {
>> if (mp != null) {
>> mp.stop();
>> mp.release();
>> }
>> }
>> });
>>
>> // Set the transparency
>> getWindow().setFormat(PixelFormat.TRANSPARENT);
>>
>> // Set a size for the video screen
>> holder = mPreview.getHolder();
>> holder.addCallback(this);
>> holder.setFixedSize(400, 300);
>> }
>>
>> private void playVideo() {
>> try {
>> final String path = mPath.getText().toString();
>> Log.v(TAG, "path: " + path);
>>
>> // If the path has not changed, just start the media
>> player
>> if (path.equals(current) && mp != null) {
>> mp.start();
>> return;
>> }
>> current = path;
>>
>> // Create a new media player and set the listeners
>> mp = new MediaPlayer();
>> mp.setOnErrorListener(this);
>> mp.setOnBufferingUpdateListener(this);
>> mp.setOnCompletionListener(this);
>> mp.setOnPreparedListener(this);
>> mp.setAudioStreamType(2);
>>
>> // Set the surface for the video output
>> mp.setDisplay((SurfaceHolder)
>> mPreview.getHolder().getSurface());
>>
>> // Set the data source in another thread
>> // which actually downloads the mp3 or videos
>> // to a temporary location
>> Runnable r = new Runnable() {
>> public void run() {
>> try {
>> setDataSource(path);
>> } catch (IOException e) {
>>

[android-developers] Re: listview scrollbar fade out

2008-10-31 Thread Kipling Inscore

Maybe it was to be less iPhone-like or...more useful? The scrollbars
take very little space and provide a few pieces of useful information:
first, whether there's more content than visible on screen (i.e. the
ability to scroll); second, where the view is located within the
content; third, approximately how large the content is.

On Fri, Oct 31, 2008 at 5:29 PM, sori <[EMAIL PROTECTED]> wrote:
>
> Thanks!
> I'm OK to follow the model as long as it's consistent with other
> applications.
> iPhone uses fade-in/out.  It's interesting that Android changed to
> take a different direction.
>
>
> On Oct 29, 2:31 pm, "Romain Guy" <[EMAIL PROTECTED]> wrote:
>> It is a change in SDK 0.9 and 1.0 indeed. There is no support for
>> fading scrollbars currently and there's no plan for supporting this in
>> the foreseeable future.
>>
>> I recommend you stick with the currentscrollbarmodel as it is
>> consistent with the rest of the Android UI.
>>
>> On Wed, Oct 29, 2008 at 2:22 PM, sori <[EMAIL PROTECTED]> wrote:
>>
>> >Listviewshows a verticalscrollbarby default when the screen
>> > overflows.
>> > I'd like to have thescrollbarhidden and appears only when I scroll
>> > the table.
>> > How can I control it?
>>
>> > In the old SDK(m5), if I remeber correctly, thescrollbarfades in and
>> > out by default when I touch the screen.  Is this a change in SDK
>> > 0.9+?  I cannot find any information in the SDK change list.
>>
>> --
>> Romain Guywww.curious-creature.org
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to put apk to G1 Phone

2008-10-31 Thread Kipling Inscore

For now the T-Mobile G1 is the only device being sold with Android.
There are more devices planned by manufacturers and there are
third-party efforts to port Android to other devices.

On Thu, Oct 30, 2008 at 8:18 PM, yasmin afrose <[EMAIL PROTECTED]> wrote:
> Hi Kipling.
>
> Thanks for your response regarding my issue.
>
> So, Android application will run only in T-Mobile Gphone. Since that mobile
> has Android OS. AM I right?
>
> Thanks,
> Yasmin
>
> On Thu, Oct 30, 2008 at 10:38 PM, Kipling Inscore <[EMAIL PROTECTED]> wrote:
>>
>> On Wed, Oct 29, 2008 at 11:36 PM, yasmin afrose <[EMAIL PROTECTED]>
>> wrote:
>> > But I'm unable to follow it :( . Since In my HTC p3400, Menu > Settings
>> > >
>> > Personal tab, System Tab and Connection Tab is there. Each tab has no of
>> > operation except Development(What you mentioned).
>> >
>> > My Mobile OS is "Windows Mobile 5.0 Packet PC Phone Edition".
>> >
>> > Is it possible to run our android application within my mobile?
>>
>> Short answer: no.
>>
>> Android could be ported to the HTC p3400, but I don't see anyone doing
>> this.
>> >>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to put apk to G1 Phone

2008-10-30 Thread Kipling Inscore

On Wed, Oct 29, 2008 at 11:36 PM, yasmin afrose <[EMAIL PROTECTED]> wrote:
> But I'm unable to follow it :( . Since In my HTC p3400, Menu > Settings >
> Personal tab, System Tab and Connection Tab is there. Each tab has no of
> operation except Development(What you mentioned).
>
> My Mobile OS is "Windows Mobile 5.0 Packet PC Phone Edition".
>
> Is it possible to run our android application within my mobile?

Short answer: no.

Android could be ported to the HTC p3400, but I don't see anyone doing this.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Users reporting crashes after upgrade on Android Market

2008-10-29 Thread Kipling Inscore

You can ask your users to
0.1) Download and install Android SDK 1.0 if not already installed
0.2) Set up device for use with adb (install driver or set up udev rule).
1) Reboot the phone.
2) Run your app immediately (or after as few other apps as needed to
reproduce the crash).
3) run "adb -d bugreport > bugreport.txt" (or equivalent for their
system) after it crashes.
4) email bugreport.txt to you.
This will dump a large amount of data, including the exception that
caused the crash (assuming the app crashed from an exception).
It may be easier, given the nature of this process, to provide your
application to other developers to see if they get the same error and
can send you a bug report.
Perhaps there is or should be an easier way to get and run adb for
this purpose, replacing (0.1) with downloading an adb-based Automated
Bug Reporter automating (0.2), (3) and (4)--leaving only (1) and (2)
to the user, which are relatively simple and Automated Bug Reporter
could prompt the user to do.

On Wed, Oct 29, 2008 at 6:11 PM, InC <[EMAIL PROTECTED]> wrote:
>
> I just upgraded our app after testing it on my phone. However, all the
> users are reporting crashes after upgrading to newer versions. I can't
> seem to reproduce any crashes. Is there a way to detect what's
> happening and a way to debug it.
>
> Any help / pointers appreciated
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Anyone mind testing quickly?

2008-10-27 Thread Kipling Inscore

I find the buttons a little small but they do work.

On Sun, Oct 26, 2008 at 10:40 PM, Nate Sanden <[EMAIL PROTECTED]> wrote:
> Anyone mind testing this on a real phone for me (before the marketplace
> launch tomorrow)? It's a basic tip calculator.
>
> The main thing I'm not sure will work are the blue arrow buttons to the
> right of the text fields. You should be able to touch them to modify values
> in the calculator. Appreciate it!
>
> http://satipcalculator.googlecode.com/files/sa_tip_calculator.apk
>
> >
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Starting new Activity vs. setContentPane(newView)

2008-10-24 Thread Kipling Inscore

On 24 Okt., 19:54, "Robert K." <[EMAIL PROTECTED]> wrote:
> Question: Why is it better to start a new activity if you want to
> change screen to a new view (for example to edit some notes on a
> separate text field)?

I believe that starting a new activity will give you automatic view
hierarchy on the back button and setContentView() will not.
Also, if the screen you want to change to is at all generic, you can
use an implicit intent so that other programs which do the same thing
may be chosen if the user prefers. For the example you gave, editing a
note in a separate text field, ACTION_EDIT with a URI for the note
text would allow the user to drop in a new text editor application and
use it to edit notes from your application.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: how to put application to g phone

2008-10-23 Thread Kipling Inscore

On Thu, Oct 23, 2008 at 10:08 AM, barrie <[EMAIL PROTECTED]> wrote:
> I just bought a new g phone and want to put my application into the
> phone.

For debugging with your G1, see
http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware
To add non-debug non-marketplace apps, download them over the web
using Browser on the G1, then tap the completed download to install.
You'll need to have "Unkown sources" set in system settings,
"Applications" section.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: If your wondering if users are out there...

2008-10-23 Thread Kipling Inscore

On Wed, Oct 22, 2008 at 5:56 PM, Eric <[EMAIL PROTECTED]> wrote:
>
> Interesting..but how does the user install the apk from other
> sites?

Download with Browser and launch from download manager or "download
complete" notification.

> Isn't there a restriction on G1 like 1.0 SDK that prevents user from
> installing apk from anywhere but Android market?
> and give them some error?

There is a restriction that is on by default but it can be turned off
by the user.
(Home) > MENU > Settings > Applications > Unknown sources

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@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-developers?hl=en
-~--~~~~--~~--~--~---