[android-developers] Re: Difference between swiping in all apps menu and pressing back to exit

2016-01-03 Thread Nick Teo
Ah yes you're totally right. I started it sticky and that's why it's coming back to life. Is there a way to keep the service running after the app itself is killed? If not I guess I'll have to store the list in persistent memory and load it in when the service starts. -- You received this mes

[android-developers] Difference between swiping in all apps menu and pressing back to exit

2015-12-30 Thread Nick Teo
Hi all, I'm working on a messaging app that starts a service in the background that will receive messages from a Pebble smartwatch and then send out an sms message. Right at this moment, I'm trying to make it so that the service is always running in the background so that the user can always se

[android-developers] With security keyguard active transition between activities is weird

2014-03-30 Thread Teo [GD API Guru]
when i get rid of B the same thing happens. This is annoying because there's a lot of flickering with no real purpose on the screen. Is there any way to achieve direct transition from A to B while keyguard is active without merging the 2 activities into 1? Thanks, Teo -- You received this

[android-developers] android application with ipv6

2013-04-29 Thread Bryan Teo
Hi. How do i link ipv6 together with a mobile application device such as android? I have a project given by the lecturer with 0 notes as reference. I have to combine both of them together, however i dont understand how to link them together and i dont see how it works. Hence, i would ask for an

[android-developers] Re: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

2012-01-29 Thread Teo Yan
Thx Murphy. I try to fix it by like this: boolean activityActive = true; protected void onResume() { // do something activityActive = true; } protected void onPause() { // do something activityActive = false; } public boolean onKeyUp(int keyCode, KeyEvent event) { if (!activi

[android-developers] java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState

2012-01-13 Thread Teo Yan
pls share your knowledge to me, thanks. BR/Teo -- 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 and

[android-developers] Can't disable keyguard anymore

2010-12-04 Thread Teo [GD API Guru]
RIGHT_WAKE_LOCK) | PowerManager.ACQUIRE_CAUSES_WAKEUP, "TagToDoWake"); wl.acquire(); new Handler().postDelayed(new Runnable() { public void run() { wl.release(); } }, 2); And i'm calling them in this order: wakeScreen(); unlockScreen(); Thanks, Teo -- You receive

[android-developers] Why would SQLiteOpenHelper.onUpgrade fail?

2010-09-09 Thread Teo [GD API Guru]
invoked for the first time and then calling onUpgrade 'manually', which is kind of dirty. Does anyone have any idea what might be happening? Thanks, Teo -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

Re: [android-developers] Bringing an Activity to front

2010-08-30 Thread Teo
Thanks for the answers.. I guess it would be better to use alarms then and recreate the activity as needed. On Mon, Aug 30, 2010 at 9:01 AM, Dianne Hackborn wrote: > On Sun, Aug 29, 2010 at 12:52 PM, Teo wrote: > >> Will the process/activity be killed if it has a Handler r

Re: [android-developers] Bringing an Activity to front

2010-08-29 Thread Teo
n app, and i'd still need to bring my activity to the front) On Sun, Aug 29, 2010 at 10:02 PM, Dianne Hackborn wrote: > On Sun, Aug 29, 2010 at 6:59 AM, Teo wrote: > >> That's not a bad idea actually, but that would mean i'd have to keep tabs >> on all the stuff my

Re: [android-developers] Bringing an Activity to front

2010-08-29 Thread Teo
he front, which then > displays snooze/dismiss options for both alarms? > > On Sun, Aug 29, 2010 at 9:14 AM, Teo [GD API Guru] > wrote: > > i have multiple instances of the same activity, is there a way to > > programatically bring one of the instances to the front? I'v

[android-developers] Bringing an Activity to front

2010-08-29 Thread Teo [GD API Guru]
instance reminds the user about the first alarm (sound can be played, but the UI is still somewhere in the background) Any suggestions? Thanks, Teo -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

[android-developers] Re: Failed installs

2010-08-22 Thread Teo [GD API Guru]
t; If you did you will invalidate any "shortcuts" the users have > created.  Only the Icon in the applications panel will work until the > user  re-creates their shortcuts. > > On Aug 22, 9:26 am, "Teo [GD API Guru]" wrote: > > > > > Hi, > > &

[android-developers] Failed installs

2010-08-22 Thread Teo [GD API Guru]
er devs too? Anyone knows what this is about? Thanks, Teo -- 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 e

[android-developers] Moving app to SD card

2010-08-17 Thread Teo [GD API Guru]
x27;t want to create false expectations (e.g. user changes phone, keeps SD card, but loses his 'stuff'); Thanks, Teo -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] Re: QSB on Android help plz?

2010-08-17 Thread Teo [GD API Guru]
Hi, >From what i know the content provider isn't instantiated until/unless it's needed (someone correct me if i'm wrong). On Aug 17, 1:40 pm, sagare wrote: > Hi All, >     I want a to use a Quick Search Box in my application to search my > application data so in a process of implementing it i

[android-developers] Re: renaming a image file on sd card

2010-08-07 Thread Teo [GD API Guru]
Hi, have you found a solution to this problem? Strangely i have it a bit different: can rename without remounting anything (only with the renameTo function) on the sdcard but can't rename in the local storage. On Jun 17, 9:49 am, focode wrote: > i have to change the name of a jpgfile, for that i

Re: [android-developers] Changing project build target

2010-08-03 Thread Teo
e process :) On Tue, Aug 3, 2010 at 1:40 PM, Kostya Vasilyev wrote: > 03.08.2010 14:32, Teo пишет: > > If i were to treat all users alike i'd have to write some kind of >> transition from the old db structure to the new one in the app, and tying >> all the loose ends wo

Re: [android-developers] Changing project build target

2010-08-03 Thread Teo
is wrong. > > -- > 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+

[android-developers] Changing project build target

2010-08-03 Thread Teo [GD API Guru]
x27;old' app without any extra notifications? Thanks, Teo -- 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 e

[android-developers] What do users see when i change the project build target?

2010-06-09 Thread Teo [GD API Guru]
the app? Or will the Market ignore such users and they can continue using the 'old' app without any extra notifications? Thanks, Teo -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] What do users see when i change the project build target?

2010-06-09 Thread Teo [GD API Guru]
the app? Or will the Market ignore such users and they can continue using the 'old' app without any extra notifications? Thanks, Teo -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Help with Getting Data from web server

2010-06-07 Thread teo...@hotmail.com
Hi, I am relatively new to android and i would like to know if it is possible of getting data using http post and get to and from the web server. And also if i do not have access to the parameters to the web server, how would i go about getting it. Thank you. -- You received this message becaus

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-30 Thread Teo
uot; group. > To post to this group, send email to android-developers@googlegroups.com > To unsubscribe from this group, send email to > android-developers+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en >

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-28 Thread Teo
lete) lack of communication from Google on the matter. I haven't >> received a single email from them since the initial one. It's pretty >> frustrating. > > > This specific response was @Teo who stated he would have bought a phone > save for the fact that he was expe

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-27 Thread Teo
I almost agree.. But take my case, i'm only using an emulator to maintain a free popular app, and with existing fragmentation it's getting increasingly hard... I'd buy an Android phone myself if there wasn't talk about a free phone, but i wouldn't want to pay money for one and have a 'nice' surpris

Re: [android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-25 Thread Teo
velopers@googlegroups.com >> To unsubscribe from this group, send email to >> android-developers+unsubscr...@googlegroups.com >> For more options, visit this group at >> http://groups.google.com/group/android-developers?hl=en >> > > > > -- > Lim Sim >

[android-developers] Re: Do i need to call DatabaseHelper.close()?

2010-04-13 Thread Teo
ing dbHelper.close(). I > > try to make it a point to only run dbHelper.open() right before I > > access the database within a function, then I promptly call > > dbHelper.close() when finished with it (in the same function). > > > > On Apr 8, 4:55 am, "Teo

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-04-12 Thread Teo [GD API Guru]
Hi guys, i don't want to be a smart-ass or anything :) It may seem to people looking at this thread that some are complaining which i don't think is true.. Thanks Google for doing this btw! Must be a logistical nightmare to deliver so many phones at once, especially in Europe too, which, consideri

[android-developers] 'Squeezing' a button on the right side

2010-04-11 Thread Teo [GD API Guru]
content" android:layout_height="wrap_content" /> Same thing doesn't work programatically though, and i've tried other gravity, weight, layout combinations.. Can someone who tried this tell me how they did it, or how it should be done? Thanks, Teo --

[android-developers] Do i need to call DatabaseHelper.close()?

2010-04-08 Thread Teo [GD API Guru]
n the home screen, when the fullscreen app is closed i wouldn't want to close the dbHelper in onDestroy. My question is: does Android or the garbage collector do all the necessary stuff to release the memory in case it *isn't* used again? (the case in which the widget isn't added)

[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-29 Thread Teo [GD API Guru]
Well, sorry to add to this mammoth thread, but i'm going nuts with anticipation =] Romania, still waiting =] On Mar 29, 3:03 pm, ratson wrote: > Hungary, still waiting ;) i guess EU shall receive N1s in the next > days... > > On márc. 29, 11:25, Paul wrote: > > > > > Germany, still waiting. > >

[android-developers] Re: Fail to create a new file on a sdcard

2009-12-09 Thread Teo [GD API Guru]
Have you managed to do that? I'm very interesting in doing this myself... Something must have happened because what works previously doesn't anymore and breaks functionality for a lot of users. On Dec 3, 3:14 am, Tan wrote: > Hi all > > I have the same problem, the code writes to emulator even if

[android-developers] Phone still making sounds when it's silent?

2009-12-02 Thread Teo [GD API Guru]
temService (Context.AUDIO_SERVICE); am.setRingerMode(AudioManager.RINGER_MODE_SILENT); Thanks, Teo -- 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 u

[android-developers] Weird EditText behavior in Android 2.0

2009-11-19 Thread Teo [GD API Guru]
are enabled by default in Language & Keyboard settings temporarily fix this for a number of sessions, but then it randomly reverts back... Has anyone else seen this? Thanks, Teo -- You received this message because you are subscribed to the Google Groups "Android Developers" group

[android-developers] Re: HTC Tatto for Android Application testing

2009-11-12 Thread Teo [GD API Guru]
I would also be interested in this since Tattoo is pretty cheap compared to other Android phones here... On Nov 12, 8:04 am, Nemat wrote: > Hey friends > > I have to buy a new Android phone for testing android applications I > work upon.What about HTC Tatoo?? > > Can I buy that one??This

[android-developers] Re: Moving ADC non-winner to regular Market

2009-11-12 Thread Teo [GD API Guru]
Yep, that's what i did too, the package name is reserved. But i think the name was also reserved too, i had to also change a small detail in the name so it would accept my submission. On Nov 12, 7:08 am, Andrei wrote: > i think you have to rename your package and upload as new > > On Nov 11, 11:3

Re: [android-developers] Possible bug with Intents and PendingIntents on Android 2.0 AVD

2009-11-07 Thread Teo
Nov 7, 2009 at 2:15 AM, Teo [GD API Guru] wrote: > >> Hi everyone, >> >> i have some code that is creating and removing alarms, and which works >> great in Android 1.5 and 1.6 but breaks on the Android 2.0 AVD. >> >> The code that's giving this exception is:

[android-developers] Possible bug with Intents and PendingIntents on Android 2.0 AVD

2009-11-07 Thread Teo [GD API Guru]
Hi everyone, i have some code that is creating and removing alarms, and which works great in Android 1.5 and 1.6 but breaks on the Android 2.0 AVD. The code that's giving this exception is: Intent intent = new Intent(context, AlarmReceiver.class).setFlags ( Intent.FLAG_ACTIVITY_N

[android-developers] Re: NEEDED: Apps to feature on Sprint Microsite

2009-10-31 Thread Teo
I also got a flurry of offers more or less like this, most come directly through email, but i've come to ignore them... Personally what would get me to pay more attention to such things would be that the sender is someaddr...@aknowncompany.com (e.g. someaddr...@sprint.com). Imho this detail would m

[android-developers] Android SDK loads every time i open Eclipse

2009-10-29 Thread Teo
Can i stop that? Sometimes i don't use Eclipse for Android development but it still bugs me to see it load every time =D Thanks in advance! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. T

[android-developers] AppWidget efficiency

2009-09-20 Thread Teo
workaround/ better way of doing this? Or maybe some way to intercept if the widget is in view so i can start/stop the timer when needed? Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: Android 1.6 SDK is here!

2009-09-17 Thread Teo
For me GEO searches (geo:0,0?q=somelocation) aren't working any more, is it just me or is it happening to others too? The message says that there's no activity to handle this intent... On Sep 17, 7:20 am, gjs wrote: > Hi Xavier, > > Thanks for the details. > > I downloaded 'newer' sdk and the co

[android-developers] Re: ADC2 Challenge - Is this allowed?

2009-08-27 Thread Teo
I think it's also a bit unfair to think like that. It was pretty obvious they won't allow existing apps into the contest as apps made without a deadline would benefit from an unfair advantage (in development time and popularity). Also, i guess the point of this contest is to promote innovation and

[android-developers] Re: How to make phone silent?

2009-08-17 Thread Teo
y state - power on, mmi, etc. > your code seems to need the premission to audio and phone state > > > On Sun, Aug 16, 2009 at 11:23 PM, Teo wrote: > >> >> Hi, >> >> has anyone made the phone silent from code? Is there any permission >> needed? I am usi

[android-developers] How to make phone silent?

2009-08-16 Thread Teo
Hi, has anyone made the phone silent from code? Is there any permission needed? I am using this method, but it's doing nothing: ((AudioManager) context.getSystemService(Context.AUDIO_SERVICE)) .setMode(AudioManager.RINGER_MODE_SILENT); Thanks

[android-developers] Re: Launching a Service at the startup

2009-08-11 Thread Teo
Sorry, i forgot that i can pass any intent to the alarm, please ignore my question :) On Aug 11, 11:05 am, Teo wrote: > I was also considering a service for my app, but reading this thread i > have second thoughts... Basically, all i want is a function to be > called at a preset time (

[android-developers] Re: Launching a Service at the startup

2009-08-11 Thread Teo
I was also considering a service for my app, but reading this thread i have second thoughts... Basically, all i want is a function to be called at a preset time (every day). What's the recommended way of doing this without a service? Thanks, Teo On Aug 4, 2:09 am, Mark Murphy wrote

[android-developers] Re: Do I have to test my app on Dev Phone for ADC II

2009-08-08 Thread Teo
About the testing thing. I developed a fairly complex app which uses a lot of the APIs offered by the platform. I guess it depends on what exactly you're implementing - but in my case, i only have an emulator and it runs fine on phones. On Aug 7, 8:55 pm, -v- wrote: > Hi, > I plan to submit an a

[android-developers] Re: Update widget from code

2009-06-29 Thread Teo
w > > do i push changes to thewidgetif Iupdatean event on the calendar? > > I have been looking at the calendar and calendarwidgetcode but I > > have yet to figure out how to do this. > > > > Thanks. > > > > On Jun 8, 12:14 am, Teo wrote: > > > &

[android-developers] Alarms (AlarmManager) cleared on reboot :/

2009-06-17 Thread Teo
Is there a recommended way of resetting these alarms? The only way i can think of is registering a receiver for boot time, have it re-read the database and recreate the alarms but that seems so overkill. Why on earth would they be designed to be cleared on reboot?! :/ Thanks, Teo

[android-developers] Re: flagNoExtractUi still showing keyboard text area

2009-06-15 Thread Teo
I see you reported this in the issue tracker but no one answered there either, not even a confirmation of the bug :/ On Jun 15, 4:06 pm, Teo wrote: > I am also experiencing this issue... A fix would be great... > > On May 28, 11:23 pm, Peter Jeffe wrote: > > > > > So i

[android-developers] Re: flagNoExtractUi still showing keyboard text area

2009-06-15 Thread Teo
I am also experiencing this issue... A fix would be great... On May 28, 11:23 pm, Peter Jeffe wrote: > So is anyone else using this flag?  The only other app I can find that > uses it also has the same issue, so at this point I'm assuming this is > a bug.  It's too bad, it's really a shame takin

[android-developers] Re: Handling widget interface events

2009-06-10 Thread Teo
't pinpoint it :) As a suggestion, this stuff (explicit event handling inside your own widget) should be included in official documentation, and maybe simplified in the long-term since i find it very important. On Tue, Jun 9, 2009 at 8:10 PM, Teo wrote: > Hmm same behavior, for some reas

[android-developers] Re: Handling widget interface events

2009-06-09 Thread Teo
> > Nothing in the service gets launched according to the debugger... > > If nothing else, PendingIntent.getActivity() won't talk to a service. You > probably want PendingIntent.getBroadcast(). > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy

[android-developers] Re: Handling widget interface events

2009-06-09 Thread Teo
your manifest, and process > that action when it arrives, updating your TextView. > > -- > Mark Murphy (a Commons Guy) > http://commonsware.com > _The Busy Coder's Guide to Android Development_ Version 2.0 Available! > > > > > > -- Teo (a.k.a. Teominator

[android-developers] Handling widget interface events

2009-06-09 Thread Teo
from the widget): mRemoteViews.setOnClickPendingIntent(R.id.widgetLeft, whatToPutHere); R.id.widgetLeft is a button. Is there something i can put as a PendingIntent that would trigger that same onReceive function? Is the only way to do this through a separate servic

[android-developers] Re: Update widget from code

2009-06-08 Thread Teo
I've got a related question (or i'm not getting this right). The way i see it, onReceive can be used to handle interface events, but what pending intent do i need to attach to a button so that onReceive can be triggered? Thanks, Teo On Apr 23, 1:05 am, Al wrote: > That worked, t

[android-developers] Why would ScrollView not scroll completely?

2009-05-14 Thread Teo
If i try to scroll everything down completely, through code, it always stops short of the task, something like a few pixels, why would that be? I've tried scrollBy, scrollTo, and also fullScroll (ScrollView.FOCUS_DOWN). Thanks, Teo P.S. Manually i can scroll compl

[android-developers] Re: How to enforce the soft keyboard

2009-05-12 Thread Teo
Is there a way to make it disappear from code? On May 12, 4:18 am, Dianne Hackborn wrote: > The user always has the option to dismiss it. > > On Sun, May 10, 2009 at 10:48 AM, Joerg Pleumann > wrote: > > > > > Hello, > > > is there a way to enforce the soft keyboard throughout the lifetime of >

[android-developers] Programatically selection of 3G network connection in G1?

2009-05-11 Thread Joseph Teo
Hi Folks, I'm working on some data transmission program and current it works alright on WIFI connection. However, I understand that if I am in an environment where there are both 3G and WIFI coverage... the phone will (by default) be turned onto the WIFI network connection. However, if for some

[android-developers] Programatically selection of 3G network connection in G1

2009-05-10 Thread Joseph Teo
Hi Folks, I'm working on some data transmission program and current it works alright on WIFI connection. However, I understand that if I am in an environment where there are both 3G and WIFI coverage... the phone will (by default) be turned onto the WIFI network connection. However, if for some

[android-developers] Re: ScrollView and Programmatically Scrolling

2009-05-10 Thread Teo
Same problem here... On May 6, 6:14 am, Kaka wrote: > any solution now? > > I have to implement the same function too. > > On Apr 20, 2:32 am, Arnaud Weber wrote: > > > Ok, i've found some kind of weird solution... > > > It seems that fullScroll is inversed. As i wanted to go to the top of my >

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-03 Thread Teo
nning Android device in that Eclipse dialog and the activity is even launched on the emulator. Thanks for the replies, Teo On Sun, May 3, 2009 at 10:21 PM, Raphael wrote: > > Re-reading your original post, I don't understand how you can get the > "emulator: user image already

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-02 Thread Teo
Sorry, i forgot about it: Windows Vista (Eclipse Ganymede) On Sat, May 2, 2009 at 10:13 PM, Raphael wrote: > > Let's start by that simple question: What OS are you using? Windows, > Linux, MacOS? > > R/ > > On Sat, May 2, 2009 at 3:46 AM, Teo wrote: > >

[android-developers] Re: Trouble migrating apps to 1.5

2009-05-02 Thread Teo
Hmm, the problem reappears after restarting and i still have to do adb kill-server every time. On Thu, Apr 30, 2009 at 9:28 PM, Teo wrote: > Hi, thanks for the response - fixed it in the meanwhile. Apparently it was > something of this sort, i just tried adb kill-server and everything

[android-developers] Re: Trouble migrating apps to 1.5

2009-04-30 Thread Teo
> any chance there are two instances of the emulator running? One is > visible and other is running in the background. That can also cause > this issue. > > On Apr 30, 12:34 pm, Teo wrote: > > Apparently the emulator can't attach itself to the adb tool too... > &

[android-developers] Re: Trouble migrating apps to 1.5

2009-04-30 Thread Teo
Apparently the emulator can't attach itself to the adb tool too... On Apr 30, 4:06 pm, Teo wrote: > Hi, > > is anyone else having trouble with the new app running 'system'? My > emulator just ignores them, can't launch any app. Changed the project > build ta

[android-developers] Trouble migrating apps to 1.5

2009-04-30 Thread Teo
or message (and does nothing). Then, every time i try to run the app it says "emulator: ERROR: the user data image is used by another emulator. aborting". I'm sure i must be doing something wrong, but i can't figure it out :) Any help is appreciated... Thanks, Teo --~--~-~-

[android-developers] Re: Is it possible to start an application programmatically?

2009-03-25 Thread Joseph Teo
ah ok... cool... Many thanks Dianne! :) On Thu, Mar 26, 2009 at 2:02 PM, Dianne Hackborn wrote: > Just use startActivity(), possibly with the NEW_TASK flag. You can look at > the home screen sample code in the SDK for an example. > > > On Wed, Mar 25, 2009 at 10:45 PM, J

[android-developers] Is it possible to start an application programmatically?

2009-03-25 Thread Joseph Teo
Hi there... I know u can start a program using the adb shell... BUT I am trying to write a program which is able to start another application (e.g. Browser or Dialer or Maps etc) programmatically (from the program)... is it possible to do so in the program? If so, can someone kindly post some cod

[android-developers] Re: Android Developer Challenge II Cancelled?

2009-03-19 Thread Teo
I too feel very sad about the lack of ADC news, but i think one of the explanations might be the financial crisis. On Mar 19, 12:01 pm, De San Nicolas Jean Philippe wrote: > The strategy of Google for Android is very very obscure. I think for a while > that the Challenge Two will not come. As I

[android-developers] Re: Obtaining IP address when on 3G (MOBILE) connection

2009-03-19 Thread Joseph Teo
ch (SocketException ex) { >Log.e(S.TAG, ex.toString()); >} >return null; >} > > Regards, > Regina > > On Mar 15, 10:39 pm, Joseph Teo wrote: > > Hi Folks, > > > > I have a small question. When i'm connected to WIFI,

[android-developers] Obtaining IP address when on 3G (MOBILE) connection

2009-03-16 Thread Joseph Teo
Hi Folks, I have a small question. When i'm connected to WIFI, I could use the following code to obtain the IP address of the Android phone WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE); WifiInfo wifiInfo = wifiManager.getConnectionInfo(); int ipAddress = wifiInfo.getIpAd

[android-developers] Obtaining IP address when on 3G (MOBILE) connection

2009-03-16 Thread Joseph Teo
Hi Folks, I have a small question. When i'm connected to WIFI, I could use the following code to obtain the IP address of the Android phone WifiManager wifiManager = (WifiManager) getSystemService(WIFI_SERVICE); WifiInfo wifiInfo = wifiManager.getConnectionInfo(); int ipAddress = wifiInfo.getIpAd

[android-developers] Re: Support from Developers

2009-03-16 Thread Teo
I've seen this problem on many platforms. My suggestion for it is kind of a fuzzy logic thing. Why not give more weight to the ratings of certain users, based on an algo and criteria which can be established (as has already been said on this thread, one criteria can be, for example, how much the u

[android-developers] Re: How to pass a class reference as a parameter to an activity?

2009-03-09 Thread Teo
You can try making a static member maybe? On Mar 9, 10:52 am, Zhiping Zeng wrote: > HI, all, > > I want to pass a class reference to an activity, and then the activity > will construct the view according to the content of the class. > > How could I implement this function? > > thanks. > -- > Zhi

[android-developers] How is the website in the contact info for each app used?

2009-03-08 Thread Teo
Can users visit the app website before installing? Sorry for asking a question that might be stupid but i don't have an Android phone... Thanks in advance, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups &qu

[android-developers] Re: How to intercept KEYCODE_DPAD_CENTER correctly?

2009-03-01 Thread Teo
your views > non-focusable instead? > > > > > On Sun, Mar 1, 2009 at 8:24 AM, Teo wrote: > > > > Hi, > > > > what i'm trying to do is make the DPAD_CENTER key be a shortcut for a > > specific feature. But sometimes a certain view has focu

[android-developers] How to intercept KEYCODE_DPAD_CENTER correctly?

2009-03-01 Thread Teo
rue in the onKeyDown function :) Thanks, Teo --~--~-~--~~~---~--~~ 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 f

[android-developers] Searching contacts

2009-02-24 Thread Teo
Hi, is there a way to open the contacts view from my own app, with a certain search for someone already activated? I already tried using those FILTER attributes and nothing really worked besides the normal opening of the contacts. Thanks, Teo

[android-developers] Re: Help! Market ratings for my app have disappeared!

2009-02-18 Thread Teo
Yes, the numbers are back. Thanks for the reply. On Wed, Feb 18, 2009 at 3:05 PM, Jon Colverson wrote: > > On Feb 18, 7:14 am, Teo wrote: > > Has this happened to anyone else? I now have a 0 star rating with 0 > > people having rated it... > > This happened to my l

[android-developers] Help! Market ratings for my app have disappeared!

2009-02-17 Thread Teo
Has this happened to anyone else? I now have a 0 star rating with 0 people having rated it... --~--~-~--~~~---~--~~ 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

[android-developers] Suggestion for Android Market

2009-02-09 Thread Teo
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... Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] If i use the internet in my app, how long does it stay connected?

2009-02-08 Thread Teo
know i'm needing the internet, and will it connect? (or do i need to do something special?) 2) If i don't use it anymore, is there a timeout after which it will disconnect? I don't want the user to remain connected if it's my app tha

[android-developers] Re: SharedPreferences - is it secure?

2009-02-07 Thread Teo
ith encryption things may be dicey. Finder may have success > retrieving the original password through a reverse lookup. Just by > what Google does (crawling the web), they've indexed a sizeable number > of MD5 passwords for a reverse lookup. > > > > -

[android-developers] Re: SharedPreferences - is it secure?

2009-02-07 Thread Teo
s should be enough, unless i'm missing something... (SQLite would be a nice solution but it doesn't seem natural to me for individual settings) Thanks, Teo On Sat, Feb 7, 2009 at 5:29 PM, Fred Grott(shareme) wrote: > > SQLite stores user data by the app package name. if you did a d

[android-developers] SharedPreferences - is it secure?

2009-02-07 Thread Teo
Hi, i'm implementing a feature that requires a password, is it safe to store using SharedPreferences.Editor? Is there another recommended way for storing passwords? Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed t

[android-developers] Re: How to add a calendar entry?

2009-02-05 Thread Teo
return true; } If anyone managed event insertion with Google Calendar on Android please help us :) Thanks, Teo On Jan 27, 10:51 pm, Markus Junginger wrote: > I would like to insert a new event (start time, end time, and event > name) in the user'scalendar. How can I do that?

[android-developers] Re: Are you localizing an app? Do you want to be?

2009-01-15 Thread Teo
ourse)? Thanks in advance, Teo On Jan 8, 9:59 am, "bwilliam...@gmail.com" wrote: > Thanks for this, but specifically thanks for the command that switches > locale. > > On Jan 6, 8:19 am, Dan Morrill wrote: > > > We have been working on some documentation to help developers

[android-developers] Merry Christmas and a Happy New Year!

2008-12-24 Thread Teo
Hi, just wanted to wish all the devs in this group a Merry Christmas and a Happy New Year, and special thanks to the Android team who made this all possible! Best wishes, Teodor Filimon --~--~-~--~~~---~--~~ You received this message because you are subscribed to

[android-developers] Re: New SDK Available

2008-12-08 Thread Teo
m... I hope i'm making sense :) Thanks, Teo On Dec 8, 5:34 pm, don rhummy <[EMAIL PROTECTED]> wrote: > Will thephonework with Sprint? Is there anything that can use android with > Sprint? > > --- On Mon, 12/8/08, Dianne Hackborn <[EMAIL PROTECTED]> wrote: &

[android-developers] Re: Android market and ADCII

2008-11-30 Thread Teo
and i promise that during the first half of next year it will become open-source. Thanks, Teo On Nov 30, 1:04 am, "Shane Isbell" <[EMAIL PROTECTED]> wrote: > Hi Teo, > > If you are going to open-source, better do it early. Disregarding the > "Google open-source way&

[android-developers] Re: Android market and ADCII

2008-11-29 Thread Teo
:) Thanks, Teo On Nov 28, 5:05 pm, "Juan David Trujillo C." <[EMAIL PROTECTED]> wrote: > Hi Teo! > > Is the application you uploaded open-source? or, is it free, but > closed source? > > Thanks, > > Juan. > > On 14 nov, 09:18, Teo <[EMAIL PROTECTED]&

[android-developers] About the stats bug in Market

2008-11-27 Thread Teo
Hi, is anyone from Google reading this? Please fix the stats deletion bug on app upgrades :) At least tell us when it's going to be fixed... It's been there for quite a while now and even though the message says it's going to be fixed soon it hasn't went away... Thanks in advance.. --~--~---

[android-developers] Upgrading vs. Stats bug

2008-11-17 Thread Teo
Can we at least be given a general idea when this Market issue will be fixed? Thanks, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] MediaRecorder question

2008-11-16 Thread Teo
Can only SD card paths be given as an output to MediaRecorder? Thanks in advance, Teo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: there is no ViewInflate in sdk 1.0?

2008-11-15 Thread Teo Hong Siang
View.inflate()? On Nov 15, 8:22 pm, Andrew <[EMAIL PROTECTED]> wrote: > In Android sdk 1.0, I can't find the class ViewInflate. Then how can I > load a view from the xml? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

[android-developers] Re: Android market and ADCII

2008-11-14 Thread Teo
Regarding your first question, i asked myself the same... I uploaded my app to the Market though, with the assumption that i'll be able to participate. I hope it will be possible :) On Nov 13, 9:39 pm, "Juan David Trujillo C." <[EMAIL PROTECTED]> wrote: > Hi guys! > > I have a question: Is it pos

[android-developers] Re: Getting database access from service

2008-11-01 Thread Teo Hong Siang
I guess an option is to declare a static Cursor in your Activity, then call manageQuery once. Subsequently, in the service, you can just do a requery() on the Cursor object. On Nov 1, 5:01 pm, "Lillian Brandão" <[EMAIL PROTECTED]> wrote: > Hi, > > I have an application which access database infor

  1   2   >