android-developers@googlegroups.com

2016-02-17 Thread gjs
Try Setting -> Factory Reset that should fix your error... On Thursday, February 18, 2016 at 9:31:06 AM UTC+11, Vikram Murari wrote: > > Hello, > > Hope you are doing great, > > > > I have below urgent requirement with my Global consulting partner. Please > have a look at the below mentioned de

[android-developers] Re: How to correctly set a View's background transparent programmaticaly

2016-02-10 Thread gjs
.setProgress(colorCodes.indexOf(B_string.toUpperCase())); > > displayColorCode(); > } > > > > class RotateButton extends AsyncTask { > @Override > protected void onPreExecute() { > super.onPreExecute(); > rend

[android-developers] Re: How to correctly set a View's background transparent programmaticaly

2016-02-10 Thread gjs
} > > > > class RotateButton extends AsyncTask { > @Override > protected void onPreExecute() { > super.onPreExecute(); > renderButton.setProgress(30); > renderButton.setIndeterminateProgressMode(true); >

[android-developers] Re: How to correctly set a View's background transparent programmaticaly

2016-02-08 Thread gjs
Hi, Maybe post your source code, bit hard to guess otherwise ? Regards On Monday, February 8, 2016 at 8:01:15 PM UTC+11, Nnabueze Uhiara wrote: > > I am having issues setting a linearLayout / relativeLayout's background to > transparent in code(not xml). I have tried both setBackgroundColor() a

[android-developers] Re: Looking to buy a Developer Account and have some questions!

2016-02-08 Thread gjs
rtfm ? - http://developer.android.com/distribute/googleplay/start.html On Monday, February 8, 2016 at 10:25:28 PM UTC+11, Random Person wrote: > > *Also, do I need a merchant account to publish paid apps? And if my > country is not listed can I choose another country?* > -- You received this me

[android-developers] Re: The need for new of ToneGenerator

2016-01-15 Thread gjs
Hi, Here a post with code for a Tone generator - https://groups.google.com/d/msg/android-developers/xGCgQDj_6ME/YqtcwgYuAwAJ Regards On Saturday, January 16, 2016 at 8:00:26 AM UTC+11, Максим Саяпин wrote: > > I need the tones, which are absent in the ToneGenerator. How I can play a > tone han

[android-developers] Re: Help with this code

2016-01-15 Thread gjs
Hi, I think you might do better using a ListView here is a simple tutorial that might help you get started http://www.vogella.com/tutorials/AndroidListView/article.html Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubsc

[android-developers] Re: Barcode Scanner Integration

2016-01-14 Thread gjs
Hi, Use the Android camera and ZXing app - https://play.google.com/store/apps/details?id=com.google.zxing.client.android&hl=en Source code & documentation is here - https://github.com/zxing/zxing Regards On Thursday, January 14, 2016 at 10:44:34 PM UTC+11, Rajesha S G wrote: > > Hello , > > I

[android-developers] Re: stop a timer at 2 minutes

2016-01-14 Thread gjs
Hi, See this similar example - http://examples.javacodegeeks.com/android/core/activity/android-timertask-example/ Try using http://developer.android.com/reference/java/util/Timer.html#schedule(java.util.TimerTask, java.util.Date) instead of (line 43) timer.schedule(timerTask, 5000, 1);

[android-developers] Re: How To create an app with live stream (video and audio)

2016-01-14 Thread gjs
Hi, Not exactly what you are looking for but take a look at the following as it contains a lot of code you can possibly re-use for your own project ( with regards to obtaining camera video and audio frames ) - https://github.com/youtube/yt-watchme Regards On Friday, January 15, 2016 at 3:39:4

[android-developers] Re: Help with this code

2016-01-14 Thread gjs
Hi, Put your (Linear) layout inside a ScrollView - http://developer.android.com/reference/android/widget/ScrollView.html Nice to see someone hand coding their View in java, this is handy for Views created dynamically at runtime :-) Regards On Friday, January 15, 2016 at 4:51:15 AM UTC+11, Pau

[android-developers] How are big android applications managaging and optimizing network calls specially for poor networks like 2g ?

2016-01-12 Thread gjs
Hi, Look at the existing reference materials already provided eg http://developer.android.com/training/efficient-downloads/index.html http://developer.android.com/training/efficient-downloads/efficient-network-access.html http://developer.android.com/training/basics/network-ops/index.html Reg

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-29 Thread gjs
Hi, I don't think you'll get the confirmation you are seeking, but here's what I think is currently happening. (1) The (Google) Gallery app is no more, now being replaced by the (Google) Photos app. (2) Currently the (Google) Photos app appears to ignore the MediaScannerConnection calls and /

[android-developers] Re: Best strategy for emitting countdown tones for shutter delay like stock camera app

2015-12-22 Thread gjs
e is to use a http://developer.android.com/reference/android/media/SoundPool.html Regards On Tuesday, December 22, 2015 at 7:36:16 PM UTC+11, David Karr wrote: > > On Tuesday, December 22, 2015 at 12:14:37 AM UTC-8, gjs wrote: >> >> Hi, >> >> Ok here's two simple example (sine wave

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-22 Thread gjs
capture briefly or as a thumbnail is usually what done to provide immediate feedback. Regards On Tuesday, December 22, 2015 at 5:29:36 AM UTC+11, David Karr wrote: > > On Monday, December 21, 2015 at 12:08:57 AM UTC-8, gjs wrote: >> >> Hi, >> >> If your phone is not a Go

[android-developers] Re: Best strategy for emitting countdown tones for shutter delay like stock camera app

2015-12-22 Thread gjs
} catch (Exception ignore) { } if ( frequency < 1000 ) { sleep = 250; } } } }).start(); } On Tuesday, December 22, 2015 at 5:25:07 AM UTC+11, David Karr wrote: > > On Sunday, Decemb

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-21 Thread gjs
files probably won't get deleted when someone uninstalls your app (!) Regards On Monday, December 21, 2015 at 7:11:52 PM UTC+11, gjs wrote: > > (That's > http://developer.android.com/reference/android/media/MediaScannerConnection.html > > in case of a broken link...) &g

[android-developers] Re: MSSQL Connection error after downloading the app from google play

2015-12-21 Thread gjs
What the error in the log ? On Sunday, December 20, 2015 at 7:46:04 PM UTC+11, Paresh Gandhi wrote: > > Hi, > > I desperately need a help. > > we recently developed an app for a client for their B2B needs. instead of > using web services we used jtds plugin to connect directly to our remote > MS

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-21 Thread gjs
(That's http://developer.android.com/reference/android/media/MediaScannerConnection.html in case of a broken link...) On Monday, December 21, 2015 at 7:08:57 PM UTC+11, gjs wrote: > > Hi, > > If your phone is not a Google Nexus variety then that'

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-21 Thread gjs
TC+11, David Karr wrote: > > On Saturday, December 19, 2015 at 10:34:46 PM UTC-8, gjs wrote: >> >> Hi, >> >> See http://developer.android.com/reference/android/os/Environment.html >> it has methods to retrieve default paths of where photo, video files etc &

[android-developers] Best strategy for emitting countdown tones for shutter delay like stock camera app

2015-12-20 Thread gjs
Hi, Here's some examples of using AudioTrack http://www.programcreek.com/java-api-examples/index.php?api=android.media.AudioTrack Just be sure to run in a separate thread. Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsu

[android-developers] Re: How to store videos with similar naming scheme as stock camera, but in custom camera app

2015-12-19 Thread gjs
Hi, See http://developer.android.com/reference/android/os/Environment.html it has methods to retrieve default paths of where photo, video files etc are stored. The file naming convention should be easy enough to mimic, usually being based on date time stamps. Regards On Sunday, December 20,

[android-developers] Re: FusedLocationApi does not update location with out interent

2015-12-18 Thread gjs
Hi, For frequent / accurate location updates try http://developer.android.com/reference/android/location/LocationManager.html and the onboard GPS receiver, unless of course you have a Pixel C tablet which has no onboard GPS receiver ;-) Regards On Saturday, December 19, 2015 at 2:30:10 AM UT

[android-developers] Re: Layout structure to display button over camera preview (like in stock camera app)

2015-12-18 Thread gjs
Hi, Try a FrameLayout - http://developer.android.com/reference/android/widget/FrameLayout.html Regards On Saturday, December 19, 2015 at 5:20:35 AM UTC+11, David Karr wrote: > > I'm working with a sample video capture app ( > http://examples.javacodegeeks.com/android/core/android-video-capture-

[android-developers] Re: How do it Display Bitmaps frames per seconds in an ImageView efficiently ?

2015-12-18 Thread gjs
Hi, Why not just - @Override public void onFrame(final Bitmap mBitmap) { try { if (mBitmap != null && headerImageView != null) { headerImageView.setImageBitmap(mBitmap); } } catch (Exception e) {

[android-developers] Re: Build app using video camera that stores separate preferences and doesn't prompt to save videos

2015-12-18 Thread gjs
Hi, See http://developer.android.com/guide/topics/media/camera.html#capture-video For (1) As per the link provided, ordinarily the video is saved to (the nominated) file automatically, there is no prompt to save or discard the (video) file, that would require extra effort if you did wish to dis

[android-developers] Re: https pinning example code

2015-11-23 Thread gjs
Hi, The explanation about pinning http://developer.android.com/training/articles/security-ssl.html#Pinning and the examples provided closer to the top of the same page http://developer.android.com/training/articles/security-ssl.html#UnknownCa about using a custom TrustManager give a partial ex

[android-developers] Testing doze and standby mode in Android M

2015-09-05 Thread gjs
Hi, When I turn off my Android screen I expect it to keep running such things as GPS and sensor logging in the background as it does now. No way do I want to to go off into idle mode! Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" gro

[android-developers] Re: Parse error (when installing from unknown sources)

2015-08-22 Thread gjs
Hi, Maybe try again but without installing via ES File Explorer ? I just tried the a similar test - downloading & installing by 'sideloading' a (properly signed) apk via a gmail attachment to Nexus 7 (2012) with Android v5.1.1 & it installed (using the default Android installer - NOT ES File E

Re: [android-developers] Manifest android:process field

2015-08-13 Thread gjs
Hi, Once upon a time many years ago, it was useful to run separate Processes in Android apps when dealing with large image files that might cause OOM explosions as the Bitmap API was quite memory constrained & somewhat unpredictable. By partitioning an app & doing such image processing in (bac

[android-developers] Re: Must reboot Lollipop after write to external memory

2015-08-13 Thread gjs
Hi, This is an old known problem caused by caching associated the use of MTP protocol. MTP protocol is incredibly slow to enumerate directory entries so caching is used (both on the Android side & Windows side) but there is no way provided to 'refresh' the cache when you'd like to see your rece

[android-developers] Re: singed APK binary files are different when recompile

2015-07-10 Thread gjs
Hi, You missed something. Try to determine from your diff what is actually different between the 2 apk's, typically its due to a different embedded timestamp of when the programs were compiled. This is common in various types of executables not just apk & is independent of any signing. Here's

[android-developers] Re: Control Android Wear Vibrations

2015-06-25 Thread gjs
http://stackoverflow.com/questions/26192475/make-the-wearable-vibrate-from-within-an-android-wear-app -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe fr

[android-developers] Receive Callback from Service

2015-04-19 Thread gjs
Hi See http://developer.android.com/guide/components/aidl.html near bottom of page. Also look at the API examples eg Remote Service. https://android.googlesource.com/platform/development/+/master/samples/ApiDemos/src/com/example/android/apis/app/RemoteService.java Regards -- You received this

[android-developers] Use new Storage Access Framework to write SQLite database

2015-04-02 Thread gjs
Hi, Alternative you can read & write to your SQLite db located in your app specfic folder on the external SD card, there's no need to use SAF (fortunately). Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, s

[android-developers] Re: Google Play Services Geofence Problem

2015-03-07 Thread gjs
Hi, What Location mode (in Android Settings) are you using? To achieve 20m I think you need to have 'High Accuracy' or 'Device Only' so that the GPS receiver will be used for your Geo fence. 2373 m accuracy indicates you are probably using 'Battery Saving' Location mode (cell tower & wifi onl

[android-developers] Re: Is Android Wear Compass Sensor reliable?

2015-03-05 Thread gjs
Hi, I find the Sony Smartwatch 3 mostly works ok for compass but not that reliably, here a fragment of a GPS NMEA log from a Sony Smartwatch 3 with some custom sensor messages injected (the $PRHS messages) - $PGLOR,1,FIX,1.0,1.0*20 $GPRMC,072428.00,A,3425.691647,S,15051.743203,E,000.8,272.9,050

[android-developers] Re: How can I download details about my apps?

2015-02-01 Thread gjs
Goto the Play Store listings of your apps in Chrome then File->Save Page As... On Sunday, February 1, 2015 at 2:57:54 PM UTC+11, Russell Cecala wrote: > > Hi, > > I know we can download sales and earning reports from the developer > console from the financial reports page, but how can I download

Re: [android-developers] Re: Is it possible, that Android kills a service inside an app?

2014-12-08 Thread gjs
Hi, You can prove this yourself by creating a test app with a service & running a few tests. Run the test app & start the service on a recent device with Android V4+ then leave the service running & go & do other stuff for a while. Sometime during the next few hours you probably find that your

[android-developers] adb debugging on a TV box with USB only

2014-11-28 Thread gjs
http://www.mygica.ca/forum/viewforum.php?f=71 Try their forum ? -- 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-

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-25 Thread gjs
e duplicate lat and > long to be uploaded. > > I had the situation earlier and i have shared you my experience. > > > > On Tue, Nov 25, 2014 at 1:58 PM, gjs > > wrote: > >> Hi, >> >> re - I am holding the home button and the list of apps comes up and I

Re: [android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-25 Thread gjs
. >>> >>> On Mon, Nov 24, 2014 at 7:38 PM, Mark Phillips < >>> ma...@phillipsmarketing.biz> wrote: >>> >>>> On my Samsung Galaxy 4 phone from T-Mobile, I can hold down the home >>>> button and get a list of running apps. I can kill ea

[android-developers] Re: GPS Background Service Stops Receiving Updates

2014-11-24 Thread gjs
Hi, What do you mean by - ..."I test this by holding down the home button and killing my app" ? If I start an app, then press & hold down the Home button, the app that was running is sent to the background (not killed) & the only option that appears is a circle that pops up to run Google Now -

[android-developers] Re: Synchronize Video Data and Sensor Data

2014-11-19 Thread gjs
Hi, I do the same thing in one of my apps, record video and at the same time record sensor data to file. I start the sensor logging to file at the same time I start the video recording, when the video recording is finished I stop the sensor logging. I am only logging sensor data at 1 second in

Re: [android-developers] insane ScrollView problems

2014-10-14 Thread gjs
Hi, Hmm, is your ScrollView height correct ? I usually use something like - - and specify the scrollbars attribute as well. Regards On Wednesday, October 15, 2014 5:23:19 PM UTC+11, Spooky wrote: > > On Wed, Oct 15, 2014 at 11:31:34AM +0530, Anurag Purwar wrote: > > change http://schemas.and

[android-developers] Re: Network Service Discovery discovers nothing on Android L

2014-09-29 Thread gjs
Hi, Don't know if it related but I found that Wifi Direct would not work between two Nexus 5 devices both running Androd L Preview, same code works ok (on the same devices) in Android 4.4 however. Hope it gets fixed. Regards On Monday, September 29, 2014 3:01:15 AM UTC+10, Ralph Bergmann wrot

[android-developers] Re: MapView (Maps V2) not working

2014-09-24 Thread gjs
Hi, You seem to have map onPause / onResume mixed up - @Override protected void onPause() { // TODO Auto-generated method stub super.onPause(); map.onResume(); } It should be - @Override protected void onPause() { // TODO Auto-generated method stu

[android-developers] Re: Compass Reading - proper implementation.

2014-07-09 Thread gjs
Hi, Some devices lack the requisite magnetometer so Orientation / compass does not work at all, eg: Nikon Coolpix S800c & S810c. One way to smooth the jitter is to compute an average value from a small array of recently stored recent values. Regards On Thursday, July 10, 2014 3:53:45 AM UTC+

Re: [android-developers] FFT algorithm

2014-04-25 Thread gjs
See also https://code.google.com/p/audio-analyzer-for-android/ On Tuesday, April 22, 2014 9:54:00 AM UTC+10, mahmoud mortada wrote: > > Thanks Alvin, so I need to implement FFT with c++ . > On Apr 22, 2014 1:37 AM, "Alvin Schurman" > > > wrote: > >> I would also like that unicorn... >> >> In th

[android-developers] Re: supporting multiple screen: issue in 8.3 inch tab

2014-04-25 Thread gjs
Hi, Look in your Google Play Console to see if there is any crash reports. Try adding code to your App to trap & email you details of any crashes, there are various libraries available to help you do this. Regards On Saturday, April 26, 2014 2:44:00 PM UTC+10, abhay_401 wrote: > > HI, > > I

[android-developers] Re: Compass Reading - proper implementation.

2014-03-20 Thread gjs
Hi, Risk - that B won't work as well A and (many?) users will complain. Reward - you won't be bothered by the deprecation warnings. A little while back I also implemented & tested method B for the same reasons & I found that method B had more jitter (than method A) & had to be smoothed somewha

[android-developers] Re: Eclipse got bad performance after update ADT

2014-03-14 Thread gjs
Hi, For what is worth, I to use similar dev environment & I just updated adt to 22.6.0.v201403010043-1049357 version as well, for me performance seemed about the same as previous, edit xml layout then showing Graphical Layout was always a little slow but not much different than before. Did you

[android-developers] Re: Seperate display on HDMI device

2014-02-24 Thread gjs
Is there not another, more "direct" way to output to an HDMI display ? > > On Saturday, 22 February 2014 07:20:32 UTC+1, gjs wrote: >> >> Hi >> >> Try https://developers.google.com/cast/ >> >> Regards >> >> -- You received th

[android-developers] Seperate display on HDMI device

2014-02-21 Thread gjs
Hi Try https://developers.google.com/cast/ Regards -- 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+u

[android-developers] Re: SharedPreferences not Thread Safe

2014-02-19 Thread gjs
Hi, See also - http://developer.android.com/reference/android/content/Context.html#MODE_MULTI_PROCESS http://developer.android.com/reference/android/content/Context.html#getSharedPreferences(java.lang.String, int) This flag helps for single process, but I find that it is still NOT multi proc

[android-developers] Crash when running Bluetooth example from Android Docs

2014-02-13 Thread gjs
Hi, On the same page - BluetoothAdapter mBluetoothAdapter = BluetoothAdapter.getDefaultAdapter(); if (mBluetoothAdapter == null) { // Device does not support Bluetooth } Regards -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: How to save gif file into gallery ?

2014-01-08 Thread gjs
Hi, Have you tried - http://developer.android.com/training/camera/photobasics.html#TaskGallery Regards On Tuesday, January 7, 2014 10:53:57 PM UTC+11, ashwini wrote: > > > > If any one know Kindly share with me the sinppet. > > > On Fri, Jan 3, 2014 at 4:28 PM, ashwini vandanapu > > > wr

[android-developers] Re: setAccuracy vs setHorizontalAccuracy

2013-12-17 Thread gjs
Hi, Not I, but you could guess that these relate in a device, cost &/or technology independant manner about what (Location) accuracy is desired by your app. The current technologies that the OS might choose from based on your settings include GPS (fine or high accuracy), Wifi access point (med

Re: [android-developers] Google banned AdSense account, and will not pay money earned with Paid App

2013-11-28 Thread gjs
Hi, Yes it definitely was a joke, sorry I should have been a bit more explicit it describing it that way ;-) And no offence is intended to the op. Regards On Friday, November 29, 2013 2:21:24 PM UTC+11, TreKing wrote: > > > On Thu, Nov 28, 2013 at 3:28 PM, Paulo Cesar > > wrote: > >> I was

Re: [android-developers] Google banned AdSense account, and will not pay money earned with Paid App

2013-11-28 Thread gjs
http://youtu.be/vEB0l6OqLR4 On Friday, November 29, 2013 8:28:15 AM UTC+11, Paulo Cesar wrote: > > I was expecting for someone inside Google to listen to my rant, and point > out at somebody who can solve my problem? > > I don't like lawyers.. But it seems that I have no other way of dealing >

[android-developers] Re: Car dock mode in 4.3

2013-11-22 Thread gjs
Hi, You mean it did launch your app when the device is placed in the car dock before 4.3, but after pressing Home in 4.3 the user no longer somehow later returns to your activity, running in car dock mode ? Perhaps try explaining the old behaviour vs the new behaviour with 4.3 in a lot more de

[android-developers] Re: ViewPager does not respect WRAP_CONTENT?

2013-11-22 Thread gjs
Hi, Couldn't you just also add the linearlayout (with its textview) to the relative layout in (2) as you did in (1) ? And specifically, add and remove the linear layout to the collection in your instantiate & destroy item methods instead of just the text view. Regards On Saturday, November 23

[android-developers] Re: Is Android friendly for video real-time processing?

2013-11-20 Thread gjs
Hi, Suggest you read http://developer.android.com/reference/android /media/MediaMetadataRetriever.html And the other documentation for classes in the media framework, search blogs for examples & stack overflow etc Regards On Thursday, November 21, 2013 8:15:34 AM UTC+11, Linda Li wrote: > > I

[android-developers] Re: .db files being renamed to .back

2013-11-09 Thread gjs
gets corrupted I can recreate & reload it from the log of individual xml files. Regards On Saturday, November 9, 2013 6:48:00 AM UTC+11, Nathan wrote: > > > > On Thursday, November 7, 2013 10:58:03 PM UTC-8, gjs wrote: >> >> Hi, >> >> Ask the customer if he/she r

[android-developers] Re: .db files being renamed to .back

2013-11-07 Thread gjs
Hi, Ask the customer if he/she runs some sort of file back up / sync / virus app & maybe ask them to rename the .back to .db & see if that fixes the issue. The issue could be due to any number of things even arising from attempting to copy or sync files via a PC (blame Windows ;-) A general s

[android-developers] Re: Nexus 5 Camera setOneShotPreviewCallback dark images

2013-11-07 Thread gjs
Hi, One of my apps uses mCamera.setPreviewCallback(this); and onPreviewFrame( byte[] data, Camera camera) and its working OK on Nexus 5 with KRT16M build. Also the demo code you provided does nothing with the data from onPreviewFrame() Regards On Friday, November 8, 2013 11:15:20 AM UTC+11, Jo

[android-developers] Re: android connectivity manager

2013-10-27 Thread gjs
Hi, Its not wrong it only reports being connected (to the LAN) not the internet. If you really want to check for an active internet connect, send a request & examine the response code to some website(s) you know are likely to be up & running, google.com perhaps. Regards On Monday, October 28,

[android-developers] Re: Unable to authorize adb on Windows 7 after set of 10/8/13 Microsoft patches applied

2013-10-15 Thread gjs
Hi, I think I was having the similar issues using ADT and Windows 7 with a Nexus 4 (but not using Cygwin), to rectify so that it is now working OK, I added the following VID & PID USB entries - - Add following entries in your Drive:\opt\Android\android-sdk\extras\google\usb_driver\andro

[android-developers] Re: ASUS tablet

2013-09-27 Thread gjs
Hi, Is there an ASUS usb driver you need to install ? You can also debugging over Wifi instead of usb, maybe try that as well. Regards On Friday, September 27, 2013 12:13:32 AM UTC+10, eli wrote: > > I am using Eclipse and am able to communicate with a XOOM tablet for USB > debugging. However

[android-developers] Re: problem centering the camera in Maps V2

2013-09-27 Thread gjs
Hi, Don't know. What happens if you comment out the marker, is the map still centered at the same location ? Also does this vary with device rotation & / or different zoom - eg 21, & on phone or tablet ? I think there's also an option to move / animate & zoom the camera at the same, somethi

[android-developers] Re: Bluetooth Low Energy Encrypted Characteristic Read Write

2013-09-25 Thread gjs
Hi, So far I've only used BLE successfully with devices that don't need to use encryption, however the docs seem to infer that BluetoothGattCharacteristic requires setWriteType (int writeType) where writeType is WRITE_TYPE_SIGNED - Write characteristic including authentication signature - prio

[android-developers] Re: java.io.FileNotFoundException: (Device or resource busy)

2013-08-13 Thread gjs
Hi, Make sure you are closing the file properly. See - http://android-developers.blogspot.com.au/2010/12/saving-data-safely.html http://stackoverflow.com/questions/4707664/ext4-fsync-situation-unclear-in-android-java Regards On Monday, August 12, 2013 4:50:50 PM UTC+10, rahul kaushik wrote: >

[android-developers] Re: Camera + GLSurfaceView frame rate

2013-08-13 Thread gjs
Hi, What camera preview frame rate are you using ? I think you might be able to adjust this between at least 2 values, 15fps & maybe 30fps options. Are you converting YUV to JPG camera preview frames ? If yes you will need to try to make this conversion as efficient as possible for good fps. R

Re: [android-developers] Re: 3D model importer / engine for Android / Android NDK for use with Vuforia - what do you use?

2013-08-09 Thread gjs
nd GLUT, how am I supposed > to install those in an Android device? > It's OpenGL ES not OpenGL. > > thanks anyway, > Regards, > Daniele Segato > > On 08/09/2013 08:57 AM, gjs wrote: > > Hi, > > > > http://lmgtfy.com/?q=convert+collad

[android-developers] Re: 3D model importer / engine for Android / Android NDK for use with Vuforia - what do you use?

2013-08-08 Thread gjs
Hi, http://lmgtfy.com/?q=convert+collada+to+opengl Maybe have a look at https://github.com/KhronosGroup/glTF and http://sourceforge.net/projects/colladaloader/ Regards On Thursday, August 8, 2013 9:15:51 PM UTC+10, Daniele Segato wrote: > > Hi, > > I'm scouting for a 3D model importer library.

[android-developers] Re: buggy legacy options menu on Samsung S4

2013-08-07 Thread gjs
Hi, I have a Samsung Galaxy S4 with Android 4.2.2 plus an app & activities that have legacy option menus with more than six items, including "more" that uses onCreateOptionsMenu() as well as onPrepareOptionsMenu() and onOptionsItemSelected(). When I try to reproduce your steps I do *not* get t

[android-developers] Re: heatmap using TileOverlay on Google Maps v2

2013-06-28 Thread gjs
Hi, I am actually doing similar stuff to most things you mentioned, using a custom View (overlayed) onto top of the Map and drawing bitmaps to the canvas but not needing to rescale the bitmaps for zoom, using TileOverlay, using GroundOverlay and also drawing Polylines, filled Polygons & Circles

[android-developers] Re: Could not find class 'com.google.android.maps.GeoPoint', referenced from method

2013-06-07 Thread gjs
Hi, As you are probably aware GeoPoint is an old class from Version 1 Android Maps api. Perhaps the user is trying to run your app on a non Google / maps 'supported' or rooted, rom altered/updated device that's now missing the GeoPoint library - since your app was installed ? Do what Treking

[android-developers] How to compress text data before saving in a database

2013-04-21 Thread gjs
Hi See the GZip classes on the android sdk. Regards -- -- 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-develop

[android-developers] Re: Android - how to handle saving file on low device memory(Internal/External memory)

2013-04-19 Thread gjs
Hi, You can warn the user about pending low memory situation with toast message etc, you could reserve some space before hand with a dummy file or two and use those as necessary, you could save the file to the cloud server. Regards On Thursday, April 18, 2013 9:16:03 PM UTC+10, sumit gulati wr

[android-developers] Re: [Socket/Client-Server communication ] how to verify if url and port is working fine

2013-04-08 Thread gjs
Hi, Try your using your browser. Regards On Sunday, April 7, 2013 5:29:23 PM UTC+10, A N K ! T wrote: > > Problem is can not able to write/read data to server. Want to verify if > url and portNo is working so it can be confirmed that error is in code. > > basically i have inetAddress = 38.92.7

[android-developers] Re: Map of the building and drawing Route from Source to Destination

2013-04-08 Thread gjs
Hi, Android Google Maps Version 2 has support to draw map tiles from alternate sources. You just need to provide your floor map as a pyramid of map tiles, typically 256x256 pixels. The map tiles then are accessed (from your cloud server) based on lat, lon & zoom level. You can position that map

Re: [android-developers] Offline maps

2013-04-03 Thread gjs
Hi Android maps api v2 supports alternate map tiles Regards -- -- 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-d

[android-developers] Re: GroundOverlay with rotation in MapView

2013-03-30 Thread gjs
Hi, You are already using 0.477325392961741 in your example, just try other rotation values & see what you get. Regards On Friday, March 29, 2013 7:04:56 PM UTC+11, Brofalad wrote: > > Hi, > > I have a overlay image with the following cooridinates. > > > 56.56509012808 > 56.545537198

[android-developers] Re: Setting LED on a Notification

2013-02-03 Thread gjs
Hi, X.lefOffMS = 0; should be X.ledOffMS = 0; Maybe look at other examples, eg http://androidblogger.blogspot.com.au/2009/09/tutorial-how-to-use-led-with-android.html Regards On Monday, February 4, 2013 7:01:23 AM UTC+11, Jake Colman wrote: > > > This should be simple but I can't get it to

[android-developers] Re: Exploring and Downloading files from a device over a wifi connection

2013-02-02 Thread gjs
Hi, The user manual says - (4) Once the devices and the Product are connected, open the browser of the device and enter the following address into the input field. http://flashair/ (5) Files and folders which are stored in the Product will be displayed in the browser. - so you might tr

[android-developers] Re: DDMS in Eclipse returning 0.0 in getBearing

2012-12-16 Thread gjs
Hi, Maybe an obvious/dumb question but does you KML include bearing values for each lat/lon element, if so are they values other than 0.0 ? Regards On Saturday, December 15, 2012 4:24:55 AM UTC+11, ga...@deanblakely.com wrote: > > I've been successfully using a KML file and DDMS to drive my ap

[android-developers] Re: Required: Sr. NET Developer at Santa Clara, CA

2012-12-11 Thread gjs
Clearly you are lost. Turn around and head back through the last decade towards the twentieth century, you'll find asp.net is one many one way dead ends off micro$oft way ;-) On Friday, December 7, 2012 2:56:09 AM UTC+11, Munawar Ali wrote: > > Hi Friend, > > Hope you are doing good. Please le

Re: [android-developers]android bluetooth multi-connect one after another

2012-12-09 Thread gjs
Hi, Then concentrate on getting 1 or 2 devices working with - mChatService.connect(device); Regards On Sunday, December 9, 2012 1:19:08 AM UTC+11, akash roy wrote: > > please have a look on it..thankyou. > > > > On Sat, Dec 8, 2012 at 9:26 AM, akash roy > > wrote: > >> ** >> >> here i am tr

Re: [android-developers] Re: android phones and bluetooth

2012-12-06 Thread gjs
http://sourceforge.net/p/bluegps4droid/home/Home/ On Friday, December 7, 2012 4:12:27 AM UTC+11, dashman wrote: > > > any links to code fragments to talk to a bluetooth gps - serial profile. > > i'm familiar with NMEA etc. > > > re the poster as to why? there's always out of the norm applications.

[android-developers] Re: android phones and bluetooth

2012-12-05 Thread gjs
Hi, do most android phones support the bluetooth serial profile. Yes specifically - gps data access. Yes, if you mean access GPS device via bluetooth how would i know whether the phone supports it Try it, there is a few free apps that will connect to BT GPS devices, use Google to search Regard

Re: [android-developers] OOM with heap enough

2012-11-22 Thread gjs
Hi, I started having to deal with new OOM errors one of my camera apps again recently. First started when I got a new Samsung Galaxy S3 LTE with Android 4.1.0, OOM occurring after reading in an 8MP photo ok & then attempting to allocate additional Bitmap to create a modified copy of the origin

[android-developers] Re: Sending file between 2 instances of emulator

2012-10-22 Thread gjs
Hi, Use Socket & ServerSocket classes Regards On Monday, October 22, 2012 5:29:16 PM UTC+11, Archana wrote: > > Hi, I want to send a text between 2 android emulator instances(by > hard-coding the port numbers) using HTTP. I want a single apk file for > this(so that it can run on 'n' instances

[android-developers] Re: NMEA packet is not working

2012-10-16 Thread gjs
Hi, And you are missing the NMEA callback method - onNmeaReceived(long timestamp, String nmea) See http:/

[android-developers] compass-less devices =/

2012-10-13 Thread gjs
Hi Nikon s800c has no compass. Regards -- 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...@goo

[android-developers] Re: HTTP server in Android

2012-10-08 Thread gjs
Hi, A HTTP server is useful in Android for some apps, eg: wireless remote access to your files inside a LAN. Regards On Sunday, October 7, 2012 6:19:14 PM UTC+11, gjs wrote: > > Hi, > > No sure that will work if both emulators have the same IP address. > > I'd try

[android-developers] Re: HTTP server in Android

2012-10-07 Thread gjs
have > to transfer the contents of a JSON file from 1 emulator's server to other > emulator's client.. Can you please guide me in the usage of how to use port > numbers(as the IP addresses of both instances of the emulator is the same)? > > Thank you! > > O

[android-developers] Re: HTTP server in Android

2012-10-04 Thread gjs
Hi, Change the port number in your request - PORT = 8765 not 8080 And yes you can write your own http server simply by using a server socket. http://docs.oracle.com/javase/tutorial/networking/sockets/clientServer.html Regards On Thursday, October 4, 2012 3:57:58 PM UTC+10, Archana wrote: >

[android-developers] Re: What is the best phone to buy for Android Development?

2012-10-03 Thread gjs
Hi, Yep thats good for developing with Google TV as well. Regards On Thursday, October 4, 2012 8:21:00 AM UTC+10, Anton Kaiser wrote: > > Galaxy Nexus here. > Why did nobody mention the app 'Adb Wireless'? It's so comfy not to have > to attach the phone to your laptop, especially if you have t

[android-developers] Re: What is the best phone to buy for Android Development?

2012-10-03 Thread gjs
rticularly when GPS is on, the Google devices Galaxy S, Galaxy Nexus, Nexus 7 don't. Regards On Wednesday, October 3, 2012 11:17:42 AM UTC+10, Lew wrote: > > > > On Tuesday, October 2, 2012 5:40:32 PM UTC-7, gjs wrote: >> >> Hi, >> >> >The world doe

<    1   2   3   4   5   6   7   >