[android-developers] Re: Device Seeding Program for Top Android Market Developers

2010-03-07 Thread Evil Mushroom Lord
I got my confirmation email Friday--- I guess I'll be happy with whichever phone I get. I still have my g1... :P -- 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

[android-developers] Drawings of View.onDraw() sometimes not shown when canvas was rotated

2010-03-07 Thread axel
I have create a subclass of View and overwritten onDraw() - see some test code below. It draws a line consisting of some points. Before the line is drawn the canvas is rotated and restore after the drawing. The angle by which the canvas is rotated increases by 5 degrees every time onDraw() is

[android-developers] The life cycle of a static

2010-03-07 Thread westmeadboy
When starting a new Activity, I want to pass a complex object and do so by using this approach: MyActivity.COMPLEX_OBJ = myComplexObj; // which is definitely NOT NULL! Intent intent = new Intent(); intent.setClass(this, MyActivity.class); startActivity(intent); and then in MyActivity: @Override

[android-developers] Re: What to do about developers who publish games with the same name as what you have published...

2010-03-07 Thread Yahel
Hi Justin, Well that guy sure is prolific : He has more than 50 apps on the market. Anyhow, you can just report him to google, maybe open a bug issue for the duplicate name in the market. Not only is he breaking the android market place TOS, but also Adsense TOS : His apps shows ads from the

[android-developers] About using Hierarchy Viewer

2010-03-07 Thread Mycall
Hi all. When I was using Hierarchy Viewer to check views of basic emulator, there was no problem and I can normally find all views in the emulator. But when I was using real device ( HTC Nexus one ) , I couldn't see focus window in the Hierarchy Viewer. Do you have any idea for these issues.?

[android-developers] Re: cannot see attached Droid on Windows 7 or Windows XP

2010-03-07 Thread mah
I just went through a similar experience. In my case, I was using a computer that had reliably attached to several different Nexus One's previously, but two different Droids failed to be seen by ADB -- even though the devices enumerated properly (showed up in the device manager as Android devices)

[android-developers] How to make sure an Android App works on most smartphones?

2010-03-07 Thread Maxood
How can i make sure that my android app works on majority of the devices in the market. What testing tools do i have to use? Obviously if there are 12 or more smartphones in the market then i cannot buy each of them to test my app.So what should i do? Wonder if Dvice

[android-developers] Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-07 Thread Streets Of Boston
I am reviving this thread again... http://groups.google.com/group/android-developers/browse_frm/thread/6ce3f666d4a64bd5/e22a089fd7fcfb50 I have tried Marco's suggestion, but it doesn't work. It seems the broadcast is not ordered and canceling/aborting it has no effect. This causes for both my and

[android-developers] Accessing input method completions

2010-03-07 Thread deg
I need to offer the user an EditText with some extra completion choices. MultiAutoCompleteTextView does almost everything I want, but it offers the user only the choices from my Adapter. I want the completion choices to include the entries I've added, and also the standard completions offered by

[android-developers] Complex tab indicators

2010-03-07 Thread Petroleum Nasby
I have a TabHost that requires indicators more complex than a simple string label (the tab itself, not the contents of the tab). There is no graphics involved, just font size and layout of text. The documentation suggests I may call the setIndicator method with a View instead of a CharSequence,

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
I have Photoshop.com 1.1.0 (build 3) installed on my T-Mobile G1, Android 1.6 phone. When trying to use the described intent, no application was found to handle it. ActivityNotFoundException No Activity found to handle Intent { act=android.intent.action.EDIT dat =

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Mark Murphy
ryan_f wrote: I have Photoshop.com 1.1.0 (build 3) installed on my T-Mobile G1, Android 1.6 phone. When trying to use the described intent, no application was found to handle it. ActivityNotFoundException No Activity found to handle Intent { act=android.intent.action.EDIT dat =

[android-developers] Re: Conventions about using SD card

2010-03-07 Thread westmeadboy
I noticed a few apps use the convention: External Storage Location/Android/data/package name For example, Google Earth places its cache on my Nexus One at /sdcard/ Android/data/com.google.earth Is this is a good standard to follow? It would be really good if there were at least some guidelines

[android-developers] ListView, SimpleAdapter and Bitmaps - bug ?

2010-03-07 Thread Marco Alexander Schmitz
Hi, I got my ListView which shows one ImageView and two TextViews in every row. Now I want to load the images NOT from my ressources (as in many examples) but from the internet. Somehow this doesnt work with the SimpleAdapter. Is this a bug? Here comes my code:

[android-developers] Re: Activity lifecycle problem on Nexus One - onStop not called

2010-03-07 Thread skyhigh
Very few of my activities used onStart and onStop until recently when I instrumented my application with Flurry Analytics. If you follow the Flurry instrumentation instructions then you add calls to notify Flurry about your application activity in the onStart and onStop methods for every one of

[android-developers] detect launch of a built in app from a background service or another app

2010-03-07 Thread ExtDev
Hi all, I want to create an app or background service that just listens for the launch of a 'default' app, say Contacts or the built-in Gmail app. If the contact app is clicked, I want to transfer control to my app temporarily (e.g. present a Yes/No popup to the user by launching a simple

[android-developers] using tokens obatined from AccountManagerFuture / getAuthToken with AuthSub proxy authentication

2010-03-07 Thread bsdz
Hi I am trying out the new AccountManager class and would like to use a token obtained like so: - AccountManager am = AccountManager.get(this.getBaseContext()); Account[] accounts = am.getAccountsByType(com.google); if (accounts.length 0) { AccountManagerFutureBundle accountManagerFuture =

[android-developers] Error: expected: START_TAG

2010-03-07 Thread Philip De Smedt
Hey, I'm getting this error when trying to send a SOAP message to a web service on Google App Engine.. expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/} Envelope (position: START_TAG definitions name='BlogSearch' targetNamespace='http://www.tbs.be/mgf/definitions'@9:47 in

[android-developers] Help get me started

2010-03-07 Thread Burkey
Hello, I am completely new to the JAVA language. I have Eclipse installed with Android tools. I have a heavy amount of experience in JASS, so I understand the whole scheme of game making with coding. Any suggestions on reading materials that will get me started? I have no clue where to start --

[android-developers] Re: AsyncTask and passing message back to UI Thread

2010-03-07 Thread John Wesonga
I figured something out which I thought would work, within my LoginTask class I created an object which was of the parent activity: Test101 mParentActivity; and then: protected void onPostExecute(String result) { Intent i=new Intent(ctx,SillyActivity.class);

[android-developers] Can´t create an AudioRecorder object

2010-03-07 Thread Gabriel Simões
First off, thank you for you attention and your help! I´ve been trying to create a simple application to learn how android handles audio streams for computer music and digital audio processing applications. Before I start coding I´ve read a lot of material (threads and tutorials) about

[android-developers] Switching views with RadioButton and saving views in Bundle

2010-03-07 Thread ThemePark
I have the following XML code: ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=fill_parent RadioGroup android:orientation=horizontal

[android-developers] Drawing and playing video on the same SurfaceView

2010-03-07 Thread Alvaro Villoria Saez
Hi all! We are developing a graphic adventure engine for Android , and we are not being able to draw and play video on the same Activity . We are currently using a SurfaceView to draw the games , and it would be great to play videos on that surfaceView .. * We tried changing SurfaceHolders

Re: [android-developers] Switching views with RadioButton and saving views in Bundle

2010-03-07 Thread Mark Murphy
ThemePark wrote: The idea is to change the views, whenever I press one of the radio buttons. When I press a button the first time everything works out fine, but the second time I press a button, I get an IllegalStateException, and I can't quite see why I'm getting this. The full Java stack

Re: [android-developers] Help get me started

2010-03-07 Thread Mark Murphy
Burkey wrote: Hello, I am completely new to the JAVA language. I have Eclipse installed with Android tools. I have a heavy amount of experience in JASS, so I understand the whole scheme of game making with coding. Any suggestions on reading materials that will get me started? I have no clue

[android-developers] Re: Can´t create an AudioRecor der object

2010-03-07 Thread HeHe
what is the value of the variable SAMPLE_RATE? On Mar 6, 7:15 pm, Gabriel Simões gsim...@gmail.com wrote: First off, thank you for you attention and your help! I´ve been trying to create a simple application to learn how android handles audio streams for computer music and digital audio

Re: [android-developers] Help get me started

2010-03-07 Thread chris harper
I agree with Mark you need to learn the language first instead of jumping into the deep end of the pool. -Chris On Sat, Mar 6, 2010 at 8:09 PM, Burkey burk...@gmail.com wrote: Hello, I am completely new to the JAVA language. I have Eclipse installed with Android tools. I have a heavy amount

Re: [android-developers] Is it possible to have 3G and Wifi connections at the same time?

2010-03-07 Thread Donal Rafferty
Thanks, much appreciated On Fri, Mar 5, 2010 at 5:46 PM, Mark Murphy mmur...@commonsware.com wrote: Donal Rafferty wrote: Not even with the NDK? The NDK has very little formal access to Android internals and certainly cannot rewrite them. Now, with firmware changes, it is at least

[android-developers] Re: About using Hierarchy Viewer

2010-03-07 Thread Lance Nanek
http://groups.google.com/group/android-developers/msg/2dbd4dcf7280607b On Mar 7, 6:13 am, Mycall ahndr...@naver.com wrote: Hi all. When I was using Hierarchy Viewer to check views of basic emulator, there was no problem and I can normally find all views in the emulator. But when I was

Re: [android-developers] How to make sure an Android App works on most smartphones?

2010-03-07 Thread chris harper
Great question. I have had the same concern as I am going to launch my first app in about 3 months which I have worked very hard on. To test before release I don't know. I have the same questions. After release someone did point me to this which I am incorporating into my app:

Re: [android-developers] How to make sure an Android App works on most smartphones?

2010-03-07 Thread chris harper
Actually I just checked out your link Maxood. It seems like a good solution and they have a special service for Android developers. https://www.deviceanywhere.com/Independent%20Developer/Independent%20Developer_virtual_developer_lab.html I might do the free trial. Thank you On Sun, Mar 7,

[android-developers] Re: Ensuring that the IME show/hide results in a call to View.onSizeChanged()?

2010-03-07 Thread jamesc
Turns out the issue is with the combination flags set on the Window (FLAG_FULLSCREEN and SOFT_INPUT_ADJUST_RESIZE or adjustResize in the manifest). See: http://groups.google.com/group/android-developers/browse_thread/thread/4f5f779d58170d20 And a defect raised here:

[android-developers] Re: Can´t create an AudioRecor der object

2010-03-07 Thread Gabriel Simões
8000 On 7 mar, 14:15, HeHe cnm...@gmail.com wrote: what is the value of the variable SAMPLE_RATE? On Mar 6, 7:15 pm, Gabriel Simões gsim...@gmail.com wrote: First off, thank you for you attention and your help! I´ve been trying to create a simple application to learn how android

[android-developers] Re: Can´t create an AudioRecor der object

2010-03-07 Thread Gabriel Simões
SAMPLE_RATE = 8000; On 7 mar, 14:15, HeHe cnm...@gmail.com wrote: what is the value of the variable SAMPLE_RATE? On Mar 6, 7:15 pm, Gabriel Simões gsim...@gmail.com wrote: First off, thank you for you attention and your help! I´ve been trying to create a simple application to learn how

[android-developers] don't panic in case you see exception java.net.SocketException: The socket level is invalid....

2010-03-07 Thread HeHe
just found this and would like to share my fix with you folks in case you run into the exception: if your app sees the exception: java.net.SocketException: The socket level is invalid dont be panic. it occurs when ip of your phone has changed and your app sends packets via a socket which is

[android-developers] Re: Complex tab indicators

2010-03-07 Thread Lance Nanek
Isn't that just done by specifying different values for different states? Just like you would for a custom button? Doesn't look very difficult in the source:

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Streets Of Boston
Try a 'content:' Uri instead of a 'file:' Uri. On Mar 7, 9:38 am, ryan_f bluebaracu...@gmail.com wrote: I have Photoshop.com 1.1.0 (build 3) installed on my T-Mobile G1, Android 1.6 phone.  When trying to use the described intent, no application was found to handle it.

[android-developers] progressdialog over context menu

2010-03-07 Thread Dan
I have a context menu option that, when clicked, will load some information from the web and insert it into a database. So this is a lengthy process and I would like to display a progressdialog over the top of the context menu when this option is selected. I've got the progressdialog running

[android-developers] Change how ListView looks, Roller

2010-03-07 Thread Matthew Patience
I am trying to create a roller so that the user can select the amount of money they'd like to bet. So I created a list view and then put a transparent png over top of it to make it look like a little more fancy. Although it seems when I put the png over top of the listview I can longer see the

[android-developers] Re: Advice please

2010-03-07 Thread Bob Kerns
I'd suggest using a trie, if the data is static, or mostly static. (If you need to add additional words, you can stick them in a splay tree). It's fast, it's simple. It can be constructed in a way that it can be encoded as a byte array, and relevant portions read from a file, rather than loading

[android-developers] Re: Programmatically Create/Destroy AppWidgets

2010-03-07 Thread ik
Here is an example to create a button : [code] public class Main extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); LinearLayout layout = new

Re: [android-developers] progressdialog over context menu

2010-03-07 Thread Mark Murphy
Dan wrote: I have a context menu option that, when clicked, will load some information from the web and insert it into a database. So this is a lengthy process and I would like to display a progressdialog over the top of the context menu when this option is selected. I've got the

[android-developers] Re: Multi-device control with ADB

2010-03-07 Thread ik
What is the answer of command adb devices ? ik -- 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] Re: Programmatically Create/Destroy AppWidgets

2010-03-07 Thread Mark Murphy
ik wrote: Here is an example to create a button : The OP asked about app widgets (a.k.a., home screen widgets), not widgets for use in activities. Is it possible to programmatically create and/or destroy AppWidgets? No. Users have to add and remove app widgets. -- Mark Murphy (a Commons

[android-developers] External keyboard

2010-03-07 Thread Bill Michaelson
I'd like to use an external keyboard. I have a Freedom Pro Bluetooth keyboard that can send keystroke info to Android applications. I am supposing that I can use InputMethodManager and associated framework to accomplish this, but I'm unsure whether it will be effective and useful. In

[android-developers] Re: having trouble to use network speed emulation in android emulator

2010-03-07 Thread Gen
I tried it on another machine, even tried to compile it from source code myself, still no luck. yeah, I could use something like tc or trickle to limit the speed, but what i really need to do is to dynamically change the speed limitation based on the current bandwidth utilization (to simulate the

[android-developers] DatePicket widget help

2010-03-07 Thread sunny
Hi All, Can someone guide me on datePicker widget. I want to reduce the dimensions of it within my relative layout. The goal is to reduce the size of its frame along with its child widgets such as the day, month and year. How can do it. I would greatly appreciate your quick response and wisdom

Re: [android-developers] Re: Complex tab indicators

2010-03-07 Thread Petroleum Nasby
Isn't that just done by specifying different values for different states? Just like you would for a custom button? Doesn't look very difficult in the source:

[android-developers] any ideas about how to lunch the Account and sync settings screen from within my app main activity

2010-03-07 Thread ghost faithfull
hi all any ideas about how to lunch the Account and sync settings screen from within my app main activity rgds -- 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

Re: [android-developers] any ideas about how to lunch the Account and sync settings screen from within my app main activity

2010-03-07 Thread Mark Murphy
ghost faithfull wrote: any ideas about how to lunch the Account and sync settings screen from within my app main activity Try: startActivity(new Intent(android.provider.Settings.ACTION_SYNC_SETTINGS)); -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy

[android-developers] Re: How to launch Activity from browser?

2010-03-07 Thread ailinykh
Thank you, Mark! I tried to do it. It works... Almost. I created simple html file: html body a href=http://myhost/mypath?var1=val1;My Link http/a p p a href=myapp://myhost/mypath?var1=val1My Link myapp/a /body /html If I open this file in browser and click on second link my Activity pops up.

[android-developers] Scheduling restart of crashed service, but no call to onStart() follows

2010-03-07 Thread kostmo
In the 1.6 API, is there a way to ensure that the onStart() method of a Service is called after the service is killed due to memory pressure? -- 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] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Moto
I'm trying to figure out in every possible way how to target this leak that specifically happens when I registerCallback to my service aidl callback class. I even tried commenting out the callback register on the callback and I still get the leak! /** * The IRemoteInterface is defined

[android-developers] Re: About using Hierarchy Viewer

2010-03-07 Thread Mycall
Dear Lance Thanks for your response. And I really want to know why HierarchyViewer does not work with production devices. It is due to build mode like build - user.? Do you have any idea.? HierarchyViewer does not work with production devices. If adb shell getprop ro.secure prints out 1, then

Re: [android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Mark Murphy
Moto wrote: I'm trying to figure out in every possible way how to target this leak that specifically happens when I registerCallback to my service aidl callback class. I even tried commenting out the callback register on the callback and I still get the leak! /** * The

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
Try an actual image type (e.g., image/png) instead of image/*... I started with this approach and it didn't work. However, see below. Also, if aFile is not on the SD card, the Photoshop app may not have the rights to access it. aFile is most definitely on the SD card and the world has public

Re: [android-developers] any ideas about how to lunch the Account and sync settings screen from within my app main activity

2010-03-07 Thread ghost faithfull
thanks mark it works On Sun, Mar 7, 2010 at 11:17 PM, Mark Murphy mmur...@commonsware.comwrote: ghost faithfull wrote: any ideas about how to lunch the Account and sync settings screen from within my app main activity Try: startActivity(new

[android-developers] Re: About using Hierarchy Viewer

2010-03-07 Thread Lance Nanek
No idea. I do recall someone mentioning in another thread that it does work on some phones that are rooted, however. So maybe something to do with that. On Mar 7, 7:07 pm, Mycall ahndr...@naver.com wrote: Dear Lance Thanks for your response. And I really want to know why HierarchyViewer does

Re: [android-developers] Re: About using Hierarchy Viewer

2010-03-07 Thread Romain Guy
HierarchyViewer does not work on user builds (i.e. with devices available in stores.) This is for security reasons. If HiearchyViewer was able to work on user builds, any application on your desktop (or even on the phone in some cases) could potentially get access to private information (like

[android-developers] DDMS on windows stop detecting Emulator after sometime

2010-03-07 Thread havexz
Hi Is anyone facing the problem of DDMS stop detecting the Emulator. Here is the full use case. I run Eclipse on Windows and then I run Emulator. Then i run my app. For a while everything looks and works good. Then after some time the DDMS stop showing Emulator in the list even though the

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Streets Of Boston
I agree that it should work on any (local) Uri, file: and content: But i think they somehow need to tie it to the MediaStore content- provider. And this makes sense, because content-providers are the main mechanism with which data is shared amongst the applications. This means, that if you have

[android-developers] mpg123's Assembly Code With the NDK

2010-03-07 Thread David R.
In my continuing quest to slow down or speed up MP3s without altering the pitch, I came across mpg123. I am now at the point where I can compile and run using the libraries, and I get decoded MP3s. (Hooray!) Unfortunately, I'm at about 0.45x real-time on a G1, which isn't fast enough. One guy

[android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Moto
Hi Mark, Thanks for the reply... Ok, I'm calming down... :P I was able to determine via DDMS that after a few screen rotations the allocated size would increase until my application would crash with an out of memory exception. Also the number of Objects are increasing after every screen

[android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Moto
public void onServiceConnected(ComponentName name, IBinder service) { // Get Connected the the IDL mRemoteInterface = IRemoteService.Stub.asInterface(service); if (null != mRemoteInterface) { // Register Callbacks try { mRemoteInterface.registerCallback(mServiceCallback);

[android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Moto
public void onServiceConnected(ComponentName name, IBinder service) { // Get Connected the the IDL mRemoteInterface = IRemoteService.Stub.asInterface(service); if (null != mRemoteInterface) { // Register Callbacks try { mRemoteInterface.registerCallback(mServiceCallback);

Re: [android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Mark Murphy
Moto wrote: My activity connects to a Service, and after I get connected I register my callback function IRemoteServiceCallback. If I exclude this call from my application I resolve the memory leak. Note that I do unregister the service callback funtion. When do you unregister the service

[android-developers] Re: About using Hierarchy Viewer

2010-03-07 Thread Mycall
Thanks for your help. That will be very helpful for me. Have a good day.! On 3월8일, 오전10시25분, Romain Guy romain...@android.com wrote: HierarchyViewer does not work on user builds (i.e. with devices available in stores.) This is for security reasons. If HiearchyViewer was able to work on user

[android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Moto
I start the service at onStart() and stop it at onStop() // This is how I connect // Start Service this.startService(i); // connect to service this.bindService( i, this, Context.BIND_AUTO_CREATE); On Mar 7, 9:13 pm, Mark Murphy mmur...@commonsware.com wrote: Moto wrote: My activity

[android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Moto
And I'm using Android 1.6 testing on an actual G1 device. On Mar 7, 9:29 pm, Moto medicalsou...@gmail.com wrote: I start the service at onStart() and stop it at onStop() // This is how I connect // Start Service this.startService(i); // connect to service this.bindService( i, this,

Re: [android-developers] DDMS on windows stop detecting Emulator after sometime

2010-03-07 Thread Greg Donald
On Sun, Mar 7, 2010 at 7:32 PM, havexz bali.param...@gmail.com wrote: Is anyone facing the problem of DDMS stop detecting the Emulator. Yes, it's Java, it's buggy.. just restart the emulator or ddms or both. -- Greg Donald destiney.com | gregdonald.com -- You received this message because

Re: [android-developers] Re: registerCallback leaks memory?! Help?

2010-03-07 Thread Mark Murphy
Moto wrote: I start the service at onStart() and stop it at onStop() // This is how I connect // Start Service this.startService(i); // connect to service this.bindService( i, this, Context.BIND_AUTO_CREATE); You do not need to call both startService() and bindService(). The

[android-developers] Re: DDMS on windows stop detecting Emulator after sometime

2010-03-07 Thread havexz
I do that but that is really annoying ...if i m working for one hour i have to do that for 5-6 times. And booting emulator takes 2-3 mins which in itself annoying...:-/ On Mar 7, 8:38 pm, Greg Donald gdon...@gmail.com wrote: On Sun, Mar 7, 2010 at 7:32 PM, havexz bali.param...@gmail.com

[android-developers] About applying theme over application wide

2010-03-07 Thread Mycall
Hi all. I want to apply theme over setting application wide. So I implemented below code but there was no effect. Please give me help. 1. AndroidMenifest.xml application android:label=@string/settings_label android:icon=@drawable/ic_launcher_settings

Re: [android-developers] Re: DDMS on windows stop detecting Emulator after sometime

2010-03-07 Thread Greg Donald
On Sun, Mar 7, 2010 at 8:55 PM, havexz bali.param...@gmail.com wrote: I do that but that is really annoying ...if i m working for one hour i have to do that for 5-6 times. And booting emulator takes 2-3 mins which in itself annoying...:-/ I agree. I find starting the emulator from the

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
But i think that the Photoshop.com intent is designed with the idea that another app queries the *content-provider* for images (not the file-system) If your app is a file browser/manager and the user wants to open a file to edit instead of view means you only have the file in which to work.

[android-developers] Re: qtrace.insn

2010-03-07 Thread Ganesh V
Okie, I found out that trace_reader.cpp has the c++ implemention of trace reader. I was able to use it to read in the traces... Still working on interesting stats out of it... any ideas? Basically, I just want to be able to analyze the data to be able to tell the hot spots in any application, the

[android-developers] Re: Webview textbox and keypad

2010-03-07 Thread Farha Ansari
Is your WebView in a ScrollView? It is due to the keypad. Check out this link, this might give you an idea about what is happening :- http://developer.android.com/resources/articles/on-screen-inputs.html Hope it helps. On Mar 5, 11:10 pm, nikhil nik...@gmail.com wrote: Any idea people? On Mar

[android-developers] Re: DDMS on windows stop detecting Emulator after sometime

2010-03-07 Thread havexz
Thanks for the suggestion but someone has to fix this.. @Greg BTW for you is this problem for all Emulators (1.6, 2.1 etc). I have only tried 1.6. Do you know any special command to load Emulator fast or it just that launching from command line is faster than eclipse? On Mar 7, 9:23 pm, Greg

[android-developers] Re: Rotation event handling

2010-03-07 Thread Farha Ansari
Hi, you can add these lines in AndroidManifest.xml, activity android:name=.YourActivityName android:configChanges=orientation and then in your activity, override this method:- @Override public void onConfigurationChanged(Configuration newConfig) { if

[android-developers] Widget setOnClickPendingIntent not working

2010-03-07 Thread Kasra Rahjerdi
Hello, I have a simple widget and I'm trying to pop up another activity when it's clicked. My widget is not focusable or clickable even though in the XML layout I explicity set it to be and when my widget is clicked nothing happens. My manifest has: receiver android:name=.WidgetConfigurator

[android-developers] Screen freezing after 3 end key press in unlocked state

2010-03-07 Thread ani
After the animating logic implemented in powermanagerservice.java file this issue is observed. Problem: In unlocked state(no call guard screen) press three time end key. Sceen is getting freezed i.e phone is not accepting any touch events.Screen is getting blurred and lines are getting shown.Keep

[android-developers] Re: Supress the native In Call Screen and replace with 3rd party?

2010-03-07 Thread saru
Man you cant never do it as android is very much closed. Feom my knowledge I can say no one can suppress android outgoing call screen and Incoming call screen till today.God knows whether android open their their telephony API so that developer can make great software!! I am sure someone

[android-developers] Re: Screen freezing after 3 end key press in unlocked state

2010-03-07 Thread ani
Forgot to mention.End key should be pressed very fast i.e there should be very less time b/w end key presses. -- 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

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Frank Weiss
Correct me if I'm wrong, but wouldn't an inter-activity file intent fail due to Android's file system sandboxing model? If so, then you'll need to add a provider to let the PS activity get the content. On Sun, Mar 7, 2010 at 7:36 PM, ryan_f bluebaracu...@gmail.com wrote: But i think that the

Re: [android-developers] mpg123's Assembly Code With the NDK

2010-03-07 Thread Alessandro Pellizzari
Il giorno dom, 07/03/2010 alle 17.39 -0800, David R. ha scritto: In my continuing quest to slow down or speed up MP3s without altering the pitch, I came across mpg123. I am now at the point where I can compile and run using the libraries, and I get decoded MP3s. (Hooray!) Unfortunately, I'm

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
Correct me if I'm wrong, but wouldn't an inter-activity file intent fail due to Android's file system sandboxing model? For files that are private to the app, you would be correct. People can remove the SD card from the phone and plug it into a laptop/ desktop and download a bunch of content

Re: [android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread Frank Weiss
@ryan_f Thanks for the clarification. You taught me something new. Hope it helps the OP. One question: When you remove the SD card and read it externally, are all Android app's data accessable? Sounds like a security hole. On Sun, Mar 7, 2010 at 10:01 PM, ryan_f bluebaracu...@gmail.com wrote:

[android-developers] Re: Two processes are created on first running of my application?

2010-03-07 Thread pink 444
Thanks for your replay. Is the the output of adb shell ps with no flags? yes. What does your test do? It has some activities and a service with socket to send and receive data. Why does my application trying to create another instance of the same? On Mar 6, 1:37 am, fadden

Re: [android-developers] Wrap title of activity with dialog theme?

2010-03-07 Thread Frank Weiss
I suppose the issue may be that if the title could wrap, at how many wrapped lines would it obscure the dialog itself? On Sat, Mar 6, 2010 at 12:09 AM, Mark Wyszomierski mar...@gmail.com wrote: Hi all, I have an activity with the dialog theme applied to it. I am setting the dialog title, but

[android-developers] using internal class that is not shipped with android SDK

2010-03-07 Thread saru
Hey I am very much interested and also needed to use an internal class which is not shipped with android sdk. the class is com.android.internal.telephony.Phone. Please if u guys have any idea about how ti use internal class then please let me know. -- You received this message because you

Re: [android-developers] How to detect when android kill my process?

2010-03-07 Thread Frank Weiss
You might want to rethink the question. What's the last chance your application has to save its state before being killed? On Thu, Mar 4, 2010 at 3:17 AM, miguelo miguel...@gmail.com wrote: Hi, I have a problem when android decides to kill my process, because when it is restored, it crashs

[android-developers] Re: The life cycle of a static

2010-03-07 Thread Farproc
I thought if I set a static field then that will stay set as long as the VM is alive. I agree with you. But you can't make such an assumption that MyActivity.onCreate() will be always executed in the same VM process as MyActivity.COMPLEX_OBJ = myComplexObj; // which is definitely NOT . The

Re: [android-developers] using internal class that is not shipped with android SDK

2010-03-07 Thread Romain Guy
Hi, Don't use private APIs as these may and will change from one version of Android to another (or even from one phone to another phone). This will only make your app break. On Sun, Mar 7, 2010 at 10:28 PM, saru sarucs...@gmail.com wrote: Hey I am very much interested  and also needed to use an

Re: [android-developers] Re: HTML parsing with JAVA

2010-03-07 Thread Frank Weiss
You might try nekohtml, which several developers have reported success using on Android. On Thu, Mar 4, 2010 at 2:13 AM, Beena swdeveloper2...@gmail.com wrote: Thanks Sean Hodges for reply, Please tell me which jar file I have to use to parse the html? I have used log4j-api-1.2.15.jar and

[android-developers] Re: how to avoid running of multiple process

2010-03-07 Thread Anzi
Any help ? On Mar 3, 8:54 pm, Anzi anji...@gmail.com wrote: Hi, I facing problem with multiple process running for my application. Can any one help me to avoid creating multiple process or restricting process creation to one. Some times I am seeing two process instances of my package in

[android-developers] Re: Photoshop.com Mobile editor now available as an Intent

2010-03-07 Thread ryan_f
@Frank Weiss - I do not believe so. I have not run any personal tests, but I have not seen any data I have not put there either. Nor have I compared file space to see if there's any missing. So I believe the permissions are still set and therefore private files are still unreadable even

[android-developers] Re: How to end the Application?

2010-03-07 Thread Farproc
try { System.exit(0); } catch (SecurityException e) { } On Mar 4, 7:29 pm, vinoth vinothso...@gmail.com wrote: How to exit from the whole application.?(Not from the Activity) -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Which is the bestAndroid Devs Device?

2010-03-07 Thread Maxood
On Mar 5, 3:55 am, Jalal jalalso...@gmail.com wrote: Hello everyone, I'm developing an Android application in my school department. We are interested in purchasing a Developer Device to have more testing capabilities than the Android emulatior has offer. Which one supports the largest

[android-developers] MultiScreen Support in Android?

2010-03-07 Thread javame_android
Hi, I want to support most of the Android Devices for the application. The problem that I am facing is the positioning of the EditText fields. The User Interface gets displayed properly in HVGA Emulator but not in WVGA emulator. The HVGA emulator is 320 * 480 screen resolution and the WVGA is 480

[android-developers] Stopped unexpectedly on a real phone but not on the simulator

2010-03-07 Thread CMF
Hi all, I have an MapView app downloaded from internet, when I tested it on the simulator, everything is fine, but when I installed it on my phone, the app stopped unexpectedly. Here is the code public class CurrentLocationWithMap extends MapActivity { MapView map; MapController

  1   2   >