hey folks,
to make a long story short, I'm working on an app that plays streaming
video content in a VideoView with a MediaController; Im wondering how
I can preserve the state of my VideoView across orientation changes,
such that opening the keyboard doesn't restart the playback, etc..
I've bee
How to do restart App in OnStop method ...
--~--~-~--~~~---~--~~
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 g
You don't restart your app. Android stops your app for a reason, and
it calls onStop to give the app a chance to do some cleanup before
being stopped. As soon as the reason for stopping your app has gone,
Android will start your app again.
Look at the app model in the docs, it tells you everything
Hi,
The G1 h/w doesn't support non power-of-two texture (NPOT) dimensions.
However, Android's software implementation does.
In order to know if a particular opengl context supports NPOT, you
need to check for the npot extension string.
When the extension is not available, you have to use a bigge
Sure, that is what I had originally thought. But how do you get the
Title view in order to set it to GONE (I believe INVISIBLE still takes
up some space)?
On Dec 7, 6:58 am, Christine <[EMAIL PROTECTED]> wrote:
> When you set the view to "invisible", it won't take up space:
> yourTextView.setVis
The only way I found it for now is:
Socket conn = new Socket("www.google.com", 80);
String ipAddress = Socket.getLocalAddress().toString();
Conn.Close;
Of course you need to catch for the exceptions. It returns the address in
the form "name/IP", you must parse the string to get the second piece.
When you set the view to "invisible", it won't take up space:
yourTextView.setVisibility(TextView.INVISIBLE)
On Dec 7, 4:09 am, cyntacks <[EMAIL PROTECTED]> wrote:
> I'm just bumping this, I have been trying to figure this out for the
> past 2 hours... anyone know how this can be done?
>
> On No
I use Javamail, works fine.
On Dec 6, 8:32 pm, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
> Yes I would prefer this. However, can you please post a code example of how
> to do this?Thanks,
>
> - Sunit Katkar
>
> On Sat, Dec 6, 2008 at 11:13 AM, Dianne Hackborn <[EMAIL PROTECTED]>wrote:
>
> > You
Sprint moved away from GSM a very long time ago, and this phone is
GSM-only and therefore doesn't work on Sprint's network. If you're in
the US, T-Mobile is the best operator to use the Android Dev Phone 1
on (and if you already have a G1 you can swap the SIM between the
phones). It'll work on AT&
I thought at&t only did 3G network.
On 12/07/2008, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote:
>
> Sprint moved away from GSM a very long time ago, and this phone is
> GSM-only and therefore doesn't work on Sprint's network. If you're in
> the US, T-Mobile is the best operator to use the Andro
Did you set it to invisable and shorten it? I have never heard of a
Dialog with no title.
On 12/07/2008, cyntacks <[EMAIL PROTECTED]> wrote:
>
> Sure, that is what I had originally thought. But how do you get the
> Title view in order to set it to GONE (I believe INVISIBLE still takes
> up some s
Hi I think there is a program app or something for power two bitmap
for the G1 did you check the market. I can't remember what it was
called but someone was having this problen with support and found the
app.
On 12/07/2008, Mathias Agopian <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> The G1 h/w doesn't
I guess it depends on how you define "dialog". As it stands in the SDK
now a dialog can be used for almost anything, for example you can
display an error to the user or even get input from the user. The
issue mainly revolves around spacing, especilly when the device is in
Landscape.
1) If I were
What makes you believe that it will not work on AT&T's 3G network? I
am planning on seeing how AT&T reacts to my request for the SIM card
from my iPhone, ha ha.
On Dec 7, 9:14 am, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote:
> Sprint moved away from GSM a very long time ago, and this phone is
>
Java Mail?
On 12/07/2008, Christine <[EMAIL PROTECTED]> wrote:
>
> I use Javamail, works fine.
>
> On Dec 6, 8:32 pm, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
>> Yes I would prefer this. However, can you please post a code example of
>> how
>> to do this?Thanks,
>>
>> - Sunit Katkar
>>
>> On Sa
Nope i think Kevin is right. Get A bigger screen. lol jokeing.
On 12/07/2008, cyntacks <[EMAIL PROTECTED]> wrote:
>
> I guess it depends on how you define "dialog". As it stands in the SDK
> now a dialog can be used for almost anything, for example you can
> display an error to the user or even g
I phone does not have a sim card!
On 12/07/2008, Logan <[EMAIL PROTECTED]> wrote:
>
> What makes you believe that it will not work on AT&T's 3G network? I
> am planning on seeing how AT&T reacts to my request for the SIM card
> from my iPhone, ha ha.
>
> On Dec 7, 9:14 am, Jean-Baptiste Queru <[E
Ha!!! That's too funny. I wish it were as simple as that!
This is just one of those things, I am about 30 minutes from deploying
and I just can't get myself to do it without "fixing" this little
problem. My dialog just looks terrible in Landscape because it
actually contains a listview allowing t
Yes it does.
On Dec 7, 8:57 am, "Xavier Mathews" <[EMAIL PROTECTED]> wrote:
> I phone does not have a sim card!
>
> On 12/07/2008, Logan <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > What makes you believe that it will not work on AT&T's 3G network? I
> > am planning on seeing how AT&T reacts to my re
Because AT&T's 3G runs off of a different frequency band than T-
Mobile's. So the phone will work and you can make calls with AT&T and
use their Edge network, but you'll never get 3G connectivity.
On Dec 7, 8:43 am, Logan <[EMAIL PROTECTED]> wrote:
> What makes you believe that it will not work
I've also tried to use ACTION_ANSWER, but i keep getting the
"ActivityNotFoundException".
Does it mean that the Phone app is not registered for this intent?
What is the purpose of ACTION_ANSWER then?
-- Forwarded message --
From: Jose María González <[EMAIL PROTECTED]>
Date: Sep
I thought that iphone was also an ipod and has over 10,000 apps what
is the point of a sim?
On 12/07/2008, GasBot <[EMAIL PROTECTED]> wrote:
>
> Because AT&T's 3G runs off of a different frequency band than T-
> Mobile's. So the phone will work and you can make calls with AT&T and
> use their Ed
Our users complain about the following:
"You're getting hammered by negative comments on oi voice notes
because after install it gives launch error. I suggest creating an
idiot window on launch that says this app is an addon, and to use
within other oi products."
We provide a plug-in (addon, exte
I have a weird issue, which is probably easily solvable - but the
cause is alluding me.
I have two activities, one is created as an intent from the first
activity. Each activity features a MapView.
My problem is that if I move the first map (i.e. navigate to a
paricular city) the second map, whe
Hi,
I am trying to start my application when a call is received and show
it on top of system message (showing phone number on the screen).
How can I suppress system screen and bring my activity on top of it?
Is there any way to do this
Regards,
Tabrej
--~--~-~--~~~-
Hi All,
is there any way i can reach the following information:
from:
MENU -> Settings -> About phone -> Status
i.e. Battery status/Battery level/Phone number/IMEI etc' .
using adb ? or using an inner object ?
please advice
Yorgen
--~--~-~--~~~---~--~~
Y
What are the steps to (if even possible yet) to enable JavaFX
applications on Android?
Thank you,
Edmon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
I have an application I want to port from Symbian OS to Android (Well,
maybe port is a bit of a strong word, since they would hardly share a
line of code in common. "Rewrite" maybe.) However, it really needs to
implement dynamically loaded modules to be of any use. In Java proper,
this would be tr
The Android is too interesting, and I like it very much.
But the current situation is not optimistic. The platform currently
supports indeed too few resources.
I suggest:
1, to promote and attract more people to join the development.
2, to enhance the training so that more people have the ability
I'm having the same problem under both OSX and Windows.
On Dec 6, 8:43 pm, "Fred Grott(shareme)" <[EMAIL PROTECTED]> wrote:
> Dan on Linux I am getting a null error when attempting to extract the
> zip
>
> On Dec 5, 9:00 pm, Dan Morrill <[EMAIL PROTECTED]> wrote:
>
> > Hello, developers! I wante
Eclipse Version: 3.4.1.
Find the Error that generating final archive: null,
I use Fedora 7 Linux .
Hi all.,
how to solve this issue. ?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android
Hi,
I am trying to get the Application Name (the one that accompanies the
icon in the launcher) for all packages installed in the device. I
have the packageName and name from the ActivityInfo retrived view
queryIntentActivities(), but can't seem to locate the Application
Name. Any pointers woul
I'm on the 1.0 SDK and I'm having the exact same problem... I spent a
few hours on the forums & googling, but the only suggestion I can find
is to make sure you call setContentView(...) before you call
findViewById. I can't seem to get past this -- I can't lookup any of
my views from onCreate. Pos
I think he's more asking if there's any consistent guidelines or
templates to create icons that match the existing ones in visual theme.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To p
Does anyone know where I can get some tutorials on developing wifi
applications for android? I have some great ideas, but I am
struggling to find some good introductions to using the wifi
capabilities in Android. Furthermore, is it possible to debug wifi
applications in the emulator. My emulato
Did anyone else find that when you dump all your contacts to a
ListView, you see "hidden" contacts that don't show up in your regular
contact list under the Dialer?
I found nameless contacts, contacts with names but no numbers. When I
returned their email address, I found emails to sale-
@craigs
Hi,
I'm really interested in the possibility of buying a "Android Dev
Phone 1 " (--> http://code.google.com/android/dev-devices.html), the
only question I have concerns the shipping.
According to the site, it will be (?is?) available for order in
Germany, I can't find any information about the det
On the page http://market.android.com/publish/Home, I see:
Development phones
As a registered developer, you can purchase an unlocked phone.
Buy now »
That is wonderful. Thank you, Google!
But then, when I click on the "Buy now" link, the browser bounces off
android.brightstarcorp.com bac
Any appropriate customs duties and taxes will be added on top of the
$399 purchase price. You are correct, that this can add a substantial
the base price. However, it should not add any hassle. Is there some
specific difficulty you're referring to?
Cheers,
Justin
Android Team @ Google
On Dec 6,
The bottom line for all this if that you never really needed to build
the Eclipse plugin or DDMS yourself. You could just have used the one
from the Android 1.0 SDK r1 or r2 (in the tools directory). As it is
right now, the SDK tools work the same as the ones from git.
As Xav stated, the only rea
Chris Davies wrote:
> However, it really needs to
> implement dynamically loaded modules to be of any use.
Could you give us more information about what you are trying to achieve
via these "dynamically loaded modules"? There may be other technologies
in Android you can leverage, but it is diffi
-The emulator doesn't emulator wifi, you'll have to use a real device for that.
-In the current version of Android, you'll find that the wifi support
is mostly suitable for infrastructure-based connections (i.e.
communicating through an access point), not for ad-hoc connections.
You can just blin
wyngnut wrote:
> I am trying to get the Application Name (the one that accompanies the
> icon in the launcher) for all packages installed in the device. I
> have the packageName and name from the ActivityInfo retrived view
> queryIntentActivities(), but can't seem to locate the Application
> Name
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
getWindow().setFormat(PixelFormat.TRANSLUCENT);
videoHolder = new VideoView(this);
videoHolder.setMediaController(new MediaController(this));
setContentVie
Forgot to mention that I tried it on emulator but it didn't helped but
on device it works fine.
I had to push my video file to "sdcard".
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To po
It probably goes along the following lines:
-Step 1: ask Sun to port JavaFX to Android.
-Step 2: wait until they're done.
-Step 3: tada, it works.
Jokes aside, that's really a question for Sun.
JBQ
On Sat, Dec 6, 2008 at 9:14 PM, Edmon <[EMAIL PROTECTED]> wrote:
>
> What are the steps to (if e
A few threads have discussed using canvas.rotate() as a means to
rotate a MapView. However, onDraw() is declared "final" for MapView
and so can't be over-ridden. Is there an alternative way to manipulate
the MapView canvas than from onDraw()?
Thanks,
David
--~--~-~--~~~---
Hm, my colleague just checked, but the way outlined above did not
work.
Which IntentFilter do I have to specify so that the Market app can
launch my plugin (to show a custom warning message), but it is still
not included in the list of all LAUNCHER applications?
If it is not possible currently,
Market unfortunately doesn't support this right now.
On Sun, Dec 7, 2008 at 11:46 AM, Peli <[EMAIL PROTECTED]> wrote:
>
> Hm, my colleague just checked, but the way outlined above did not
> work.
>
> Which IntentFilter do I have to specify so that the Market app can
> launch my plugin (to show a
Sorry, there isn't really a way to do this.
On Sun, Dec 7, 2008 at 9:35 AM, AndroidGeek <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I am trying to start my application when a call is received and show
> it on top of system message (showing phone number on the screen).
>
> How can I suppress system scr
Hi all,
My custom dialogs won't "restore" upon orientation|keyboard change,
for example, if my dialog is visible and the device is changed from
Portrait to Landscape when the activity is restarted the dialog is not
shown. This ONLY happens with my custom dialogs, all the Android API
dialogs perfo
Hi all
We are using JXTA to develop a P2P application on HTC Diamond based on
WM6.0, and we want to try it on Andorid, but seems like there is no
successful record of running JXTA on Android. I think it's doable, and
every single post on the internet before said that it should be
doable, however,
I started exploring doing a full app using Webview embedded following
the demo that Google was nice enough to provide.
I have CNET's CiUI working but I am getting a hard wait or force erorr
at the begining in the emulator.
On the CiUI library I only put myui: before the first anonymous
function
I think I found the error..one of my asset files was not properly
referenced in one of my urls..
On Dec 7, 3:18 pm, "Fred Grott(shareme)" <[EMAIL PROTECTED]> wrote:
> I started exploring doing a full app using Webview embedded following
> the demo that Google was nice enough to provide.
>
> I h
hi all,
so i understand that there are lots of smart people at google, so
maybe maybe this is
already in shipping libraries :)
My guess is that the GPS data coming back from the my android is just
raw, unmassaged
data as it gets it from whatever chipset the T1 is using (just like
what happens in
So there's no Sprint options?
--- On Sun, 12/7/08, Jean-Baptiste Queru <[EMAIL PROTECTED]> wrote:
> From: Jean-Baptiste Queru <[EMAIL PROTECTED]>
> Subject: [android-developers] Re: New SDK Available
> To: android-developers@googlegroups.com
> Date: Sunday, December 7, 2008, 9:14 AM
> Sprint mo
Dumb question... where's the appropriate place to send the bug reports?
Mike
On Fri, Dec 5, 2008 at 5:27 PM, Andrew Stadler <[EMAIL PROTECTED]> wrote:
>
> On Fri, Dec 5, 2008 at 8:40 AM, <[EMAIL PROTECTED]> wrote:
>
>> So I finally figured out what was going on. It had nothing to do with
>> HTT
Anyone? I cant work out what is causing this...
On Dec 7, 5:16 pm, mscwd01 <[EMAIL PROTECTED]> wrote:
> I have a weird issue, which is probably easily solvable - but the
> cause is alluding me.
>
> I have two activities, one is created as an intent from the first
> activity. Each activity feature
A SIM is necessary if you want to make phone calls on a standard cellular
networks (I mean, you can still make phone calls on WiFi without a SIM).
2008/12/7 Xavier Mathews <[EMAIL PROTECTED]>
>
> I thought that iphone was also an ipod and has over 10,000 apps what
> is the point of a sim?
>
>
--~
[EMAIL PROTECTED] wrote:
> Dumb question... where's the appropriate place to send the bug reports?
http://code.google.com/p/android/issues/list
--
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 1.9 Available!
--~--~-~--~~-
Sounds like your maps share some common underlying resource. Not sure
if that would be a defect or by design. Perhaps you can manually call
onSaveInstanceState() and onRestoreInstanceState() to save / restore
the respective maps state as needed?
http://code.google.com/android/reference/com/google
In my experience, it depends on what Google puts in the shipping
papers, what UPS tells the people at Customs and the mood of the
people at Customs. Sometimes you pay nothing, sometimes you pay taxes
of various kinds. I suggest Google should write "free sample, $399
administrative cost".
:-)
But we don't know which phone Google will be shipping. Is it similar
to a US G1 or to a UK G1 which seems to work on a different 3G
frequency? I guess we'll all know by the end of the week.
On Dec 7, 11:57 pm, "Pierre Bonnefoy" <[EMAIL PROTECTED]>
wrote:
> A SIM is necessary if you want to make p
I have two xml layout files, one for each activity, I create the maps
like:
MapView myMap = (MapView) findViewById(R.id.map);
and...
MapView myMap = (MapView) findViewById(R.id.mapTwo);
Yet, even though they have different id's they control each other...
I shouldnt need to save the state of eac
>
>
> I have a weird issue, which is probably easily solvable - but the
> cause is alluding me.
>
> I have two activities, one is created as an intent from the first
> activity. Each activity features a MapView.
>
Only one MapActivity is supported per process. Multiple MapActivities
running simul
This Has Already Been Posted.
On 12/07/2008, Tom Gibara <[EMAIL PROTECTED]> wrote:
>>
>>
>> I have a weird issue, which is probably easily solvable - but the
>> cause is alluding me.
>>
>> I have two activities, one is created as an intent from the first
>> activity. Each activity features a MapV
i placed an order for the phone and all i got in return is an email
telling me my order has been placed. there is no ups tracking number,
no estimate time of arrival, no nothing. is there a email i can write
to to check the status of my order? i tried to click on the tracking
order link in andr
Hello,
Without source code to take a look at, it's difficult to guess what's
causing the problem.
Sorry.
Alex Donnini
On Nov 29, 6:45 am, "for android" <[EMAIL PROTECTED]> wrote:
> I have a strange problem.
>
> I am using an efficient list adapter with a list which has row with a
> text view a
Did you check your gmail account under Contacts --> suggested contacts
to see if the people you're seeing appear there as well? GMail
creates a hidden contact for everyone you've traded emails with and
perhaps the hidden people are coming from here?
On Dec 6, 4:07 pm, bklik <[EMAIL PROTECTED]> w
Just came across this - http://forum.xda-developers.com/showthread.php?p=2918876
I haven't tested it yet but several others have. Unfortunately it's
not signed and so to use it we must switch vista into "Test" mode
which requires a reboot but for those of you who only have Vista 64
like me, this
Yes,Ralf, actually i got confused with documentation at 2 different places.
Thanks
Steve
On Sun, Dec 7, 2008 at 11:39 PM, Ralf <[EMAIL PROTECTED]> wrote:
>
> The bottom line for all this if that you never really needed to build
> the Eclipse plugin or DDMS yourself. You could just have used the
Hi ,
I have created an application in which i m using gradients as
backgrounds for layouts and buttons and images(13 kb each ) on each
screen ,
On repetitive rendering from one screen to another , my application
gives an exception causing "Force Clase Dailog to appear" , in log cat
it shows some
You application is using too much memory. For bitmaps, it doesn't
really matter how big they are when compressed, it's really the
decompressed size that matters. 300kB each is a lot.
JBQ
On Sun, Dec 7, 2008 at 9:01 PM, Prashant <[EMAIL PROTECTED]> wrote:
>
> Hi ,
>
> I have created an applicatio
Hi,
Is it possible to "link" from a webpage to the Android Market? That
is, can I place a link on our company website which if clicked from
and Android device would open the Android Market and bring them to
that particular app?
Thanks for the help,
Kevin
--~--~-~--~~~---
Hi,
Is it possible to "link" from a webpage to the Android Market? That
is, can I place a link on our company website which if clicked from an
Android mobile device it would auto"magically" open the Android
Market, bringing the user to that particular app?
Thanks for the help,
Kevin
--~--~-
but these days, we recommend the much shorter alias: http://b.android.com
:-)
On Sun, Dec 7, 2008 at 3:00 PM, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> [EMAIL PROTECTED] wrote:
> > Dumb question... where's the appropriate place to send the bug reports?
>
> http://code.google.com/p/android/issue
I don't think there is a way of doing it which will work well with
people visiting your site from non-Android devices (e.g. browsing from a
desktop OS).
You could always list at one of the other app markets (such as
AndAppStore) which provide http URLs which work on all browsers.
Al.
http://a
77 matches
Mail list logo