[android-developers] Format or example required for writing script for monkey tool

2010-09-06 Thread ankit
Hi, Can someone please provide the example or format for writing my own script to be used with monkey tool. It would be of great help for me. Regards Ankit Aggarwal -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] about android Reversepengineering !!!!

2010-09-06 Thread TreKing
On Sun, Sep 5, 2010 at 11:38 PM, xc s sxchao2...@gmail.com wrote: how should I do? Make an app that sucks so much no one would want to even use it, let alone reverse engineer it. ... ... ... Or try obfuscating your code, for starters.

[android-developers] What is INSTRUMENTATION_CODE refers to

2010-09-06 Thread manohar
Hello Guys, I have been working with Instrumentation test for couple of days, i will get the output as follows INSTRUMENTATION_STATUS_CODE: 1 * INSTRUMENTATION_STATUS: class=com.foo.FooTest * INSTRUMENTATION_STATUS: test=testFoo * INSTRUMENTATION_STATUS: numtests=2 *

[android-developers] ByPass UI for Activiating DevicePolicyManager

2010-09-06 Thread mikedroid
I need to bypass the Activity upon enabling the DevicePolicy in my device, so far it will still ask the user to activate or cancel it, Is there a workaround on how to remove this UI and implicitly enabled the admin policy ? -- You received this message because you are subscribed to the Google

[android-developers] Re: Need project idea

2010-09-06 Thread ko5tik
On Sep 5, 8:11 pm, sws-vinpa vincepascu...@gmail.com wrote: Serial ports would be valuable for this sort of application.  ;-) I heard of bluetooth dongles which can be plugged to CAN - even more valuable -- You received this message because you are subscribed to the Google Groups Android

[android-developers] stack corruption detected : aborted

2010-09-06 Thread Nand
Hi, I'm developing an application which connects to some agent running on desktop via Wi-Fi. After it connects and receives some data, stack corruption detected error encountered and gets aborted. I'm calling a recursive function for my data processing Can anyone please tell me what might be the

[android-developers] Re: stack corruption detected : aborted

2010-09-06 Thread Kumar Bibek
Can you post some code for this? I am not sure if it's a bug in your code, or the Android source. -Kumar Bibek http://techdroid.kbeanie.com On Sep 6, 11:34 am, Nand nandithab...@gmail.com wrote: Hi, I'm developing an application which connects to some agent running on desktop via Wi-Fi. After

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-06 Thread blindfold
Yes, many have reported problems with camera preview in portrait mode, and one way out is to force your app in landscape mode and just not use portrait. Otherwise, consider the solutions suggested in http://code.google.com/p/android/issues/detail?id=1193 (I have not tested those because landscape

[android-developers] Re: Developing Android app for tablet

2010-09-06 Thread ytbryan
thanks guys On Sep 6, 12:42 am, Kumar Bibek coomar@gmail.com wrote: Do test out your apps on emulators. http://techdroid.kbeanie.com/2010/09/getting-started-with-tablets-the... -Kumar Bibekhttp://techdroid.kbeanie.com On Sep 5, 9:32 pm, ben benbros...@gmail.com wrote: I would make

[android-developers] Rendering intial screen issue

2010-09-06 Thread Rajesh Pelluru
Hi, I have three screens in my sample application i.e. MainScreen, Screen1, and Screen2. If I click on Button in Main Screen then Screen1 appears in my device. If I click on Button in Screen1 then Screen2 appears in my device. Now if I click on home button and again if I tap on my app

[android-developers] Re: Bug in minSdkVersion or what?

2010-09-06 Thread Indicator Veritatis
Well, you got one thing right: you do not understand. You have been too close to Android for too long, you simply do not understand how the documentation is read by people who are not so close (or even by those as close who are more careful readers). That is why you underestimate how bad this one

[android-developers] android design pattern

2010-09-06 Thread ytbryan
hi all, I'm new to android. As i am building multiple activities, i realise that i have to code out repetitively this segment. Intent i = new Intent(); i.setClass(this, Main_Form.class); startActivity(i); So that i can return to the home page.

[android-developers] Re: Statistics on Rooted Phones

2010-09-06 Thread Chris Stratton
You must not make assuming rooted devices are uncommon or even detectable part of your business statements, as that would be dangerously misleading to anyone who might rely on it. On Sep 6, 1:36 am, Tez earlencefe...@gmail.com wrote: Its just a research study we are carrying. Certain operations

[android-developers] Re: stack corruption detected : aborted

2010-09-06 Thread Nand
Hi, Thanks for replying. I cant post the code as it is large application calling multiple functions at runtime. I'm also using native functions for thread creation and socket connection. If you can tell me the reasons for this issue to occur, I can look and try to check if any such exist in my

Re: [android-developers] about android Reversepengineering !!!!

2010-09-06 Thread xc s
So Actually this no answer really? no any method? -- 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

Re: [android-developers] android design pattern

2010-09-06 Thread xc s
Actually I also do 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

[android-developers] Re: List Item (a view) order changes unexpextedly while (fast) scrolling in a ListView

2010-09-06 Thread jamesc
OK. I've had a quick look. 1) I take it that your View (MyView) is the item in the ListView? 2) Why are you doing the measuring (and implementing onDraw())? I would have thought that you should be using a layout to declare the ListView item and then backing that with a BaseAdapter

[android-developers] Re: stack corruption detected : aborted

2010-09-06 Thread Kumar Bibek
Go through this link. It might help you. http://rxwen.blogspot.com/2009/04/detect-stack-corruption.html -Kumar Bibek http://techdroid.kbeanie.com On Sep 6, 12:06 pm, Nand nandithab...@gmail.com wrote: Hi, Thanks for replying. I cant post the code as it is large application calling multiple

[android-developers] Re: Using eclipse

2010-09-06 Thread Indicator Veritatis
This sounds like it is an Eclipse issue rather than an Android issue. And depending on what you mean by goes out of sync very easily, it might not even be an Eclipse bug, just an odd consequence of their decision of how to build the abstraction project file on top of the simpler abstraction,

[android-developers] Re: android design pattern

2010-09-06 Thread Kumar Bibek
There can be many ways of doing this. What I regularly use, is to have my own Activity class, say, MyActivity which extends the Activity class. All the other activities in my application extend MyActivity instead of Activity. In Activities, I have a few methods, which I think would be used by

[android-developers] Two buttons side by side to fill width of screen?

2010-09-06 Thread Droid
I have 2 buttons side by side in RelativeLayout (170dip each) but in landscape view, they are too narrow - I want to increase their widths automatically for landscape. I need a 'fill_parent' for two buttons at once kinda thing. Can anyone point me in the right direction. Here is my layout:

[android-developers] Wrong format from String.format()

2010-09-06 Thread GPU
Hi , passing two int values m =0 s = 11, to below function String formatted = String.format(%1$02d:%2$02d, m, s); returning the value like .0:11 ,What could be the problem ? m=0, s=11 -- .0:11 m=0, s=1--.0:.1 The 0 added to format the string always coming as '.' (dot). Can

Re: [android-developers] Re: Activities I Don't Want the User to be able to go Back to

2010-09-06 Thread Kostya Vasilyev
06.09.2010 2:59, JimBadger пишет: What about part 2? I want a visual refresh of Activity A when returning to it from Activity B (or C, or even G), that reflects how the game data that affects Acitivty A has changed since the user left it... Override onResume or onStart -- Kostya Vasilyev --

[android-developers] Http chunked response and Connection Reset by Peer error

2010-09-06 Thread Cydrike
Hi everyone, I'm facing an annoying problem here. My application is connected to a server that sends some data from time to time. It's some kind of eventing server. In order to receive data, I'm connecting to the server with an HttpURLConnection, retrieve the response InputStream and loop on it

[android-developers] Re: stack corruption detected : aborted

2010-09-06 Thread Chris Stratton
Perhaps you should instrument the depth of the recursion. And maybe limit it - would not be good if feeding a trick file to your app can crash or corrupt it. I made a wrapper for the android log vprint function that looks like a normal printf and sprinkle it liberally through my code, can simply

[android-developers] HttpClient Timeouts

2010-09-06 Thread Eurig Jones
I've been suffering from the HttpClient hanging on me every now and again and never returning the response. This is my HttpClient creation code and the method which accesses it. It is accessed potentially via the UI thread and other AsyncTasks. Can anyone see anything here that looks suspicious

[android-developers] Re: Rendering intial screen issue

2010-09-06 Thread Kumar Bibek
This is the default behaviour for Android apps. Checkout the launch flags section in the android documentation to get hints on how to handle special situations. -Kumar Bibek http://techdroid.kbeanie.com On Sep 6, 11:52 am, Rajesh Pelluru mail2pell...@gmail.com wrote: Hi,           I have three

[android-developers] Parallel Horizontal ListView

2010-09-06 Thread Vikram
I want to implement a custom ViewGroup which looks like 3 horizontal train tracks, red, blue and green tracks, parallel to each other. And each of the tracks can carry one or more compartments. Each compartment can be a red, blue or a green compartment, has a different size and can be positioned

[android-developers] Parallel Horizontal ListView

2010-09-06 Thread Vikram
I want to implement a custom ViewGroup which looks like 3 horizontal train tracks, red, blue and green tracks, parallel to each other. And each of the tracks can carry one or more compartments. Each compartment can be a red, blue or a green compartment, has a different size and can be positioned

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-06 Thread uday
So you have hard coded in manifest.xml file for the field screenOrientation=landscape am i right?? Do u able to get the correct preview in Landscape mode??? On Sep 6, 11:48 am, blindfold seeingwithso...@gmail.com wrote: Yes, many have reported problems with camera preview in portrait mode, and

[android-developers] Re: Statistics on Rooted Phones

2010-09-06 Thread Tez
This is not related to business in anyway. This is university research. On Sep 6, 12:05 pm, Chris Stratton cs07...@gmail.com wrote: You must not make assuming rooted devices are uncommon or even detectable part of your business statements, as that would be dangerously misleading to anyone who

[android-developers] Re: Activity inside a view

2010-09-06 Thread a1
Does anyone has a simple example of to use LocalActivityManager or something else to meet my requirements. void createInnerActivity(ViewGroup container, Class? activityClass) { if (container.getChildCount() != 0) { container.removeViewAt(0); } final Intent

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-06 Thread blindfold
So you have hard coded in manifest.xml file for the field screenOrientation=landscape am i right?? Yes. Do u able to get the correct preview in Landscape mode??? Yes, just check my app. The vOICe for Android http://www.seeingwithsound.com/android.htm On Sep 6, 10:38 am, uday

[android-developers] Re: android design pattern

2010-09-06 Thread ytbryan
I see. thank you Kumar. On Sep 6, 3:25 pm, Kumar Bibek coomar@gmail.com wrote: There can be many ways of doing this. What I regularly use, is to have my own Activity class, say, MyActivity which extends the Activity class. All the other activities in my application extend MyActivity

[android-developers] galaxy s (2.1) and google api 2.2

2010-09-06 Thread ytbryan
Hi all, I want to run the map activity sample app on samsung galaxy s but realised that i need it to be 2.2. is there a workaround? thanks! bryan -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] galaxy s (2.1) and google api 2.2

2010-09-06 Thread Kostya Vasilyev
Galaxy S is supposed to get a Froyo update in September. Until then, perhaps you could debug in the emulator. 06.09.2010 12:52, ytbryan пишет: Hi all, I want to run the map activity sample app on samsung galaxy s but realised that i need it to be 2.2. is there a workaround? thanks! bryan

[android-developers] Key Events that occurred in the virtual keyboard can be passed to the hardware

2010-09-06 Thread brilliant winger
Hi all Key Events that occurred in the virtual keyboard can be passed to the hardware, andriod OS or high-level focus view? As with a physical keyboard. The dpad right event using Bluetooth devices, then it takes my keyboard service would like to pass on Android system or highest focus view(ex.

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-06 Thread uday
Thanks for the information... Where is ur application?? On Sep 6, 1:50 pm, blindfold seeingwithso...@gmail.com wrote: So you have hard coded in manifest.xml file for the field screenOrientation=landscape am i right?? Yes. Do u able to get the correct preview in Landscape mode??? Yes,

Re: [android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Mark Murphy
On Mon, Sep 6, 2010 at 12:37 AM, Tez earlencefe...@gmail.com wrote: So the KeyEvent Listener is only for physical keyboards? I see many devices that have only soft keyboards. This leads me to think What is the value of the Key Listener API then? It predated the IME system. Hence, if nothing

Re: [android-developers] Http chunked response and Connection Reset by Peer error

2010-09-06 Thread Kostya Vasilyev
The server doing a graceful close can be detected on the client: read() will return -1. A lost connection (not gracefully closed) generally can't be detected on the client. TCP/IP does not transmit data unless your application does, so a lost connection looks the same as a connection that

[android-developers] Re: Android with Flash cs5: I have a problem about permissions

2010-09-06 Thread Italian-android
Pls I need help about this but anyone is reading my message. Pls give me an answare On 5 Set, 12:34, Italian-android maxloveg...@gmail.com wrote: Anyone could help me on this my problem? On 3 Set, 08:32, Italian-android maxloveg...@gmail.com wrote: Hi to all. I'm usingflashcs5 to

[android-developers] Re: Key Events that occurred in the virtual keyboard can be passed to the hardware

2010-09-06 Thread parag
Could U please be clear on ur query or the problem that u r facing? i am not able to understand the issue, or the proble that u want to solve. On Sep 6, 2:15 pm, brilliant winger stw...@gmail.com wrote: Hi all Key Events that occurred in the virtual keyboard can be passed to the hardware,

[android-developers] Tiles not showing up in android MapView

2010-09-06 Thread Ajmer Singh
Hi I want to use Mapview in my android app,problem is that i am not getting any map data(No Map tiles),it only shows grey lines. Plese let me know what i am doing wrong here, I am copying my Logcat Details here: 09-04 11:36:21.519: INFO/ActivityManager(60): Starting activity: Intent {

[android-developers] Re: native UDP implementation for android

2010-09-06 Thread Nand
Hi, Did you solve this stack corruption detected issue? Even I'm facing similar problem. Regards, Nand -- 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

Re: [android-developers] Re: Android with Flash cs5: I have a problem about permissions

2010-09-06 Thread Mark Murphy
On Mon, Sep 6, 2010 at 5:37 AM, Italian-android maxloveg...@gmail.com wrote: Pls I need help about this but anyone is reading my message. Pls give me an answare The answer is: ask Adobe. CS5 is an Adobe product. Flash is an Adobe product. This is not an Adobe discussion list. -- Mark Murphy

Re: [android-developers] Re: native UDP implementation for android

2010-09-06 Thread Andrew Brampton
Is anyone willing to share their code? Perhaps that will help us figure out what's wrong. Andrew On 6 September 2010 10:41, Nand nandithab...@gmail.com wrote: Hi, Did you solve this stack corruption detected issue? Even I'm facing similar problem. Regards, Nand -- You received this

Re: [android-developers] Tiles not showing up in android MapView

2010-09-06 Thread Mark Murphy
Either: -- you have the wrong API key, or -- you do not have the INTERNET permission, or -- you do not have Internet access On Mon, Sep 6, 2010 at 5:40 AM, Ajmer Singh ajmersing...@gmail.com wrote: Hi I want to use Mapview in my android app,problem is that i am not getting any map data(No

[android-developers] Resource ID

2010-09-06 Thread perumal316
Hi All, I am using the function decodeResource(Resources res, int id, BitmapFactory.Options opt). I am using it in the following way: BitmapFactory.decodeResource(getResources(), R.drawable.image,opt); My question is instead of using R.drawable.image which is an image in res\drawable folder, I

[android-developers] Re: Capturing RAW data in Android 2.2(HTC Desire)

2010-09-06 Thread blindfold
Thanks for the information... Where is ur application?? It was in my signature, or you can search the Market for seeingwithsound. The vOICe for Android http://www.seeingwithsound.com/android.htm On Sep 6, 11:18 am, uday uday.pic...@gmail.com wrote: Thanks for the information... Where is ur

Re: [android-developers] Resource ID

2010-09-06 Thread Mark Murphy
On Mon, Sep 6, 2010 at 5:47 AM, perumal316 perumal...@gmail.com wrote: I am using the function decodeResource(Resources res, int id, BitmapFactory.Options opt). I am using it in the following way: BitmapFactory.decodeResource(getResources(), R.drawable.image,opt); My question is instead of

[android-developers] another design pattern question

2010-09-06 Thread ytbryan
hi all, if i want to let all my views be location aware, but i am going to have say like map view, camera view and normal list view. how should i go about doing this? should i have a main_activity class that holds a location manager and let every view extends? Sorry i am new with these.

[android-developers] Re: Resource ID

2010-09-06 Thread perumal316
Thanks for the info! Regards, Perumal On Sep 6, 5:50 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Sep 6, 2010 at 5:47 AM, perumal316 perumal...@gmail.com wrote: I am using the function decodeResource(Resources res, int id, BitmapFactory.Options opt). I am using it in the

[android-developers] Upgrade my Game Application

2010-09-06 Thread dhrumil
Hello 2all, I have developed one simple game application. In that, the box is moving in all four directions. Now I want to upgrade my game. So for that I just add one ball image on this application. This ball image is bouncing all over the android screen. I tried a lot but not able to upgrade my

[android-developers] How to have a ContextMenu on a GLSurfaceView :?

2010-09-06 Thread ThomasWrobel
Having a little trouble working out how to have a context menu working in my GLSurfaceView view. There doesn't seem to be a onCreateOptionsMenu or onOptionsItemSelected to override. I do notice a setOnCreateContextMenuListener but I don't know how to use it. Anyone know? -- You received this

Re: [android-developers] How to have a ContextMenu on a GLSurfaceView :?

2010-09-06 Thread Miguel Morales
Override those on your Activity class. On Mon, Sep 6, 2010 at 3:52 AM, ThomasWrobel darkfl...@gmail.com wrote: Having a little trouble working out how to have a context menu working in my GLSurfaceView view. There doesn't seem to be a onCreateOptionsMenu or onOptionsItemSelected to override.

Re: [android-developers] Upgrade my Game Application

2010-09-06 Thread Miguel Morales
How are you upgrading your game? On Mon, Sep 6, 2010 at 3:28 AM, dhrumil dhrumilsh...@gmail.com wrote: Hello 2all, I have developed one simple game application. In that, the box is moving in all four directions. Now I want to upgrade my game. So for that I just add one ball image on this

[android-developers] Re: How to have a ContextMenu on a GLSurfaceView :?

2010-09-06 Thread ThomasWrobel
Override what? setOnCreateContextMenuListener ? Its parameters are different. On Sep 6, 12:54 pm, Miguel Morales therevolti...@gmail.com wrote: Override those on your Activity class. On Mon, Sep 6, 2010 at 3:52 AM, ThomasWrobel darkfl...@gmail.com wrote: Having a little trouble working out

[android-developers] Autocomplete TextView doubt

2010-09-06 Thread grace
Hi, I am Implementing one auto text view. it looks fine in potrait mode but in landscape the soft keyboard contains DONE button,with no functionality.nothing happens even if i click done button . is there any way to avoid that done button from virtual keyboard or add functionality to it. Please

[android-developers] ClassNotFoundException crash reports from Market

2010-09-06 Thread Tauno Talimaa
Hi all, I'm seeing some strange crash reports in Android Market and I can't really tell how this could be caused by our application. The reason is always ClassNotFoundException or NoClassDefFoundError. The exact traces come in various flavors and they have happened for a total of ~100 times

Re: [android-developers] ClassNotFoundException crash reports from Market

2010-09-06 Thread { Devdroid }
On 6 September 2010 13:28, Tauno Talimaa tau...@gmail.com wrote:  Hi all, I'm seeing some strange crash reports in Android Market and I can't really tell how this could be caused by our application. The reason is always ClassNotFoundException or NoClassDefFoundError. The exact traces come in

Re: [android-developers] Re: How to have a ContextMenu on a GLSurfaceView :?

2010-09-06 Thread Miguel Morales
Override onCreateOptionsMenu() in your activity class like so: @Override public boolean onCreateOptionsMenu(Menu menu) { menu.add(0, 1, 0, Item1); menu.add(0, 2, 0, Item1); return true; } Should work automatically with your canvas view. On Mon, Sep 6, 2010

Re: [android-developers] about android Reversepengineering !!!!

2010-09-06 Thread { Devdroid }
On 6 September 2010 09:09, xc s sxchao2...@gmail.com wrote: So Actually this no answer really? no any method? No. No bullet proof methods. No Santa Claus. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Re: Simple Key Event Questions

2010-09-06 Thread Tez
In all these key interactions, (physical or IME), am I correct in assuming that all data must pass thru the Framework classes like WindowManagerService, KeyInputQueue etc? -E On Sep 6, 2:18 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Sep 6, 2010 at 12:37 AM, Tez

Re: [android-developers] Upgrade my Game Application

2010-09-06 Thread Dhrumil Shah
I developed one game its code is here: *Testing.java* * package* com.paad.testing; * import* android.app.Activity; * import* android.os.Bundle; * import* android.os.Handler; * import* android.os.Message; * import* android.view.*; * import* android.graphics.*; * import* android.content.*;

[android-developers] how to get number type for a contacts number..

2010-09-06 Thread A N K ! T
in my application it is opening phone contacts and when i choose one contact i can get all detail of the contact but not getting the number type of numbers; more specific if the user have four numbers,,, i can get all number but not getting number type of these numbers i.e. (HOME,WORK,MOBILE)

[android-developers] Re: Http chunked response and Connection Reset by Peer error

2010-09-06 Thread Cydrike
Cloud 2 Device Messaging seems to be very interesting but I can't use it for many reasons. I've explicitly tested returned value of Read() method to detect -1. But it doesn't change anything. My application has been developed for Windows Mobile 6.5 too. Windows Mobile always detect the Connection

Re: [android-developers] Upgrade my Game Application

2010-09-06 Thread Sandeep Phansekar
Hi Just Change the *android:versionCode=1.1* present in the mainfest.xml file regards sandeep On Mon, Sep 6, 2010 at 5:39 PM, Dhrumil Shah dhrumilsh...@gmail.com wrote: I developed one game its code is here: *Testing.java* * package * com.paad.testing; * import *

Re: [android-developers] Upgrade my Game Application

2010-09-06 Thread Dhrumil Shah
Hi Sandeep, I try to change it, but it shows an error like this: error: Error: Float types not allowed (at 'versionCode' with value '1.1'). ~Dhrumil On Mon, Sep 6, 2010 at 5:59 PM, Sandeep Phansekar sandeep.phanse...@gmail.com wrote: Hi Just Change the *android:versionCode=1.1* present in

[android-developers] Re: how to get number type for a contacts number..

2010-09-06 Thread Namrata
see if this helps..ContactsContract.PhoneLookupColumns or ContactsContract.CommonDataKinds.PhoneI haven't used it as it is a api level =5 but have used something like this for api level 4. On Sep 6, 5:27 pm, A N K ! T ankit.awasth...@gmail.com wrote: in my application   it is opening phone

[android-developers] How does Android determine whether to move the layout up when showing the softkeyboard?

2010-09-06 Thread Mathias Lin
How does Android determine whether to move the layout up when showing the softkeyboard? Note: I am aware that the activity property android:windowSoftInputMode=adjustResize|adjustResize| adjustUnspecified exists, as described here

[android-developers] Re: Http chunked response and Connection Reset by Peer error

2010-09-06 Thread Cydrike
Cloud 2 Device Messaging seems to be very interesting but I can't use it for many reasons. I've explicitly tested returned value of Read() method to detect -1. But it doesn't change anything. My application has been developed for Windows Mobile 6.5 too. Windows Mobile always detect the Connection

Re: [android-developers] Upgrade my Game Application

2010-09-06 Thread { Devdroid }
On 6 September 2010 14:42, Dhrumil Shah dhrumilsh...@gmail.com wrote: Hi Sandeep, I try to change it, but it shows an error like this: error: Error: Float types not allowed (at 'versionCode' with value '1.1'). You should not change things you do not understand in hope it will work even you

[android-developers] onClickListener for on a listView

2010-09-06 Thread kingh32
Hello I've got some code that pulls pulls in data from a database via a PHP service layer using JSON etc and displays it as a listview. It works and I'm very happy with it - but I wanted to add an onClickListener to it. I know how to do it for buttons but its proving more difficult for the list

[android-developers] soap in android

2010-09-06 Thread vineeshkc
pls tell about using web service by using ksoap in android -- 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] Market alternatives

2010-09-06 Thread mort
Hi, it seems like the number of alternative markets is exploding recently. Every other week I seem to get another invitation. Even in Germany, which is one of the few countries where you can pay and receive payments, (at least?) three big alternative markets were opened within the last few

Re: [android-developers] ClassNotFoundException crash reports from Market

2010-09-06 Thread Tauno Talimaa
What your app do? Is it calling any other application for example? If so, ensure you do try/catch around startActivity() - users' device may not have it at all. No, I don't start any external activities. -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: How does Android determine whether to move the layout up when showing the softkeyboard?

2010-09-06 Thread Mathias Lin
Interestingly though: when I set my ListView visibility to View.INVISIBLE in my first activity, then the layout doesn not get moved up anymore! This is my layout/xml: 1) http://pastebin.com/5zzVxjbK ListView where layouts is been moved up by the softkeyboard 2) http://pastebin.com/KFtPuHvP

[android-developers] Re: Market alternatives

2010-09-06 Thread Yahel
My small experience on the matters tells me : It's not worth the trouble :s Posted my app on six or seven alternative stores last week, all different forms, legals, terms, shapes : A good 10 downloads peek from it(all combined) :D This morning, posted an update on the Android Market : 600

[android-developers] Re: Killi Process with files on SD card

2010-09-06 Thread redehm
I am experiencing something similar, except on a sporadic basis. For the most part, my application, on receipt of an ACTION_MEDIA_EJECT event, is able to close files and return before the reaper arrives to clean-up. However, sometimes, when the application is writing data to one of the files,

[android-developers] Recommendation for an Application with tons of media files

2010-09-06 Thread Sebastián Treu
Hi all, What will be the best storage choice for an application with huge amount of mb in media? The application will not be in android market. First choice was to use assets/ folder. At least, 160MB of audio is shipped with the application. When I moved all the media to the assets/ folder, I

Re: [android-developers] Re: Bug in minSdkVersion or what?

2010-09-06 Thread Adal
That's right. On Mon, Sep 6, 2010 at 4:54 AM, Dianne Hackborn hack...@android.com wrote: the Tattoo (which I think doesn't have an auto-focus camera... though of course I may be wrong). -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] Re: How to have a ContextMenu on a GLSurfaceView :?

2010-09-06 Thread Thomas Wrobel
Thanks I got it sorted now :) I knew how to create a menu, but I thought I could just create a menu on another view in order to have it view-specific. I didn't spot I could just get the parameter of the view that triggered it. Cheers, On 6 September 2010 14:02, Miguel Morales

[android-developers] My app gets killed because of android.process.media getting killed by OS

2010-09-06 Thread tony obrien
Hi, I have seen one reference to this sort of problem where a MAIN app dies because ::: because provider com.android.providers.media.MediaProvider is in dying process android.process.media In that reference the implication was that if you held a CURSOR too long this could happen. I am not

[android-developers] CPU usage stats

2010-09-06 Thread Andy
Hi everyone, Does anyone know of a direct api that allows access to CPU usage statistics for different applications/tasks running inside android? All I can find is data available by accessing a file /proc/stat but this seems a little cumbersome. ActivityManager holds data about processes/tasks

[android-developers] Re: CPU usage stats

2010-09-06 Thread Maps.Huge.Info (Maps API Guru)
If you want to do it from the shell, just use top. -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] Re: Wrong format from String.format()

2010-09-06 Thread greg
Did you want the 1$ and 2$ inside the field width specifications? On Sep 6, 3:27 am, GPU gopuraj...@gmail.com wrote: Hi , passing two int values m =0 s = 11, to below function String formatted = String.format(%1$02d:%2$02d, m, s); returning the value like   .0:11 ,What could be the problem  

[android-developers] Re: CPU usage stats

2010-09-06 Thread Andy
Thats great thanks but I want to access these stats from inside a running Activity...just wondered if there was a direct api to use. Regards, Andy On Sep 6, 5:02 pm, Maps.Huge.Info (Maps API Guru) cor...@gmail.com wrote: If you want to do it from the shell, just use top. -John Coryat --

Re: [android-developers] Recommendation for an Application with tons of media files

2010-09-06 Thread Frank Weiss
I was thinking in using the sd card storage. That's a good idea. But, I don't want the user to accidentally remove the media files. I want it to be private, not accesible to possible deletions. How might a user accidently remove them? Why is this a concern? -- You received this message

[android-developers] Re: Market alternatives

2010-09-06 Thread ThomasWrobel
I love the fact theres loads of markets. While yes, it is, more work for the developer to submit too, its far better in the long run for the consumers and the whole android ecosystem. Markets can experiment with different layouts, styles, ratings, and specialties. This is only just starting

Re: [android-developers] Re: CPU usage stats

2010-09-06 Thread Frank Weiss
Not in the SDK. I suppose because most uses of this is by developers who can simply use adb or ddms. -- 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

Re: [android-developers] Re: Killi Process with files on SD card

2010-09-06 Thread Frank Weiss
Can this data be written sooner rather than later? Can you put it or part of it in SQLite, where it's quicker to update just a part of a large data model? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: android design pattern

2010-09-06 Thread Frank Weiss
Three lines of boiler plate. Not sure if I'd bother refactoring that! But anyways... You might have issues using the Activity subclass pattern becasue you can't do that with existing patterns. Here's another approach. In your home activity, or in a Global class, add a static method: public

Re: [android-developers] Re: android design pattern

2010-09-06 Thread Frank Weiss
Correction: ...with exisiting *activities* such as MapActivity, TabActivity, ListActivity. -- 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

[android-developers] ListView OnItemClickListener not working

2010-09-06 Thread Gabriel Simões
Hello guys After a long time away, got back to coding on this brazilian independency holiday. What I´m trying to do is to create a list (using a listview) of items (which are views inflated from the same layout) what must be clickable. At first I thought that all I had to do was to add an

[android-developers] Re: Android with Flash cs5: I have a problem about permissions

2010-09-06 Thread Italian-android
Sure, but with flash I can work for develop android applications. BUt it's ok, I'll look to Adobe too. Thank you On 6 Set, 11:44, Mark Murphy mmur...@commonsware.com wrote: On Mon, Sep 6, 2010 at 5:37 AM, Italian-android maxloveg...@gmail.com wrote: Pls I need help about this but anyone is

[android-developers] OpenGL - 3D rotation from a 2D input

2010-09-06 Thread Thiago Lopes Rosa
Hi, I have a cube on the center of the screen and the user can rotate it using the touchscreen. The problem: For example, when I rotate the cube 180 degrees (vertical), the horizontal rotation gets inverted (i mean, when moving right the cube rotates left and vice-versa). The issue is that I'm

[android-developers] Re: Two buttons side by side to fill width of screen?

2010-09-06 Thread OldSkoolMark
Consider LinearLayout. You can use layout_weight to achieve proportional sizing. On Sep 6, 12:26 am, Droid rod...@gmail.com wrote: I have 2 buttons side by side in RelativeLayout (170dip each) but in landscape view, they are too narrow - I want to increase their widths automatically for

Re: [android-developers] Recommendation for an Application with tons of media files

2010-09-06 Thread Filip Havlicek
Hi Sebastián, 160MB is a lot of data, I think it is a must to save that much to SD card (I'm not sure how much is the common internal phone storage, but I wouldn't be surprised if it would be around 256MB in common cases). Although I have to disappoint you, I think there is no way to prevent

[android-developers] Re: Permission checked at install time, but what happens if the permission user is installed before the permission definer?

2010-09-06 Thread shomari
The signature permission is a VERY helpful bit of info. I had officially given up on using any inter-app security on Android as NOT being a viable option for a quality user experience. However, moving forward it appears this issue will become less of an issue (at least for apps signed with the

[android-developers] Re: android design pattern

2010-09-06 Thread claesh
Actually, you only need one line of code. But for clarity(?) you could add a helper method either as a static method or extend Activity as Kumar suggested. fromActivity.startActivity(new Intent().setClass(fromActivity, Main_Form.class)); -- You received this message because you are subscribed

  1   2   >