Re: [android-developers] suggest me good mobile tracker application from play store.Which is used to track the mobile location when lost,or change the sim,etc

2013-01-16 Thread Asheesh Arya
Try Look Out mobile security App its free. -- 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

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Tobias Lindberg
Definetly a bug, no one would be stupid enough to do that on purpose. Or at least I hope so. 2013/1/15 Kevin Duffey andjar...@gmail.com Indeed that is important.. why would a toast notification be blocked by that setting? Obviously a bug.. I can't imagine they meant to do that. On Tue, Jan

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Kostya Vasilyev
Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java Lines 693-707: final boolean isSystemToast = (android.equals(pkg)); if (ENABLE_BLOCKED_TOASTS

[android-developers] Re: Any USB-Serial Adapter on Android Phones?

2013-01-16 Thread al
I would use something like the app USB Device Info (https://play.google.com/store/apps/details?id=aws.apps.usbDeviceEnumerator) to see if it is accessible via the USB host api (http://developer.android.com/guide/topics/connectivity/usb/host.html)... -- You received this message because you

[android-developers] Re: Any USB-Serial Adapter on Android Phones?

2013-01-16 Thread al
Just checked it with an MT608-2 from HP (like this one http://www.ebay.com/itm/HP-single-port-USB-to-RS-232-serial-adapter-MT608-2-/230642394861). My galaxy nexus recognized it with two bulk endpoints. I think it could work via USB host... Am Mittwoch, 16. Januar 2013 11:39:39 UTC+1 schrieb

[android-developers] Re: Developer fee payment canceled after 2.5 years

2013-01-16 Thread MarcoAndroid
And also fixed for me! Got the feeling that the Play support requests just don't arrive (again didn't get an email as it said I should receive for further instructions). After using the second link from David within a day I got a reply from the Checkout support request saying they forwarded

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-16 Thread mbarbiero
Nikolay... One more question: If the private key used to sign is incorrect, the command $ openssl rsautl -verify -in s2.bin -pubin -inkey pub1.pem -raw -hexdump result in error or in incorrect message? I need confirm if used privatekey is correct. Thanks and, please, escuse my ignorance!

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-16 Thread Nikolay Elenkov
On Jan 16, 2013 9:01 PM, mbarbiero marco.barbi...@gmail.com wrote: Nikolay... One more question: If the private key used to sign is incorrect, the command $ openssl rsautl -verify -in s2.bin -pubin -inkey pub1.pem -raw -hexdump result in error or in incorrect message? It will result in

Re: [android-developers] Correct way to implement Activity onDestroy()?

2013-01-16 Thread Greenhand
In my scenario, I have a task to run but I do not want it to block my UI thread. Therefore, I adopt AsyncTask. IntentService can run a task at a time on another Thread but I do not know how to cancel it as mentioned earlier. The problem I would like to deal with is that when user press back

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Tobias Lindberg
That is really strange, if the user should have the option of disabling it should not be bulked with push notifications. 2013/1/16 Kostya Vasilyev kmans...@gmail.com Heh. Looks like it *is* intentional.

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Raghav Sood
@Tobias Now that you've found the problem, it'd be nice if you could close your question on StackOveflow as well. I posted the answer for now, but it would probably be best if you posted it from your own account and accepted it. Raghav Sood http://www.appaholics.in/ - Founder

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Tobias Lindberg
True, will do. 2013/1/16 Raghav Sood raghavs...@gmail.com @Tobias Now that you've found the problem, it'd be nice if you could close your question on StackOveflow as well. I posted the answer for now, but it would probably be best if you posted it from your own account and accepted it.

Re: [android-developers] How to switch between 2 renderers?

2013-01-16 Thread MobileVisuals
Thanks, it worked! It was very easy to implement. On Monday, January 14, 2013 12:52:43 PM UTC+1, Harri Smått wrote: Hi, Yes, using one renderer only which delegates commands further. -- H On Mon, Jan 14, 2013 at 1:47 PM, MobileVisuals eyv...@astralvisuals.comjavascript: wrote:

[android-developers] Integrate Wireless printer(via Bluetooth/WiFi) with Android Application.

2013-01-16 Thread Vaibhav Ajay Gupta
I want to make an android application that can print forms which are created by same application with wireless printer which is connected via via Bluetooth/WiFi. Any idea how to integrate Wireless printer(via Bluetooth/WiFi) with Android Application.??? -- You received this message because

Re: [android-developers] Integrate Wireless printer(via Bluetooth/WiFi) with Android Application.

2013-01-16 Thread Mark Murphy
Step #1: Find a wireless printer. Step #2: Ask the wireless printer manufacturer how to integrate their device with your Android application. On Wed, Jan 16, 2013 at 9:19 AM, Vaibhav Ajay Gupta vaibhav.ajaygu...@gmail.com wrote: I want to make an android application that can print forms which

[android-developers] Re: Integrate Wireless printer(via Bluetooth/WiFi) with Android Application.

2013-01-16 Thread bob
I bet you could do this over Wifi if you look at the source code to the *lpr * program: http://en.wikipedia.org/wiki/Lpr On Wednesday, January 16, 2013 8:19:51 AM UTC-6, Vaibhav Ajay Gupta wrote: I want to make an android application that can print forms which are created by same

[android-developers] SyncAdapter and multiple threads?

2013-01-16 Thread saladbowl
I have created a SyncAdapter class which inherits from AbstractThreadedSyncAdapter and runs in its own Service. I was wondering if the SyncManager only allows one synchronisation to be undertaken at a time (i.e via a called to my SyncAdapter's onPerformSync()) or do I need to explicitly make

[android-developers] Re: suggest me good mobile tracker application from play store.Which is used to track the mobile location when lost,or change the sim,etc

2013-01-16 Thread bob
Maybe this? https://play.google.com/store/apps/details?id=com.prey On Wednesday, January 16, 2013 1:28:11 AM UTC-6, SIVAKUMAR.J wrote: Dear All, suggest me good mobile tracker application from play store.Which is used to track the mobile location when lost,or change the sim,etc

[android-developers] How do I fix error open Bluetooth?

2013-01-16 Thread Antonis Kanaris
I created an application with bluetooth, but when bluetooth is closed i put enable request for open bt but apk crashing,close after show toast request for user and must restart the apk and I have this error... * java.lang.NullPointerException* in *io.webbt.Activity2.openBT.Any idea?I must

[android-developers] USB audio and NAMM

2013-01-16 Thread Brad Justice
I am building an Android driver for USB audio. At this point in development I can detect device insertion, parse out the USB descriptor into Java classes, send basic commands to internal components and receive isochronous audio input. It would be useful for me to view pro audio USB hardware

[android-developers] Re: How do I fix error open Bluetooth?

2013-01-16 Thread bob
Please see this thread: https://groups.google.com/forum/#!topic/android-developers/Buiu0XaUSQs IOTW, Change this: runnable.run(); to this: new Thread(runnable).start(); On Wednesday, January 16, 2013 10:05:19 AM UTC-6, Antonis Kanaris wrote: I created an application with

Re: [android-developers] Correct way to implement Activity onDestroy()?

2013-01-16 Thread G. Blake Meike
If the task is actually cancellable -- that is, if it actually stops when you cancel it -- that should be sufficient. If you implement the AT's onCancelled method, make sure it doesn't use any stale references. G. Blake Meike Marakana Programming Android 2ed is now in stores:

[android-developers] Retrieving current URL from chrome (or browser). Use ContentProvider? Or, other method?

2013-01-16 Thread xrd
I'm trying to get access to the current URL on the chrome browser. I want my service to perform a task when it recognizes the user is on a specific web page. I've been able to retrieve the name of current application (Chrome) using a combination of the android.permission.GET_TASKS permission

Re: [android-developers] Retrieving current URL from chrome (or browser). Use ContentProvider? Or, other method?

2013-01-16 Thread Mark Murphy
On Wed, Jan 16, 2013 at 1:02 PM, xrd xrdaw...@gmail.com wrote: Is there a way to retrieve the URL for the current webpage in Chrome in another fashion? AFAIK, there is no documented and supported API for the Chrome browser app. Fortunately, I also do not see any obvious script kiddie approach,

Re: [android-developers] Retrieving current URL from chrome (or browser). Use ContentProvider? Or, other method?

2013-01-16 Thread Kristopher Micinski
Yes.. You probably won't be able to make this work. Additionally, the get history permission no longer works either. Kris On Jan 16, 2013 12:04 PM, xrd xrdaw...@gmail.com wrote: I'm trying to get access to the current URL on the chrome browser. I want my service to perform a task when it

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread Kevin Duffey
So really all we have to do is rebuild our android OS with that flag set to false and we're good to go? ;) On Wed, Jan 16, 2013 at 4:56 AM, Tobias Lindberg tobias.e.lindb...@gmail.com wrote: True, will do. 2013/1/16 Raghav Sood raghavs...@gmail.com @Tobias Now that you've found the

[android-developers] Re: Integrate Wireless printer(via Bluetooth/WiFi) with Android Application.

2013-01-16 Thread bob
Also, here's an example of a guy who is printing to a Bluetooth printer from Android: http://stackoverflow.com/questions/7145787/bluetooth-printer-issue-in-android Looks like he just creates a Bluetooth socket and sends some text. On Wednesday, January 16, 2013 8:19:51 AM UTC-6, Vaibhav Ajay

[android-developers] Re: Any USB-Serial Adapter on Android Phones?

2013-01-16 Thread David White
Thanks. I actually have done this already. Not always sure what to make of the info. When I plug in my Keyspan, I do see entries being reported in this app. I see them both under the Linux and Android tabs. In Android I see /dev/bus/usb/002/002 on my Note N7000. I see Interfaces 0 and 1 each

Re: [android-developers] Re: hi friends

2013-01-16 Thread bob
I believe this is the relevant code where the real toast delay is set: private void scheduleTimeoutLocked(ToastRecord r, boolean immediate) { Message m = Message.obtain(mHandler, MESSAGE_TIMEOUT, r); long delay = immediate ? 0 : (r.duration == Toast.LENGTH_LONG ? LONG_DELAY : SHORT_DELAY);

[android-developers] How to implement a selection mechanism for translated and rotated objects on a canvas?

2013-01-16 Thread strangeoptics
Hi, I would like to draw some objects onto a canvas that are translated and rotated. When I tap on the screen I need to translate the screen coordinates into the drawing space of the objects to find out if they are selected. What is the best way to accomplish this? 1) Is there a 2D Scene Grap

[android-developers] BluetoothSocket.isConnected issue?

2013-01-16 Thread bob
So, there is a function in BluetoothSocket called isConnected: /** * Get the connection status of this socket, ie, whether there is an active connection with * remote device. * @return true if connected * false if not connected */ public boolean

[android-developers] Re: How to implement a selection mechanism for translated and rotated objects on a canvas?

2013-01-16 Thread bob
Every object should have its own Matrix. Then take the inverse of that Matrix and multiply it by the screen coordinate. The result will be a point that can be compared with the coordinates of the pre-transformed object. On Wednesday, January 16, 2013 3:07:21 PM UTC-6, strangeoptics

[android-developers] Re: Any USB-Serial Adapter on Android Phones?

2013-01-16 Thread David White
So I figure I can try to access my Hayes modem as a test to send an AT command. To do this I thought I would try the microcom applet that comes with busybox. Since this is a linux command, it wants to open a TTY file of some sort. From what I have read elsewhere, I expected to find an entry

[android-developers] Re: Any USB-Serial Adapter on Android Phones?

2013-01-16 Thread David White
It would appear that how things go may be very dependent on the chipset employed by the USB-Serial cable. It seems from my reading that Prolific and FTDI chipsets may have better support. On Wednesday, January 16, 2013 2:45:33 AM UTC-8, al wrote: Just checked it with an MT608-2 from HP (like

[android-developers] Thoughts on the AQuery library?

2013-01-16 Thread gloesch
I'm curious to know if there's a general consensus about the Android Query (AQuery) library, particularly for async calls. Has anyone out there used it in a production environment? http://code.google.com/p/android-query/wiki/API -- You received this message because you are subscribed to the

[android-developers] Json

2013-01-16 Thread geet handa
Hi every one, I am working on Json ParsingIn that I am facing problem in Convert String into JsonObjectPlease Help me!! Here is the code I got class MyTask extends AsyncTaskString, Void, String { ProgressDialog

Re: [android-developers] Json

2013-01-16 Thread TreKing
On Wed, Jan 16, 2013 at 5:08 PM, geet handa geethand...@gmail.com wrote: In that I am facing problem in Convert String into JsonObjectPlease Help me!! http://www.catb.org/esr/faqs/smart-questions.html

[android-developers] Re: Resume Of Naveen Tamrakar Android Developer

2013-01-16 Thread Lew
Naveen wrote: Respected Sir/Madam, In response to our conversation for the post of Android Application Developer, If you had a conversation with someone, you should address them by name, not as Sir/Madam. And you certainly did not have a conversation with everyone on the Android

[android-developers] Uses cases and code example for SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN and SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION?

2013-01-16 Thread Agus
Hi everyone, I urgently need an answer for the usage of these new systemuivisibility flags in JB: SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN and SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION. Setting SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN apparently does not do anything, and setting

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-16 Thread b0b
On Wednesday, 16 January 2013 10:43:37 UTC+1, Kostya Vasilyev wrote: Heh. Looks like it *is* intentional. https://android.googlesource.com/platform/frameworks/base/+/refs/heads/master/services/java/com/android/server/NotificationManagerService.java That change is really stupid.

Re: [android-developers] Re: Resume Of Naveen Tamrakar Android Developer

2013-01-16 Thread TreKing
On Wed, Jan 16, 2013 at 5:32 PM, Lew lewbl...@gmail.com wrote: What's with the spammy address list? Probably indicates that this message was spam and should be ignored or reported, not replied to in a serious manner. Really, your whole post was a waste of your time. Indeed. =P

Re: [android-developers] Json

2013-01-16 Thread Kevin Duffey
Funny I just replaced the use of jsonobject with Jackson json because of it being faster to stream process json with and using less memory. There are many good examples via Google with regards to using Jackson and android that may solve your problem and reduce your apps memory use and parsing

[android-developers] Detect whether a user has Google Voice installed?

2013-01-16 Thread Lindsey Simon
I have a feature in my app I'd like to not turn on for users who have Google Voice installed.. Is there any way on Android to detect the presence of the App? Thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Detect whether a user has Google Voice installed?

2013-01-16 Thread Kristopher Micinski
Of course, you can see whether the package manager can respond to certain intents, or ask the package manager what is installed. (See the relevant PackageManager documentation.) Kris On Wed, Jan 16, 2013 at 9:03 PM, Lindsey Simon els...@gmail.com wrote: I have a feature in my app I'd like to

[android-developers] database question

2013-01-16 Thread dashman
I'm at the initial stages of writing an app which will need a database. 1. can android databases be created on windows - i.e. populated. 2. where are these files stored on the device. 3. can an app read multiple database files - e.g. all database files stored in a specific folder. 4. is there

Re: [android-developers] database question

2013-01-16 Thread Kristopher Micinski
On Wed, Jan 16, 2013 at 9:53 PM, dashman erjdri...@gmail.com wrote: I'm at the initial stages of writing an app which will need a database. 1. can android databases be created on windows - i.e. populated. Yes, sqlite will work on Windows. 2. where are these files stored on the device. In

Re: [android-developers] Thoughts on the AQuery library?

2013-01-16 Thread Kristopher Micinski
It looks perhaps useful because it has lightweight options which allow you to prototype things quickly, but it's not really the same kind of killer JQuery is. JQuery is really nice because: - JQuery gives you (essentially) one way to do things, if you want something else you get a plugin. -

Re: [android-developers] database question

2013-01-16 Thread Todd Grigsby
Before you adopt SQLite, I recommend you research its limitations. On Jan 16, 2013 6:53 PM, dashman erjdri...@gmail.com wrote: I'm at the initial stages of writing an app which will need a database. 1. can android databases be created on windows - i.e. populated. 2. where are these files

Re: [android-developers] Is it possible to obtain credentials to send emails via gmail on behalf of a user?

2013-01-16 Thread Kevin Duffey
Right.. the permission that shows up when I access account manager isn't as clear as the permissions when you first download the app. It strikes me funny that the ability to access the account manager is a manifest permission, but then you need to bother the user at runtime for yet another

Re: [android-developers] Is it possible to obtain credentials to send emails via gmail on behalf of a user?

2013-01-16 Thread Nikolay Elenkov
On Thu, Jan 17, 2013 at 12:56 PM, Kevin Duffey andjar...@gmail.com wrote: ... It strikes me funny that the ability to access the account manager is a manifest permission, but then you need to bother the user at runtime for yet another permission. Why not just make it part of the app

[android-developers] Re: Animations in the list view

2013-01-16 Thread Ansh
Thanks for replying again. * * * you can override its height in the getview() and set it at 1 dp high (tip: don't set the row view to View.GONE). At the end of the animations you will just be fiddling around with row heights and view contents so you shouldn't need the notifyDatasetChanged().*

[android-developers] Is that possible to group items in gridlayout and make them invisible?

2013-01-16 Thread Summer
either group them together? or make the whole gridlayout invisible? -- 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

Re: [android-developers] Is it possible to obtain credentials to send emails via gmail on behalf of a user?

2013-01-16 Thread Kevin Duffey
Yes..true.. and there isn't a way for the manifest to know what your code tries to access at runtime either. My primary issue is the current pop-up at runtime isn't very friendly. I will provide a video of using my app and explain why that pop-up occurs.. but still would be nice if we could

Re: [android-developers] Is it possible to obtain credentials to send emails via gmail on behalf of a user?

2013-01-16 Thread Nikolay Elenkov
On Thu, Jan 17, 2013 at 2:48 PM, Kevin Duffey andjar...@gmail.com wrote: Yes..true.. and there isn't a way for the manifest to know what your code tries to access at runtime either. My primary issue is the current pop-up at runtime isn't very friendly. I will provide a video of using my app and

Re: [android-developers] Re: data in horizontal scrollview

2013-01-16 Thread nemi chhimpa
Hi, i worked on this. i attached the file here. now the problem is how to stop scroll view at the horizontal scrollview item. it always stop first and last item of the horizontal scroll view. how to calculate velocity of scrolling. On Sun, Jan 13, 2013 at 9:32 AM, jason_gates

[android-developers] Get the list of services associated with a process via adb shell?

2013-01-16 Thread Michael Bolin
I'd like to be able to get the list of services associated with a process. On my SIII, through Settings-Application manager, I can get a list of both running and cached processes, along with how much memory each process takes up and if there are any services running in that process. I would

[android-developers] GPS Finder application.

2013-01-16 Thread askl
Hello friends, I want to get *current location of another GPS device*. can i develop like that application using android.? if you have any kind of solutions for develop app, please post me how to do it. i really appreciate it. Thank you. askl -- You received this message because you are

[android-developers] Is there a reliable way to determine what process you are in when the Application is instantiated?

2013-01-16 Thread Michael Bolin
We are using dependency injection in such a way that we want to use the process we are running in to determine which modules we inject when constructing our android.app.Application. Unfortunately, ActivityManager.getRunningAppProcesses() is not a reliable source of information. Normally, we

Re: [android-developers] Integrate Wireless printer(via Bluetooth/WiFi) with Android Application.

2013-01-16 Thread Vaibhav Ajay Gupta
Thnx Mark Murphy for the reply. My mistake i didn't mention i want to make a genric application that can connect to any printer not to some specific one. On Wednesday, January 16, 2013 7:55:31 PM UTC+5:30, Mark Murphy (a Commons Guy) wrote: Step #1: Find a wireless printer. Step #2: Ask

[android-developers] Re: Integrate Wireless printer(via Bluetooth/WiFi) with Android Application.

2013-01-16 Thread Vaibhav Ajay Gupta
Thnx Bob for the reply.. http://stackoverflow.com/questions/7145787/bluetooth-printer-issue-in-android is what i was looking for. :) On Thursday, January 17, 2013 1:55:04 AM UTC+5:30, bob wrote: Also, here's an example of a guy who is printing to a Bluetooth printer from Android:

Re: [android-developers] Re: Resume Of Naveen Tamrakar Android Developer

2013-01-16 Thread Lew
TreKing wrote: Lew wrote: What's with the spammy address list? Probably indicates that this message was spam and should be ignored or reported, not replied to in a serious manner. Generally good advice, yes. Really, your whole post was a waste of your time. Indeed. =P I am