[android-developers] Pins for developers?

2011-02-17 Thread Leon Moreyn-Android Development
So I hear that Google gave away Android Pins at MWC. Any chance us
lowly developers will be getting those pins?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] NFC Concerns

2011-02-09 Thread Leon Moreyn-Android Development
I have my reservations about the NFC features on new phones.

1.) Does it read any NFC? Like say my Amex cards RDIF tag?
2.) The writer for the NFC chip in the phone does it write whatever I
tell it to write?
3.) What is the security on this technology?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] TTS User controlled

2011-02-08 Thread Leon Moreyn-Android Development
So I would say I am pretty much the office guru when it comes to TTS
in Android Applications, I can enable, install and make it say pretty
much whatever I want at this point. Someone in my office had the gale
to ask me if I could make it stop talking as a setting and I said
sure. Well This is where I am stuck. I know there is stop feature
but that would mean putting stops all over my source code. And then I
thought well I could make a conditional variable in the settings to my
application. But that to would require several checkpoints all through
out the source code. So I was looking around in the API trying to find
a quick fix and can't seem to find any indicator other than that I
will need lots of check points in the code. Does anyone know of a
Global way to enable or disable TTS based on a user input.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Amazon to Policy Android Market Place

2011-01-14 Thread Leon Moreyn-Android Development
Im sure worst case they could probably package there market with the
kindle app somehow.

On Jan 14, 10:32 am, TreKing treking...@gmail.com wrote:
 On Fri, Jan 7, 2011 at 12:52 AM, SoftWyer karl.w...@gmail.com wrote:
  Furthermore, unless Amazon can get their app pre-installed onto devices,
  then it's going to be limited.  After all, not many people will know to go
  to the Market app to download another market app.

 Amazon is one of the most well-known websites out there with who-knows how
 many users. I'm sure they can get the word out to their user that that they
 can buy apps from their store, and you'll probably be able to do it right
 from a browser.
 .
 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: HTML5 audio and video support

2011-01-12 Thread Leon Moreyn-Android Development
Are you using the inherit browser that comes with the phone or a third
party browser like Opera? Since HTML5 is not standard across all
browser it depends on which one you are using.

On Jan 12, 10:21 am, ls02 agal...@audible.com wrote:
 I am trying to figure out of android (at least Froyo) has any audio
 and video HTML5 tag support in any form or shape. I read from many
 sources andhttp://www.html5test.comconfirms that although Android
 Web browser does support both tags it does not support any audio or
 video codecs which basically makes these tags not supported.

 At the same time I read in some references that some people may have
 found a workaround how to play audio inside a Web browser for instance
 by specifying mp3 file source for video tag.

 http://code.google.com/p/android/issues/detail?id=10546

 I tried this on my Droid and no clip is played or displayed, only a
 placeholder is shown.

 Can someone point me to at least one working example (link to a page)
 that plays any sort of audio inside a Web browser on Android. If it is
 absolutely not possible to play audio via HTML5, is there any way to
 launch Android music player to play the mp3 link in some sort of
 hidden or minimized form so it does not take over entire screen and
 navigate user away from a Web page?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-11 Thread Leon Moreyn-Android Development
So clarify this once and for all. Unless I buy the phone as a
developer phone, ie out of contract, the provider doesnt not have to
give me access to be able to install out of market apps, ie my own
developed apps unless they are on the market?

On Jan 10, 10:05 pm, Dianne Hackborn hack...@android.com wrote:
 On Mon, Jan 10, 2011 at 5:09 PM, Mark Murphy mmur...@commonsware.comwrote:

  On Mon, Jan 10, 2011 at 4:46 PM, Leon Moreyn-Android Development
  lmor...@earthcam.com wrote:
   Ok. So here is what I am trying to understand. I have an X10A from
   ATT. I can not develop on the phone because it doesn't allow me to
   install third party none market applications.
  You can still use adb to push app to the device, AFAIK.

 Yes.  Full adb support most be there for it to be compatible.  This allows
 all of the development tools to work.

 Being able to install non-Market apps through the UI is a completely
 different issue, and not covered by the CDD because it is not needed for
 development.

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-11 Thread Leon Moreyn-Android Development
Dianne Thank you for your time in clearing up this matter. I now have
clear understanding. Again thank you.

On Jan 11, 1:11 pm, Dianne Hackborn hack...@android.com wrote:
 Your phrasing is confusing.

 The CDD *requires* that for a device to ship with Market it *must* have full
 ADB support.  This is what you use to develop applications on a device:
 install them, debug them, and everything else involved with development.

 Being able to install non-Market apps as a *user* (not a *developer*)
 through the UI is a completely different issue, not covered by the CDD, and
 not impacting a developer who is developing apps on their device.  You as a
 developer are perfectly capable of installing your own apps on any device
 that has Market.  You will not be able to put those apps up on a web site
 for users to download outside of Market.

 Also developer phone != out of contract.  In fact, developer phone is
 a bad term to use.  Every Android phone with Market is a third party
 developer phone.  There are a few phones that allow reflashing of their
 system images, which is intended for developers of the platform itself to be
 able to replace the entire firmware with their own build.  Also these phones
 aren't only available out of contract; it is a decision that the
 manufacturer makes that is independent of how they sell it.  (Google being
 the only one I believe doing this with the Nexus phones, and both models so
 far have been available with or without contract, because they are intended
 to be great for end users as much as being a tool for platform developers.)

 On Tue, Jan 11, 2011 at 6:39 AM, Leon Moreyn-Android Development 





 lmor...@earthcam.com wrote:
  So clarify this once and for all. Unless I buy the phone as a
  developer phone, ie out of contract, the provider doesnt not have to
  give me access to be able to install out of market apps, ie my own
  developed apps unless they are on the market?

  On Jan 10, 10:05 pm, Dianne Hackborn hack...@android.com wrote:
   On Mon, Jan 10, 2011 at 5:09 PM, Mark Murphy mmur...@commonsware.com
  wrote:

On Mon, Jan 10, 2011 at 4:46 PM, Leon Moreyn-Android Development
lmor...@earthcam.com wrote:
 Ok. So here is what I am trying to understand. I have an X10A from
 ATT. I can not develop on the phone because it doesn't allow me to
 install third party none market applications.
You can still use adb to push app to the device, AFAIK.

   Yes.  Full adb support most be there for it to be compatible.  This
  allows
   all of the development tools to work.

   Being able to install non-Market apps through the UI is a completely
   different issue, and not covered by the CDD because it is not needed for
   development.

   --
   Dianne Hackborn
   Android framework engineer
   hack...@android.com

   Note: please don't send private questions to me, as I don't have time to
   provide private support, and so won't reply to such e-mails.  All such
   questions should be posted on public forums, where I and others can see
  and
   answer them.

  --
  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.comandroid-developers%2bunsubs­cr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Sony Ericsson X10a as sold by ATT does not meet this standard I
believe.

On Jan 8, 3:25 pm, Dianne Hackborn hack...@android.com wrote:
 On Sat, Jan 8, 2011 at 8:34 AM, JP joachim.pfeif...@gmail.com wrote:
  On Jan 8, 7:57 am, Mark Murphy mmur...@commonsware.com wrote:
   Dev phones are for people devising alternative firmware. They are
   not necessary for ordinary Android SDK development.
  ... but sure are a good idea to have. We've seen a selection of dogs
  where USB drivers weren't available or LogCat wouldn't pick anything
  up because the device wouldn't provide any output on the USB port... I
  also like the presence of dev devices so scope can be established when
  writing proposals, along the line of ... tested on the Android
  reference devices Google Ion and Nexus One.

 It is required for a device to ship with Market that it full support
 development and debugging over USB.  If you find a device with Market where
 this doesn't work, please let us know -- we aggressively pursue CDD
 incompatibilities to get them fixed (it is a requirement for someone to ship
 with Market to fix any such issues that are found).

 That said, yes the dev devices are partly there to be a benchmark for how
 that platform is expected to behave.  (Though for most cases you can test
 against the base platform using the emulator as well.)  I sometimes like to
 refer to them as Android reference devices. :)

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Does Market support installing multiple apks

2011-01-10 Thread Leon Moreyn-Android Development
What are these other APKs you are trying to DL? Are you taking about
something like a speech engine? Or completely independent
applications?

On Jan 9, 11:41 pm, xeagle xeagle...@gmail.com wrote:
 Hi,
 My application contains several apks. I'd like upload my app to
 android Market. If user download my app, can all of these apks be
 installed? Thanks!

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Can you provide more details about CDD or confirm that the X10A as
sold by ATT meets the CDD standard and is fully available for
developer use with all features running.

On Jan 10, 2:18 pm, Dianne Hackborn hack...@android.com wrote:
 On Mon, Jan 10, 2011 at 6:27 AM, Leon Moreyn-Android Development 

 lmor...@earthcam.com wrote:
  Sony Ericsson X10a as sold by ATT does not meet this standard I
  believe.

 The ATT devices don't have side-loading through the UI enabled.  They still
 allow development (including installing) through ADB, and as I said if they
 didn't this would be a very large violation of the CDD.

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Google Nexus S - Please provide as DEV phone, asap :-)

2011-01-10 Thread Leon Moreyn-Android Development
Ok. So here is what I am trying to understand. I have an X10A from
ATT. I can not develop on the phone because it doesn't allow me to
install third party none market applications. If I try to root the
phone it will remove the 3G and WIFI from functionality from the
phone. At this point I am considering the need that I may need buy a
new phone just for the soul purpose of being able to test the apps I'm
developing. Am I wrong to think that there must be something that ATT
can provide me with to root the phone so I can develop on it?

On Jan 10, 4:38 pm, Kumar Bibek coomar@gmail.com wrote:
 CDD Details herehttp://source.android.com/compatibility/overview.html

 I believe it should be.

 Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

 On Tue, Jan 11, 2011 at 3:06 AM, Leon Moreyn-Android Development 



 lmor...@earthcam.com wrote:
  Can you provide more details about CDD or confirm that the X10A as
  sold by ATT meets the CDD standard and is fully available for
  developer use with all features running.

  On Jan 10, 2:18 pm, Dianne Hackborn hack...@android.com wrote:
   On Mon, Jan 10, 2011 at 6:27 AM, Leon Moreyn-Android Development 

   lmor...@earthcam.com wrote:
Sony Ericsson X10a as sold by ATT does not meet this standard I
believe.

   The ATT devices don't have side-loading through the UI enabled.  They
  still
   allow development (including installing) through ADB, and as I said if
  they
   didn't this would be a very large violation of the CDD.

   --
   Dianne Hackborn
   Android framework engineer
   hack...@android.com

   Note: please don't send private questions to me, as I don't have time to
   provide private support, and so won't reply to such e-mails.  All such
   questions should be posted on public forums, where I and others can see
  and
   answer them.

  --
  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.comandroid-developers%2bunsubs­cr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Factory data reset - install app

2011-01-07 Thread Leon Moreyn-Android Development
Ummm, unless user backs up your app data I dont believe there is any
way to actually auto install are factory reset.

On Jan 6, 3:14 am, Hareef toar...@gmail.com wrote:
 Anyway to install App automatically when doing Factory Data Reset?

 Thanks in Advance

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Prevent application - after Factory Data reset

2011-01-07 Thread Leon Moreyn-Android Development
Also maybe your app is the reason for the factory reset. IE Virus.

On Jan 6, 3:14 am, Hareef toar...@gmail.com wrote:
 Factory Data reset will remove everything and uninstall the third
 party apps
 So, how can i prevent my app getting uninstalled?

 Thanks

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: INSTALL_FAILED_MISSING_SHARED_LIBRARY

2011-01-06 Thread Leon Moreyn-Android Development
Try using different target version.

On Jan 5, 8:28 am, Nitilaksha niti...@gmail.com wrote:
 Hello ,

 **I was getting this error initialy when i tried to use google map
 api**

 [2011-01-05 18:01:40 - GApp_Map] --
 [2011-01-05 18:01:40 - GApp_Map] Android Launch!
 [2011-01-05 18:01:40 - GApp_Map] adb is running normally.
 [2011-01-05 18:01:40 - GApp_Map] Performing com.diyamap.welcome
 activity launch
 [2011-01-05 18:01:40 - GApp_Map] Automatic Target Mode: launching new
 emulator with compatible AVD 'ADT'
 [2011-01-05 18:01:40 - GApp_Map] Launching a new emulator with Virtual
 Device 'ADT'
 [2011-01-05 18:01:57 - GApp_Map] New emulator found: emulator-5554
 [2011-01-05 18:01:57 - GApp_Map] Waiting for HOME
 ('android.process.acore') to be launched...
 [2011-01-05 18:03:49 - GApp_Map] HOME is up on device 'emulator-5554'
 [2011-01-05 18:03:49 - GApp_Map] Uploading GApp_Map.apk onto device
 'emulator-5554'
 [2011-01-05 18:03:51 - GApp_Map] Installing GApp_Map.apk...
 [2011-01-05 18:05:24 - GApp_Map] Installation error:
 INSTALL_FAILED_MISSING_SHARED_LIBRARY
 [2011-01-05 18:05:24 - GApp_Map] Please check logcat output for more
 details.
 [2011-01-05 18:05:24 - GApp_Map] Launch canceled!

 Later I changed the target(project properties) to Google API 9 to 8
 but i am getting following errors :(

 [2011-01-05 18:11:14 - GApp_Map] --
 [2011-01-05 18:11:14 - GApp_Map] Android Launch!
 [2011-01-05 18:11:14 - GApp_Map] adb is running normally.
 [2011-01-05 18:11:14 - GApp_Map] Performing com.diyamap.welcome
 activity launch
 [2011-01-05 18:11:14 - GApp_Map] Automatic Target Mode: launching new
 emulator with compatible AVD 'GA9'
 [2011-01-05 18:11:14 - GApp_Map] Launching a new emulator with Virtual
 Device 'GA9'
 [2011-01-05 18:11:27 - GApp_Map] New emulator found: emulator-5554
 [2011-01-05 18:11:27 - GApp_Map] Waiting for HOME
 ('android.process.acore') to be launched...
 [2011-01-05 18:15:16 - GApp_Map] HOME is up on device 'emulator-5554'
 [2011-01-05 18:15:16 - GApp_Map] Uploading GApp_Map.apk onto device
 'emulator-5554'
 [2011-01-05 18:15:17 - GApp_Map] Installing GApp_Map.apk...
 [2011-01-05 18:17:32 - GApp_Map] Failed to install GApp_Map.apk on
 device 'emulator-5554!
 [2011-01-05 18:17:32 - GApp_Map] (null)
 [2011-01-05 18:17:32 - GApp_Map] Launch canceled!

 Could anybody help me on this ?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Amazon to Policy Android Market Place

2011-01-05 Thread Leon Moreyn-Android Development
The almighty Amazon.com feels that is should police the Android
Market  for proper applications. On one hand I think this could be a
good idea but on the other hand this feels took much like an Apple iOS
development clone. With Amazon developing its own market place and
limiting which apps can appear there you are guaranteed a visible
market for your application. People who pursue amazon will know that
your app may meet some sort of standard and may consider buying it.
But just as good as that is, if Amazon is backed up with testing your
application and like apple takes two weeks to reject your application
based on some sort of merit what is to stop me from just uploading my
application directly to the market place. ABSOLUTELY NOTHING. As
someone who develops on both sides of the spectrum I don't see the
implement of this Amazon App Market place as a good idea. I am curious
as to other developers take on this and how many plan to actually
develop to meet the amazon market guidelines.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android TTS sound braking

2010-12-29 Thread Leon Moreyn-Android Development
There is a feature that can allow you make sure the clips plays fully
before termination. I can recall the method/function off the top of my
head but I believe it was in the API.

On Dec 28, 10:03 pm, Chandana Napagoda cnapag...@gmail.com wrote:
 HI,

 I have developed TTS based application, When playing it sound, if any other
 notification triggered, Then TTS playing with sound braking.( Ex: if SMS
 received TTS sound brake)
 What are condition which can occur such a issue?

 Thank You.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Internal refresh of app

2010-12-22 Thread Leon Moreyn-Android Development
So I am working on an app that is memory intensive. Currently I can
only go back and forth 18 times before my cause a critical memory
crash. I have tried putting in onStop and onPause and releases onBack.
Instead of releasing Process and threads, is there a way to quietly
reset the app in memory without shutting the app down and completely
restarting live on the screen, ie not make it look like a reboot.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Internal refresh of app

2010-12-22 Thread Leon Moreyn-Android Development
ok. Would there be a way to track memory to determine where the leak
is coming from?

On Dec 22, 12:34 pm, Dianne Hackborn hack...@android.com wrote:
 You are almost certainly leaking memory.  You need to fix the leaks.  There
 are some blog posts and discussions on this list about fixing leaks.

 On Wed, Dec 22, 2010 at 7:16 AM, Leon Moreyn-Android Development 





 lmor...@earthcam.com wrote:
  So I am working on an app that is memory intensive. Currently I can
  only go back and forth 18 times before my cause a critical memory
  crash. I have tried putting in onStop and onPause and releases onBack.
  Instead of releasing Process and threads, is there a way to quietly
  reset the app in memory without shutting the app down and completely
  restarting live on the screen, ie not make it look like a reboot.

  --
  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.comandroid-developers%2bunsubs­cr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

 --
 Dianne Hackborn
 Android framework engineer
 hack...@android.com

 Note: please don't send private questions to me, as I don't have time to
 provide private support, and so won't reply to such e-mails.  All such
 questions should be posted on public forums, where I and others can see and
 answer them.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Internal refresh of app

2010-12-22 Thread Leon Moreyn-Android Development
Thanks Mark. I will do the track-allocations first.

On Dec 22, 2:07 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Wed, Dec 22, 2010 at 1:44 PM, Leon Moreyn-Android Development

 lmor...@earthcam.com wrote:
  ok. Would there be a way to track memory to determine where the leak
  is coming from?

 Use DDMS's track-allocations feature, or use DDMS to dump the heap to
 an HPROF file for analysis with Eclipse MAT.

 --
 Mark Murphy (a Commons 
 Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

 _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
 Available!

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: onDestroy() and finish()

2010-12-21 Thread Leon Moreyn-Android Development
If you want to verify in theory that you app has shut down put a log
into the onDestroy() and have it log that the processes are all
terminated.

Leon

On Dec 21, 9:54 am, André pha...@hotmail.com wrote:
 I was using just this.finish(); in my app when exiting my app. But
 using ESTaskManager after closing my app I found that it's still
 running in the background. So I moved this.finish(); inside onDestroy.
 But program is still running. What am I doing wrong? I want it to
 fully close when it's closed.

 André

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Cost effectiveness of JSON in Android

2010-12-21 Thread Leon Moreyn-Android Development
Thanks Brill. I will take this into consideration.

On Dec 21, 12:42 am, Brill Pappin br...@pappin.ca wrote:
 I wouldn't be too hasty about removing the JSON. XML will cost you more in
 terms of resources and connecting directly to a database is likely also
 going to be more costly (although without seeing the actual implementation,
 I can't be sure of that).

 JSON is actually about as perfect as it gets for mobile devices... you could
 only get better by implementing your own protocol and even then your likely
 not going to save much.

 Also note that connecting directly to the database means that the database
 is exposed on the net in general and will present security problems.
 Although databases have security, they are not designed to ward off all the
 worms that are constantly probing a public address looking for a weak spot.

 You can deploy something like MongoDB (which presents it's data as JSON
 anyway) but it's not recommended.

 However, after rereading your post, I think you are attempting to put a web
 service between your app and the database. This is exactly how the rest of
 us will be doing it, but you don't need to get rid of JSON, in fact JSON is
 what 90% of the apps in the market will be using.

 If your asking how you build that web service, I recommend Jersey REST API
 as a good place to start. There are plenty of other frameworks out there for
 doing it though, so find one you like.

 - Brill Pappin

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Cost effectiveness of JSON in Android

2010-12-20 Thread Leon Moreyn-Android Development
I am working on replacing JSON and direct connection to database. I
know using direct connection to database is extremely costly in
android since I need to call on much the java library to so. And the
only replace for such costly processing would be to put the burden
onto something else like a online website handling incoming data and
sending outgoing results. I already have a though on how to implement
this. But as for a replace of the JSON Objects I am not sure what
options are available to me. Is there any thoughts on a substitution
for JSON?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android TTS for Chinese

2010-12-06 Thread Leon Moreyn-Android Development
David,

You dont need to wait for Android to support it per say. Depending on
the engine used, you can have it speak in chinese. I am not sure if
there is a chinese engine out there already but you could make it a
requirement for your app like how the android tts engine checks for
itself before the app starts. Then send the user to the market place
to download the engine thus enabling the speaking component of your
application.

On Dec 6, 3:25 am, David Hu vistoda...@gmail.com wrote:
 Dear supporters,
 I'm an Android software engineer, who works in a Chinese company. I'm
 currently developing an application which need use TTS of Chinese, but TTS
 engine for Android platform only support English,French,German,Italian and
 Spanish. My question is when android TTS will support Chinese, do you have
 any plan? Thanks in advance!

 --
 BR,
 -David

 【座右铭:前进是你的舞步,奋斗是你的节拍;创造是你的音符,战斗是你的鼓点;和谐是你的共鸣,团结是你的交响;腾飞是你的前奏,辉煌是你的乐章。】

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to differentiate a tap event generated by system or by user

2010-12-06 Thread Leon Moreyn-Android Development
when you drop the phone?

On Dec 6, 12:16 am, XC He schosnab...@gmail.com wrote:
 is there any tap event generated not by user's taping behavior?

 2010/12/6 ankit ankit.ag...@gmail.com:



  Hi All,

  Urgently needed help on this.
  Actually i am recording and playing a sequence of events using
  getevent and sendevent class,
  now while playing the recorded events. Now while playing the recorded
  events i want to know if any new tap event is generated by user. So is
  there any way to differentiate a tap event generated by system or by
  user. Also is there any way to decode the raw data provide by the
  kernel to get this information.

  Any Kind of suggestions would be of great help to me..
  Thanks in advance

  regards
  Ankit

  --
  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 options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How i can migrate my app from 1.5 to 1.6 api fast and safe???

2010-12-03 Thread Leon Moreyn-Android Development
that and if your building in eclipse make sure to change the lib to
1.6. Right click on project, properties, android, then select 1.6

On Dec 3, 9:41 am, Streets Of Boston flyingdutc...@gmail.com wrote:
 If you don't need/want to support 1.5 phones, just set the project's
 Android SDK version to 1.6 (api-level 4). Re-compile. That's it.

 On Dec 3, 6:51 am, saex elpablos...@gmail.com wrote:



  Hi, i am making a gigantic app for android, and i start doing it some
  moths ago for android 1.5, but now i know that some of the things i
  need for my app only can be done if you are programming for 1.6 api.

  there is a easy, fast and safe way to migrate my app from 1.5 to 1.6
  without having to lose time?

  thanks

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Proposal to Market Place

2010-12-02 Thread Leon Moreyn-Android Development
As a developer I find it difficult to understanding ratings sometime.
1 to 5 is a good scale. But here is the problem with scale you can
have people give you a five for the sake of giving you a five or a
person give you one just because they want to be jerks. I would like
to propose a change to the market rating system where a rate of 1 or 5
must include comments. If I am receiving a one due to technical
problems or display problems I would want to know and not search my
code for hours trying to find what may be the reason for the one rate.
Also with the 5 I would like to know what is working so very good on
my app that I could continue to use it in future developments. This
way as we develop more apps we can get a better sense as what the
rating really mean and the ppl who are rating the apps really think
about them. 1 and 5 the extremes should require feedback as the 2 to 4
are mostly middle ground and could be left alone for the average jerk
to rate.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Free version to Paid version

2010-12-02 Thread Leon Moreyn-Android Development
pretty much thats the general method being used. One thing to consider
is unpublishing the app and releasing a paid version in its place. But
users may find that kinda a slap in the face. I would say do as your
doing, add features to the app and call it app Plus and charge money
for it. Remember though those feature need to be worth the price you
apply to the app though. What you can do is remove features in an
update to your free app and keep them in your paid version.

On Dec 2, 3:42 pm, Brill Pappin br...@pappin.ca wrote:
 I've got a situation a lot of us do, where I have released a free
 version and now need to make a Paid version of the same app.

 As those who have tried will know, you can't change an app from Free
 to Paid (a silly feature of the Market).

 So, what I'm planning to do is release a Plus version that has more
 features.

 What are others doing to help direct users to their paid versions from
 their Free versions?
 I'n my case its an input method, so I have to be careful about how I
 tell the user about the paid version with more features.

 Comments?

 - Brill Pappin

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Binary sms?

2010-11-29 Thread Leon Moreyn-Android Development
All data is 0s and 1s. You can send an sms to the emulator using the
simulator features in eclipse. Are you looking specifically to only
send binary without a pre-established text?

On Nov 26, 8:47 pm, vnv nikola1...@gmail.com wrote:
 Hi,

 is there a way to generate binary sms in emulator?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What is the best way to send data from Android Application to a Remote MySQL Database?

2010-11-29 Thread Leon Moreyn-Android Development
You can create an online page to handle data posts to your database.

On Nov 29, 7:34 am, priya naral naral.pr...@gmail.com wrote:
 What is the best way to send data from Android Application to a Remote
 MySQL Database?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Sony Ericsson LiveView™ m icro display SDK is released

2010-11-29 Thread Leon Moreyn-Android Development
Ba hum bug. Its not good for US developers as most of the Xperia line
in the USA will not receive update to 2.1 until most likely well into
the new year.

On Nov 29, 3:40 am, Najat Baker najat.ba...@sonyericsson.com wrote:
 You can now download LiveView™ SDK here:

 http://developer.sonyericsson.com/wportal/devworld/downloads/download...

 And you can find LiveView™ micro display developer tutorial here:

 http://developer.sonyericsson.com/wportal/devworld/downloads/download...

 Best regards

 Najat

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Scale a Drawable dinamically

2010-11-26 Thread Leon Moreyn-Android Development
You want to set dimensions via programmed settings like setWidth() and
setHeight()? Or are you talking about something else. Can you
elaborate as to the over all goal of this?

On Nov 26, 12:33 pm, gato chlr dany...@gmail.com wrote:
 Hi, i have a drawable and i want to scale it programatically, does
 anybody know how to to 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 email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Geocoding in android, api key? emulator?

2010-11-24 Thread Leon Moreyn-Android Development
yes, the API is so that you can retrieve and interpret the data.
Otherwise the system wont give you access.

On Nov 23, 10:16 pm, Mel melaniejeanbren...@gmail.com wrote:
 I am trying to turn a latitude and longitude into an address (text
 only, I dont want to display it on a map)

 Do I need an Google Maps API key to do that?  Will it ever work on the
 emulator or do I need a real device to test on?

 Thankyou.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: My app deleted from android market console

2010-11-24 Thread Leon Moreyn-Android Development
are you using the uses-features in your manifest? there are certain
features the may not have your app appearing on certain devices.

On Nov 24, 3:29 pm, TreKing treking...@gmail.com wrote:
 Try 
 this:http://www.google.com/support/androidmarket/bin/request.py?contact_ty...

 ---­--
 TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago
 transit tracking app for Android-powered devices

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: help me understand: upper case characters in layout file names are disallowed

2010-11-23 Thread Leon Moreyn-Android Development
It a language structure concept. You just have to build around it. Its
kind of like saying why can i only pay with quarters into a vending
machine if I have two dimes and a nickel. The structure of the machine
is not designed to handle you dimes and nickels and this way the
machine can process faster with less distractions.

On Nov 21, 7:00 pm, Justin Collum jcol...@gmail.com wrote:
 I understand that these files map to R classes (generated). So I see
 why punctuation characters (most) are disallowed. But I can't for the
 life of me think of why main would be allowed but Main would not.
 Why not something like firstScreen?  Is there something about
 generated files that I'm missing? Do caps screw them up somehow? I'd
 like to make a view named defineNewList or something along those
 lines. Annoying to have to use underscores: define_new_list.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android onClick seems to be blocking onFling

2010-11-23 Thread Leon Moreyn-Android Development
I think that onClick() is an Override event. I am not to familiar with
your onFling but if its a user created class it will most likely
remain dormant due to the the digitizer recognizing the onClick and
not registering your onFling.

On Nov 23, 8:17 am, CB cbu...@gmail.com wrote:
 I have an Activity that implements a Gesture Detector to catch the
 user fling input for navigation to other screens. That was working
 fine - but - I recently updated a class that derives from my
 BaseActivity to add an onClick function and now that click event seems
 to block the onFling from being hit. The onClick is tied to a TextView
 area (in a LinearLayout) I have on my screen. The resultsClick method
 is wired to the TextView using its onClick property in the XML layout.

 I've tried changing the return values in onSingleTapUp and onDown
 without luck. I've also tried adding log statements to all the
 functions below as well. None of them fire when I fling in the
 TextView area but they do on other areas of the screen.

 Maybe I am using the wrong search terms, but I couldn't seem to find
 an example that addressed this - yet I'm sure this problem has been
 solved before.

 public class DerivedActivity extends BaseActivity
 {
    ...
    /**
     * resultsClick - The user clicked on the Results area
     * @param v
     */
    public void resultsClick(View v)
    {
       try
       {
          Log.i(this.toString(), resultsClick);
          startActivity(new Intent(this, Results_TabHost.class ));
       }
       catch (Exception e)
       {
          Log.e(this.toString(), Exception + e.toString());
       }

    }// end resultsClick
    ...

 }

 Here is the base class that implements the GestureListener code

 public class BaseActivity extends    ActivityGroup
                           implements OnGestureListener
 {
    ...
    private static final int SWIPE_MIN_DISTANCE = 120;
    private static final int SWIPE_MAX_OFF_PATH = 250;
    private static final int SWIPE_THRESHOLD_VELOCITY = 200;

    public boolean onFling(MotionEvent e1,
                           MotionEvent e2,
                           float velocityX,
                           float velocityY)
    {
       try
       {
          Log.i(this.toString(), onFling);

          // jump right out if not a swipe/fling
          if (Math.abs( e1.getY() - e2.getY() )  SWIPE_MAX_OFF_PATH)
          {
             return false;
          }

          // right to left swipe
          if (e1.getX() - e2.getX()  SWIPE_MIN_DISTANCE 
              Math.abs(velocityX)    SWIPE_THRESHOLD_VELOCITY )
          {
             Log.i(this.toString(), fling left);
             rightArrowClick(null);

          }
          else if (e2.getX() - e1.getX()  SWIPE_MIN_DISTANCE 
                   Math.abs(velocityX)    SWIPE_THRESHOLD_VELOCITY )
          {
             Log.i(this.toString(), fling right);
             leftArrowClick(null);
          }
       }
       catch (Exception e)
       {
          Log.e(this.toString(), Exception + e.toString());
       }

       return true;

    }// end onFling

    // These next methods we are required to have - even if unused -
    // in order for the Gesture Handling to work

   �...@override
    public boolean onTouchEvent(MotionEvent motionEvent)
    {
       if(this.gestureDetector.onTouchEvent(motionEvent))
       {
          return true;
       }

       //no gesture detected, let Activity handle touch event
       return super.onTouchEvent(motionEvent);
    }

   �...@override
    public void onLongPress(MotionEvent e)
    {
       // Intentionally not handling - must be overridden by listener
 class
    }

   �...@override
    public boolean onScroll(MotionEvent e1, MotionEvent e2, float
 distanceX, float distanceY)
    {
       // Intentionally not handling - must be overridden by listener
 class
       // Intentionally returning true - per code examples
       return true;
    }

   �...@override
    public void onShowPress(MotionEvent e)
    {
       // Intentionally not handling - must be overridden by listener
 class
    }

   �...@override
    public boolean onSingleTapUp(MotionEvent e)
    {
       // Intentionally not handling - must be overridden by listener
 class
       // Intentionally returning true - per code examples
       return true;
    }

   �...@override
    public boolean onDown(MotionEvent e)
    {
       // Intentionally not handling - must be overridden by listener
 class
       // Intentionally returning true - per code examples
       return true;
    }
 ...



 }

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Background error reporting on HttpPost

2010-11-23 Thread Leon Moreyn-Android Development
I am running a background service were data is posted to an online
site that process the information to post to online database. The
problem i am encountering is that with the data being posted if there
is an error there is not immediate way for me to know. i am
considering several options. First is having a handler on the website
to send me and email that there was error parsing the data. But the
problem here is that this has its own restriction with getting and
receiving data. Also if the site is down there would be no immediate
verifier for me. The idea would be that there is an critical fail post
to the phone. I execute the connection and there is no problem and the
data is passed to my parameter holder it then send the data to site.
Data is processed and even though there is an error on the side of the
side there is nothing to tell me so on the phone. I necessarily dont
need the user to know that it failed but I need something phone side
to tell me there is a problem. Any ideas?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Online Image in SimpleExpandableList

2010-11-23 Thread Leon Moreyn-Android Development
So the SimpleExpandabeListAdapter is text base only? So I would need
to create new adapter style?

On Nov 23, 1:51 am, Kumar Bibek coomar@gmail.com wrote:
 Well, for this you will have to write a custom adapter for your list view,
 since the adapter you are using cannot be directly used to show an image.

 Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com

 On Thu, Nov 18, 2010 at 3:50 AM, Leon Moreyn-Android Development 



 lmor...@earthcam.com wrote:
  Here is the code I am using. Currently I get and Location to appear
  but image doesnt.

     mAdapter = new SimpleExpandableListAdapter(
                                 this,
                                 groupData,

   android.R.layout.simple_expandable_list_item_2,
                                 new String[] {IMAGE, NAME},
                                 new int[] {R.id.image, android.R.id.text1 },
                                 childData,

   android.R.layout.simple_expandable_list_item_2,
                                 new String[] {IMAGE, NAME, LOCATION },
                                 new int[] {R.id.image, android.R.id.text1,
  android.R.id.text2 }
                                 );
                         Log.d(Leo's Tag, mAdapter.toString());
                         setListAdapter(mAdapter);

  So the IMAGE string is url to web address with a thumbnail size image.
  I think I am missing could to convert the URL into a image raw or an
  ImageView. If someone would be most kind and direct me in the proper
  direction to implement this or if someone knows how to convert online
  url to image and would share their code I would be most great full.

  --
  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.comandroid-developers%2bunsubs­cr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Send GPS Location Details to Server

2010-11-23 Thread Leon Moreyn-Android Development
I have you considering sending this data to web site to process the
data on the server? You say your are using HttpConnection, you can use
the HTTPPost to post to the site and let the site do the work for you.

Leonid Moreyn

On Nov 18, 3:49 am, jagan reddy saimohanj...@gmail.com wrote:
 Hello All,

 I am developing a GPS application.. By using the windowsXP OS and
 eclips IDE

 I am able to get the Longitude and Latitude of the current Position
 I want to sent those details to server by using the Http connection
 and for that sending, I will use gprs connection in my device
 how to do this, I am in big confusion. Here one more thing that GPRS
 connection is not available at that time we need to sent a SMS to the
 server.

 Any body help me in this

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Maps doesn't show

2010-11-23 Thread Leon Moreyn-Android Development
The API key is the key assigned to you as a developer. You need to
register your MD5 with google and they will assign you one.

On Nov 23, 8:31 am, coy cawe...@gmail.com wrote:
 Tommy,
 Yes, it could be the problem.
 But what is the right API KEY?

 Moreover, I exported my app as a unsigned android app and then I
 pushed it to the phone. Is that the problem??

 thanks :)

 On Nov 14, 9:57 pm, Tommy droi...@gmail.com wrote:



  Sounds like you don't have the right API key in. You need one for
  Developement and one for Production. So one for when you push it to the
  phone from Eclipse or whatever and one You use when you publish the
  application. That sounds like your issue right there. I had it happen to me
  where it shows the markers but it won't actually load the map tiles. Check
  that API key, if you don't have one you need one :)

  Hope that helps.

  Tommy

  Android Mobile Phone Application Developer
  Database Administrator
  .net Web Specialist

  -Original Message-
  From: android-developers@googlegroups.com

  [mailto:android-develop...@googlegroups.com] On Behalf Of coy
  Sent: Sunday, November 14, 2010 4:08 PM
  To: Android Developers
  Subject: [android-developers]Mapsdoesn't show

  Hello,
  I have map in my android app.
  On emulator is everything OK.
  But on device (Motorola Droid) the map shows marker but doesn't show
  real map in background!!
  The conection is OK and I held the INTERNET permission in my manifest.
  What is causing this problem? Any idea?

  thnks!

  --
  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 options, visit this group 
  athttp://groups.google.com/group/android-developers?hl=en

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Online Image in SimpleExpandableList

2010-11-22 Thread Leon Moreyn-Android Development
Here is the code I am using. Currently I get and Location to appear
but image doesnt.

mAdapter = new SimpleExpandableListAdapter(
this,
groupData,
android.R.layout.simple_expandable_list_item_2,
new String[] {IMAGE, NAME},
new int[] {R.id.image, android.R.id.text1 },
childData,
android.R.layout.simple_expandable_list_item_2,
new String[] {IMAGE, NAME, LOCATION },
new int[] {R.id.image, android.R.id.text1,
android.R.id.text2 }
);
Log.d(Leo's Tag, mAdapter.toString());
setListAdapter(mAdapter);

So the IMAGE string is url to web address with a thumbnail size image.
I think I am missing could to convert the URL into a image raw or an
ImageView. If someone would be most kind and direct me in the proper
direction to implement this or if someone knows how to convert online
url to image and would share their code I would be most great full.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ATT HTC ARIA - Can not install APK

2010-11-22 Thread Leon Moreyn-Android Development
You would most likely need to contact ATT. You need to either gain
root access or get an unlock code from ATT.

On Nov 18, 1:08 pm, Néstor rot...@gmail.com wrote:
 I have been looking for 3 days on how to install an APK that I created
 with my SDK on my desktop.
 I was able to copy the APK from my desktop to my phone but now
 whenever I
 try to install the APK on my phone I get an message
 INSTALL BLOCKED
 For security, your phone is set to block installation of applications
 not source in android market.

 Is it possible to install a non market APK to my ARIA?

 Thanks,

 Néstor :-)

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Is it possible to using a url image in ImageView

2010-11-22 Thread Leon Moreyn-Android Development
So here is my question. I am trying to use an online thumbnail. I can
have looked around and have not found too much data on this. Can some
provide me the simplest way to do this. Also If i implement a
simpleExpandableListAdapter which is designed as a textView Adapter is
there a way to force the image in?

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android app naming policy

2010-11-22 Thread Leon Moreyn-Android Development
Are you trying to run the same app multiple times? What exactly is the
result you are trying to achieve or verify?

Leon Moreyn

On Nov 19, 12:19 pm, vnv nikola1...@gmail.com wrote:
 Hi,

 I would like to run multiple instances of same application for dev
 purpose.
 How does app define it's name in the system, through which of the
 files is that configured.

 N.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: ATT HTC ARIA - Can not install APK

2010-11-22 Thread Leon Moreyn-Android Development
Hm I develop for Sony Ericsson X10 and I still havent been
able to get the adb to work for me. H maybe ATT is dropping
its restrictions.

On Nov 19, 11:18 am, Néstor rot...@gmail.com wrote:
 PROBLEM SOLVED!!!
 Yes, I am using Eclipse and I tried adb.  I did not try sideload but I
 was able to install my applications.
 I was still searching for an answer to my problem when I read
 somewhere that a person had a similar problem
 and it was solved by changing his connection to another USB port.  I
 did this and all my SDK was able to see
 my phone and when I ran my app on the SDK it ask me which device to
 use.

 I can not explain it but changing USB port was the solution for me.

 Thanks for your reply.

 Néstor :-)

 On Nov 18, 10:10 am, Mark Murphy mmur...@commonsware.com wrote:



  Option #1: Use the adb install command

  Option #2: If you are using Eclipse, set it up as a run target

  Option #3: Use the Sideload Wonder Machine:

 http://www.androidcentral.com/sideload-android-apps-all-you-want-side...

  On Thu, Nov 18, 2010 at 1:08 PM, Néstor rot...@gmail.com wrote:
   I have been looking for 3 days on how to install an APK that I created
   with my SDK on my desktop.
   I was able to copy the APK from my desktop to my phone but now
   whenever I
   try to install the APK on my phone I get an message
   INSTALL BLOCKED
   For security, your phone is set to block installation of applications
   not source in android market.

   Is it possible to install a non market APK to my ARIA?

   Thanks,

   Néstor :-)

   --
   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 options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

  --
  Mark Murphy (a Commons 
  Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

  Warescription: Three Android Books, Plus Updates, One Low Price!

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android Market, specify products in Dollars instead of euros.

2010-11-22 Thread Leon Moreyn-Android Development
So here is my question to this. I have two places I can develop out
of. I can develop out of Latvia and out of the USA. So if I was
posting a new app in Latvia the currency would be LAT? And if I posted
the app here in the USA the currency would be USD?

On Nov 19, 11:28 am, sblantipodi perini.dav...@dpsoftware.org wrote:
 good suggestions, I have never thought about that.
 Thanks!

 On Nov 19, 4:15 pm, Marcin Orlowski webnet.andr...@gmail.com wrote:



   Why I can't, is this a smart way to proceed?

  I believe the answe is: you can't.

  But, depending on how much you sell (in terms of money totals) you may want
  to consider forming LLC in US and then selling thru it. You would need to
  check couple of things with your local financial/fiscal advisor (i.e. to 
  see if
  your law does not forbid anything like that or how taxes would look) but if
  you form it right and it right state, then it should pretty much work fine.
  But I'd just leave that idea if the only reason is currency - too much
  hassle and not much real benefits if you ask me.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: make JPEG image has map

2010-11-22 Thread Leon Moreyn-Android Development
Im not sure of sample code for this, but here is how I would implement
this. You dont necessarily need a map. An image view with a moving
curses could be possible. You would set the location on the cursor in
the image by using GPS location. You can receive lat and lon to your
device. You would then convert those positions to X and Y respectively
on your display. Then every time the location updates the cursor would
move on your map.

On Nov 22, 1:34 pm, sal suhailb...@gmail.com wrote:
 Hi Kostya,

 Thanks for ur concern.

 I dont want precision and reliabilty,

 I just want a source code of sample application which lets me draw
 image has a map and allow me to mark the location on the map.

 pointer to sample source code would be appreciated

 rgds
 Sal

 On Nov 20, 3:24 pm, Kostya Vasilyev kmans...@gmail.com wrote:



  Are you sure you can get high enough precision from GPS to make
  navigating within an apartment meaningful? Especially considering this
  is presumably indoors, i.e. with the roof blocking the view?

  Unless, of course, your apartment is the size of Taj Mahal :)

  I'd say - download one of applications that let you monitor GPS state,
  and see if your phone can provide enough precision and reliability.

  -- Kostya

  20.11.2010 13:00, suhail ahmed ?:

   Hi guys

   i have a JPEG sketch of my apartment i wish to write android app
   which loads this JPEG file and behaves as a map to the user so that
   user can track is movement.

   I am really confused wheather JPEG file can be used as a map, if it
   can used as a map then please let me know how i can mark the movement
   of the user on that map

   Any sample code would be really appreciated

   --
   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 options, visit this group at
  http://groups.google.com/group/android-developers?hl=en

  --
  Kostya Vasilyev -- WiFi Manager + pretty widget 
  --http://kmansoft.wordpress.com

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: streaming mp4 from Internet

2010-11-22 Thread Leon Moreyn-Android Development
If this video is your video is stored locally on your computer. If its
not video, ie you are trying to steam from Youtube or something like
that that is streaming this video on the web then you will not be able
to do so. You must have admin access to the video for it to be your
video.  MP4Box is tool to repair the video file before it reaches
your device. You do not run the repair on the device because while
Android are robust the battery need to repair small video will consume
too large a portion of battery.

On Nov 21, 4:20 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com
wrote:
 what do you mean by this video is my video or not ??
 and how to start MP4Box on device ??

 On Nov 21, 10:55 pm, Mark Murphy mmur...@commonsware.com wrote:



  On Sun, Nov 21, 2010 at 3:52 PM, Ahmed Shoeib

  ahmedelsayed.sho...@gmail.com wrote:
   but i tried it on areal device
   how can MP4Box added to fix this problem ??

  You do not run MP4Box on the device.

  Either this is your video, or it is not.

  If it is your video, on your PC, run MP4Box on the video file, and
  arrange it so your device can download the repaired file.

  If this is not your video, you simply cannot play it streaming. You
  are welcome to download the video and play it locally.

  --
  Mark Murphy (a Commons 
  Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy

  Android App Developer Books:http://commonsware.com/books

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Anyone seeing mysterious application crashes lately?

2010-11-22 Thread Leon Moreyn-Android Development
I believe there was a recent sweep of the market. And i think there
was also a market update. So this maybe some of the reasoning for
this.

On Nov 22, 4:45 pm, Jonas Petersson jonas.peters...@xms.se wrote:
 Hi Kostya,

 On 11/22/2010 09:00 PM, Kostya Vasilyev wrote:

  I've am seeing some pretty mysterious crash reports in the Market
  Console lately.
  [...]
  I am wondering if anyone else is seeing strange errors like these, and
  whether they can be caused by devices that have really low-quality
  firmware, either custom, or on devices that were not verified by Google.

 I've not seen your particular ones, but I certainly see odd stuff - like
 6 months old versions of my free apps crashing on 1.0 firmware
 (seemingly G1) as well as on seemingly lab boards. Some of these apps
 are very much tailored for use ONLY in Sweden, but they still seem to
 originate from Spain, Russia, China and the like...

 My best guess is that there is a fair amount of people who just randomly
 rip apps from the Market and use them to monkey test their
 hardware/firmware with.

 Initially I was curious, I've given up to try to make sense of it.
 Sometimes their extreme test cases are actually somewhat useful - I've
 caught a few odd states (the last one was the system be unable to select
 an image - seems unlikely, but...)

                 My few eurocents / Jonas

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] TTS not inheritable?

2010-11-17 Thread Leon Moreyn-Android Development
i have setup a basic TTS class to run for all files in a my app. When
I pass items to synthesis speak the app crashes. I have tried many
different ways of passing the variable changing returns and what not.
I compiles every time but the app still crashes when the synthesis is
suppose to occur. The only working solution I have found was to but
the TTS engine and synthesis in each class of my application as
needed. Is there a work around for this because otherwise I have lots
of bulky useless code.

-- 
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 options, visit this group at
http://groups.google.com/group/android-developers?hl=en