this on a class that extends Activity isn't simple enough?
On Mon, Mar 12, 2012 at 17:39, bob b...@coolfone.comze.com wrote:
Why is there no static function like Activity.getCurrentActivity()?
Right now, I am saving the Activity in a static variable in onCreate
so I can access it easily
On Mon, Mar 12, 2012 at 21:12, Lew lewbl...@gmail.com wrote:
Carlos Silva wrote:
this on a class that extends Activity isn't simple enough?
You can use 'this' in an instance, but not in a static context.
Never said otherwise. And ftm, do you really think that someone that
doesn't
On Thu, Jan 5, 2012 at 15:50, scp89 jayvanbui...@gmail.com wrote:
I've recently finished writing the first full-length, android-specific
book on Android Marketing. It covers tips, tricks, strategies,
competitive analysis, and so much more. Everything I've learned in 2
years selling android
Hi
You're complicating.
String stripped = ;
for (int i = 0; i sss1.lenght(); i++)
if (sss1.charAt(i) = '0' sss1.charAt(i) = '9')
stripped += sss1.charAt(i);
int start = sss1.indexOf(sss0);
int stop = start + sss0.lenght();
Hope it helps.
BTW, this group is for Android related questions,
On Sun, Nov 27, 2011 at 15:26, Mark Murphy mmur...@commonsware.com wrote:
On Sun, Nov 27, 2011 at 8:54 AM, Carlos Silva r3...@r3pek.org wrote:
it's not official, but you can browse it here:
http://android.git.r3pek.org
Cool!
Though, out of curiosity, what does the Search field search? I
it's not official, but you can browse it here: http://android.git.r3pek.org
On Sun, Nov 27, 2011 at 11:10, Mark Murphy mmur...@commonsware.com wrote:
Not that I am aware of, sorry.
On Sat, Nov 26, 2011 at 9:13 PM, Dav sweetcha...@gmail.com wrote:
any link to browse ICS code online ?
--
Change the package name for the new Application. Once a package name is
used, it is forever reserved and can't be used again other than for upgrades
(for packages with the same signature of course).
2011/10/24 Lucas Falcão lucas.falcao...@gmail.com
Hi guys, how you're doing?
First, thanks for
Is it the emulator that crashes or your Application on the emulator?
On Mon, Oct 24, 2011 at 00:28, Sylvain sylvain.louc...@gmail.com wrote:
We developed an app which uses the Android API 7 (version 2.1) and the
Google map library - developed in early 2010 on Ganymede.
The environment cannot
guess im just too lazy .
By the way, thaks for the quick response :D
On Sun, Oct 23, 2011 at 10:44 PM, Carlos Silva r3...@r3pek.org wrote:
Change the package name for the new Application. Once a package name is
used, it is forever reserved and can't be used again other than for upgrades
On Sat, Oct 22, 2011 at 00:53, Matt Clark mrclark32...@gmail.com wrote:
Caused by:
java.lang.NullPointerException
10-21 20:52:07.157: ERROR/AndroidRuntime(11123): at
tinyclark.robotics.Master.setListeners(Master.java:103)
Your real problem is this ^^^
So, something on your Master.java
@TreKing
You only missed one thing in that class, the method should be called print()
:P
#win anyway :)
On Tue, Aug 2, 2011 at 08:12, Ali Chousein ali.chous...@gmail.com wrote:
Hahaha, TreKing, the trick you played in this thread was a good
one :D Thumbs up :D
--
You received this message
On Wed, Jul 27, 2011 at 13:26, RichardLalancette.Blogspot.com
richard.lalance...@gmail.com wrote:
I really need to find a way to hide and show the bottom bar.
Our app needs to take over the entire screen.
Try to answer this and probably you'll understand why that is a *huge*
mistake:
- How
On Thu, Jul 28, 2011 at 20:31, Richard Lalancette
richard.lalance...@gmail.com wrote:
I don't need any of those features once my app is launched.
You don't, but *I* do...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
On Thu, Jul 21, 2011 at 01:11, Carlos Silva r3...@r3pek.org wrote:
On Thu, Jul 21, 2011 at 01:05, Carlos Silva r3...@r3pek.org wrote:
Ah!! Look at this:
http://community.developer.motorola.com/t5/Android-App-Development-for/Xoom-magnetometer-Y-axis-always-reads-zero/td-p/14184
LOOL
Thanks guys :) It really was the MAGNETIC_FIELD thing. Was using the wrong
sensor for 4 hours and didn't notice that :(
Again, thanks.
On Wed, Jul 20, 2011 at 05:08, Adam Ratana adam.rat...@gmail.com wrote:
Interesting, well I think the reason Carlos' code is not working is because
he needs
Ah! Funny thing about the code I posted (after fixing the sensors):
Xoom doesn't get updates of the Accelerometer, only from the magnetic field
sensor :P Nexus 1 works ok... One more thing for struggling tonight :(
On Wed, Jul 20, 2011 at 17:56, Nathan critter...@crittermap.com wrote:
On Jul
On Wed, Jul 20, 2011 at 23:48, Nathan critter...@crittermap.com wrote:
I;ve been trying a gravity sensor and a a magnetic field sensor.
Nexus One works. Galaxy Tab 10.1 is the smoothest it has ever been,
but doesn't look correct.
Droid 1 won't register with a gravity sensor (returns false).
On Thu, Jul 21, 2011 at 00:12, Adam Ratana adam.rat...@gmail.com wrote:
On Wed, Jul 20, 2011 at 8:04 PM, Carlos Silva r3...@r3pek.org wrote:
After some digging, looks like my accelerometer events are getting
dropped by me because they are unreliable.
I filter the events on the eventlistener
Ah!! Look at this:
http://community.developer.motorola.com/t5/Android-App-Development-for/Xoom-magnetometer-Y-axis-always-reads-zero/td-p/14184
LOOL @ Motorola.
We're already on 3.2 and the problem is still not fixed :(
On Thu, Jul 21, 2011 at 00:27, Carlos Silva r3...@r3pek.org wrote:
On Thu
On Thu, Jul 21, 2011 at 01:05, Carlos Silva r3...@r3pek.org wrote:
Ah!! Look at this:
http://community.developer.motorola.com/t5/Android-App-Development-for/Xoom-magnetometer-Y-axis-always-reads-zero/td-p/14184
LOOL @ Motorola.
We're already on 3.2 and the problem is still not fixed :(
Ok
On Tue, Jul 19, 2011 at 21:33, Duygu Kahraman duygu.kahram...@gmail.comwrote:
I am working on an Android app where we enter some text in edit box
and all i want to do is simply send the text which typed (i.e..,
edittext.gettext()) to Facebook as my status. The important thing is
i
don't want
but not
with this method.
Can you guys see something that I'm not seeing?
Thanks in advance,
Carlos Silva
On Wed, Jul 20, 2011 at 00:48, Nathan critter...@crittermap.com wrote:
On Jul 19, 4:14 pm, Adam Ratana adam.rat...@gmail.com wrote:
Hello Nathan, I actually use raw Accelerometer + Magnetometer data
On Tue, Jun 28, 2011 at 06:22, laminina jennys.jen...@gmail.com wrote:
I'm also able to install your package in my Xoom.
Something that brings to my mind is which ROM version does the Xoom
you have is currently using.
I have the stock 3.1 with root and changed kernel.
--
You received this
Maybe it's this two permissions that messes the Xoom Wifi Only:
android.permission.ACCESS_NETWORK_STATE
android.permission.CHANGE_NETWORK_STATE
I can't install it on my Xoom either.
On Mon, Jun 27, 2011 at 10:51, Mark Murphy mmur...@commonsware.com wrote:
It shows up for my XOOM.
On Mon, Jun
On Mon, Jun 27, 2011 at 12:06, Mark Murphy mmur...@commonsware.com wrote:
On Mon, Jun 27, 2011 at 7:58 AM, Carlos Silva r3...@r3pek.org wrote:
Maybe it's this two permissions that messes the Xoom Wifi Only:
android.permission.ACCESS_NETWORK_STATE
android.permission.CHANGE_NETWORK_STATE
I
On Mon, Jun 27, 2011 at 13:06, Carlos Silva r3...@r3pek.org wrote:
On Mon, Jun 27, 2011 at 12:06, Mark Murphy mmur...@commonsware.comwrote:
On Mon, Jun 27, 2011 at 7:58 AM, Carlos Silva r3...@r3pek.org wrote:
Maybe it's this two permissions that messes the Xoom Wifi Only
On Mon, May 30, 2011 at 08:57, mpiks jonathan mpiksjonat...@gmail.comwrote:
Hi to all,
Is there another way one can post a problem and get solution apart
from sending an email to android-developers@googlegroups.com?
For example like an android developer's chat on Skype?
#android-dev on
On Tue, Feb 22, 2011 at 11:39, Abhilash baddam
abhilash.androiddevelo...@gmail.com wrote:
myDB.execSQL(DELETE FROM favourites where month= ' +str+ ' );
the above statement is working fine but if the *str* contains apostrophe
then i am getting exception near *'s. *Otherwise working only if
On Wed, Nov 17, 2010 at 12:05, Pableras elpablosa...@gmail.com wrote:
Hi
i need that my user interface haves 3 sections
NORTH SECTION: four textviews with info about a user
MIDDLE SECTION: a googlemap view with the position of the user
SOUTH SECTION: a textview with time of last position,
How is your layout file?
On Wed, Nov 17, 2010 at 12:29, Pableras elpablosa...@gmail.com wrote:
i can't... im trying it but i can't create a mapview on the layout, it
does not exist, and i can do a include on a layout
On 17 nov, 13:09, Carlos Silva r3...@r3pek.org wrote:
On Wed, Nov 17
check the addExtra methods on the Intent class
On Wed, Nov 3, 2010 at 10:55, Emre A. Yavuz eayl...@hotmail.com wrote:
Hi Vinay,
Yes, I meant some data of present activity. The trivial method would be
using static variables as you have already mentioned in your reply. That's
actually what I
On Fri, Oct 22, 2010 at 19:07, TreKing treking...@gmail.com wrote:
On Wed, Oct 20, 2010 at 2:49 AM, Nasir medmat...@gmail.com wrote:
i should be able to send a recorded audio from code into it.
What's the point of that? A microphone, presumably, is get audio data. If
you already have said
You just need *one* UI, or *two* if you want to make the app look different
when in landscape. The text should be dynamic using the
res/values/strings.xml file (one file for each language).
See here:
http://developer.android.com/intl/fr/guide/topics/resources/localization.html
On Wed, Oct 20,
Hi guys,
are there any docs covering the filtering of the protocol specifier?
Something like the market application does with market://, i'd like to
make with my application.
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups Android Developers
Thanks :) Was missing the scheme part :)
On Tue, Oct 12, 2010 at 19:07, Kumar Bibek coomar@gmail.com wrote:
Sure
http://developer.android.com/guide/topics/intents/intents-filters.html#ifs
Look at android:schemes
On Tue, Oct 12, 2010 at 11:33 PM, Carlos Silva r3...@r3pek.org wrote
This is normal since the Market only uses one account (the main/first
account on the device) to associate applications with an account. So even if
you have 10 Google accounts on a device, only the main one is associated
with the Market.
On Wed, Oct 6, 2010 at 12:11, beemer mse...@gmail.com wrote:
Hi Pedro,
you can check how I do it in Farmácias (don't know if you know it). Here's
the relevant source file: http://goo.gl/3vrj
Check the onDraw Method.
On Mon, Sep 13, 2010 at 21:30, Pedro Teixeira pedroteixeir...@gmail.comwrote:
Hi there,
I have a marker on the map using an Overlay..
I
On Wed, Aug 25, 2010 at 16:30, Sena Gbeckor-Kove s...@imkon.com wrote:
ISn't this what Shazam does?
S
Yep
--
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
On Mon, Aug 23, 2010 at 13:56, Abhi abhishek.r.sha...@gmail.com wrote:
Hi Kostya
Ok. Let me explain further. I am changing button state by doing
button.setEnabled(true or false) but, the state that the button is
currently in, won't show up on the screen unless I touch the screen.
That is
On Fri, Jul 30, 2010 at 14:09, RamaMohan rama.mohan...@gmail.com wrote:
HI all,
I want to add uses-permission via programatically .I want to
telephone number of the device.For that i need to access the phone
state.But i need to add that permission only with Java code at
runtime.
Is it
On Fri, Jul 30, 2010 at 14:13, RamaMohan rama.mohan...@gmail.com wrote:
HI all,
I s there any way to kill the entire application at once.Not using
with finish() or system.exit() ..all these two will kill the
activity ,but not the appication.
Is there any way to kill the entire application
On Fri, Jul 30, 2010 at 23:35, beacon indiantalkiedhi...@gmail.com wrote:
Hi ,
I am trying to retrieve a XML document from web service. I am passing
a soap object with a token implementing the OAuth concept and
retrieving the data. But the data does not turn out to be in XML
format. It
On Fri, Jul 23, 2010 at 15:25, Pedro Teixeira pedroteixeir...@gmail.comwrote:
Hello MArk,
I used your NooYawk example to help build my code.
I'm just having some issues changing the appearance of the onTap
overlay.
Is it possible to change it from a TableLayout to a RelativeLayout?
This
On Wed, Jul 21, 2010 at 10:32, Mark Carter mjc1...@googlemail.com wrote:
Note: I would attach the sample MP3 file, but that doesn't seem
possible here.
It is possible and we got your first email (with the attach)
--
You received this message because you are subscribed to the Google
Groups
On Sat, Jul 17, 2010 at 11:40, Indicator Veritatis mej1...@yahoo.comwrote:
Actually, it is possible, but it would require custom code for both
server and client dropping the UDP connection and starting up a
corresponding TCP connection on agreed upon ports -- but why? The
request sounds like
On Fri, Jul 16, 2010 at 16:46, xuxu shlomitmay...@gmail.com wrote:
Hi,
I'm newbie with android.
I wanted to ask if there is a possibility to create udp connection and
then change to tcp connection while the emulator is client and the
server's code is java.
all I found at the web is or tcp
On Tue, Jul 6, 2010 at 11:15, Mark Carter mjc1...@googlemail.com wrote:
I noticed that (on Froyo) when viewing Google Maps using the Market
app (or going through Manage Applications), there is a button to
Uninstall Updates. I haven't seen this for any other app (but I
haven't looked that hard
On Wed, Jun 23, 2010 at 00:48, Connick oconn...@gmail.com wrote:
Hi folks,
Does anyone know if there's a way to set the sync interval on accounts via
sync adapter in pre-froyo? They've added the API to do so in 2.2 but I'm
curious to know if there is a workaround in 2.0-2.1. (My backup plan
On Tue, Jul 6, 2010 at 23:50, baka rkabhi1...@gmail.com wrote:
On Eclair, I think accounts can be synced only manually by going to
Settings - Accounts - Sync Now
Google accounts sync automatically :)
--
You received this message because you are subscribed to the Google
Groups Android
On Thu, Jun 24, 2010 at 17:49, TreKing treking...@gmail.com wrote:
On Jun 15, 9:15 am, tfriest tfri...@kc.rr.com wrote:
Does anyone know of a better way to do this?
As you've seen, the maps documentation is pretty pathetic. What I know
of the onTap functions has been gleamed from trial and
On Thu, Jun 24, 2010 at 09:47, Pedro Teixeira pedroteixeir...@gmail.comwrote:
Hello,
I'm trying to get the lat/long values, from the corners of the screen.
But my getProjections don't make any sense.. I mean ...
mymap.getProjection().fromPixels(0, 0) or
Android can't connect to Ad-Hoc networks... Don't know if there's any app on
the Market that allows you to do that...
On Sun, Jun 6, 2010 at 21:40, Tim t...@mobiforms.com wrote:
Is it possible for Android to connect to Windows ICS (Internet
Connection Sharing) via WiFi?
I have set up Windows
On Fri, May 28, 2010 at 14:41, Nithin nithin.war...@gmail.com wrote:
Hi,
I have a editText. In this, I want to set two ImeOptions as
textInput.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI);
textInput.setImeOptions(EditorInfo.IME_ACTION_DONE);
On Thu, May 20, 2010 at 11:31, Samuh samuh.va...@gmail.com wrote:
I am embedding a MapView in my application which is used as a canvas
to pin point a location.
My question is do I need to buy a license if I publish my application
as paid app in market? What is my app is free?
No, and No.
On Sat, May 15, 2010 at 15:15, John Gaby jg...@gabysoft.com wrote:
I am about to reach the point in my development where I need to work
with a real phone, and am trying to figure out what to get. If I were
to get a droid or droid incredible phone from Verizon will I be able
to use that phone
Buy anyone you want :)
On Fri, May 14, 2010 at 10:07, Simone simone.russ...@gmail.com wrote:
I don't know, I don't have an android device yet but I need one to
test my game before releasing it.
I was wondering if I had to buy the android device with android 1.6 on
it, or if I could just take
On a ListActivity,
getListView().setTextFilterEnabled(true);
On Fri, May 14, 2010 at 10:07, Kaka clipse.z...@gmail.com wrote:
Hi, all
In the built-in Contacts app, if it's the view of contact list, when
you type a keyborad, it will trigger a type-to-search. However,
insteading of using
On Fri, May 14, 2010 at 10:24, Simone simone.russ...@gmail.com wrote:
LOL if I can do that I don't see the point of developer phones in the
first place :D
ROM Customization
One last question: how do I do that? Do I just plug the phone in and
tell Eclipse to
upload the apk there instead
On Fri, May 14, 2010 at 12:18, Soumya soumyakanti...@gmail.com wrote:
Hi,
Let me say this with an example. Lets say, my activity A is being
executed, meanwhile another activity B gets launched. By default,
activity B will come on top of activity A. My requirement is that I
want to keep A on
On Wed, May 5, 2010 at 15:15, draf...@gmail.com draf...@gmail.com wrote:
I have a couple of questions about connectivity on Android, if anyone
has any insight it would be great.
What is the default when an application wants to wirelessly connect?
Is it wlan? And if wlan is switched off or
Hi,
I'm copying the MyLocationOverlay class, because it is missing something
important to my application. So I decided to reimplement it myself.
I have everything working, except the animation of the dot.
Here's what I have:
this is from my new MyLocationOverlay class
public
2010/5/6 Kostya Vasilyev kmans...@gmail.com
If that were possible, it'd be a massive security hole.
How does taskkillers (don't) work then?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I'm using the ScrollTextView class from this page (
http://bear-polka.blogspot.com/2009/01/scrolltextview-scrolling-textview-for.html
)
It happens that it doesn't scroll the text and even make it disappear.
Anyone used or got the same problem and can give me a hand?
Thanks in advance
--
63 matches
Mail list logo