in) to do so.
On Tue, Jun 16, 2009 at 2:32 PM, MrSnowflake mrsnowfl...@gmail.com 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 going to be called before
How does you approach work when the users are offline?
On Jun 17, 1:27 pm, bain ssbain2...@yahoo.com 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,
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 hack...@android.com wrote:
We deliberately don't send this broadcast to
will be
determined from the server
On Jun 17, 7:34 am, bain ssbain2...@yahoo.com wrote:
it does not
On Jun 17, 7:31 am, MrSnowflake mrsnowfl...@gmail.com wrote:
How does you approach work when the users are offline?
On Jun 17, 1:27 pm, bain ssbain2...@yahoo.com wrote:
b
i use google appengine
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 justin.shapc...@gmail.com wrote:
I just started getting this too, except I am on a real device. This
same application worked perfectly fine
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
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 pablo.lopez.ja...@gmail.com wrote:
Hello.
* In short:
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 david.perou...@gmail.com wrote:
Hi All,
several users reported that after starting our application on HTC
Magic it only shows a blue screen with
The SurfaceView.Callback gives you the dimensions of the surfaceview
in onSurfaceChanged().
On Jun 15, 8:35 am, javame_android su...@saltriver.com 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
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 flyingdutc...@gmail.com wrote:
I actually do use the Thread.sleep as a hack (i don't like it, but it
works...)
Does your sollution pop all other activities from the activityQueue?
On Jun 9, 3:29 pm, Bullo#88 bulonce...@gmail.com 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
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
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
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
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 mmur...@commonsware.com wrote:
iou200...@gmail.com wrote:
I want to know ,too.
On May 6,
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 r...@android.com wrote:
Try this:
android:style=@android:style/Widget.TextView
R/
On Sun, May 17, 2009 at 3:31 PM, Nikola
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 asifk1...@gmail.com wrote:
Hi all,
Is there anyway to block the UI Thread till the .mp3 file completes
(or
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
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 jark...@gmail.com wrote:
I don't know if this is the *proper* way, exactly.
We copy the SQL data, with the Pro using
Probably because JNI is not supported.
On 27 apr, 03:33, Keroro huo.kuangt...@gmail.com 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
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. schrott...@gmx.de wrote:
I'd like to build an activity
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 julian.q...@gmail.com wrote:
Hi,
right
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 kalaimani.kaliaperu...@gmail.com wrote:
Hi All,
I am new to Android. Please
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/
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 lxy...@gmail.com wrote:
The code following is from ApiDemo.
path =
Is this slowdown 'solved' when using the new GLSurfaceView?
On 27 apr, 16:28, Streets Of Boston flyingdutc...@gmail.com 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
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 medicalsou...@gmail.com wrote:
Help?
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
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
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,
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
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
Have you registered the permission at the correct spot in the
manifest?
On 14 mrt, 09:38, The Savage Killer thesavage.kil...@gmail.com
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
Yeah, and not a $99 per app fee (*cough*Microsoft rip off
store*cough*)
On 15 mrt, 19:03, Romain Guy romain...@google.com wrote:
Also remember that it's a *one time* fee only.
On Sun, Mar 15, 2009 at 4:06 AM, MrSnowflake mrsnowfl...@gmail.com wrote:
You do realize that if you had
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 jenny...@msn.cn 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
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 yangle...@gmail.com wrote:
Hi all:
I must change en_US Locale into zh_CH
But won't it affect other Activity stuff and life cycle functions and
such?
On 10 mrt, 19:48, Stoyan Damov stoyan.da...@gmail.com wrote:
sure, it should work - I think someone has already done that
On Tue, Mar 10, 2009 at 8:26 PM, MrSnowflake mrsnowfl...@gmail.com wrote:
I have
Nice, thanks!
On 11 mrt, 19:14, Dianne Hackborn hack...@android.com 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 mrsnowfl...@gmail.com wrote:
But using CATEGORY_HOME won't solve
On 11 mrt, 21:30, Marc gram...@gmail.com 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.
On 11 mrt, 21:49, Wesley wesle...@gmail.com 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
On 11 mrt, 21:59, Jean-Baptiste Queru j...@android.com 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
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 stoyan.da...@gmail.com wrote:
What is it that you are drawing, how are you drawing it, have you
profiled your code?
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 suhas.ga...@gmail.com wrote:
hi zombies and robots,
plz let me the solution to improve touch event
How about setClickable(boolean)?
On 10 mrt, 14:19, Stoyan Damov stoyan.da...@gmail.com wrote:
Can't you just handle and ignore them?
On Tue, Mar 10, 2009 at 3:10 PM, Nithin nithin.war...@gmail.com wrote:
Hi,
When i am running mediaplayer, i want the surfaceview to be
insensitive to
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 stoyan.da...@gmail.com wrote:
I can't help you with this. Tough luck - I'd assume that when an
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 mrsnowfl...@gmail.com wrote:
As I said on Anddev.org earlier:
Intent myIntent = new Intent();
myIntent.setClassName
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 manfred.fettin...@gmail.com wrote:
For all who have the same problem, this helps:
Override this method:
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 teomina...@gmail.com 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
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):
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 used
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
want a static
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
such a standardized system too: it requires the
phone to only have 1 service running for possible dozens of tasks.
Actually I was hoping (since this first SDK) we could use the xmpp
(GoogleChat, or what was it called) for this purpose.
Tom.
2008/11/26 Mark Murphy [EMAIL PROTECTED]
MrSnowflake
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:
Hum,
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 and
What menu list you mean? The launcher drawer? That's easy: just dont
include this intent-filter:
intent-filter
action android:name=android.intent.action.MAIN /
category
android:name=android.intent.category.LAUNCHER /
/intent-filter
On 2
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 algorithm
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 like to
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 =
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 this
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.
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://code.google.com/p/zxing/isa barcode (amongst others) reader.
It is opensource and has a android
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
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
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
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?!!
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 sensors, so that I
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:
69 matches
Mail list logo