[android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Nitin Sethi
You issue aside, listening for GPS fix every one minute is surely going to drain user's battery big time. Are your app user's okay with the battery level going from 100% to ZERO in less than 4 hours? On Saturday, 10 November 2012 01:51:25 UTC+5:30, Rajan wrote: > > What i need to do > ==

Re: [android-developers] Simulating a tablet with the AVD

2012-11-09 Thread TreKing
On Fri, Nov 9, 2012 at 11:54 PM, Jason Hsu wrote: > How do I use the AVD to create a virtual tablet so I can see the proper > operation of fragments? > http://developer.android.com/tools/devices/index.html -

Re: [android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Rajan Thakrar
Thanx Jonathan S, i don't know about IntentService, i have never worked on it. but now i surely work on it and after that i'll show you my output(result). once again thanx for your guidance. On Sat, Nov 10, 2012 at 3:05 AM, Jonathan S wrote: > Why you are not using IntentService? that class s

[android-developers] Simulating a tablet with the AVD

2012-11-09 Thread Jason Hsu
I'm in the process of learning how to work with fragments, but I don't have a tablet. How do I use the AVD to create a virtual tablet so I can see the proper operation of fragments? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] FrameLayout in ViewSwitcher doesn't resize

2012-11-09 Thread Doug Ponsford
Hi All, I have a problem with a FrameLayout inside a LinearLayout/ViewSwitcher which has been dogging me for days! Any help would be appreciated: In the XML, I have a LinearLayout that defines a background theme, a ViewSwitcher inside that, and a LinearLayout in the first (upper) half of the

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread sebastian_bugiu
I've investigated the problem for a bit and it seems that you can run blender on mac and add an add-on from http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Import-Export/MilkShape3D_MS3D to add import and export ms3d support to blender. And blender has obj and 3ds formats and proba

[android-developers] MIT Kerberos GSS-API with CyaSSL Now Available for Android

2012-11-09 Thread Chris C.
Hi, We would like to announce support for the MIT Kerberos and GSS-API libraries and the CyaSSL embedded SSL library for the Android platform. We have just finished a port of MIT Kerberos to Android as well as the development of a *org.ietf.jgss* (RFC 5653) compatible Java GSS-API layer. All

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread bob
That would be great to have more converters. Right now, I'm on Mac, which doesn't support MilkShape 3d. On Friday, November 9, 2012 4:57:27 PM UTC-6, sebastian_bugiu wrote: > > I use milkshape 3d to open .3ds or fbx or obj or lwo and then save as > ms3d. But this is only temporary. I will

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread sebastian_bugiu
I use milkshape 3d to open .3ds or fbx or obj or lwo and then save as ms3d. But this is only temporary. I will add more format convertors in the future so you can skip the opening in milkshape 3d hassle. On Saturday, November 10, 2012 12:21:31 AM UTC+2, bob wrote: > > Can you tell me which appli

[android-developers] Re: RelativeLayout containing ViewStub doesn't position the inflated stub correctly

2012-11-09 Thread AndyD
Argh, nevermind, figured it out. When I moved the stubbed-out view to its own file and replaced it with the stub in the RelativeLayout XML, I failed to migrate the android:layout_alignParentBottom to the stub declaration. Sigh. On Friday, November 9, 2012 5:34:32 PM UTC-5, AndyD wrote: > > C

[android-developers] Re: RelativeLayout containing ViewStub doesn't position the inflated stub correctly

2012-11-09 Thread AndyD
Clarifying one sentence On Friday, November 9, 2012 4:52:34 PM UTC-5, AndyD wrote: > > I've got a RelativeLayout declared via XML that contains a regular View > and a ViewStub. The regular View specifies > android:layout_above="@+id/the_view_stub". In my Fragment's > onCreateView(), I'm f

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread bob
Can you tell me which applications you use to export to ms3d? Right now, I'm using Cheetah3d, and it does not, in fact, export to that format. On Friday, November 9, 2012 4:07:26 PM UTC-6, sebastian_bugiu wrote: > > The problem is that formats that are used in model editors aren't exactly

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread sebastian_bugiu
The problem is that formats that are used in model editors aren't exactly efficient for the rendering pipeline. So you need to create a format that keeps data prepared and compressed. Right now you have a jar that converts from a ms3d format to a hm format that is used in the engine. As long as

Re: [android-developers] Efficient Tablet Resource Selection

2012-11-09 Thread Dave Smith
Hey Mark - Apologies, I misspoke on the newer devices. That part of the equation does work as expected for 3.2+ devices since smalles width is a higher priority selector. You make a valid point about older devices with a single qualifier and how eliminating just flags the device didn't unders

[android-developers] RelativeLayout containing ViewStub doesn't position the inflated stub correctly

2012-11-09 Thread AndyD
I've got a RelativeLayout declared via XML that contains a regular View and a ViewStub. The regular View specifies android:layout_above="@+id/the_view_stub". In my Fragment's onCreateView(), I'm first inflating the RelativeView, then conditionally inflating the stub. However, the result is t

[android-developers] Re: Blocked my UI thread by background service

2012-11-09 Thread Jonathan S
Why you are not using IntentService? that class stop the service when it finished. On Friday, November 9, 2012 3:21:25 PM UTC-5, Rajan wrote: > > What i need to do > = > 1. I need to get Latitude & longitude every 1 min. > 2. after getting this lat & long, i need to call one web servi

[android-developers] Re: Google cancelled this order. Reason: Other

2012-11-09 Thread RichardC
I have a guess at an explanation for these Cancelled orders: Credit Card security check. It happens to me almost every time a try to buy for the first time from new merchant over the internet (card holder not present). The order gets rejected by the credit card company with no reason given to

Re: [android-developers] Re: Google cancelled this order. Reason: Other

2012-11-09 Thread TreKing
On Fri, Nov 9, 2012 at 1:34 PM, Bram Stolk wrote: > Is google active on this forum, btw? > Google is a company and thus not capable of being active anywhere. If you mean "Google employees that could actually resolve the Google Play Store issues", then no, they don't appear to be. --

[android-developers] Blocked my UI thread by background service

2012-11-09 Thread Rajan
What i need to do = 1. I need to get Latitude & longitude every 1 min. 2. after getting this lat & long, i need to call one web service through which i have to send TAG is kind of "ON" or "OFF" text : that can be set on button press event. What i have done = 1. i creat

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread bob
This sounds like a good idea. I spent forever and a day making a Wavefront OBJ loader, and the performance wasn't even that great. What methods will you offer for people to convert to your new mesh format? On Friday, November 9, 2012 10:57:37 AM UTC-6, sebastian_bugiu wrote: > > I have cr

Re: [android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread Satya Komatineni
These are excellent goals. Thank you for your work and the post Satya http://satyakomatineni.com/android/training http://satyakomatineni.com http://androidbook.com http://twitter.com/SatyaKomatineni On Fri, Nov 9, 2012 at 2:29 PM, sebastian_bugiu wrote: > Why should the platform take any Game En

[android-developers] Re: Google cancelled this order. Reason: Other

2012-11-09 Thread Bram Stolk
On Thursday, November 8, 2012 11:40:14 PM UTC-8, Pent wrote: > Isn't 'Other' a terrific choice of word ? > > So much better than 'Unknown', which sounds like things might be out > of control. 'No, we definitely know what the reason is, it's Other' > Curiously, I once saw a 'Other, describe bel

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread sebastian_bugiu
Why should the platform take any Game Engine? Because beginning game developers would surely appreciate something that leverages the android API directly. It would be easier for them to choose Android over Apple when choosing a platform to learn game development. Right now Android has worse gam

[android-developers] Re: ProgressBar proportions problem

2012-11-09 Thread bob
Change the width and height to wrap_content. On Wednesday, November 7, 2012 4:57:51 AM UTC-6, Filipe Batista wrote: > > Hi, > I have a ProgressBar (indeterminate) inside a LinearLayout, when i open > the app in phone with ICS the progressbar spinner keeps the right > proportions, but when i o

[android-developers] Re: 3D game engine integration in the android framework

2012-11-09 Thread RichardC
Yours is one of many Game Engines for Android. Why should the platform take any Game Engine and specifically why this one? On Friday, November 9, 2012 4:57:37 PM UTC, sebastian_bugiu wrote: > > I have created a 3D game engine written in java for Android. It is based > on the Ogre renderer and f

[android-developers] 3D game engine integration in the android framework

2012-11-09 Thread sebastian_bugiu
I have created a 3D game engine written in java for Android. It is based on the Ogre renderer and features - a complete OpenGL ES 2.0 multithreaded renderer - sound support - input as touch or sensors - GUI API - easy material creation - a new mesh format for fast loading based on ms3d format -

Re: [android-developers] Non-responsive Activity on Back

2012-11-09 Thread Dandre Allison
Alright, I think I resolved the issue, it was made a lot easier with your suggestion Mark. When I watched when the Activity was created I realized it was the AccountManager framework, which led me to check out an example of using it in SampleSyncAdapter (it's weird you have to use that and not a

[android-developers] new layout editor

2012-11-09 Thread bob
So, I bought a new book, and here is what it says: Note At Google I/ O 2011, the Android Tools team introduced a *new layout editor* that is really exciting. It can even preview animations and developer-created views; most developers should never need to look at XML, let alone inline code,

Re: [android-developers] Google Android TV

2012-11-09 Thread Mark Murphy
Note that Google TV developer support is handled through StackOverflow and the 'google-tv' tag, according to Google: https://developers.google.com/tv/android/community You can see existing questions on Google TV here: http://stackoverflow.com/questions/tagged/google-tv On Fri, Nov 9, 2012 at 10

[android-developers] Re: BluetoothChat Example ThroughPut Limitations?

2012-11-09 Thread bob
I would look at this line in BluetoothChatService.java: mHandler.obtainMessage(BluetoothChat.MESSAGE_READ, bytes, -1, buffer) .sendToTarget(); I would change that line to write to a file on the SD card. Then, after some time, I would look at the file to see if it con

[android-developers] Google Android TV

2012-11-09 Thread Anirudh Loya
Hello Sir, I am working on Google Android TV Application. Presently the task of my application is to download images from the Social Networking Website, which I have done it successfully. After downloading I have to play them in the Screen Saver when ever the Google Android TV is idle state and

Re: [android-developers] Re: bundle passed via intent coming null

2012-11-09 Thread Bunty syed
Thanks. I tried commenting *intent.setFlags(Intent.FLAG_* ***ACTIVITY_NEW_TASK) *but it does not receive any data in the second activity.. On 9 November 2012 04:36, Sunghun wrote: > Would you try it again after commenting * intent.setFlags(Intent.FLAG_* > ***ACTIVITY_NEW_TASK)* ? > > > On Wedne

Re: [android-developers] Disabling/Hiding the Application ?

2012-11-09 Thread Alexey
Dianne, is it possible to disable other apps that I'm developing. For example, I develop 2 apps, and then I develop third app that includes functionality of previous ones. Can I disable my old apps? Is it possible to add some common security id in manifest to do this using setApplicationEnabledS

[android-developers] Re: MapView showing up blank with release api key.

2012-11-09 Thread Electric Shipwright
Well... This is embarassing. I had two layouts, apparently. And one, map_view.xml was the one I was editing. It was on the other hand, map_and_list_screen.xml that the app had exploded into content upon launching the map activity. This stuff happens, -it seems it could really happen to anyone, bu

Re: [android-developers] Re: Miracast?

2012-11-09 Thread Mark Murphy
On Thu, Nov 8, 2012 at 9:53 PM, Eric Wong (hdmp4.com) wrote: > I believe you know it is possible to take screenshot in Android if you have > root permission If you're planning on investing in Miracast, you are presumably doing do with intent to have it be used beyond rooted device owners. --

[android-developers] Re: MapView showing up blank with release api key.

2012-11-09 Thread Electric Shipwright
I tried creating a clone of the project with a different reverse domain name, to see if the problem occurred due to the fact that the news app has been published with that name on Google Play. It behaves the same. So it has got to be about the application somehow, and not about the signatures. B

[android-developers] Re: Switch VideoView between Preview and Fullscreen mode

2012-11-09 Thread Roman Ilin
No one knows? I thought this sort of problem is common for video player in android and somebody solved it... On Wednesday, November 7, 2012 1:35:42 PM UTC+1, Roman Ilin wrote: > > Hi *, > > I develop tv player with Android SDK 4.0.3 > I have TVChannelActivity and TVPlayerActivity. > TVChannelAc

Re: [android-developers] Can I get SharedPreferences outside activity or service without Context object.

2012-11-09 Thread thyne
I dont think I wrote 'static void main' anywhere above.. However - I am not sure if the above solution should be used in heavier applications, as it is NOT recommended to have too many references to Context object.. W dniu czwartek, 8 listopada 2012 22:08:28 UTC+1 użytkownik Marcelo H napisał:

[android-developers] Re: try to simulate install button on google play

2012-11-09 Thread strazzere
The error code is telling you exactly the issue, your using the wrong auth token :) On Thursday, November 8, 2012 11:09:18 PM UTC-8, alex kyo wrote: > > that seems not possible > > On Thursday, November 8, 2012 9:35:57 PM UTC+9, alex kyo wrote: >> >> Guys, I am trying to simulate the click of in

[android-developers] New mobile development contest - 15K$ prize - no loss of intellectual property

2012-11-09 Thread Tony Navarro
Hi fellows, sorry for a blatant self-promo-like... but I think some of you could be interested. I work for Infojobs.net, the leading career site in Spain. Some days ago our Mobile Dept. started a contest for App development. You can get the whole info here: http://infojobs.hackathome.com/ and h

Re: [android-developers] Re: jpg to video

2012-11-09 Thread Srivas, Manish
in ffmpeg wrapper change String[] ffmpegCommand = {ffmpegBin, "-r", "25", "-qscale", "2", "-i","/sdcard/slideshow365/Temp/%d.jpeg", "/sdcard/slideshow365/test4.mp4"} On Fri, Nov 9, 2012 at 1:59 PM, shiva pendem wrote: > > Hi, > > > i have tried the same source but this is not combining, > >

[android-developers] Re: jpg to video

2012-11-09 Thread shiva pendem
Hi, i have tried the same source but this is not combining, can any one send me the FFMPEG single file just like this FFMPEG Present in the link https://github.com/guardianproject/SSCVideoProto/tree/master/res/raw which can alter the np3 file bit rate Thanks Shiva On Monday, February 27, 201

[android-developers] Re: MapView showing up blank with release api key.

2012-11-09 Thread Electric Shipwright
It gives me: 11-09 09:17:47.435: W/System.err(3812): IOException processing: 26 11-09 09:17:47.435: W/System.err(3812): java.io.IOException: Server returned: 3 11-09 09:17:47.435: W/System.err(3812): at android_maps_conflict_avoidance.com.google.googlenav.map.BaseTileRequest.readResponseDa