Re: [android-developers] Landscape Right (reverseLandscape) prior to API level 9

2011-09-27 Thread Dianne Hackborn
You'll need to check the API level at android.os.Build, and only set your
activity to this value when running on API 9 or later.

On Tue, Sep 27, 2011 at 3:45 PM, Stefan Alder twigbra...@gmail.com wrote:

 I trying to ensure that my app and all of its activities are locked to
 landscape right (reverse landscape) (where the device button and mic
 located to the left of the screen).I see you can set the
 screnOrientation in the manifest to 'reverseLandscape', but this only
 works for API level 9.

 What is the best way to achieve this down to API level 6 or 7 such
 that it will work on all Android devices (portrait and landscape
 default)?

 If you can point me to any example where this is done, I'd really
 appreciate it.
 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




-- 
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

Re: [android-developers] Landscape Right (reverseLandscape) prior to API level 9

2011-09-27 Thread Stefan Alder
Dianne,
Thanks for the response.  My question is how can I achieve the same
effect when running prior to API level 9.

On Tue, Sep 27, 2011 at 3:49 PM, Dianne Hackborn hack...@android.com wrote:
 You'll need to check the API level at android.os.Build, and only set your
 activity to this value when running on API 9 or later.

 On Tue, Sep 27, 2011 at 3:45 PM, Stefan Alder twigbra...@gmail.com wrote:

 I trying to ensure that my app and all of its activities are locked to
 landscape right (reverse landscape) (where the device button and mic
 located to the left of the screen).    I see you can set the
 screnOrientation in the manifest to 'reverseLandscape', but this only
 works for API level 9.

 What is the best way to achieve this down to API level 6 or 7 such
 that it will work on all Android devices (portrait and landscape
 default)?

 If you can point me to any example where this is done, I'd really
 appreciate it.
 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



 --
 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

-- 
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: invoice from Google for Android Developer license

2011-09-27 Thread Jose_GD
You should try look for help 
in https://www.google.com/support/androidmarket/developer/
This group is for development issues only

Good luck

José

-- 
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

Re: [android-developers] How to tag a flag

2011-09-27 Thread TreKing
On Tue, Sep 27, 2011 at 2:53 PM, Mohit Agarwal mohitiit...@gmail.comwrote:

 Can ny1 tell me how can we add a small description to a marker in google
 maps


Place an Overlay on the map that renders text.


 and also how can we make that tag clickable which makes bckgrnd translucent
 and extra info is provided in the appearing dialog...


Handle onTap and show a Dialog.

-
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: HTC and LG haven't implemented Android in the right way

2011-09-27 Thread Indicator Veritatis
Now that I know what you are doing with the point attentuation, I see
that you are not using it for anti-aliasing, so that comment turned
out to lead to a dead end. As for why it is not supported, yes, it is
in the Open GL standard, but is it in ES? ES doesn't support
everything. And what do you get on those phones when you query
glGet(GL_POINT_SIZE_RANGE) and glGet(GL_POINT_SIZE_GRANULARITY) or
GL_SMOOTH_POINT_SIZE_RANGE and GL_SMOOTH_POINT_SIZE_GRANULARITY?


On Sep 27, 12:26 am, MobileVisuals eyv...@astralvisuals.com wrote:
 I need Point attenuation to produce space animations with shining
 particles, which look like stars. How can I achieve that effect
 without using Point attenuation?
 Do you mean that I should make small rectangular polygons with
 transparent textures instead? I have tried that before on M3G and it
 didn't look as good as Point attenuation.

 Anti-Aliasing is a method of fooling the eye that a jagged edge is
 really smooth.Will that really be enough to get the same effect as
 Point attenuation? Could you please be more specific in which OpenGL
 technique I should use to make it work on HTC and LG?

 Isn't Point attenuation a part of the Android OpenGL standard?
 Shouldn't HTC and LG support it in that case?

 On Sep 27, 3:34 am, Indicator Veritatis mej1...@yahoo.com wrote:

  Short answer: no. Longer: why do you need point attenuation? There are
  other ways to do anti-aliasing, and some really cool graphics have
  been done for Android phones using that instead of point attenuation.

  On Sep 26, 6:26 am, MobileVisuals eyv...@astralvisuals.com wrote:

   I have found that everything implemented with Point attenuation will
   look like a blurry mess on devices from HTC and  LG. This happens on
   even the newest devices from HTC, like HTC Desire HD. Why is it like
   this? Haven't they implemented Android in the right way?

   Point attenuation works like it should on most Android devices, like
   those from Samsung. I have implemented Point attenuation according to
   the Android specification in two of my company's apps.I have worked
   with Point attenuation on Symbian and C++ before, so I am quite sure
   that I have implemented it the right way. It is about the same code
   implementation in all OpenGL.

   Shouldn't all new Android devices support Point attenuation? It works
   on IPhone, so I think Point attenuation should work on all new Android
   devices too.

-- 
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


Re: [android-developers] how to remote invoke an application on the phone

2011-09-27 Thread Mark Murphy
The same way as when you asked 75 minutes ago: use C2DM:

http://code.google.com/android/c2dm/

On Tue, Sep 27, 2011 at 6:37 PM, cindy ypu01...@yahoo.com wrote:
 Hi All,

 Angel.com has developed a very interesting application (http://
 itunes.apple.com/us/app/angel-mm/id429502502?mt=8ls=1#) for iphone.

 In this application, the user calls the IVR by dialing a phone number.
 The IVR will then send a Push Notification to the phone, asking
 forpermission to engage the user multimodally.

 How do we do push notification on android phone?

 Thanks!

 April

 --
 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/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Oslo: http://bit.ly/fjBo24

-- 
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] Designing an appwidget adaptable to orientation change

2011-09-27 Thread Jose_GD
I have built an appwidget with an square layout, and so it doesn't fit 
exactly in the standard widget sizes as recommended in 
http://developer.android.com/guide/practices/ui_guidelines/widget_design.html#sizes
.

I chose a 3x2 size (android:minWidth=220dip android:minHeight=146dip) as 
it is the smalllest that covers the widget's layout.

In 
http://developer.android.com/guide/practices/ui_guidelines/widget_design.html#design
 Google recommends:

All widgets must fit within the bounding box of one of the six supported 
widget sizes, or better yet, within a pair of portrait and landscape 
orientation sizes, so your widget looks good when the user switches screen 
orientations

My widget looks good in portrait mode. When switched to landscape mode (in 
the emulator) the layout is clipped. I tried inverting the minWidth and 
minHeight values in the provider's XML and then it looked perfect in 
landscape mode but clipped in portrait mode.

I know I can define different layouts in res/layout and res/layout-land, but 
in this case the layouts are not different at all, in both modes I want the 
widget to look square.
What I would need is something like 'xml' and 'xml-land', AFAIK this is not 
supported in Android.

Ideas?

TIA,

José

-- 
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

Re: [android-developers] Sony S1 adb driver

2011-09-27 Thread Sebastian Tomaszewski
Kostya, thank you for fowarding this...
Okay, I was able to find my problem thank you
On Tue, Sep 27, 2011 at 2:47 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 I certainly am, Eclipse 3.7 on Windows 7 / 64bit.

 Here is my tweaked android_winusb.inf:

 http://pastebin.com/nET9v1pr

 And here is my adb_usb.ini, goes into %USERPROFILE%\.android:

 http://pastebin.com/wBs0gaCR

 What I did was (just got the tablet this afternoon):

 - Tweaked the driver .inf file, tweaked adb_usb.ini

 - Brought up the Device Manager, manually associated the modified driver
 with the tablet's ADB device (it initially showed up as missing the
 drivers).

 - Restarted adb with adb kill-server / adb start-server, then typed
 adb devices and the tablet was listed in the output.

 Hope this helps.
 -- Kostya

 28.09.2011 1:36, Sebastian Tomaszewski пишет:

 Kostya,
 Another quick question, are you using Eclipse?  Please let me know.

 Thanks,


 Sebo


 --
 Kostya Vasilyev

   --
 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

Re: [android-developers] Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread TreKing
On Tue, Sep 27, 2011 at 1:53 PM, 杨辉 yanghui1986...@gmail.com wrote:

  Anybody can help me with a simply example about it?
  Please tell me the difference between loadData and
 loadDataWithBaseURL if you can.


Stupid question: did you try Googling for this first?

-
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

Re: [android-developers] trying to start-activity from alertdiaog --please advice

2011-09-27 Thread TreKing
On Sat, Sep 24, 2011 at 1:03 PM, Manas Shah shahmana...@gmail.com wrote:

 I would like to launch new activity from the PositiveButton of alert
 dialog but it throws error.


You want us to guess what this error is?

-
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

Re: [android-developers] How to read data from an Xml file

2011-09-27 Thread TreKing
On Mon, Sep 26, 2011 at 5:20 AM, sumit garg sumitgr...@gmail.com wrote:

 I am trying to read data from an XML file which is in an external storage.
 I think following things are involved in it-
 1. how do i retrieve it
 2. how the parser will read it
 3. how do i display the file


http://tinyurl.com/6k4486n

-
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

Re: [android-developers] Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread Snowdream
yes,i have googling it until the middle night,but can not get my answer.

TreKing treking...@gmail.com编写:

On Tue, Sep 27, 2011 at 1:53 PM, 杨辉 yanghui1986...@gmail.com wrote:

  Anybody can help me with a simply example about it?
  Please tell me the difference between loadData and
 loadDataWithBaseURL if you can.


Stupid question: did you try Googling for this first?

-
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

-- 
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: In app billing items

2011-09-27 Thread Emanuel Moecklin
You can't.
You have to hard code your items in the code or pull the ids from some
other place.

Cheers
Emanuel Moecklin

On Sep 26, 2:35 pm, Brad Gies rbg...@gmail.com wrote:
 Hi,

 I'm just starting to test in app billing, and I thought there was a way to
 pull the list of available items to purchase from the market app, but I'm
 not seeing any samples etc. I do see the example of Restoring Transactions
 which pulls the list of previously purchased items.

 How do I get the list of items my user might want to purchase?

 Brad.

-- 
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: Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread clark
Pay no attention to the TrollKing.  He's still working on building his
troll portfolio in this group.

On Sep 27, 5:15 pm, Snowdream yanghui1986...@gmail.com wrote:
 yes,i have googling it until the middle night,but can not get my answer.

 TreKing treking...@gmail.com编写:







 On Tue, Sep 27, 2011 at 1:53 PM, 杨辉 yanghui1986...@gmail.com wrote:

   Anybody can help me with a simply example about it?
   Please tell me the difference between loadData and
  loadDataWithBaseURL if you can.

 Stupid question: did you try Googling for this first?

 -- 
 ---
 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

-- 
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: Item could not be found in app billing issue

2011-09-27 Thread Emanuel Moecklin
Hi Tim

- the signed app must be uploaded to the market
- the same signed app must be installed on your phone (don't use
Eclipse but adb to install)
- the items must have state published
- the device must use the test account as its primary account - it
needs to be a real Android market account not just an entry in your
Android market publisher profile

Sometimes it helps to reboot the device.

Cheers
Emanuel Moecklin
1gravity LLC

On Sep 26, 8:59 pm, Tim Lang tl...@brrappentertainment.com wrote:
 Hello,

 I'm trying to test in-app billing of some virtual goods on my
 application.  The test items work fine, but when I try to test with
 the actual in-game items, the Marketplace tells me:

 Error:  The item you were attempting to purchase could not be found.

 logcat gives me:

 CheckoutPurchase.setError: type=NETWORK_OR_SERVER, code=-1,
 message=The item you were attempting to purchase could not be found.

 All the items are added into the project on the marketplace.
 The application is signed
 I've created a test user account (only by adding the email address in
 the profile settings)

 What else am I doing wrong?

-- 
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


Re: [android-developers] Re: Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread TreKing
2011/9/27 clark clarkd...@gmail.com

 Pay no attention to the TrollKing.  He's still working on building
 his troll portfolio in this group.


Wow, that's clever. I hope you didn't hurt yourself coming up with that
nugget.

Yes, you're right, *I'm* trolling - asking a poster if they searched for
examples of (probably) widely used functions.
You though - you're right on topic, clearly.

I hope the irony of the hypocrisy of your post is not lost on you.

-
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: Install % statistic removed, replaced with users and devices

2011-09-27 Thread Zsolt Vasvari
Another LOL, so basically all new apps are stuck at 0 installs as
visible on the Market App.

On Sep 27, 4:07 am, Sam McGrath sa...@fractiv.com wrote:
 Heard from a contact at Google that the team responsible for reporting the
 total installs stat dropped support for it.  Now they are working on
 re-enabling support, but no ETA.  Take that for what it's worth.

 Sam McGrath



 On Mon, Sep 26, 2011 at 12:50 PM, Adam Ratana adam.rat...@gmail.com wrote:
  I see something similar with a Live Wallpaper I recently launched.  The
  total installs (now users) went to 200 after 2 days and has been there
  since.  These same 200 users keep on buying devices though, and keep
  installing the wallpaper on those devices, to where each user now has 4+
  devices.  These are some power users for sure, and they sure love this
  wallpaper.

  What is interesting though is it seems they fixed the graphs on the web
  version of the market.  For a day or so it showed a huge drop in installs
  for almost everyone's apps.  These graphs seem to be updated with seeming
  regularity, just not the numbers in the developer console.

  On Monday, September 26, 2011 2:10:26 PM UTC-4, John Coryat wrote:

  Now it all makes sense!

  One of my apps (a beta) has 3 users with 655 devices. I guess that's about
  right. Doesn't everyone have a little over 200 Android devices?

  -John Coryat

   --
  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- Hide quoted text -

 - Show quoted text -

-- 
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: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output

2011-09-27 Thread Dan Raaka
on the galaxy tab 10.1, what is the build fingerprint ?
$ adb shell getprop | grep -i finger

-Dan

On Sep 27, 11:52 am, Taylor Alexander tlalexan...@gmail.com wrote:
 Glad to help! :)
 -Taylor



 On Tue, Sep 27, 2011 at 11:36 AM, Anil Sasidharan anil...@gmail.com wrote:
  Hi Taylor,

  Thanks a million. Awesome suggestions. I really appreciate if and
  definitely give this a shot.

  Have a great day 

  Warm Regards,
  Anil

  On Wed, Sep 28, 2011 at 12:01 AM, Taylor Alexander 
  tlalexan...@gmail.comwrote:

  Hey Anil,

  I did a bit of searching and found that there *is* an update (to 3.2) for
  your tablet, but it just may not have gotten it yet.

  Go to settingsabout tabletsystem updates and tell it to check now

  If it says you are up to date, but it still says you have 3.0, then your
  tablet hasn't been selected for the update yet. However, you can manually
  load your own version of 3.2 onto the tablet.

  Looking on XDA-Developers forum (the best place for this stuff), I found a
  ROM that you can install on your tablet for 3.2:
 http://forum.xda-developers.com/showthread.php?t=1138115

  Read this page for more information:
 http://forum.xda-developers.com/showthread.php?t=1209988

  And then if you have any questions (after you have done some reading) just
  ask the questions on there and people should be able to help.

  Just be careful - I don't know if the A501 supports all the same ROMs as
  the A500. The ROM I found above says A500/A501, but they might not all
  support that.

  Good luck!
  -Taylor

  On Tue, Sep 27, 2011 at 6:33 AM, Anil Sasidharan anil...@gmail.comwrote:

  Hi Taylor,

  Yes, mine is A501. Unfortunately I'm trying to experiment with my A501 in
  India and the 3.1 update is not yet available here. Looks like I've to 
  wait
  for a long time before being able to check the USB Host APIs on A501.

  Thanks a lot Taylor and I sincerely appreciate your great enthusiasm and
  willingness to share the knowledge. Have great time!!!

  Warm Regards,
  Anil

  On Tue, Sep 27, 2011 at 12:17 PM, Taylor Alexander 
  tlalexan...@gmail.com wrote:

  Hey Anil,
  I connected my tablet to wifi and it immediately said there was an
  update.

  You have an A501 though? Mine is an A500. Perhaps the A501 does not have
  an update yet? I'm not familiar with that model. Mine is wifi only. Since
  you mention verizon I assume the A501 is the verizon model. It may have
  different updates due to the cell module.

  -Taylor

  On Mon, Sep 26, 2011 at 11:19 PM, Anil Sasidharan 
  anil...@gmail.comwrote:

  Hi Taylor,

  Thank you so much. Where do we get the 3.1 update that was applied on
  your tablet. Is it OTA (from Verizon??) or Is this available as a 
  firmware
  download somewhere in the Internet? I would really appreciate if you 
  could
  help us get this update for my Acer Tab A501.

  Thanks once again for the great support so far...

  Warm Regards,
  Anil

  On Tue, Sep 27, 2011 at 4:15 AM, Taylor Alexander 
  tlalexan...@gmail.com wrote:

  Yes, the tablet shipped with 3.0 but I immediately applied the 3.1
  update. And then another small update wanted to be applied, but I 
  think USB
  worked after the first one. I didn't try it before that.

  Under About Tablet in settings I have:

  Model: A500
  Android Version: 3.1
  Kernel Version: 3.6.36.3
  Build Number: Acer_A500_4.0.10.13_COM_GEN2

  Let me know if you have any other questions!

  On Sat, Sep 24, 2011 at 8:20 PM, Anil Sasidharan 
  anil...@gmail.comwrote:

  Hi Taylor,

  Thanks a lot. Based on what have experienced, I guess the Samsung Tab
  10.1 with Android-3.1 firmware does not yet support USB Host APIs 
  whereas
  Acer's Iconia A500 supports the same. Would you please let me know 
  the exact
  version of the Android firmware on A500 that worked for you. I've come
  across an Acer Tab A501 with Android-3.0.1 version, however I'm not 
  sure if
  it supports USB Host API because Google says it is supported only 
  from 3.1
  (sdk-version 12 and above) onwards (even though there is an back port 
  of USB
  Host library for Gingerbread out there).

  I would greatly appreciate your comments/suggestions on this.

  Warm Regards,
  Anil

  On Sat, Sep 24, 2011 at 12:31 AM, Taylor Alexander 
  tlalexan...@gmail.com wrote:

  Hi Anil,

  Yes, I did get it working with the Acer. I had replied off list to
  Will because my original reply to the list was taking too long to get
  approved (it was my first post to this list).

  Here is my first off-list message, where I gave some details:

  On Thu, Sep 22, 2011 at 1:43 AM, Taylor tlalexan...@gmail.com
   wrote:

  Hey,
  I replied to the group, but I'm not seeing the message, so I don't
  know if it failed to post, or if its in limbo since I'm a new user.
  Anyway, I wanted to reply directly to you. I was having the EXACT
  same
  problem as you. I had a USB device that I had compiled a kernel
  module
  for. I loaded the module onto the tablet, and lsmod 

[android-developers] Re: Guide Help:How to trace the internal mechanism of android.Context.java and android.os.Binder.java

2011-09-27 Thread AndroidHolder
Thanks,Dianne,I will go to android-porting for more info.

On 8月31日, 下午2时58分, Dianne Hackborn hack...@android.com wrote:
 Get the source code and follow it.  Or browse it online.  The implementation
 of Context is here:

 http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;...http://android.git.kernel.org/?p=platform/frameworks/base.git;a=blob;...

 More info about source here:http://source.android.com/source/index.html

 I suggest directing further questions to android-porting, since this is
 outside the scope of the SDK and you are likely to find more people there
 who can help.









 On Sun, Aug 28, 2011 at 6:43 PM, AndroidHolder skybrea...@yahoo.cn wrote:
  As far as I know, the base class for android.Context.java and
  android.os.Binder.java are implemented on Android system OS inside.Now
  I really want to understand the internal behavior of them.I will
  appreciate someone can help me to direct me one way to do the trace
  work,such as how to import all android source code into Eclipse.
  Many 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

 --
 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] How to enable network connectivity to upload data.

2011-09-27 Thread bobo123
Hi,

I am writing an alarm type android application which upload some
data to server at a schedule time.

Usually the device screen is off and WIFI or other type network is
in disconnected.

I wish when the schedule time arrives, I can enable network
connectivity so that I can upload data to server.

Is There any API I can use?

Currently when the schedule time arrives, it will trigger upload
routine, however, the network state is disconnected, so that the
upload routine upload data to server.


Best Regards,
Bo

-- 
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] INSTALL_FAILED_CPU_ABI_INCOMPATIBLE error on 1.6 emulator but I have no native code?!

2011-09-27 Thread sasperilla
I have an App that I can install on 2.1+ on both devices and emulator
no problem.  But, when I try to install it on 1.6 emulator I receive
the following error:

Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]

The problem is I don't have any native code in my application.  I do
have some third party libraries: ad-mob, adwhirl, google analytics,
google ad view, and millennial media.  As far as I know none of those
require native extensions.  So what's up with 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: Creating a database to initialize an application

2011-09-27 Thread Studio LFP
I'm not sure there is any specific correct way, but I find this
works well for me.

In the onCreate, check to see if you database exists. If it does
exists, just open it, if it doesn't exist, fire off and AsynTask that
pops up a progress dialog.  Here's the code I use:

@Override
protected void onCreate(Bundle savedInstanceState)
{
super.onCreate(savedInstanceState);
setContentView( R.layout.schedule );

if( DBHelper.dbExists( this, DBHelper.DB_WHATEVER ) ==
DBHelper.STATUS_ALREADY_EXIST )
{
dbWhatever = DBHelper.dbOpen( this, DBHelper.DB_WHATEVER, false 
);
}
else openBackground( this );
}

private void openBackground( Context context )
{
AsyncInit atInit = new AsyncInit();
atInit.context = context;
atInit.execute( null, null, null );
}

private class AsyncInit extends AsyncTaskVoid, Void, Void
{
public Context context;
private ProgressDialog pdDialog;

@Override
protected void onPreExecute()
{
bThreadRunning = true;
pdDialog = ProgressDialog.show( context, , Creating database,
please wait..., true );
}

@Override
protected void onPostExecute(Void result)
{
bThreadRunning = false;
pdDialog.dismiss();
}

@Override
protected Void doInBackground(Void... params)
{
dbWhatever = DBHelper.dbOpen( context, DBHelper.DB_WHATEVER, 
true );
return null;
}
}

The AsyncTask is built into Android and comes in really handy. Check
out the documentation at:

http://developer.android.com/reference/android/os/AsyncTask.html

It allows you to run a thread and use callbacks to update the UI
easily. Look at:

http://developer.android.com/reference/android/os/AsyncTask.html#onProgressUpdate%28Progress...%29

Super simple, pop dialog up, start your work, update dialog via the
above function, end work, end dialog.

Put whatever update function you want in the onPostExecute.

Note: the DBHelper class is something I've written to help me deal
with the database work. Just an FYI since it is used a lot in there.

Steven
Studio LFP
http://www.studio-lfp.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


Re: [android-developers] Re: Install % statistic removed, replaced with users and devices

2011-09-27 Thread Adam Ratana
Looks like there's been some slight movement on this in the last few hours.
 I noticed a couple numbers increase for total installs.  Still not 100%
where I think it should be but it moved...


On Tue, Sep 27, 2011 at 8:56 PM, Zsolt Vasvari zvasv...@gmail.com wrote:

 Another LOL, so basically all new apps are stuck at 0 installs as
 visible on the Market App.

 On Sep 27, 4:07 am, Sam McGrath sa...@fractiv.com wrote:
  Heard from a contact at Google that the team responsible for reporting
 the
  total installs stat dropped support for it.  Now they are working on
  re-enabling support, but no ETA.  Take that for what it's worth.
 
  Sam McGrath
 
 
 
  On Mon, Sep 26, 2011 at 12:50 PM, Adam Ratana adam.rat...@gmail.com
 wrote:
   I see something similar with a Live Wallpaper I recently launched.  The
   total installs (now users) went to 200 after 2 days and has been there
   since.  These same 200 users keep on buying devices though, and keep
   installing the wallpaper on those devices, to where each user now has
 4+
   devices.  These are some power users for sure, and they sure love this
   wallpaper.
 
   What is interesting though is it seems they fixed the graphs on the web
   version of the market.  For a day or so it showed a huge drop in
 installs
   for almost everyone's apps.  These graphs seem to be updated with
 seeming
   regularity, just not the numbers in the developer console.
 
   On Monday, September 26, 2011 2:10:26 PM UTC-4, John Coryat wrote:
 
   Now it all makes sense!
 
   One of my apps (a beta) has 3 users with 655 devices. I guess that's
 about
   right. Doesn't everyone have a little over 200 Android devices?
 
   -John Coryat
 
--
   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- Hide quoted
 text -
 
  - Show quoted text -

 --
 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




-- 
Adam Ratana
adam.rat...@gmail.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

Re: [android-developers] Re: Install % statistic removed, replaced with users and devices

2011-09-27 Thread Nikolay Elenkov
On Wed, Sep 28, 2011 at 12:06 PM, Adam Ratana adam.rat...@gmail.com wrote:
 Looks like there's been some slight movement on this in the last few hours.
  I noticed a couple numbers increase for total installs.  Still not 100%
 where I think it should be but it moved...


Some rating/comments are disappearing for me, so someone is definitely
messing with it. Whether for good or bad..., we shall see :)

-- 
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


Re: [android-developers] How to enable network connectivity to upload data.

2011-09-27 Thread Kristopher Micinski
The general way to fix this problem is to assume that they have
network connectivity sitting in the background.  Tons of apps do this,
by use of a data connection that many devices have.

So this is a pretty typical situation, almost any major app out there
deals with it in some form or another (Facebook, Twitter, Gmail, and
so on...)

There's no API, but you don't really need one.

Kris

On Tue, Sep 27, 2011 at 9:57 PM, bobo123 huangbo...@gmail.com wrote:
 Hi,

    I am writing an alarm type android application which upload some
 data to server at a schedule time.

    Usually the device screen is off and WIFI or other type network is
 in disconnected.

    I wish when the schedule time arrives, I can enable network
 connectivity so that I can upload data to server.

    Is There any API I can use?

    Currently when the schedule time arrives, it will trigger upload
 routine, however, the network state is disconnected, so that the
 upload routine upload data to server.


 Best Regards,
 Bo

 --
 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


Re: [android-developers] How to read data from an Xml file

2011-09-27 Thread Atluri Ajith Kumar
Hi Sumit.

You said that the xml file is from external storage. So you can read xml
file using httppost method. read
herehttp://atluri-ajith.blogspot.com/2011/09/work-with-http-post-request-in-android.html.
After reading the xml file you will get response as inputstream, you have to
convert inputstream to string like
herehttp://atluri-ajith.blogspot.com/2011/09/read-response-from-httppost-method.html
.

After getting the xml file contents as string i think you can manage how to
display.

On Mon, Sep 26, 2011 at 3:50 PM, sumit garg sumitgr...@gmail.com wrote:

 hello

 I am trying to read data from an XML file which is in an external storage.
 I think following things are involved in it-
 1. how do i retrieve it
 2. how the parser will read it
 3. how do i display the file


  --
 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




-- 
 The ultimate measure of a man is not where he stands in moments of comfort
and convenience, but where he stands at times of challenge and controversy.

-- 
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] Does Google notify devise that c2dm registration_id is expired?

2011-09-27 Thread Alexey Zakharov
Does Google notify devise that c2dm registration_id is expired? If yes in 
what method should I handle 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

Re: [android-developers] Retrieving Data off the URL not working

2011-09-27 Thread Atluri Ajith Kumar
I'm not sure, but for calling external URL's we have to us
HttpURLConnectionhttp://developer.android.com/reference/java/net/HttpURLConnection.html
.
In other way you can use
httpposthttp://developer.android.com/reference/org/apache/http/client/methods/HttpPost.html
.
Sample 
Examplehttp://atluri-ajith.blogspot.com/2011/09/work-with-http-post-request-in-android.html
.

On Mon, Sep 26, 2011 at 1:02 PM, Nimish Nayak wordwarrio...@gmail.comwrote:

 (HttpURLConnectionhttp://www.google.com/search?hl=enq=allinurl%3Ahttpurlconnection+java.sun.combtnI=I%27m%20Feeling%20Lucky
 ) url.openConnection()




-- 
 The ultimate measure of a man is not where he stands in moments of comfort
and convenience, but where he stands at times of challenge and controversy.

-- 
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 read data from an Xml file

2011-09-27 Thread clark
What a surprise.  Yet another witty reply from the TrollKing.


On Sep 27, 4:55 pm, TreKing treking...@gmail.com wrote:
 On Mon, Sep 26, 2011 at 5:20 AM, sumit garg sumitgr...@gmail.com wrote:
  I am trying to read data from an XML file which is in an external storage.
  I think following things are involved in it-
  1. how do i retrieve it
  2. how the parser will read it
  3. how do i display the file

 http://tinyurl.com/6k4486n

 --- 
 --
 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


Re: [android-developers] Re: Help for IP camera

2011-09-27 Thread kirti waykole
yes i want live video .. on my device..

On Mon, Sep 26, 2011 at 7:30 PM, J Handal jhand...@gmail.com wrote:


 Hi Kirti,

 directly coonect through cross cable to my pc now for testing on
 emulator.

 Are you streaming live video?




  --
 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] IllegalStateException: Can not perform this action after onSaveInstanceState - How to prevent?

2011-09-27 Thread Niek
I'm getting user reports from my app in the market, delivering the
following exception:

java.lang.IllegalStateException: Can not perform this action after
onSaveInstanceState
at
android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:
1109)
at
android.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:
399)
at android.app.Activity.onBackPressed(Activity.java:2066)
at android.app.Activity.onKeyUp(Activity.java:2044)
at android.view.KeyEvent.dispatch(KeyEvent.java:2529)
at android.app.Activity.dispatchKeyEvent(Activity.java:2274)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchKeyEvent(PhoneWindow.java:1803)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchKeyEvent(PhoneWindow.java:1855)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:
1277)
at android.app.Activity.dispatchKeyEvent(Activity.java:2269)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchKeyEvent(PhoneWindow.java:1803)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.widget.TabHost.dispatchKeyEvent(TabHost.java:297)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at android.view.ViewGroup.dispatchKeyEvent(ViewGroup.java:1112)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.superDispatchKeyEvent(PhoneWindow.java:1855)
at
com.android.internal.policy.impl.PhoneWindow.superDispatchKeyEvent(PhoneWindow.java:
1277)
at android.app.Activity.dispatchKeyEvent(Activity.java:2269)
at com.android.internal.policy.impl.PhoneWindow
$DecorView.dispatchKeyEvent(PhoneWindow.java:1803)
at android.view.ViewRoot.deliverKeyEventPostIme(ViewRoot.java:
2880)
at android.view.ViewRoot.handleFinishedEvent(ViewRoot.java:2853)
at android.view.ViewRoot.handleMessage(ViewRoot.java:2028)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:132)
at android.app.ActivityThread.main(ActivityThread.java:4028)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:844)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:602)
at dalvik.system.NativeStart.main(Native Method)

Apparently it has something to do with a FragmentManager, which I
don't use. The stacktrace doesn't show any of my own classes, so I
have no idea where this exception occurs and how to prevent it.

For the record: I have a tabhost, and in each tab there is a
ActivityGroup switching between Activities.

-- 
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] App goes not go to background

2011-09-27 Thread ANKUR GOEL
Hi all,

i have Htc sensation in that my application is totally working fine ..

but when i press Home button its restart the application again and does not
start the activity from where i left .

so anyone can guide me what the problem might be or whether i have to write
any code for that

in other phone like samsung galaxy nexus its working fine .

Thanks and Regards:-

Ankur Goel
09019040351
S/W Engg.

-- 
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: \n escape character not working

2011-09-27 Thread Josh Gitter
I'm not sure if you're passing in an illegal character, as \n is not
accepted. See RFC 1738 2.1 and 2.2.
http://www.ietf.org/rfc/rfc1738.txt

You probably need to URLEncode to escape characters such as \n:
http://developer.android.com/reference/java/net/URLEncoder.html

Hope this helps,
Josh

On Sep 25, 3:55 am, wes wemme...@gmail.com wrote:
 I've seen another question posted here about this, but the guy never
 responded. I, however will get responses by email and am serious about
 getting help here.

 In creating an app that will pass form information to an email, I have
 concatenated all of the labels for the email, the information from the
 text boxes, and then the escape character \n.

 The only problem is that for an HTC Evo Shift 4G the email stops
 IMMEDIATELY on the first escape character, and displays only the first
 line.

 The escape charaters: \r (carriage return) \v (vertical tab) also do
 not work. adding a double slash on the characters \\n \\r \\v do not
 work either. And if I dump the entire email URI into a text box BEFORE
 the email it is 100% correct, something happens either during or
 before the pass into email.

 Does anyone know how to implement an escape character while inside a
 URI or as an email body text . . . or anything at all that can
 implement an escape character.

 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] Re: How to enable network connectivity to upload data.

2011-09-27 Thread bobo123
Thanks for your reply.
Can you tell me more details.
Actually WiFi  turn off after a couple of minutes.
When alarm comes, The code  is required to reestablished network
connection and then upload data.

On Sep 27, 11:37 pm, Kristopher Micinski krismicin...@gmail.com
wrote:
 The general way to fix this problem is to assume that they have
 network connectivity sitting in the background.  Tons of apps do this,
 by use of a data connection that many devices have.

 So this is a pretty typical situation, almost any major app out there
 deals with it in some form or another (Facebook, Twitter, Gmail, and
 so on...)

 There's no API, but you don't really need one.

 Kris







 On Tue, Sep 27, 2011 at 9:57 PM, bobo123 huangbo...@gmail.com wrote:
  Hi,

     I am writing an alarm type android application which upload some
  data to server at a schedule time.

     Usually the device screen is off and WIFI or other type network is
  in disconnected.

     I wish when the schedule time arrives, I can enable network
  connectivity so that I can upload data to server.

     Is There any API I can use?

     Currently when the schedule time arrives, it will trigger upload
  routine, however, the network state is disconnected, so that the
  upload routine upload data to server.

  Best Regards,
  Bo

  --
  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


Re: [android-developers] Re: How to enable network connectivity to upload data.

2011-09-27 Thread Kristopher Micinski
On Wed, Sep 28, 2011 at 1:26 AM, bobo123 huangbo...@gmail.com wrote:
 Thanks for your reply.
 Can you tell me more details.
 Actually WiFi  turn off after a couple of minutes.
 When alarm comes, The code  is required to reestablished network
 connection and then upload data.


That's not the point, usually people assume that the devices they
execute on have a data plan (obviously this isn't so much the case
anymore).

http://www.tutorialforandroid.com/2009/10/turn-off-turn-on-wifi-in-android-using.html

Might point you in the right direction, however.

(But fyi, I think turning your users' wifi on and off *for* them is a
bad design.)

Kris

-- 
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] How to access database on device.

2011-09-27 Thread Devendran Raju
hi...

I installed my application on android mobile. But i cannot access the
database from mobile.

But its works well on emulator.

How can i access db on mobile.

Can u please guide me


Thanks  regards,
Devendran.R

-- 
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

Re: [android-developers] Re: Android -Update Image On Android Widget

2011-09-27 Thread Himanshu Mistri
ok,Thanks For Both To Response .

On Tue, Sep 27, 2011 at 10:05 PM, Studio LFP studio@gmail.com wrote:

 Like Mr. Murphy said, updating a widget every second is bad.

 Since you don't update the widget directly and have to go through the
 system, the refresh rate can be unpredictable and put a heavy load on
 the phone's UI.

 If you want something that updates automatically at a fast rate, check
 out use a Live Wallpaper instead.

 Easy code help:
 http://developer.android.com/resources/samples/CubeLiveWallpaper/index.html

 Live wallpapers can also accept motion events and the likes, so they
 can be interactive.

 --
 Steven
 Studio LFP
 http://www.studio-lfp.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


-- 
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

<    1   2   3