[android-developers] Re: Cannot catch swipe action for SoftKeyboard

2012-03-13 Thread Solution 9420
Dear Tsukishiro, Let me start with the bottom line which are 1. You need to have your own KeyboardView. - Either extend from Android KeyboardView or make your own based on Android KeyboardView. - For example http://grepcode.com/file/repository.grepcode.com/java/ext/com.google.android/androi

Re: [android-developers] Duplicate Calendar Event

2012-03-13 Thread giles ian
Thanks Mike you your answer. Now my question is how do i check if a particular event is already present. Basically i want a select with where clause (for title,start date and end date) On Wed, Mar 14, 2012 at 12:01 AM, Michael Chan wrote: > Hi Giles, > > The code below will add an event every

Re: [android-developers] Re: webview problem

2012-03-13 Thread abhijeet tomar
On Tue, Mar 13, 2012 at 5:17 PM, harshita agrawal < harshitaagrawa...@gmail.com> wrote: > i think ,it can be solve by writing html content in a file of local > folder.can i show file in default web browser. > > On Mar 13, 4:35 pm, Narendra Singh Rathore > wrote: > > On Tue, Mar 13, 2012 at 5:00

Re: [android-developers] Re: Help for android & Micro-controller interface

2012-03-13 Thread abhijeet tomar
Hello Bhavin, your question is appreciable and guideable ...i am also wondering for that if u have any solution's ..please describe on Android Group ... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to a

Re: [android-developers] Re: Help for android & Micro-controller interface

2012-03-13 Thread Save My Life!
*Thanks for reply. my need is as follows: >> I have developed an application in android that SMS/EMAIL location to the guardian.when user is in problem. this application is depend on cell phone i.e you must have some cell phone. but i wanted to develop one hardware. on which after pressing a p

[android-developers] Re: Help for android & Micro-controller interface

2012-03-13 Thread allankliu
You can search following keyword: ADB ADK UHS Android-IOIO microbridge You will get your answer instantly. Basically you should design a microcontroller with USB host, which runs ADB client, links to ADB server in your Android device. That have been done already. Yours sincerely Allan K Liu On

Re: [android-developers] Help for android & Micro-controller interface

2012-03-13 Thread Kristopher Micinski
Your question is framed strangely..., Programming Android has nothing to do with Microcontrollers, other than that Android devices typically also include a processor and some memory. Are you asking how to interface an Android device to a microcontroller? This is an inappropriate list for such qu

[android-developers] regarding custom overlay with user inputs

2012-03-13 Thread sourabh sahu
Dear All, I want map with custom overlay with user inputs..I looked around a lot but i am not able find anything on it. Can anybody please share some code for that. Thanks & Regards, Sourabh -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Help for android & Micro-controller interface

2012-03-13 Thread Bhavin
Dear all, I am new in micro-controller related stuff. please let me know,if following is possible? 1. I am trying to fire my application from external hardware interface. 2. I know i can fire "ADB commands" from PC. Is there any possibility that,some controller [I don't know which,please sugge

[android-developers] Re: Regarding Bitmap size

2012-03-13 Thread Zsolt Vasvari
Ok, so do that. On Wednesday, March 14, 2012 12:54:10 PM UTC+8, android devloper wrote: > > Hi, > > I have a problem in calculating bit map size in run time,When the activity > starts bit map will syncs ,accordingly i want to show the bit map size. > > Thanks. > -- You received this message be

[android-developers] Re: 1.5 emulator not coming up.

2012-03-13 Thread Zsolt Vasvari
What is action_toolbar? That sounds like something you would find in the Support libraries or on ICS. Neither is supposed to work on 1.5 On Wednesday, March 14, 2012 10:11:01 AM UTC+8, Nathan wrote: > > > > On Mar 13, 4:58 pm, lbendlin wrote: > > have you tried reinstalling the API v3 files?

[android-developers] Re: Singleton and ready to mingleton?

2012-03-13 Thread Zsolt Vasvari
Who knows, it may be so today and not true tomorrow. The point it, so you shouldn't assume either way. On Wednesday, March 14, 2012 11:47:55 AM UTC+8, bob wrote: > > When you do a getSystemService(), is the thing returned a Singleton? > -- You received this message because you are subscribed

Re: [android-developers] ICS and pop-up keyboard

2012-03-13 Thread Zsolt Vasvari
You are incorrect. It works on a stock 2.3.6 Nexus One. On Wednesday, March 14, 2012 11:56:20 AM UTC+8, MagouyaWare wrote: > > I'm pretty sure that functionality was gone long before ICS... I have an > LG G2x running Gingerbread and I just tested the long-press of the menu > button... nothing h

Re: [android-developers] App widget design guideline

2012-03-13 Thread surabhi jain
For all resolution like 240x320, 320x480, 480x800, there is same dimension of widget.I want to create grid of 4X1 cell for all resolution, so what is the dimension? On Wed, Mar 14, 2012 at 9:29 AM, TreKing wrote: > On Tue, Mar 13, 2012 at 8:34 AM, surabhi jain wrote: > >> I want the dimension of

[android-developers] Regarding Bitmap size

2012-03-13 Thread android devloper
Hi, I have a problem in calculating bit map size in run time,When the activity starts bit map will syncs ,accordingly i want to show the bit map size. Thanks. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

[android-developers] How to make sure SMS is sent in Android

2012-03-13 Thread perumal316
Hi All, In my application there will be a notification sms send upon an action. Now how do I make sure that the SMS will be sent? For example, if there is no network or sim card removeed, how do I ensure that the sms will be sent once there is a network available at a later time? Is it possib

Re: [android-developers] How to read the large sized text file

2012-03-13 Thread TreKing
On Tue, Mar 13, 2012 at 1:50 AM, Narendra Singh Rathore < nsr.curi...@gmail.com> wrote: > Caused by: java.lang.RuntimeException: java.io.IOException OK. What is the message given with the exception? What is the value of getMessage() or toString() on the exception? That would help. -

Re: [android-developers] App widget design guideline

2012-03-13 Thread TreKing
On Tue, Mar 13, 2012 at 8:34 AM, surabhi jain wrote: > I want the dimension of app widget(Home widget) for all resolutions. http://developer.android.com/guide/topics/appwidgets/index.html - TreKing <

Re: [android-developers] ICS and pop-up keyboard

2012-03-13 Thread Justin Anderson
I'm pretty sure that functionality was gone long before ICS... I have an LG G2x running Gingerbread and I just tested the long-press of the menu button... nothing happens. But I would expect that... That functionality was supported only for legacy purposes on older devices. Thanks, Justin Anderso

[android-developers] ICS and pop-up keyboard

2012-03-13 Thread Zsolt Vasvari
I know this is strictly not the right forum to ask this, but there are a lot of smart people on here who probably have an answer Pre-ICS, you could long-press the Menu button on the phone to bring up the soft keyboard. I used this behavior to allow filtering on list items by the user typin

[android-developers] Singleton and ready to mingleton?

2012-03-13 Thread bob
When you do a getSystemService(), is the thing returned a Singleton? -- 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 andr

Re: [android-developers] Re: How to change shortcut icons dynamically on home screen in Android ?

2012-03-13 Thread TreKing
On Tue, Mar 13, 2012 at 7:30 AM, Abhishek Kumar Gupta wrote: > Can we do this by modifying *Launcher2* application of ICS source? if > yes, then please provide some reference. > Possibly. Look at the source and find where it draws application icons. Then change that part to do what you want. ---

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Kristopher Micinski
Echoed, but if you really need it, why not, I think this is a case where asking for the permission is kind of justified. AdMob also works this way, by doing a check on Context.checkSelfOrCallingPermission for deciding to use internet or not, it's a useful trick, but I think if you want to know the

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 11:42 AM, Kristopher Micinski wrote: > True, I was working off the map activity assumption.  The IP based > lookup approach isn't fundamentally wrong, a good portion of the time > you'll be "pretty much right" for the purposes of many applications > (location specific ad ta

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Kristopher Micinski
True, I was working off the map activity assumption. The IP based lookup approach isn't fundamentally wrong, a good portion of the time you'll be "pretty much right" for the purposes of many applications (location specific ad targeting, etc..). But if you have finer location why not use it? kris

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 11:32 AM, Kristopher Micinski wrote: > Exactly, the point is that you'll get a much more accurate GPS reading. > Right. It said 'webpage', so I figured this is for a web app. Then again, it says 'map activity' in the original message... -- You received this message becau

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Kristopher Micinski
Exactly, the point is that you'll get a much more accurate GPS reading. kris On Tue, Mar 13, 2012 at 10:24 PM, Nikolay Elenkov wrote: > On Wed, Mar 14, 2012 at 11:15 AM, Kristopher Micinski > wrote: >> If you're using a mobile IP, with people moving around all the time... >> I highly doubt that

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 11:15 AM, Kristopher Micinski wrote: > If you're using a mobile IP, with people moving around all the time... > I highly doubt that you'd get this kind of accuracy... or anywhere > near it... Sure, but then again if you know where the wireless access points are (street vie

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Kristopher Micinski
(mobile IP is not a technical term, I meant, an IP on a mobile device..) kris On Tue, Mar 13, 2012 at 10:15 PM, Kristopher Micinski wrote: > If you're using a mobile IP, with people moving around all the time... > I highly doubt that you'd get this kind of accuracy... or anywhere > near it... >

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Kristopher Micinski
If you're using a mobile IP, with people moving around all the time... I highly doubt that you'd get this kind of accuracy... or anywhere near it... kris On Tue, Mar 13, 2012 at 9:54 PM, Nikolay Elenkov wrote: > On Wed, Mar 14, 2012 at 12:30 AM, Kristopher Micinski > wrote: >> I know what you w

[android-developers] Re: 1.5 emulator not coming up.

2012-03-13 Thread Nathan
On Mar 13, 4:58 pm, lbendlin wrote: > have you tried reinstalling the API v3 files? > Thanks. I've run it after reinstalling the API v3 files. Less drastic than rebuilding a machine. The error still didn't make sense. 03-14 01:01:04.841: E/AndroidRuntime(795): Caused by: android.content.res.R

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 12:30 AM, Kristopher Micinski wrote: > I know what you want, and I'm saying that you can't fundamentally > approximate this with any kind of accuracy..., IPs are just too > coarse... As Mark notes there are IP geolocation services, but they're > still vast approximations of

[android-developers] Re: Cannot catch swipe action for SoftKeyboard

2012-03-13 Thread tsukishiro yamazaki
Hello again Solution 9420, I just downloaded the 9420 Tablet Keyboard to my device and had a taste of your IME. It's nice and swiping clearly works. For example, swipeRight changes keyboard type between English and Thai. But I'm afraid I was not able to find a way to check Key-level fling. So c

[android-developers] Re: Bring up "Recent Apps Dialog" programatically...

2012-03-13 Thread Solution 9420
Thank Justin. I'll check it out. Best Regards, Solution 9420 On Mar 13, 10:29 pm, Justin Anderson wrote: > AFAIK you can't access that...  However, it isn't super hard to roll your > own.  This method returns a list of recently run > apps:http://developer.android.com/reference/android/app/Acti

[android-developers] Re: Cannot catch swipe action for SoftKeyboard

2012-03-13 Thread tsukishiro yamazaki
Hi Solution 9420, Thanks so much for your reply! I have been trying SoftKeyboard (Demo API) and I wanted to verify if the method swipeLeft(), which has been implemented to do backspace or delete function, is actually working. So I deployed SoftKeyboard.apk to my device and have been swiping my

[android-developers] Re: 1.5 emulator not coming up.

2012-03-13 Thread lbendlin
have you tried reinstalling the API v3 files? On Tuesday, March 13, 2012 6:45:17 PM UTC-4, Nathan wrote: > > It doesn't get past ~ANDROID~ screen. > > I do believe it worked a few months ago. > > I have even tried running it all night. Still hasn't moved past > ~ANDROID~ screen. > > Any idea h

[android-developers] don't unlock the display when recharge the battery

2012-03-13 Thread DanIb
Hi, I have a samsung galaxy S with android 3.2. Some times, when the smartphone is connected with eletricity, to recharge an is on, happend if is necessary to unlock the display for call response or write sms, but do not unlock. If disconnect to elettricity, the smartphone unlock sucesfully. Ha

[android-developers] 1.5 emulator not coming up.

2012-03-13 Thread Nathan
It doesn't get past ~ANDROID~ screen. I do believe it worked a few months ago. I have even tried running it all night. Still hasn't moved past ~ANDROID~ screen. Any idea how I could troubleshoot it? I wouldn't worry so much except for an exception log I got: Caused by: android.content.res.Reso

[android-developers] Custom package names and AIDL files.

2012-03-13 Thread Russell Stewart
I am trying to develop a clean build system to create a new app with a custom package name from an existing source tree. I'm almost there, but the AIDL interfaces are giving me fits. Say for the sake of argument that my project's package name is: com.android.project.my And I want to build it a

Re: [android-developers] To get usage statistics

2012-03-13 Thread Fred Rischter
Hum.. Yes this are just simple usage info like how many clicks, options selected, score, difficulty selected, when win, when lose, performance info, so on, that is antonym. Would have some privacy issue? 2012/3/13 YuviDroid > ahhh sorry I didn't get that.. > > I think it really depends on wha

[android-developers] Re: Button animation

2012-03-13 Thread Tytanit
Thanks, it works :) I have another question - is there any way to define a few buttons as a 1 group, and make 1 animation that will start for this group, instead of making an separate animation start for each of them? -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: can't get emulator to show app

2012-03-13 Thread gswartz
okay thank you. I ran the emulator from the avd manager and uninstalled the app. I then reran the app from within eclipse but it doesn't show up in the emulator. I do recall that when it showed up the first time there was logging in the console that talked about it installing. This time there i

Re: [android-developers] To get usage statistics

2012-03-13 Thread YuviDroid
ahhh sorry I didn't get that.. I think it really depends on what you are storing. If it's just some general statistics about your app I don't see any privacy issues. On Tue, Mar 13, 2012 at 10:11 PM, Fred Rischter wrote: > Hi I'm not having problem on how to do it. > > Its quite easy to get the

Re: [android-developers] To get usage statistics

2012-03-13 Thread Fred Rischter
Hi I'm not having problem on how to do it. Its quite easy to get the usage statistics, I implemented it by myself. I'm asking about the privacy issue. Do you concern something about it? Regards, Fred 2012/3/13 YuviDroid > I'm using Flurry in my apps to track usage patterns, register events (

[android-developers] Re: Problem in getting the correct time & date from mobile in android

2012-03-13 Thread Jinja
Perhaps your app could check the internet for time instead of using the built in clock http://time.is/ On Tuesday, March 13, 2012 4:20:13 AM UTC-7, ashiq sayyad wrote: > > Hi, > > Hope all doing well > > I have one requirement that my application must be used between the > predefined buisnes

Re: [android-developers] To get usage statistics

2012-03-13 Thread YuviDroid
I'm using Flurry in my apps to track usage patterns, register events (e.g. the user clicked on a specific button), etc. http://www.flurry.com/product/analytics/index.html Take a look at the "custom events and parameters" section. On Tue, Mar 13, 2012 at 5:17 PM, Fred Rischter wrote: > Hi Everybo

Re: [android-developers] Re: Turn Screen Off/on

2012-03-13 Thread Mark Murphy
On Tue, Mar 13, 2012 at 3:55 PM, Levi Ribeiro wrote: > i know that, but i need to wake up the device at certain time. Use AlarmManager. In your previous post, you complained about AlarmManager without saying what was not working. Bear in mind that AlarmManager *only* guarantees that a device wil

[android-developers] Re: Broadcast Receiver inside a library project

2012-03-13 Thread Brett
Thanks Mark, that's what I figured. On Mar 13, 12:50 pm, Mark Murphy wrote: > On Tue, Mar 13, 2012 at 3:42 PM, Brett wrote: > > It looks like unless I declare in project B's manifest to > > register the receiver in project A that it won't work. > > Correct. The hosting project always needs to de

Re: [android-developers] Re: Java and Eclipse issues on Win 7 64bit

2012-03-13 Thread Lew
Ray Tayek wrote: > MikeDaPsyke wrote: > >I was looking for the standard JDK 1.7.0_03 which if i am not all > >wrong is versions 5-7 but could not find a download source without > >Java EE or NetBeans. > >Then i tried to find the Eclipse Indigo version but could not find any > >version named Indig

Re: [android-developers] Re: Turn Screen Off/on

2012-03-13 Thread Levi Ribeiro
i know that, but i need to wake up the device at certain time. Em terça-feira, 13 de março de 2012 16h20min59s UTC-3, Mark Murphy (a Commons Guy) escreveu: > > On Tue, Mar 13, 2012 at 2:50 PM, Levi Ribeiro > wrote: > > I need to save energy, i want to make the device sleep during the nigh, > >

Re: [android-developers] Broadcast Receiver inside a library project

2012-03-13 Thread Mark Murphy
On Tue, Mar 13, 2012 at 3:42 PM, Brett wrote: > It looks like unless I declare in project B's manifest to > register the receiver in project A that it won't work. Correct. The hosting project always needs to declare the components. > Is there any way for a library project to independently regist

Re: [android-developers] Re: Java and Eclipse issues on Win 7 64bit

2012-03-13 Thread Ray Tayek
At 11:37 AM 3/13/2012, you wrote: I was looking for the standard JDK 1.7.0_03 which if i am not all wrong is versions 5-7 but could not find a download source without Java EE or NetBeans. Then i tried to find the Eclipse Indigo version but could not find any version named Indigo (i might be all w

[android-developers] Broadcast Receiver inside a library project

2012-03-13 Thread Brett
So I created a library project (A) that does your typical random stuff and included it inside a different application project (B) to utilize its features. One thing that I wanted to do was move a broadcast receiver that catches C2DM messages from project B to the library project A. Unfortunately t

Re: [android-developers] Re: Turn Screen Off/on

2012-03-13 Thread Mark Murphy
On Tue, Mar 13, 2012 at 2:50 PM, Levi Ribeiro wrote: > I need to save energy, i want to make the device sleep during the nigh, > without user intervention This happens automatically. If nothing holds a WakeLock to force the device awake, it will fall asleep of its own accord, after a user-sel

Re: [android-developers] Re: CONNECTIVITY_ACTION during network change from DO - 1x

2012-03-13 Thread Robert Greenwalt
I think the roaming status thing was bugged for a release or two - it's fixed in ICS. On Tue, Mar 13, 2012 at 11:54 AM, Ankit wrote: > Thanks. > Even on changing the roam status, I don't see this broadcast. > e.g. If i go from Sprint network to Verizon and then back to Sprint, I > dont see this

[android-developers] Re: CONNECTIVITY_ACTION during network change from DO - 1x

2012-03-13 Thread Ankit
Thanks. Even on changing the roam status, I don't see this broadcast. e.g. If i go from Sprint network to Verizon and then back to Sprint, I dont see this intent being broadcast. I see it only when the 3G to WiFi. WiFI to 3G or when i lose connection or gain connection back. Thanks Ankit On Mar

[android-developers] Re: Turn Screen Off/on

2012-03-13 Thread Levi Ribeiro
I need to save energy, i want to make the device sleep during the nigh, without user intervention But im having trouble when i try to wake up the device... I tried something like that: AlarmManager alarmManager = (AlarmManager)getSystemService(ALARM_SERVICE); Calendar calendar = Cal

[android-developers] Re: getCurrentActivity()

2012-03-13 Thread Lew
bob wrote: > > I know what "this" is. What is confusing is that a lot of developers > are using > .this. It does not make sense to me to use name>.this. When I see .something it looks like a static > access. That was explained upthread. You need to know Java to program for Android.

[android-developers] Re: Java and Eclipse issues on Win 7 64bit

2012-03-13 Thread MikeDaPsyke
I was looking for the standard JDK 1.7.0_03 which if i am not all wrong is versions 5-7 but could not find a download source without Java EE or NetBeans. Then i tried to find the Eclipse Indigo version but could not find any version named Indigo (i might be all wrong concerning it is called Indigo)

[android-developers] Re: Draw Circle

2012-03-13 Thread lbendlin
Ask your teacher for another assignment. On Tuesday, March 13, 2012 12:58:35 PM UTC-4, Siddharth Chopra wrote: > > hii, > How to draw circle with ontouchlistener and it should increase its > size on MotionEvent.Action_Move and finally circle should > get display on MotionEvent.Action_Up on

Re: [android-developers] Duplicate Calendar Event

2012-03-13 Thread Michael Chan
Hi Giles, The code below will add an event every time onClick is called since it's doing an insert(). If you want to modify an existing event, you need to get the event id via a query then do an update. Search for "Updating Events" in http://developer.android.com/guide/topics/providers/calendar-p

Re: [android-developers] Re: can't get emulator to show app

2012-03-13 Thread Narendra Singh Rathore
On Tue, Mar 13, 2012 at 6:20 PM, gswartz wrote: > That's my problem... I don't know how to do what you've suggested. If > it's simply hitting run in eclipse then yes, I've tried it about 50 > times now. If there's something more to it, then no because I don't > know how to do it. > Thats no prob

[android-developers] Re: Problem in getting the correct time & date from mobile in android

2012-03-13 Thread lbendlin
you would have to enable the GPS on that device, get a fix, and then use the coordinates to convert the UTC into the local time. For that you would need to know all timezone boundaries and DST rules. Good luck. On Tuesday, March 13, 2012 7:20:13 AM UTC-4, ashiq sayyad wrote: > > Hi, > > Hope a

Re: [android-developers] Image processing

2012-03-13 Thread Justin Anderson
http://lmgtfy.com/?q=android+image+processing+tutorial Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 13, 2012 at 11:26 AM, ayoub bouziane wrote: > Hello ! Please i need some tutorials about image processing on android > (edge detection , bina

[android-developers] Image processing

2012-03-13 Thread ayoub bouziane
Hello ! Please i need some tutorials about image processing on android (edge detection , binarization,thresholding,..) !! can you hep me ? !! thank you in advance :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, se

Re: [android-developers] CONNECTIVITY_ACTION during network change from DO - 1x

2012-03-13 Thread Robert Greenwalt
I think you will not. I think there are telephony notifications you can get if you want that info. If the device IP changes or if you change roam status or if you lose the connection you will receive this broadcast, but I think there are many minor network events that do not trigger it. On Mon, M

[android-developers] Help for android & Micro-controller interface

2012-03-13 Thread Save My Life!
Dear all, I am new in micro-controller related stuff. please let me know,if following is possible? 1. I am trying to fire my application from external hardware interface. 2. I know i can fire "ADB commands" from PC. Is there any possibility that,some controller [I don't know which,please sugge

[android-developers] ContrastApp

2012-03-13 Thread Siddharth Chopra
hii, How to set contrast,brightness and saturation on a image in my application.. Regards, Siddharth Chopra -- 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.co

Re: [android-developers] Java and Eclipse issues on Win 7 64bit

2012-03-13 Thread Ray Tayek
At 08:15 AM 3/13/2012, you wrote: Did you have the install the 32bit or 64bit JDK? I have heard of issues with eclipse not finding the 64bit JDK in some instances but I have never run into this problem myself. ... the jdk is in C:\Program Files\Java\jdk1.7.0_03. i believe that it is the 64 b

[android-developers] Draw Circle

2012-03-13 Thread Siddharth Chopra
hii, How to draw circle with ontouchlistener and it should increase its size on MotionEvent.Action_Move and finally circle should get display on MotionEvent.Action_Up on the canvas. Regards, Siddharth Chopra -- You received this message because you are subscribed to the Google Groups "Androi

Re: [android-developers] Native library not updated by Market on app update

2012-03-13 Thread Mark Murphy
That sounds bizarre. You may wish to ask this question on the [android-ndk] Google Group, as that is more focused on your NDK-specific problem. On Tue, Mar 13, 2012 at 12:38 PM, Shri wrote: > My app includes a native SO file. This uses JNI reflection to find and > call Java methods. In a version

[android-developers] Native library not updated by Market on app update

2012-03-13 Thread Shri
My app includes a native SO file. This uses JNI reflection to find and call Java methods. In a version update on Market, the signature of one of the Java methods changed from "()V" to (L/java/langString;(V". Crash reports show that some users are getting a java.lang.NoSuchMethodError because the SO

Re: [android-developers] Lock-unlock device during audio recording

2012-03-13 Thread Chris Stratton
On Tuesday, March 13, 2012 5:26:57 AM UTC-4, rachana govilkar wrote: On Monday, March 12, 2012 11:55:21 PM UTC+5:30, hooman os wrote: > > Maybe start recording in onResume() and stop recording in onPause() > nope.it did not work. > What didn't work? Was onPause() not called when you lock the dev

[android-developers] To get usage statistics

2012-03-13 Thread Fred Rischter
Hi Everybody, I have a question about getting usage statistics. Consider storing information about for example, what options the user selected in the game, dificulty level, which options the user selected, when won, when losed, time of playing, framerate, screen dimentions. So, can I get this

Re: [android-developers] Ad framework.

2012-03-13 Thread Justin Anderson
Please don't hijack posts with another topic... Also, this forum is for developing Android SDK apps. You should probably contact Motorola or look on one of their help forums. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Mon, Mar 12, 2012 at 4:15 AM,

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Kristopher Micinski
I know what you want, and I'm saying that you can't fundamentally approximate this with any kind of accuracy..., IPs are just too coarse... As Mark notes there are IP geolocation services, but they're still vast approximations of where you actually are... kris On Tue, Mar 13, 2012 at 11:06 AM, An

Re: [android-developers] Bring up "Recent Apps Dialog" programatically...

2012-03-13 Thread Justin Anderson
AFAIK you can't access that... However, it isn't super hard to roll your own. This method returns a list of recently run apps: http://developer.android.com/reference/android/app/ActivityManager.html#getRecentTasks%28int,%20int%29 One advantage to this is that the default one, at least on older v

[android-developers] Re: Intent.Createchooser Does Not Work

2012-03-13 Thread JFS
Sorry, I used the wrong language. The mail intent works in response to a user button press. When the button is pressed, the entries are supposed to be mailed immediately. That is the way it previously worked. Now, when the button is pressed, the code (with createChooser and without) runs throug

[android-developers] Re: problem in executing Runtime.getRuntime().exec()

2012-03-13 Thread Chris Stratton
On Monday, March 12, 2012 9:37:36 AM UTC-4, Ali wrote: > > Process p = Runtime.getRuntime().exec("su"); > p = Runtime.getRuntime().exec("sync"); > p = Runtime.getRuntime().exec("echo 3 > > /proc/sys/vm/drop_caches"); > Regardless if these commands would or would not wo

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Mark Murphy
If by "exact" you mean "somewhere on the same planet", you are welcome to purchase the services of an IP address geolocation service. There are many of them, found via your favorite search engine. These are not especially accurate, and will most certainly not return to you "the exact location wher

Re: [android-developers] Java and Eclipse issues on Win 7 64bit

2012-03-13 Thread Justin Anderson
Did you have the install the 32bit or 64bit JDK? I have heard of issues with eclipse not finding the 64bit JDK in some instances but I have never run into this problem myself. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, Mar 13, 2012 at 8:55 AM,

Re: [android-developers] Is there a way for an android app to know which web sites you are accesing?

2012-03-13 Thread Chris Stratton
On Monday, March 12, 2012 2:51:39 PM UTC-4, MagouyaWare wrote: >>Let's say I open a browser on my phone and go into my favorite site >>(facebook, for example) and spend an hour there. Is there a way for an >>external application to register the fact that you've been >>there, and how long? >AF

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Android Developer
Hi Kris, suppose i have a webpage and i have a ip address of the visitor. i want to display the exact location where the visitor from in android google map. -Mani On Tue, Mar 13, 2012 at 8:10 PM, Kristopher Micinski wrote: > You can never know this exactly, so I'm not sure why you're trying.

Re: [android-developers] Java and Eclipse issues on Win 7 64bit

2012-03-13 Thread Ray Tayek
At 01:13 AM 3/12/2012, you wrote: I have downloaded JDK 7u3 with NetBeans 7.1.1 and JDK 7u3 with Java EE, first i installed the Netbeans version and when trying to install Eclipse i got a error "A JRE or JDK must be available in order to run eclipse. No Java virtual machine was found" After final

Re: [android-developers] Re: Intent.Createchooser Does Not Work

2012-03-13 Thread Mark Murphy
On Tue, Mar 13, 2012 at 10:47 AM, JFS wrote: > When I drop createChooser and replace it with the emailintent > (ACTION_SEND), nothing happens immediately.  But when the service > stops, I am then prompted with the expected set of e-mail accounts and > can send the message. Why is a service using

[android-developers] Re: Intent.Createchooser Does Not Work

2012-03-13 Thread JFS
When I drop createChooser and replace it with the emailintent (ACTION_SEND), nothing happens immediately. But when the service stops, I am then prompted with the expected set of e-mail accounts and can send the message. So this is on the right track, but it obviously undermines the usefulness of

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Kristopher Micinski
You can never know this exactly, so I'm not sure why you're trying. There is probably a better way to do what you want, what type of application is this used in? For example, while I'm in Maryland right now, using my phone, I get a geographical approximation of the IP as being in Virginia or Rhode

[android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Android Developer
Hi, I have a map activity and i want to set the coordinates(latitude,longitude) for the given ip address. Whichever ip address i pass i need to get latitude and longtitude. how do i get it? *GeoPoint point = new GeoPoint(latitude ,longtitude);* - for given ip address. Thanks Mani. -- You r

[android-developers] Re: Fragment Communication

2012-03-13 Thread Streets Of Boston
In general, have the containing activity handle the communication between the fragments. Let the containing Activity implement an interface that will tell it when important user interactions take place (e.g. item clicked in a fragment with a list-view). In the fragment's onAttach, cast the Acti

[android-developers] Duplicate Calendar Event

2012-03-13 Thread giles ian
Hi, I am using the below code for adding events. Now the issue is im able to add same event (all details same) multiple times. How to i avoid this. > public static void addToCalendar(Context ctx, final String title, > > final long dtstart, final long dtend) { > > final ContentResolver cr = ct

Re: [android-developers] Open Default Dialog Box on click of Notification item

2012-03-13 Thread giles ian
Thanks Mark On Tue, Mar 13, 2012 at 5:36 PM, Mark Murphy wrote: > On Tue, Mar 13, 2012 at 8:02 AM, giles ian wrote: > > Is there a direct way to open a dialog box on click of Notification item > by > > passing it to pending intent. > > No, only an Activity can open a true Dialog. > > > Is there

Re: [android-developers] Re: Allow only single application to run on Android device

2012-03-13 Thread Kristopher Micinski
Then you will need a custom version of Android, which is not the topic of this list... kris On Tue, Mar 13, 2012 at 5:00 AM, Archana wrote: > Hi Jinja, > > Thanks for the link. > Yes,As you mentioned I need something similar to that which can be > used only for > work related process. > > On Mar

[android-developers] Re: update TextView inside a TimerTask

2012-03-13 Thread harsh chandel
you can use this timer given in devloper guide new CountDownTimer(3, 1000) { public void onTick(long millisUntilFinished) { TextView txttimer=(TextView) findViewById(R.id.timeremaining); txttimer.setTex

Re: [android-developers] Re: want android source code

2012-03-13 Thread Mark Murphy
On Tue, Mar 13, 2012 at 9:43 AM, HeneryH wrote: > I couldn't find any way to just browse the source. http://androidxref.com/source/search?q=&defs=&refs=AsyncTask&path=&hist= and: http://github.com/android -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy htt

[android-developers] Re: want android source code

2012-03-13 Thread HeneryH
Marcin's link is it. Took me over an hour I think when I pulled it. I couldn't find any way to just browse the source. I had to pull the whole thing. On Mar 12, 12:19 pm, VICKY wrote: > hello sir/madam, >                         i need source code for predictive text input in > android .. --

Re: [android-developers] Re: How i Use Google Map in Offline Mode

2012-03-13 Thread Mark Murphy
On Tue, Mar 13, 2012 at 9:34 AM, Ankit Kasliwal wrote: >   If we use OSM map for offline map it give us map file but it's show only > main points not showing all location. so any other option Beg people to improve the OSM map data for your area of interest. Or, find some other commercial mapping

[android-developers] Re: getCurrentActivity()

2012-03-13 Thread bob
Okay, I see. That clears up a lot. Thank you. On Mar 12, 9:47 pm, Justin Anderson wrote: > *> I know what "this" is.  What is confusing is that a lot of developers > > > are using .this.  It does not make sense to me to use > name>.this.  When I see .something it looks like a static > > acce

Re: [android-developers] Re: How i Use Google Map in Offline Mode

2012-03-13 Thread Ankit Kasliwal
Thanks Mark, If we use OSM map for offline map it give us map file but it's show only main points not showing all location. so any other option On Tue, Mar 13, 2012 at 5:26 AM, Mark Murphy wrote: > The Google Maps add-on for Android does not support offline use. > > On Tue, Mar 13, 2012 at 8:46

[android-developers] App widget design guideline

2012-03-13 Thread surabhi jain
I want the dimension of app widget(Home widget) for all resolutions. -- 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 andr

Re: [android-developers] Re: Intent.Createchooser Does Not Work

2012-03-13 Thread Mark Murphy
Try dropping createChooser(), just invoking your ACTION_SEND Intent, and see what happens. Also, try using other apps that use ACTION_SEND. For example, the stock Android browser's Share Page will use an ACTION_SEND text/plain Intent. On Tue, Mar 13, 2012 at 9:25 AM, JFS wrote: > Well, I tried "

  1   2   >