On Mon, Mar 12, 2012 at 21:12, Lew 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 o
"this" on a class that extends Activity isn't simple enough?
On Mon, Mar 12, 2012 at 17:39, bob 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 later on. I suspect t
On Thu, Jan 5, 2012 at 15:50, scp89 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 apps, I've put into t
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 ques
On Sun, Nov 27, 2011 at 15:26, Mark Murphy wrote:
> On Sun, Nov 27, 2011 at 8:54 AM, Carlos Silva 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 se
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 wrote:
> Not that I am aware of, sorry.
>
> On Sat, Nov 26, 2011 at 9:13 PM, Dav wrote:
> > any link to browse ICS code online ?
>
> --
> Mark Murphy (a Commons Guy)
> http://c
just too lazy .
>
> By the way, thaks for the quick response :D
>
> On Sun, Oct 23, 2011 at 10:44 PM, Carlos Silva 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 th
Is it the emulator that crashes or your Application on the emulator?
On Mon, Oct 24, 2011 at 00:28, Sylvain 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 be reproduced today sin
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
> Hi guys, how you're doing?
> First, thanks for your attention. My probl
On Sat, Oct 22, 2011 at 00:53, Matt Clark 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 (function setListe
@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 wrote:
> Hahaha, TreKing, the trick you played in this thread was a good
> one :D Thumbs up :D
>
> --
> You received this message because you are s
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 th
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:
- H
On Thu, Jul 21, 2011 at 01:11, Carlos Silva wrote:
> On Thu, Jul 21, 2011 at 01:05, Carlos Silva 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
>>
>> LOO
On Thu, Jul 21, 2011 at 01:05, Carlos Silva 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 fix
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 wrote:
> On Thu, Jul
On Thu, Jul 21, 2011 at 00:12, Adam Ratana wrote:
> On Wed, Jul 20, 2011 at 8:04 PM, Carlos Silva wrote:
>
>> After some digging, looks like my accelerometer events are getting
>> "dropped" by me because they are unreliable.
>> I filter the events on the event
On Wed, Jul 20, 2011 at 23:48, Nathan 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). Just the
> opposite
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 wrote:
>
> On Jul 19, 10:08 pm, Adam Ratana
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 wrote:
> Interesting, well I think the reason Carlos' code is not working is because
> he needs to use the MAGNETIC_F
tion sensor, the values are OK 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 wrote:
>
> On Jul 19, 4:14 pm, Adam Ratana wrote:
> > Hello Nathan, I actually use raw Accelerometer + Magn
On Tue, Jul 19, 2011 at 21:33, Duygu Kahraman wrote:
> 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 a Facebook dialog bo
On Tue, Jun 28, 2011 at 06:22, laminina 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 message because yo
On Mon, Jun 27, 2011 at 13:06, Carlos Silva wrote:
> On Mon, Jun 27, 2011 at 12:06, Mark Murphy wrote:
>
>> On Mon, Jun 27, 2011 at 7:58 AM, Carlos Silva wrote:
>> > Maybe it's this two permissions that messes the Xoom Wifi Only:
>> > andr
On Mon, Jun 27, 2011 at 12:06, Mark Murphy wrote:
> On Mon, Jun 27, 2011 at 7:58 AM, Carlos Silva wrote:
> > Maybe it's this two permissions that messes the Xoom Wifi Only:
> > android.permission.ACCESS_NETWORK_STATE
> > android.permission.CHANGE_NETWORK_STATE
> &g
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 wrote:
> It shows up for my XOOM.
>
> On Mon, Jun 27, 2011 at 5:38 AM,
On Mon, May 30, 2011 at 08:57, mpiks jonathan wrote:
> 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 irc.freenode.org
--
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 o
How is your layout file?
On Wed, Nov 17, 2010 at 12:29, Pableras 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 wrote:
> > On Wed, Nov 17, 20
On Wed, Nov 17, 2010 at 12:05, Pableras 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, and a button to
check the addExtra methods on the Intent class
On Wed, Nov 3, 2010 at 10:55, Emre A. Yavuz 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 have been doin
On Fri, Oct 22, 2010 at 19:07, TreKing wrote:
> On Wed, Oct 20, 2010 at 2:49 AM, Nasir 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 data, what's the point of feedi
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, 20
Thanks :) Was missing the "scheme" part :)
On Tue, Oct 12, 2010 at 19:07, Kumar Bibek 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 wrote:
&g
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" g
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 wrote:
> I'm having th
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 wrote:
> Hi there,
>
> I have a marker on the map using an Overlay..
> I also have access to th
On Wed, Aug 25, 2010 at 16:30, Sena Gbeckor-Kove 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 unsubscribe fr
On Mon, Aug 23, 2010 at 13:56, Abhi 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 where I mentioned about
On Fri, Jul 30, 2010 at 23:35, beacon 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 contains a curly braces in
On Fri, Jul 30, 2010 at 14:13, RamaMohan 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 from any
> activity .
On Fri, Jul 30, 2010 at 14:09, RamaMohan wrote:
> HI all,
> I want to addvia 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 Possible to do so. (or)
> Can you su
On Fri, Jul 23, 2010 at 15:25, Pedro Teixeira wrote:
> 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 XML is sometimes comp
On Wed, Jul 21, 2010 at 10:32, Mark Carter 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 "Android Developers" g
On Sat, Jul 17, 2010 at 11:40, Indicator Veritatis wrote:
> 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 it can only be
On Fri, Jul 16, 2010 at 16:46, xuxu 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 connection or udp
On Tue, Jul 6, 2010 at 23:50, baka 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 Developers" group.
To
On Wed, Jun 23, 2010 at 00:48, Connick 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 is the
> alarm
On Tue, Jul 6, 2010 at 11:15, Mark Carter 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 either).
>
> Is
On Thu, Jun 24, 2010 at 09:47, Pedro Teixeira wrote:
> 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
> mymap.getProjection().fromPixels(screenWidth, screenHeigh
On Thu, Jun 24, 2010 at 17:49, TreKing wrote:
> On Jun 15, 9:15 am, tfriest 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 error and
> experimentation. Thi
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 wrote:
> Is it possible for Android to connect to Windows ICS (Internet
> Connection Sharing) via WiFi?
>
> I have set up Windows ICS (Internet
On Fri, May 28, 2010 at 14:41, Nithin 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);
>
textInput.setImeOptions(EditorInfo.IME_FLAG_NO_EXTRACT_UI
|
On Thu, May 20, 2010 at 11:31, Samuh 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. You just have to
On Sat, May 15, 2010 at 15:15, John Gaby 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 for developmen
On Fri, May 14, 2010 at 12:18, Soumya 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 top. Only activiti
On Fri, May 14, 2010 at 10:24, Simone 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 of launching the emu
On a ListActivity,
getListView().setTextFilterEnabled(true);
On Fri, May 14, 2010 at 10:07, Kaka 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 the quick search bo
Buy anyone you want :)
On Fri, May 14, 2010 at 10:07, Simone 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 any device I wanted.
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
--
Yo
2010/5/6 Kostya Vasilyev
> 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 android-developers@googleg
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 MyPositionOverlay
On Wed, May 5, 2010 at 15:15, 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 there is no acc
63 matches
Mail list logo