Application Context is not an activity but just "Context" (It's actually,
Application)
-Gaurav
On Sun, Jun 20, 2010 at 12:01 PM, mike wrote:
> hi guys,
>
> i have Activity A and Activity B
>
> i want to access a method in Activity A from Activity B
>
> this is my method
> Activity A extends
hi guys,
i have Activity A and Activity B
i want to access a method in Activity A from Activity B
this is my method
Activity A extends activity{
public void save(){
}
}
this is what i have done from activity B
Activity B extends activity{
public void access{
Acitvi
Hi all!
I just thought I let you all know that thanks to a community effort
the Android jar artifacts are now available in Maven central. More
details are found at http://bit.ly/ccBr4T
This include source and javadoc bundles and can of course also be used
by other build tools that access Maven ce
No, this is the only way to control LEDs in the SDK, and even this does not
give guarantees about what exactly it will do, because the LEDs varies
significantly across devices.
2010/6/19 Gabriel Simões
> Thanks for your reply...
>
> I should have mentioned that I knew about using the
> notificat
Ah. Replacing the lock screen and such is not at this point supported. You
may figure out a hack to do what you want, but we can't guarantee it will
work on future versions of the platform or even across devices.
The disableKeyguard method was original introduced for very specific
situations suc
Read:
Command your shiny Android in Python
http://indefinitestudies.org/2009/06/20/command-your-shiny-android-in-python/
Have fun.
On Jun 16, 8:24 pm, J之道 wrote:
>
> And ,there's any tool that I can use to operate remotely by linux
> command line on my lap top through usb or WIFI ? Or can I get
You might do it as a web page using the Google Maps API version 3, it
works quite well on Android as well as iPhone. The learning curve is
easier to manage than trying to build an app from scratch.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups "Android
geonames.org is free.
-John Coryat
--
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
android-developers+unsubscr...@google
Thanks,
Works as expected!
On 16 jun, 05:31, a2ronus wrote:
> 1. Register a BroadcastReceiver that listens for a specific Intent.
> 2. When the user clicks on the Notification, the PendingIntent will be
> launched. You can put extra's in this Intent. You can use the extra's
> to determine which m
Try with other ctrl button ... if u have laptop ctrl+fn+F11 this should work
...
On Sun, Jun 20, 2010 at 7:59 AM, Jian Chen wrote:
> Guys,
>
> as u know, since android 1.6, there are not dirs on dirs like HVGA-L.
> Instead, there is only one dir like HVGA.
> That is, HVGA-P and HVGA-L are merged
Guys,
as u know, since android 1.6, there are not dirs on dirs like HVGA-L.
Instead, there is only one dir like HVGA.
That is, HVGA-P and HVGA-L are merged into one dir, HVGA.
So, only HVGA can be selected and by default the emulator is started with
portrait mode.
Though I can press CTRL+F11/F12
special lockscreen looks like this btw
http://nightshadelabs.appspot.com/static/lockscreen.png
On Jun 19, 9:10 pm, GodsMoon wrote:
> Sorry, my app disables the keyguard with disableKeyguard().
> This makes inKeyguardRestrictedInputMode() return true so clicking on
> the home button brings up the
Sorry, my app disables the keyguard with disableKeyguard().
This makes inKeyguardRestrictedInputMode() return true so clicking on
the home button brings up the lock screen (the special one without the
Emergency Call button).
I would like to see this lock screen when pressing the back button.
Actua
On Jun 19, 5:45 pm, Mark Murphy wrote:
> Well, as I wrote:
>
> "A number of GUI-related things fail outright if you use
> getApplicationContext() instead of an Activity, for example."
>
> Off the top of my head, I can't name any specific methods. Resources
> don't map right, IIRC, and you can't
Thanks for your reply...
I should have mentioned that I knew about using the
notificationManager to flash leds but unfortunately it doesn´t work
for me mainly because you can´t syncronize events with the blink of
the led.
Is there any other way to control when to turn the led on/off?
tnx,
Gabrie
On Sat, Jun 19, 2010 at 8:37 PM, Streets Of Boston
wrote:
> "I ask only because the Application object returned by
> getApplicationContext() is a bit brain-dead in terms of being a
> Context"
>
> Not to hijack the thread, but which things do fail? I assume that the
> call to tracker.start takes a
"I ask only because the Application object returned by
getApplicationContext() is a bit brain-dead in terms of being a
Context"
Not to hijack the thread, but which things do fail? I assume that the
call to tracker.start takes a Context as parameter and
getApplicationContext() is a proper Context.
Those of us with good communication skils as you ask for recognize
right away: you are posting this in the wrong place.
On Jun 18, 9:27 am, karan lobo wrote:
> Dear Friends,
>
> There is urgent requirment for Cold Fusion Developers Version 7. Other
> details you can find it below. Please forward
On 06/16/2010 02:14 AM, Hey its Ashish wrote:
Hi,
I am working on application which required to display the data in
following from:
List of Region->List of Countries(As per selection)-->List of
Cities(As per selection)
I had tried hard to find some web services which facilitate the sam
Hey!
right away I am doing an app for an festival, and I want to make a
area map / area plan.
I have got a picture (bigger then the screen) and I want to be able to
move it up/down and to the left/right.
Further I want to place smaler icons (like the stage, you should be
able to click on it and see
Well, if you look at the talk google gave the developer gave a short
note about it:
http://code.google.com/intl/es-ES/events/io/2010/sessions/writing-real-time-games-android.html
If memory serves me correct, you won't gain much of a speed gain from
using VBOs as opposed to say draw_texture.
This i
Hi
Is there any possibility to set the result of the command svnversion into
the tag android:versionName of the Android manifest file??
Thanks
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-de
I've been trying VBOs (3D) and I've seen no improvement at all on my
Motorola Dext over not using VBOs.
I've tried all kinds of configurations, interleaved arrays,
bytebuffers instead of floatbuffers, both direct and indirect.
My question is, has anybody got any measured improvement in frames per
On Wed, May 19, 2010 at 5:12 PM, JP wrote:
> Like in your case, I have apps that need to keep (hundreds of) objects
> and state variables that require retention regardless of what's going
> on at the UI level. What I've done in order to pick up where I left
> off after a rotation change (or, for
I'm not sure I understand... if you want to switch to home from your app
(which I am pretty sure the intent you give below is the right way), what
would this have to do with the keyguard? If the user is in your app, they
aren't in the keyguard... I don't understand the connection you have
betwee
Take a look here:
http://androidblogger.blogspot.com/2009/09/tutorial-how-to-use-led-with-android.html
2010/6/19 Gabriel Simões
> Hello,
>
> I´d like to create some visual referentes for an app and I think being
> able to control any led of the device would be the best choice.
> Does the sdk all
Hello,
I´d like to create some visual referentes for an app and I think being
able to control any led of the device would be the best choice.
Does the sdk allow us to control (by code) the intensity and turning
any led on/off?
If so, how?
Thanks
--
You received this message because you are subs
Currently i am having handlers in my code which update th ui. But it
seems they are not having any effect on ui when i change the
orientation.the handlers
get called but do not have any effect on ui.is there any special
handling that needs
to be done in case of handlers?
On 5/14/10, Alok Kulkarni
I would like the back button to work exactly like the home button in
my activity. I know that doesn't sounds like something I would want to
do, but it makes sense in the context of my app.
I've tried an intent:
Intent intent = new Intent(Intent.ACTION_MAIN, null);
intent.addCategory(Intent.CATEGOR
I suggest looking at http://geonames.org - they have a download
database of virtually every city in the world, along with coordinates
and population, all free.
-John Coryat
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this gr
2010/6/19 铮王
> Oh.I think it must there are ways to install linux apps ,but i'm so
> appreciate for your answer ,thanks , hope someone will help me on it...
>
No, actually Android is very different from a "standard" Linux distribution,
and you can't "install Linux apps" on it. The applicatio
Ashish,
I have a database that has all countries, all provinces, and most cities
in North American, as well as the larger cities in the rest of the
world. I can give you SQL statements for either MySQL or SQL Server if
you want to do this yourself. I also have a webservice that I use
internal
I have a GridView that displays thumbnails of images, I want to change
the thumbnail size (zoom in/out) during runtime, what is the best way
to achieve this ?
I changed the columnWidth of gridView during runtime but after that I
scroll the gridview and I get memoryoutoferror exception.
Thanks
--
Some additional info :
I'm running with Android 2.1.
The phone I use id a HTC Desire.
--
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,
On Fri, Jun 18, 2010 at 9:18 PM, Dianne Hackborn wrote:
> You can actually build a URI to launch pretty much any intent; the browser
> always adds the BROWSABLE category, though, so any activity receiving it
> must have specified that.
To clarify: I suspect that the easiest way to determine the p
Hi all,
I am compressing a bitmap object to OutputStream using "Compress"
function. Here is my code:
try {
if (bitmap != null) {
bitmap.compress(Bitmap.CompressFormat.JPEG,
100,
bytes);
} else {
On Sat, Jun 19, 2010 at 10:07 AM, Squ36 wrote:
> So, if I can't use CORBA, what is the best way to program multi-users
> apps ?
Use a server of some form.
> I'm insisting on the fact that it needs to run without a server
> access, because I'm a student, and I can't afford to buy or rent a
> dedi
OK...
So, if I can't use CORBA, what is the best way to program multi-users
apps ? I'm insisting on the fact that it needs to run without a server
access, because I'm a student, and I can't afford to buy or rent a
dedicated server...
--
You received this message because you are subscribed to the
If you've spotted a fraudulent advertiser on AdMob, please report it
to them. They have their own support forum.
--
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 uns
On Sat, Jun 19, 2010 at 9:51 AM, Squ36 wrote:
> I just have a quick question. Is it possible to use CORBA in an
> Android app ? Because I learned how to use it at school
I am hoping that you learned it 15 years ago, back when it was popular.
> and I was
> wondering if I could use it with Android
Hi all !
I just have a quick question. Is it possible to use CORBA in an
Android app ? Because I learned how to use it at school, and I was
wondering if I could use it with Android to create multi-users
applications/games without using a server...
I searched Google and the Groups, but I got nothin
> Do not tell me I have to develop an application from scratch
> to get this...
OK. I wont :)
... and you don't.
You can launch the barcode app with an Intent using
startActivityForResult(). You will get back a result with Extras that
will have the barcode content - and also I believe the barcod
I uploaded the text file for testing. Maybe it helps:
http://www.reflectlife.org/model.txt
Am 18.06.2010 um 22:27 schrieb David Turner:
> there should not be a problem. Do you have a way to reproduce this (with
> exact instructions, please). Also what does "freeze" really means here ? Is
> the
Oh.I think it must there are ways to install linux apps ,but i'm so
appreciate for your answer ,thanks , hope someone will help me on it...
在 2010-6-18 下午4:16,"Mark Murphy" 编写:
On Wed, Jun 16, 2010 at 11:24 PM, J之道 wrote:
> As the title ,I'm an absolutely n...
You can't install "MySQL ,Apach
Am 18.06.2010 um 22:27 schrieb David Turner:
> there should not be a problem. Do you have a way to reproduce this (with
> exact instructions, please).
I have a simple text file model.txt of 40MB.
"file model.txt" on the command line gives: ASCII Text, with very long lines.
The command I use to p
On Sat, Jun 19, 2010 at 3:18 AM, Robert Green wrote:
> 2) Use a really big list of DEVICE or MODEL names and check against
> that list.
> Pros - It'll work
> Cons - The list is already over 60 entries and is growing at an
> incredible rate. It would be very hard to keep it current and keep
> all
Or maybe the reason you don't see the comment on the phone is because of
different languages.
In fact, I noticed that for example if you have your phone in English (US)
and you write a comment, people with a phone in Italian will not see that
comment.
This is kind of frustrating because the only w
I did some (re)search and could resolve the issue myself !!! .. thanks
On Jun 18, 6:34 am, Salil wrote:
> Hello
>
> I just started my experiments in android. I am using Ubuntu 9.10. I
> installed Java SDK, Eclipse and downloaded SDK from android-sdk_r06-
> linux_86.tgz as fromhttp://developer
Jordan,
this is IMHO technically impossible or at least it does not make sense
and my be even illegal. What about licenses?
Tom
On 18 čvn, 23:47, Jordan wrote:
> As with any software it would be benficial to have an easy migration
> path from the main competitor in the landscape.
>
> Create an
http://supertablets15335.astomielo.com/
--
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
android-developers+unsubscr...@go
thanks for your answering ,I give you more details about what I want to do
best regards
On Thu, Jun 17, 2010 at 5:11 PM, Frank Weiss wrote:
> I suppose you are asking for a recommendation for an XML parsing
> library. There are about four on Android. I mostly use org.xml.sax.
> Which one i
I have a need to classify the device on first run to set some default
settings for my games. This is my first time doing this and I've
already hit some snags as to how to handle such a thing.
Basically I want to figure out if I can run the game with full quality
everything on, which would be for
52 matches
Mail list logo