[android-developers] Example for ACCESSORY_SEND_HID_EVENT

2012-12-19 Thread Prabudas
Hi, Please someone provide an example for how to use ACCESSORY_SEND_HID_EVENT and ACCESSORY_SET_HID_REPORT_DESC using AOA 2.0 HID. Thanks in advance. Regards, Prabudas S. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: How to delete app in new console

2012-12-19 Thread Grzegorz Patynek
in dungeons app data is stored in sqlite database. in order to get a fresh app, you have to increase version of database, then dungeons should work fine. If you want to delete app, you can do this in app manager and it uninstalls completely. W dniu środa, 19 grudnia 2012 07:15:03 UTC+1

[android-developers] OpenGL ES 3.0 support on Android - timeframe?

2012-12-19 Thread Henrik Rydgård
Hi, The OpenGL ES 3.0 specification was released this summer: http://www.khronos.org/opengles/ Does anyone know when we can expect to see it supported on Android? Several newer mobile GPUs have the feature set required, and it would be nice to be able to access it. Thanks, Henrik -- You

Re: [android-developers] How will combine download and then upload in a loop?

2012-12-19 Thread Grzegorz Patynek
try using upload function in asynctask in onpostexecute method keeping data in local asynctask variable. W dniu środa, 19 grudnia 2012 02:01:41 UTC+1 użytkownik TreKing napisał: On Tue, Dec 18, 2012 at 3:59 AM, Antonis Kanaris ant...@in.grjavascript: wrote: How combine download and upload

[android-developers] Re: what does it mean? - java.lang.SecurityException: Unable to find app for caller android.app. ApplicationThreadProxy@42b3bcc0 (pid=28461) when publishing content providers

2012-12-19 Thread Dmitriy Kazakov
Hi, App still catch this problem. Could someone help me to figure out with it? воскресенье, 25 ноября 2012 г., 19:56:43 UTC+4 пользователь Dmitriy Kazakov написал: Hello, I have an app did a lot calculations, comunicate with a server and lives all time in backgound if user wants it. My

Re: [android-developers] Intercept an app

2012-12-19 Thread Grzegorz Patynek
if i had to do this i would do an activity which is marked as launcher ( only this activity ) having text to enter password. if the password is correct i would open with intent a proper activity, otherwise would stop the application. W dniu wtorek, 18 grudnia 2012 18:52:57 UTC+1 użytkownik

[android-developers] android drag and drop gridview ordering using OnDragListener

2012-12-19 Thread Frank
I created a drag and drop gridview (using an 'OnDragListener'). Grid items can be dropped upon one another. However, I also want to be able to re-order them. I implemented this, but there is a major issue left standing: When I drag around my shadow object I want the items to make space for my

[android-developers] OnDragListener ACTION_DRAG_LOCATION called only a few times

2012-12-19 Thread Frank
I implemented an 'OnDragListener' and notice that 'DragEvent.ACTION_DRAG_LOCATION' is called only a few times (2-4) when I drag my shadow around on top of a view (a view with this listener). After that, it keeps silent until I release my dragged item. The other 'DragEvents' (enter, drop,

[android-developers] Re: OnDragListener ACTION_DRAG_LOCATION called only a few times

2012-12-19 Thread Grzegorz Patynek
it may depend on amount of o objects in memory. How many views with listener do You have? W dniu środa, 19 grudnia 2012 10:26:21 UTC+1 użytkownik Frank napisał: I implemented an 'OnDragListener' and notice that 'DragEvent.ACTION_DRAG_LOCATION' is called only a few times (2-4) when I drag

[android-developers] Re: OnDragListener ACTION_DRAG_LOCATION called only a few times

2012-12-19 Thread Frank
around 15 right now. But it might be anything between 2 and 200. Op woensdag 19 december 2012 10:40:47 UTC+1 schreef Grzegorz Patynek het volgende: it may depend on amount of o objects in memory. How many views with listener do You have? W dniu środa, 19 grudnia 2012 10:26:21 UTC+1

[android-developers] Re: OnDragListener ACTION_DRAG_LOCATION called only a few times

2012-12-19 Thread Frank
15 right now. but I also want to be able to handle up to 200 items in the end. Op woensdag 19 december 2012 10:40:47 UTC+1 schreef Grzegorz Patynek het volgende: it may depend on amount of o objects in memory. How many views with listener do You have? W dniu środa, 19 grudnia 2012

[android-developers] Re: MapFragment

2012-12-19 Thread Abhinava Srivastava
Android supports MapFragment now On Friday, 29 April 2011 23:15:49 UTC+8, Karl Wagner wrote: Any news on a way to get a MapView on to a fragment? I would have thought this was really quite an urgent flaw (it you're using fragments, it really messes up your app's workflow) I'm using the

[android-developers] Re: what does it mean? - java.lang.SecurityException: Unable to find app for caller android.app. ApplicationThreadProxy@42b3bcc0 (pid=28461) when publishing content providers

2012-12-19 Thread b0b
This means there was an error communicating with another process handling an Intent. The stack trace here is confusing and doesn't show the real cause of the problem. For example i've seen this error happen sending an intent with intent extras being too big, bigger than max transaction size

[android-developers] Problem exit,close my application...

2012-12-19 Thread Antonis Kanaris
I make an application download data from web send to bluetooth,listen bluetooth and upload to web with loopbut when push button close my apk freeze...no work... /** Called when the activity is first created. */ public void onCreate(Bundle savedInstanceState) {

[android-developers] Re: Speaker Problem

2012-12-19 Thread André Lima
SOLVED. Reading the jelly bean code source, i've found this code // This is not an error but might cause users' confusion. Add log just in case. Log.i(LOG_TAG, Forcing speaker off when initiating a new outgoing call...); PhoneUtils.turnOnSpeaker(app, false, true); So that's it, in version 4.1

Re: [android-developers] How to sync development projects?

2012-12-19 Thread lbendlin
Then you haven't worked in iOS development. There Apple have generously discontinued support for CVS, and are now huffing and puffing to discontinue support for SVN too. Git or nothing. On Tuesday, December 18, 2012 7:39:25 PM UTC-5, TreKing wrote: On Tue, Dec 18, 2012 at 2:35 AM, Piren

[android-developers] UI getting slow on video playing

2012-12-19 Thread Shashidhar
Hi, In my application, I am majorly doing 2 things. 1) some part of the screen plays video 2) The remaining part of screen has a set of text views and I am updating them every one second. For playing video, I am using surface view approach and for updating textviews, I am using an async task

[android-developers] Re: How to record multimedia audio

2012-12-19 Thread Meloy Común
Help me please! -- 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+unsubscr...@googlegroups.com For more

Re: [android-developers] Re: How to record multimedia audio

2012-12-19 Thread Asheesh Arya
Google is your friend -- 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+unsubscr...@googlegroups.com For

Re: [android-developers] Re: Identifying HTTP Get requests in Android

2012-12-19 Thread Archana
Hi, I m implementing threads first. Can I use Basic HTTP server from the link http://hc.apache.org/httpcomponents-core-ga/examples.html ? Can you please let me know the difference between handling blocking requests and blocking IO(as specified in the link). Thanks! On Tuesday, December 18,

[android-developers] Re: UI getting slow on video playing

2012-12-19 Thread skink
Shashidhar wrote: Hi, In my application, I am majorly doing 2 things. 1) some part of the screen plays video 2) The remaining part of screen has a set of text views and I am updating them every one second. For playing video, I am using surface view approach and for updating textviews,

Re: [android-developers] Re: UI getting slow on video playing

2012-12-19 Thread Shashidhar
Below is the async task I am using to update the UI private class DisplayTask extends AsyncTaskVoid, Void, Void { public boolean isStopped = false; @Override protected Void doInBackground(Void... params) { try { while (!isStopped) { try {

Re: [android-developers] Re: Identifying HTTP Get requests in Android

2012-12-19 Thread skink
Archana wrote: Hi, I m implementing threads first. Can I use Basic HTTP server from the link http://hc.apache.org/httpcomponents-core-ga/examples.html ? Can you please let me know the difference between handling blocking requests and blocking IO(as specified in the link). Thanks!

Re: [android-developers] Re: UI getting slow on video playing

2012-12-19 Thread skink
Shashidhar wrote: Below is the async task I am using to update the UI private class DisplayTask extends AsyncTaskVoid, Void, Void { public boolean isStopped = false; @Override protected Void doInBackground(Void... params) { try { while (!isStopped) {

Re: [android-developers] Re: UI getting slow on video playing

2012-12-19 Thread Shashidhar
In fact, the first thing I tried was the Handler approach, but it also had the same problem. Hence, I changed it to async task. On Wed, Dec 19, 2012 at 5:52 PM, skink psk...@gmail.com wrote: Shashidhar wrote: Below is the async task I am using to update the UI private class

Re: [android-developers] Re: UI getting slow on video playing

2012-12-19 Thread skink
Shashidhar wrote: In fact, the first thing I tried was the Handler approach, but it also had the same problem. Hence, I changed it to async task. I'm using surface view with handlers and its working like a charm pskink -- You received this message because you are subscribed to the

Re: [android-developers] Intercept an app

2012-12-19 Thread Lucas Diego
ok... I might work... but what if another app launches a browse, how can I intercept that? On Wed, Dec 19, 2012 at 6:18 AM, Grzegorz Patynek gpaty...@gmail.comwrote: if i had to do this i would do an activity which is marked as launcher ( only this activity ) having text to enter password. if

[android-developers] Re: list adapter for complex dynamic layouts

2012-12-19 Thread raaj
Hi , OrderDate :Today Order1 Item 1 Item2 Order 2 Item1 OrderDate : Yesterday order 1 Item1 OrderDate : SomeDay Order 1 order 2 Order 3 Explanation: Many orders with their order numbers. Single day can have multile orders. Each order can

[android-developers] Help needed.....

2012-12-19 Thread Saurabh Khemka
I need to know the idle time of my android phone to enable a screensaver. Also, how do I get to know the screen lock time? Please suggest. -- 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]

2012-12-19 Thread anamika yadav yadav
Hello u all, i have completed my mca this year. and now i am searching a job in C,C++,and java.will u plz help me to search and get the job. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Intercept an app

2012-12-19 Thread Kristopher Micinski
Like I said: you can't. Kris On Wed, Dec 19, 2012 at 8:24 AM, Lucas Diego diegoluc...@gmail.com wrote: ok... I might work... but what if another app launches a browse, how can I intercept that? On Wed, Dec 19, 2012 at 6:18 AM, Grzegorz Patynek gpaty...@gmail.com wrote: if i had to do

[android-developers] Re: Time Based Trigger in Android

2012-12-19 Thread Kristopher Micinski
You should not cross post: android-platform is for platform development only. You can do this easily using an AlarmManager: you hand it a PendingIntent, and it fires, you catch it in a receiver and everything's fine. Kris -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: UI getting slow on video playing

2012-12-19 Thread Shashidhar
I am not running the app on a mobile phone or a tablet. I am running it on a smart android decive which has HDMI output and you can connect it to TV and see the UI on the TV. Can the processing speed limitation of the device be the reason for slow UI updates?? On Wed, Dec 19, 2012 at 6:44 PM,

[android-developers] Re: How to record multimedia audio

2012-12-19 Thread bob
It sounds like what you want is a recording studio. Maybe a soundproof booth. Make sure you don't let your brother in either. On Tuesday, November 20, 2012 5:50:04 AM UTC-6, Meloy Común wrote: I don´t know why my last 2 post were deleted :( I said in those posts: I dont want to

Re: [android-developers]

2012-12-19 Thread rambabu mareedu
HI anamika, This is not job portal On Wed, Dec 19, 2012 at 8:06 PM, anamika yadav yadav anamikayadav.anam...@gmail.com wrote: Hello u all, i have completed my mca this year. and now i am searching a job in C,C++,and java.will u plz help me to search and get the job. -- You received this

[android-developers] Re: Problem exit,close my application...

2012-12-19 Thread bob
Change this: runnable.run(); to this: *new Thread(runnable).start();* On Wednesday, December 19, 2012 5:25:01 AM UTC-6, Antonis Kanaris wrote: I make an application download data from web send to bluetooth,listen bluetooth and upload to web with loopbut when push button

Re: [android-developers] Re: UI getting slow on video playing

2012-12-19 Thread bob
Why don't you not start the video and see if it updates once a second? On Wednesday, December 19, 2012 9:08:26 AM UTC-6, shashidhar wrote: I am not running the app on a mobile phone or a tablet. I am running it on a smart android decive which has HDMI output and you can connect it to TV

[android-developers] Re: How to delete app in new console

2012-12-19 Thread Keith Wiley
Where in the app manager is there a delete-app command? I honestly don't see 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-developers@googlegroups.com To unsubscribe from this group, send

Re: [android-developers] Intercept an app

2012-12-19 Thread Lucas Diego
ok! thanks Kris On Wed, Dec 19, 2012 at 11:54 AM, Kristopher Micinski krismicin...@gmail.com wrote: Like I said: you can't. Kris On Wed, Dec 19, 2012 at 8:24 AM, Lucas Diego diegoluc...@gmail.com wrote: ok... I might work... but what if another app launches a browse, how can I

Re: [android-developers] How to sync development projects?

2012-12-19 Thread TreKing
On Wed, Dec 19, 2012 at 5:31 AM, lbendlin l...@bendlin.us wrote: Then you haven't worked in iOS development. Correct, though I hope to change that relatively soon... There Apple have generously discontinued support for CVS, and are now huffing and puffing to discontinue support for SVN

[android-developers] Custom notifications on Android v2.3

2012-12-19 Thread Mewzer
Does NotificationCompat.Builder setContent() API work on Android v2.3?. The reason why I ask is because I have managed to successfully display a status bar notification with a custom layout using setContent() in Android v4.X, but I cannot get it to work for Android v2.3 - I get a notification

[android-developers] Re: Time Based Trigger in Android

2012-12-19 Thread Arun
You can use Android AlarmManager service to create alarm, you get a callback at the specified time, then you can execute your code. http://developer.android.com/reference/android/app/AlarmManager.html I am not sure whether it suits your requirement with sqlite but in general AlarmManager is the

[android-developers] MapView + Multiple Markers + Pan/Zoom

2012-12-19 Thread Filipe Batista
Hi, I have an application that should load to a MapView several markers as soon the zoom changes ou the map center location changes. I have been looking into the documentation but i have not found any listener for the zoom changes ou pan. Is there any to do this? Thanks Best Regards -- You

Re: [android-developers] MapView + Multiple Markers + Pan/Zoom

2012-12-19 Thread Mark Murphy
Maps V1 didn't really have great support for that, and is now deprecated, anyway. Maps V2 allows you to associate an OnCameraChangeListener with a GoogleMap, to be informed when the camera changes position, tilt, or zoom. On Wed, Dec 19, 2012 at 5:54 PM, Filipe Batista batista.fil...@gmail.com

[android-developers] Send bug report from 4.1

2012-12-19 Thread Nathan
Hi From discussions previously here, I am aware that Android 4.1 has rendered tools such as Sendlog worthless for collecting log cat logs. There was also mention of some secret keystrokes that might produce an error log. Something like power + volume up+ volume down. On Galaxy Nexus. I

[android-developers] Re: SyncAdapter exception that I can't seem to trace.

2012-12-19 Thread Brill Pappin
I'm actually not calling any AsyncTasks at all in any part of the application *yet* and thats why the error was confusing me. That exception appears to be inside the Android API and popped up when I made the provider multiprocess (via the manifest). When you have that setting true, you are

[android-developers] Re: Send bug report from 4.1

2012-12-19 Thread lbendlin
I tell users to install alogcat and send me a snapshot. This seems to work even on non-rooted devices. On Wednesday, December 19, 2012 7:45:23 PM UTC-5, Nathan wrote: Hi From discussions previously here, I am aware that Android 4.1 has rendered tools such as Sendlog worthless for

Re: [android-developers] Re: Send bug report from 4.1

2012-12-19 Thread Mark Murphy
On Wed, Dec 19, 2012 at 7:58 PM, lbendlin l...@bendlin.us wrote: I tell users to install alogcat and send me a snapshot. This seems to work even on non-rooted devices. However, it will not work on Android 4.1 and higher. aLogCat can only report its own LogCat messages, not ones from other

Re: [android-developers] Re: Send bug report from 4.1

2012-12-19 Thread Nikolay Elenkov
On Thu, Dec 20, 2012 at 10:07 AM, Mark Murphy mmur...@commonsware.com wrote: On Wed, Dec 19, 2012 at 7:58 PM, lbendlin l...@bendlin.us wrote: I tell users to install alogcat and send me a snapshot. This seems to work even on non-rooted devices. However, it will not work on Android 4.1 and

[android-developers] Re: android drag and drop gridview ordering using OnDragListener

2012-12-19 Thread Spiral123
Hi Frank I'm not sure I fully understand what effect you are trying to achieve withe drag and drop on a gridview (do you have an example to look at by any chance?). I may have done something similar with a custom listview though. To do drag and drop on my custom listview I don't make a

Re: [android-developers] Re: Send bug report from 4.1

2012-12-19 Thread lbendlin
I just uninstalled 4.2.1 because I couldn't find the developer options any more in the settings, and thus was unable to use adb. Why do they make that so difficult? On Wednesday, December 19, 2012 8:07:29 PM UTC-5, Mark Murphy (a Commons Guy) wrote: On Wed, Dec 19, 2012 at 7:58 PM, lbendlin

Re: [android-developers] Re: Send bug report from 4.1

2012-12-19 Thread Jonathan S
it is hidden. http://howto.cnet.com/8301-11310_39-57549207-285/restore-the-developer-options-menu-in-android-4.2/ On Wednesday, December 19, 2012 9:18:56 PM UTC-5, lbendlin wrote: I just uninstalled 4.2.1 because I couldn't find the developer options any more in the settings, and thus was

[android-developers] Bad View Behavior with Changing ListViews

2012-12-19 Thread Evan Ruff
Hey guys, I'm having some funny issues with my ListViews. Generally, I have a ListView activity where the list view takes up the entire activity. The list views are using a custom SimpleCursorAdapter and are using the supportLoaderManager to load in the data. The Loaders are connected to

Re: [android-developers] Re: How to delete app in new console

2012-12-19 Thread Grzegorz Patynek
you have uninstall button. it is on my phone. 2012/12/19 Keith Wiley kbwi...@gmail.com Where in the app manager is there a delete-app command? I honestly don't see it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Bluetooth input stream buffer overflows

2012-12-19 Thread Elvira
I try to read a file via Bluetooth with HTC Desire. The code for connection is similar to BluetoothChat sample http://developer.android.com/tools/samples/index.html. The problem is in the ConnectedThread when reading files with size greater than 5 KB. This is the run() method of this thread

[android-developers] Re: Send bug report from 4.1

2012-12-19 Thread Pent
Other than POWER + VOLUME UP + VOLUME DOWN, I am unaware of a way to collect the bug report on 4.1 without a copy of the Android SDK installed. If anyone from Google is reading: for the love of God, please put a toast or audible notation or similar in when this key combination is registered.