Maybe you have different layout files for landscape and portrait and
the button isn't up to date in one of the 2.
On Jun 17, 8:26 pm, "nEx.Software" wrote:
> I just started getting this too, except I am on a real device. This
> same application worked perfectly fine yesterday. The only thing I
>
determined from the server
>
> On Jun 17, 7:34 am, bain wrote:
>
> > it does not
>
> > On Jun 17, 7:31 am, MrSnowflake wrote:
>
> > > How does you approach work when the users are offline?
>
> > > On Jun 17, 1:27 pm, bain wrote:
> > b
> >
I think that's a very good reason not to send it to a newly installed
app. Though you could give the user the option to start the app
immediately after install, with a button for example.
On Jun 17, 8:55 pm, Dianne Hackborn wrote:
> We deliberately don't send this broadcast to an app when it is
How does you approach work when the users are offline?
On Jun 17, 1:27 pm, bain wrote:
> i use google appengine to host my license server (small servlet)
> use deviceId and check every time user launches your app
>
> you can give discount based on deviceId
>
> On Jun 17, 6:17 am, Anna PS wrote:
ts are coming in) to do so.
>
> On Tue, Jun 16, 2009 at 2:32 PM, MrSnowflake wrote:
>
> > I ran into a problem of resource allocation and release using the
> > activity lifecycle functions when waiting for an activity to return a
> > result. I suspected that onResume() was
I ran into a problem of resource allocation and release using the
activity lifecycle functions when waiting for an activity to return a
result. I suspected that onResume() was going to be called before
onActivityResult() but it's the other way around.
Why is this? Isn't it more logical for onResu
The SurfaceView.Callback gives you the dimensions of the surfaceview
in onSurfaceChanged().
On Jun 15, 8:35 am, javame_android wrote:
> Hi Everybody,
>
> I want to render 3d object on the screen. Before that I would like to
> compute the screen so that the rendered object can be given relative
>
Are you using any OpenGL Extentions? Maybe the G1 supports some the
Magic doesn't (although I would find this strange).
On Jun 15, 1:59 pm, djp wrote:
> Hi All,
>
> several users reported that after starting our application on HTC
> Magic it only shows a blue screen with music and sound effects.
That's a topic I want some more info about too, the way I do it now is
making symbolic links from these resources to different projects. I
guess this would work on Windows too, as it too has symbolic links.
On Jun 14, 8:49 am, xamar wrote:
> Hello.
>
> * In short:
>
> What's the proper way
20 ms would be 4ms too long for 60fps :). 16ms would be better, that's
the time the device has to perform the rendering for a target of
60fps.
On Jun 10, 7:20 pm, Streets Of Boston wrote:
> I actually do use the Thread.sleep as a hack (i don't like it, but it
> works...)
> It just sleeps for jus
Does your sollution pop all other activities from the activityQueue?
On Jun 9, 3:29 pm, "Bullo#88" wrote:
> I found the solution: the FLAG_ACTIVITY_CLEAR_TOP flag has to be
> added to the intent
> E.g.
> Intent intent = new Intent(this, "your home
> screen class");
>
You could also use a scheme like preprocesser directives in C. Define
a static final bool FREE and do a lot of if(FREE) to check which build
you are on. The downside is you still need to do manual work.
But the best approach is using ant for this, at least I think this
stuff is possible using ant
Apk files are like installers and cab files on Windows Mobile, they
are not the applications it self, but a mechanism to install the
application (task) they contain.
On May 23, 10:51 am, Mark Murphy wrote:
> iou200...@gmail.com wrote:
> > I want to know ,too.
>
> > On May 6, 9:11 pm, ainilife w
May I suggest instead of using catch(Exception ex) you should catch
more specific exceptions. As now every exception will get caught by
your catch, so even very unsuspected exceptions can get caught and
still your app will keep running. The exception thrown by Integer.parse
() is NumberFormatExcep
1) Why would you want to do that? Applications looking different from
the systems default most of the time look cheap and don't integrate
well in the system. I suppose Google doesn't like that either, as the
encourage everyone to be as consistent with the platform as possible.
Also if you are maki
Might be: style="@android:style/Widget.TextView"
Otherwise, make a TextView and an EditText and change the GONE state
of them.
On 18 mei, 19:33, Raphael wrote:
> Try this:
> android:style="@android:style/Widget.TextView"
>
> R/
>
> On Sun, May 17, 2009 at 3:31 PM, Nikola Radosavljevic
>
Why would you want to block the UI thread?
A better sollution would be to open a ProgressDialog (with the
rotating line), and have that setCancelable(false).
On 4 mei, 15:17, Asif k wrote:
> Hi all,
>
> Is there anyway to block the UI Thread till the .mp3 file completes
> (or in general block
ts own. Perhaps something to do with contexts?
>
> On Apr 27, 4:57 am, MrSnowflake wrote:
>
>
>
> > Iirc you can make the 2 version of the app use the same userId on the
> > phone, that way you have full access to the lite data from the pro
> > application.
--
Is this slowdown 'solved' when using the new GLSurfaceView?
On 27 apr, 16:28, Streets Of Boston wrote:
> One work-around works rather well if you do the onTouchEvent handling
> in the main GUI-thread and drawing the screen in another (background)
> thread.
>
> In your handling of your onTouchEve
Because wma is not supported by Android (the G1 has wma support, but
that's because htc has to pay licence fees to Microsoft). (http://
dev.android.com/guide/appendix/media-formats.html)
On 25 apr, 16:07, Tiger wrote:
> The code following is from ApiDemo.
>
> path = "http://f.don
Then you are coding wrong!
You should check whether location hardware is available before using
location api calls. So you should never be in the situation where you
use the Location api on a device without location hardware.
LocationManager (http://developer.android.com/reference/android/
locati
A device driver should be written in C, but then you need to do it in
the source of android and build your own Android. You can't write
device drivers(/modules) using the Android application SDK.
On 25 apr, 10:37, GKM wrote:
> Hi All,
>
> I am new to Android. Please clear my doubts.
>
> I could
Officially JNI is not supported, so you probably can't distribute it
through Market.
Though I have the impression the text2speech lib in Market does have a
lib. But then again, that app is probably powered by Google too.
On 26 apr, 16:42, julian qian wrote:
> Hi,
> right now, all app develo
I imagine this working (never used FrameLayout before, so I'm
hoping :) ): Use a FrameLayout and have the 2D graphics view behind
some other layout, and to the latter you add your EditText and other
Views.
On 26 apr, 15:20, "Christian S." wrote:
> I'd like to build an activity that is mixing lay
Probably because JNI is not supported.
On 27 apr, 03:33, Keroro wrote:
> build JNI C code fail ???
>
> Why build error?
>
> build and Error Message:
> .../mydroid$ make libmax
> target thumb C: libmax <= development/max/max.c
> development/max/max.c: In function 'Java_testdll_set':
> development
Iirc you can make the 2 version of the app use the same userId on the
phone, that way you have full access to the lite data from the pro
application.
On 27 apr, 10:56, jarkman wrote:
> I don't know if this is the *proper* way, exactly.
>
> We copy the SQL data, with the Pro using the provider in
You don't have to load and save that stuff, you can put references to
your runtime data in a custom class and return that in
Activity.onRetainNonConfigurationInstance() (http://
developer.android.com/reference/android/app/
Activity.html#onRetainNonConfigurationInstance()) and get it in
Activity.g
Color isn't a class, so, ofcourse, you can't instantiate it from xml.
The way I see this happening would be Implementing your own View:
RectangleView. Have it extend View and have it draw a rectangle, using
the settings from the xml.
Or you could extend a ViewGroup and implement your own, so othe
You can play from a stream if you capture the stream in your program
and stream the audio to the mediaplayer. There is no direct support of
audio streams, execpt directly from server.
This sollution is somewhere in the docs...
On 26 apr, 18:27, Moto wrote:
> Help?
--~--~-~--~~---
Why do so much people avoid the destoying and recreation of Activities
on orientation change. It's there to make the switch to a different
orientation easier, because it automatically loads the correct
resources. To be honest, I don't fully understand the whole recreation
of Activities neither, as
If you really want to use a for loop (for maintenance point of view,
somewhat, as TextView1...10 aren't very clear) you need to use
reflection which is a lot of work for this and it's slow.
For your purpose you should consider creating your layout fully in
code.
On 24 apr, 14:30, Mark Murphy wro
You can use if-else constructs, as the compiler will leave out any
never reached peaces of code.
Define a var to check against:
public static final boolean FREE_VERSION = false;
and when you want to check:
if (FREE_VERSION) {
// This code won't end up in the final binary
} else {
// Only thi
The only way I see this possible is by having the MediaRecorder record
some sound for a very short time, have it stop and save the file, and
immediately start recording again. Then analyse the previous shot
sample. You have to do it this way, because you don't have direct
access to the sound strea
Yeah, and not a $99 per app fee (*cough*Microsoft rip off
store*cough*)
On 15 mrt, 19:03, Romain Guy wrote:
> Also remember that it's a *one time* fee only.
>
>
>
>
>
> On Sun, Mar 15, 2009 at 4:06 AM, MrSnowflake wrote:
>
> > You do realize that if you had
Have you registered the permission at the correct spot in the
manifest?
On 14 mrt, 09:38, The Savage Killer
wrote:
> When i add internet permissions to my manifest file my application
> refuses to even start and i get this in my console:
>
> [2009-03-13 20:06:17 - Funny RSS] ActivityManager: Sta
People should only be allowed to vote on an app, if they have used the
app for a sufficient amount of time. Consumers tend to be people who
want everything to work exactly as the whish it would. Though their
reasoning is solid, it just doesn't work that way, even with cars, the
car doesn't work as
You do realize that if you had developed this game for the iPhone you
would have payed $99 to register and that there is no other mainstream
way to get your app on the iPhone (as opposed to Android, which allows
you to install apk's from websites).
So at a point you are correct: paying for free a
You can't use Google Maps for turn-by-turn navigation. It's supposed
to be in the Maps licence.
On 11 mrt, 18:07, jenny wrote:
> Hi everyone,
>
> I am working on a GPS navigation App. I notice that
> com.google.googlenav Package is available in Android SDK-m5,but in the
> source code, there i
Try saving the locale some way, make your own implementation of
Application and change the locale in Application. Then when the users
wants a new locale, restart the activity/task.
On 12 mrt, 04:22, Stephen Le wrote:
> Hi all:
>
> I must change en_US Locale into zh_CH dynamically(Like user choos
I think it probably would speed up your drawing, but OpenGL probably
also uses more battery because it needs the hardware gpu to be enabled
too.
On 11 mrt, 16:46, Stoyan Damov wrote:
> What is it that you are drawing, how are you drawing it, have you
> profiled your code?
>
>
>
> On Wed, Mar 11,
On 11 mrt, 21:59, Jean-Baptiste Queru wrote:
> Well, there is a risk that a bug in 1.0 that would have been fixed in
> 1.1 could be hit by your application. I'm not explicitly aware of such
> situations, but that's definitely possible in theory.
A very valid situation. But does it matter? All A
On 11 mrt, 21:49, Wesley wrote:
> So, are the resource ids unique across all applications on the phone ?
Probably not, but does it matter? The NotificationManager probably
gets the drawable from the context it got called and used from.
> What about new applications being downloaded, how would th
On 11 mrt, 21:30, Marc wrote:
> BTW, that should probably be documented somewhere (i.e. that you can
> use a custom view, but it's restricted in that way...)
If you'd do that, you would have to document everything you can't do,
which would be the wrong way around, I believe.
>
> Marc
>
> On Mar
Nice, thanks!
On 11 mrt, 19:14, Dianne Hackborn wrote:
> Query the package manager for all home activities, and pick the one that has
> the SYSTEM flag set.
>
>
>
>
>
> On Wed, Mar 11, 2009 at 6:26 AM, MrSnowflake wrote:
>
> > But using CATEGORY_HOME won
But won't it affect other Activity stuff and life cycle functions and
such?
On 10 mrt, 19:48, Stoyan Damov wrote:
> sure, it should work - I think someone has already done that
>
>
>
> On Tue, Mar 10, 2009 at 8:26 PM, MrSnowflake wrote:
>
> > I have a question abou
I don't think you can put them on the SD by installation. I think you
have to make an 'installer' which downloads the mp4 files from the web
and saves them to sd.
On 10 mrt, 06:06, Nithin wrote:
> Hi,
>
> We have 10 mp4 files, total size is about 24MB. We put all in RAW
> folder and tried to run
> On Tue, Mar 10, 2009 at 11:40 AM, MrSnowflake wrote:
>
> > As I said on Anddev.org earlier:
> > Intent myIntent = new Intent();
> > myIntent.setClassName("com.android.launcher",
> > "com.android.launcher.Launcher");
> > startActivity(myIntent);
>
I have to say, I don't think this method will keep working in future
versions as the package and class name of the launcher might change!
On 10 mrt, 19:40, MrSnowflake wrote:
> As I said on Anddev.org earlier:
> Intent myIntent = new Intent();
> myIntent.setClassName("c
As I said on Anddev.org earlier:
Intent myIntent = new Intent();
myIntent.setClassName("com.android.launcher",
"com.android.launcher.Launcher");
startActivity(myIntent);
On 10 mrt, 14:18, Stoyan Damov wrote:
> I can't help you with this. Tough luck - I'd assume that when an
> intent has alternat
How about setClickable(boolean)?
On 10 mrt, 14:19, Stoyan Damov wrote:
> Can't you just handle and ignore them?
>
>
>
> On Tue, Mar 10, 2009 at 3:10 PM, Nithin wrote:
>
> > Hi,
>
> > When i am running mediaplayer, i want the surfaceview to be
> > insensitive to motion events. I tried
> > mSurfa
I have a question about this: While sleeping the ui thread works,
would it also work to wait() the main thread and notify() it when the
new frame 'starts'?
On 20 feb, 10:41, suhas gavas wrote:
> hi zombies and robots,
> plz let me the solution to improve touch event performance
> I have got stuc
Also using showDialog() and corresponding onCreateDialog and
onPrepareDialog() will have dialogs survive configuration changes!
(and it's a lot easier :)).
On 6 mrt, 13:36, Manfred wrote:
> For all who have the same problem, this helps:
>
> Override this method:
> @Override
> pub
And be able to have a link to the market from the website (much like
iTunes) would be great too.
On 9 feb, 15:56, Teo wrote:
> I think each app should have a link to its website in Android Market,
> as other gadget platforms have. Users can find out more about the app
> features this way...
>
>
this purpose.
>
> Tom.
>
> 2008/11/26 Mark Murphy <[EMAIL PROTECTED]>
>
>
>
> > MrSnowflake wrote:
> > > What about a IMAP IDLE style of pushing. It too is real pushing,
> > > except your phone needs to keep the tcp connection alive, sending a
> >
Mark, yeah, I missed that part in the OT, but Windows Mobile uses it
for it's exchange push mail. And Google probably also uses it for the
GMail and Calendar. And most I always have my connection open on my
phone (a HTC Wizard for the record), probably like most people with an
unlimited data plan.
I've found it. In my case the ScrollView as actually inside a
ViewAnimator. So, I set the layout_weight for this ViewAnimator to 1
and it was solved :D.
On 26 nov, 20:44, MrSnowflake <[EMAIL PROTECTED]> wrote:
> How should we correctly use a ScrollView in a LinearLayout, where I
&
What about a IMAP IDLE style of pushing. It too is real pushing,
except your phone needs to keep the tcp connection alive, sending a
NOOP every minutes or so.
You could also use xmpp.
On 26 nov, 20:06, Mark Murphy <[EMAIL PROTECTED]> wrote:
> G wrote:
> > What are some techniques that could be u
How should we correctly use a ScrollView in a LinearLayout, where I
want a static LinearLayout at the bottom of the main LinearLayout
(let's call it layMain, the ScrollView just scroll and the bottom
layBottom). An example (it's not a valid layout structure, only for
demo):
[syntax="xml"]
Then why don't you make if for Symbian/iPhone/Windows Mobile? They
support bluetooth and Android will too, in a couple of months. Hacking
bt in will render your app useless for other phones, and a system
update could break your app.
On Nov 19, 12:22 am, "Rui Freitas" <[EMAIL PROTECTED]> wrote:
>
For mp3 storage you can put the phone in mass storage mode or
something like that. Then your phone appears as an external drive.
On Oct 7, 6:08 pm, marstein <[EMAIL PROTECTED]> wrote:
> What do you need the driver for? I could think of
>
> * seeing the file system and being able to copy MP3 files
The G1 from t-mobile will be delivered with a 1GB MicroSD, but when
it's not present you could make an error dialog which says you program
needs an SD card.
On Oct 4, 2:12 am, Jason Proctor <[EMAIL PROTECTED]> wrote:
> hi justin,
>
> thanks for the response.
>
> supposing i'm running on a real de
What is the reason why video recording is not supported?
On 28 sep, 23:46, Filipe Abrantes <[EMAIL PROTECTED]> wrote:
> Alright... fair enough :P... at least we know it is a matter of time
> until it is supported. Thanks for your hard work.
>
> Cheers,
> Filipe
>
> Megha Joshi wrote:
> > Hi Filip
Indeed seems to no problem at all.
On the other hand, doing all findId's in the oncreate and put them in
fields of the activity you're working with, would speed up the app.
On Oct 1, 11:51 pm, Joey Yandle <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
>
>
> > I'd l
Implement your own ListAdapter.
On 2 okt, 01:06, Rohit Mordani <[EMAIL PROTECTED]> wrote:
> Hi,
> I am accessing Contacts data and passing that into a list. I want
> to modify the data that I get from the database and then pass it to
> the list view. Is there a way to do that ? This is what
On 1 okt, 23:26, adamjernst <[EMAIL PROTECTED]> wrote:
> They're completely different platforms. It's basically impossible to
> do any direct port.
True, but if the original program is well designed, a lot of classes
should be able to be ported fairly easy.
>
> Adam
>
> On Oct 1, 3:57 pm, Yaseen
There is a sensor simulator:
http://code.google.com/p/openintents/wiki/SensorSimulator
But you have to edit your code to accept input from the emulator. The
new code is on the same page.
On 1 okt, 21:01, Randolpho <[EMAIL PROTECTED]> wrote:
> I've been searching, but I can't find any mention of
It's not officially supported to use C code from android.
But you could look around for JNI and android on the net.
On 2 okt, 11:49, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hello buddies!!
> I'm involved in a biometric project. I need to write an app for
> Android that must use an algori
What menu list you mean? The launcher drawer? That's easy: just dont
include this intent-filter:
On 2 okt, 14:29, Ashutosh <[EMAIL PROTECTED]> wrote:
> Do any one knows how to make an application icon & its label invisible
> in menu list
I haven't met your problem myself, but a possible sollution is
extending EditText and handle the ENTER/RETURN in the onKeyDown/Up
On 30 sep, 15:46, Christine <[EMAIL PROTECTED]> wrote:
> I have a KeyListener on an EditText. The only key I want to catch is
> the enter key, but that seems to be the
/android/moseycode/releases/0.2.1/
> ) didn't make it into the top 50, although it really had cool features
> (like finding the 3D position of a Moseycode in space in real time).
>
> Peli
>
> On Sep 30, 4:10 pm, MrSnowflake <[EMAIL PROTECTED]> wrote:
>
> >http:/
I believe someone was working on such a library, but I've read it a
couple months ago, so I'm not sure how it was called.
On 30 sep, 03:51, Wesley Sagittarius <[EMAIL PROTECTED]> wrote:
> hi,
>
> when will android support/have Speech Recognition System??
> anyone have any ideas???
>
> Wesley.
--~
On 1 okt, 04:06, hackbod <[EMAIL PROTECTED]> wrote:
> But keep in mind that the user can still get out of your application
> with the HOME key, and there is absolutely no way for you to prevent
> that.
That seems to be true, but there is const: KeyEvent.KEYCODE_HOME. I
have tried anything with t
I recon your could fire an Intent with VIEW and set the mime type to
your video file.
On 1 okt, 11:03, Baonq86 <[EMAIL PROTECTED]> wrote:
> Does anyone know to built an application to call the default
> mediaplayer program in Android OS ?
--~--~-~--~~~---~--~~
You
What is your aim? I've written a simple service and config tool which
switches your device to silent when you put it upside down in your
pants:
http://code.google.com/p/snowservices/wiki/GravityRinger
To silence your device use:
[code]
AudioManager audioMgr =
(AudioManager)getSystemService(Contex
I believe JNI is not supported for developers, because 1: It would
require developers to build libs for every different android platform
out and 2: While Google (probably) uses JNI, they can just change the
JNI interface and fix their code, but say if you JNI able program
works on SDK 1.0r1 and th
M...()
Actually the name like "T-Mobile G1" or something like that. WiMo
devices have such a name. Like the HTC Wizard is named: "WIZA200"
>
> Peli
>
> On Sep 30, 4:14 pm, MrSnowflake <[EMAIL PROTECTED]> wrote:
>
> > Is there a way to detect wether a act
Is there a way to detect wether a activity is running on the emulator
or on a real device? And if so, can we detect what the name of the
device is?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers"
http://code.google.com/p/zxing/ is a barcode (amongst others) reader.
It is opensource and has a android client.
On 30 sep, 01:50, Peli <[EMAIL PROTECTED]> wrote:
> If you look at the OpenIntents list of
> applicationshttp://www.openintents.org/en/applications
> you will find ZXing which is a mu
Another Easter Egg, as that's what I believe it is, otherwhise
wtf... :)
'public static final String BRICK
Required to be able to disable the device (very dangerous!).
Constant Value: "android.permission.BRICK"'
A BRICK Permission?!!
http://code.google.com/android/reference/android/Manifest.perm
It is possible: http://code.google.com/p/openintents/wiki/SensorSimulator
On 26 aug, 19:38, "Megha Joshi" <[EMAIL PROTECTED]> wrote:
> its not possible to test any Sensor related code on emulator.
>
> 2008/8/26 mihai <[EMAIL PROTECTED]>
>
>
>
> > How can I simulate inputs from the hardware sensor
I am interested in a dialer which finds contacts for me by their name
by the number I enter (like the Windows Mobile 6 Dialer). I NEVER use
the address book, I just type their names using the numbers which
represent the letters in their name.
On 21 aug, 21:55, towlie <[EMAIL PROTECTED]> wrote:
>
81 matches
Mail list logo