[android-developers] Re: My application has died when I started to use Browser

2009-10-13 Thread Ranjith
i am not using service I am just creating a Thread only On Oct 14, 1:52 am, Marco Nelissen wrote: > On Tue, Oct 13, 2009 at 4:05 AM, newra...@gmail.com > wrote: > > > My application is background application.It uses WIFI lock and > > INTERNET permission. It is doing some socket communi

[android-developers] Android Software Engineer - 15.000 PLN / m-c

2009-10-13 Thread Tomasz Mazur
Naszym klientem jest firma o światowej renomie w zakresie dostarczania aplikacji mobilnych. Dwa główne obszary działalności naszego klienta, to: rozwój aplikacji mobilnych dla wielu platform mobilnych oraz usług zapewniających wysoką jakość standardowych komponentów oprogramowania na urządzenia m

[android-developers] Re: How to check from the framework that ,the running application is downloaded from Market or not ?

2009-10-13 Thread gopu
getContext().getApplicationContext().getPackageCodePath(); Its giving the path like "data/app/com.pakage name.apk" app-private is only for Market app? can u please explain what exactly the app-private folder is for or have any docs regarding this ? On Oct 14, 10:12 am, m_vitaly wrote: > Ho

[android-developers] DVM instance creation - A new process creation at runtime

2009-10-13 Thread Ash
Hi, I trying to understand how a new process is being created based on AndroidManifest.xml, also looking for the possibility of creating/ forking a new Java process/new DVM instance at runtime. I could find that using Runtime.exec one can issue system commands or launch native applications, but

[android-developers] State of a phonecall

2009-10-13 Thread SGAdrian
Hi, I can see that we can get a phonestate via the PhoneStateListener, /** * The phone state. One of the following: * * IDLE = no phone activity * RINGING = a phone call is ringing or call waiting. * In the latter case, another call is active as well * OFFHOOK

[android-developers] Re: Free space required for a package install

2009-10-13 Thread Dianne Hackborn
You could submit a bug, but I don't know when this would be worked on. On Tue, Oct 13, 2009 at 10:33 PM, Dan Sherman wrote: > Dianne, > > Sorry to revive the thread (its been a while), but noticed this got posted > in a different thread: > http://groups.google.com/group/android-developers/browse

[android-developers] finishing(killing) the application from the sub-Activity

2009-10-13 Thread Asif k
Hi all, I had placed a cancel button in my subactivity, I want to finish the application when this button is pressed. Simply putting finish() API when cancel button is clicked bring me back to parent activity, means it is just killing the subactivity. I had also tried with implementing On

[android-developers] Re: Free space required for a package install

2009-10-13 Thread Dan Sherman
Dianne, Sorry to revive the thread (its been a while), but noticed this got posted in a different thread: http://groups.google.com/group/android-developers/browse_thread/thread/d92a41988f9d3428 packageinstaller/PackageInstallerActiviity.java (line 293): //compute the size of the applicati

[android-developers] Exceptions in box2d through NDK.

2009-10-13 Thread mmkr
I'm trying to implementing Box2D through NDK. But getting the following exception, 10-14 10:59:22.983: ERROR/AndroidRuntime(745): Uncaught handler: thread main exiting due to uncaught exception 10-14 10:59:23.042: ERROR/AndroidRuntime(745): java.lang.RuntimeException: Unable to start activit

[android-developers] Re: Max app size

2009-10-13 Thread westmeadboy
It would be nice if the Manifest could specify the ratio (default would be 4). On Oct 14, 12:17 pm, Lucas wrote: > Hello, > > Well finally i found what is happening. And it explains the issues i > was having and also what you said. > > I decided to take a look at the OS installer process, and i

[android-developers] Re: How to check from the framework that ,the running application is downloaded from Market or not ?

2009-10-13 Thread m_vitaly
How about app-private (secured) applications? Isn't it a market feature only? For your application you can set it as secure and all non-market installs will go to the regular app dir instead of app-private. Not sure whether a way to find out the installed dir is available to application by api.

[android-developers] Re: How to check from the framework that ,the running application is downloaded from Market or not ?

2009-10-13 Thread gopu
Thanks for your reply Is all market and user application will install only in the data/app directory ? On Oct 14, 9:59 am, Dianne Hackborn wrote: > No, there is no difference between an app installed from the market vs. > elsewhere. > > On Tue, Oct 13, 2009 at 9:33 PM, gopu wrote: > > > I wa

[android-developers] Re: How to check from the framework that ,the running application is downloaded from Market or not ?

2009-10-13 Thread Dianne Hackborn
No, there is no difference between an app installed from the market vs. elsewhere. On Tue, Oct 13, 2009 at 9:33 PM, gopu wrote: > > I want to skip some framework changes to the market applications . How > to find out the current application is downloaded from the market or > not ? > > Is the mar

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-13 Thread Dianne Hackborn
On Tue, Oct 13, 2009 at 9:09 PM, EboMike wrote: > Task killers aside, what about if the OS decides to stop a process > because memory is low? It doesn't do what these apps are doing. As I said, what these apps are doing (especially the ones that do this stuff behind the user's back) is abusing

[android-developers] Re: Making my app scriptable

2009-10-13 Thread Nolan Darilek
Cool, thanks for the pointers. I tried posting earlier and it doesn't appear to have gone through, so please accept my apologies if multiple similar messages post. :) I'm experimenting with Rhino and am having more issues. Specifically, I have this Scala code: package info.thewordnerd.spiel.util

[android-developers] Re: How to check from the framework that ,the running application is downloaded from Market or not ?

2009-10-13 Thread gopu
I want to skip some framework changes to the market applications . How to find out the current application is downloaded from the market or not ? Is the market downloaded app will be stored in separate directory? On Oct 14, 9:23 am, GPU wrote: > How to check from the framework that ,the applic

[android-developers] How to check from the framework that ,the running application is downloaded from Market or not ?

2009-10-13 Thread GPU
How to check from the framework that ,the application is downloaded from Market or not ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develop

[android-developers] debugging from device...

2009-10-13 Thread sdphil
i can debug from device, but if I install a released build and then try to debug from device, I get: [2009-10-13 21:17:22 - TestAndroid]Re-installation failed due to different application signatures. [2009-10-13 21:17:22 - TestAndroid]You must perform a full uninstall of the application. WARNING:

[android-developers] Question on application icon

2009-10-13 Thread for android
I want to change the application icon depending on the phone dynamically.Is it possible? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] Re: Max app size

2009-10-13 Thread Lucas
Hello, Well finally i found what is happening. And it explains the issues i was having and also what you said. I decided to take a look at the OS installer process, and i found the code that explains it all. packageinstaller/PackageInstallerActiviity.java (line 293): //compute the size

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-13 Thread EboMike
Task killers aside, what about if the OS decides to stop a process because memory is low? Say an app has an alarm set to happen in 2 hours, and the user decides to run Google Maps for a minute. Android might kill said app because memory runs low. Ten minutes later, the user is back on the home scr

[android-developers] Re: Max app size

2009-10-13 Thread Lucas
Hello, This is not an option for me. I am studying the possibility of porting my iPhone HD games (50mb-200mb) to Android, and having the assets in the sdcard or downloaded it's not what i want. Anyway, thanks for the suggestion. On Oct 9, 4:50 pm, RichardC wrote: > I am running an application

[android-developers] Re: How to categorize the installed applications similar to Android Market

2009-10-13 Thread Riyaz
@String Thanks for your info. Do you mean, request like this http://www.android.com/market/#app=facebook and parse the response? It will be better if we have open API for Android Market. -- Riyaz On Oct 13, 2:01 pm, String wrote: > On Oct 13, 4:30 am, Riyaz wrote: > > > How do i get the cat

[android-developers] Dynamic changes in list

2009-10-13 Thread lili
I meet a hot potato:I am doing a count-down device ,the time should be shown in the list when newly-built the count-down and the time in the list will ahange once every minute.But I can not realize it ,the data storage I use is ContentProvider,I want to update the filed value of the database every

[android-developers] manager sensor data in Android

2009-10-13 Thread toogle
Hi, I am going some project on the sensors on Android. I didn't understand coordination transform mechanism inside Android. 1. I know AXIS_X,AXIS_Y,AXIS_Z. but can anyone tell me what exactly the three axis (AXIS_MINUS_X, AXIS_MINUS_Y, AXIS_MINUS_Z) mean? 2. what do the rotation matrix and in

[android-developers] Re: Error using InstrumentationTestRunner with multiple projects

2009-10-13 Thread Brett Chabot
I'm not sure what that exact error message means, but my guess is the problem has to do with your test to project mapping. An instrumentation (which is what your test project uses to access classes in your project under test), can only be targeted to one android application. Try splitting up your

[android-developers] Re: Should we still force our apps to API level 2?

2009-10-13 Thread jotobjects
Deprecated classes and methods still work but they are a notification to developers that they will be dropped eventually so new code should not use them and updates should stop using them. There should be a compiler warning if you use an @Deprecated method and it should show as deprecated in the

[android-developers] Where to find accurate translations of Android-specific terms?

2009-10-13 Thread westmeadboy
I'm trying to localize my app for China and while I have access to native chinese speakers who can help me with general translations, they cannot help me with standard Android-specific terminology. In particular, I would like to translate: Google Android Android Market Android Market Obviously,

[android-developers] Re: How to build android source code and SDK by cygwin?

2009-10-13 Thread chuck
Hi ITWizard: I deeply appreciated your kindness. But I do not really know what you mean. Where do I find the make file you meant? I try to copy the tools.jar from JDK to cygwin and the previous problem has disappeared. But the other problem occurred. The error messages are listed in th

[android-developers] Re: OpenGL ES fixed/floating point

2009-10-13 Thread Jeremy Slade
You have to do the floating point -> fixed point conversion yourself, then pass the fixed-point values to opengl. Something like: IntBuffer vertexBuffer = ; loadVertexData(vertexBuffer); gl.glVertexPointer(3, GL10.GL_FIXED, 0, vertexBuffer); On Oct 13, 9:57 am, Doodler wrote: > Hel

[android-developers] How to create a slider on Android with JavaScript, Touchmove

2009-10-13 Thread ebisudave
My previous thread on this topic seems to have died out, so I'm going to change my approach and question. Is there any way, at all, on this planet or any other, to get a Javascript slider to work on Android? The key seems to be that the "thumb" of the slider needs to be accessible by a "touchmov

[android-developers] GridView Problems.

2009-10-13 Thread seabook
Hi all guys, I tried to get the pics from internet and display all the results in the Gridview with a dynamic updated. However it doesn't work properly. I did some research on the internet and using AsyncTask class to avoid the block of the UI Thread. But I just can't get the Gridview Dynamiclly

[android-developers] Re: Temp storage for bitmap

2009-10-13 Thread Streets Of Boston
When you store it in the EXTERNAL_CONTENT_URI, your image can already be shared with every other app on the phone. When you added (inserted) the image, your result was a Uri. This Uri can be used by any other app to obtain your image. On Oct 13, 4:42 pm, m_vitaly wrote: > My program creates a b

[android-developers] Audio Stream from currently playing song

2009-10-13 Thread joelt
I can capture an audio stream from the mic, but can I capture the currently playing audio stream? Thanks, Joel --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Re: inaccessible resources in android.jar

2009-10-13 Thread szabolcs
Romain, Thank you for your quick response. -szabolcs --~--~-~--~~~---~--~~ 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 unsubscrib

[android-developers] Re: How to install android market?

2009-10-13 Thread EboMike
luggie, it's closed source. It's not freely available. If you have a phone that came with it, you're good to go. If not, then there is no legal way to get it. For the purpose of getting apps, there are other applications available (like Al Sutton's AndAppStore). -Mike On Oct 13, 5:56 pm, luggie

[android-developers] Re: How to install android market?

2009-10-13 Thread luggie
I want to install Android Market in my mobile device(android),how can I do? thanks! On 10月14日, 上午7时00分, EboMike wrote: > It's a closed-source application and not freely distributed. You may > not install it on an emulator. > > (That's actually good, the potential for abuse is quite high.) > > On

[android-developers] Re: ListActivity and an alternative view for error message?

2009-10-13 Thread Lee Jarvis
Ahh how silly of me. Thankyou. Regards, Lee On 14 Oct, 01:46, Dianne Hackborn wrote: > You need to call .show() on the dialog to have it shown.  There should be no > problem with showing a dialog in onCreate().  (There was a problem with this > in 1.0, but that was ages ago.) > > > > > > On Tue

[android-developers] Re: ListActivity and an alternative view for error message?

2009-10-13 Thread Dianne Hackborn
You need to call .show() on the dialog to have it shown. There should be no problem with showing a dialog in onCreate(). (There was a problem with this in 1.0, but that was ages ago.) On Tue, Oct 13, 2009 at 5:42 PM, Lee Jarvis wrote: > > So I have a ListActivity that implements an ArrayAdapte

[android-developers] ListActivity and an alternative view for error message?

2009-10-13 Thread Lee Jarvis
So I have a ListActivity that implements an ArrayAdapter list. I have a control statement within onCreate() that checks if we have any Array values to populate our list, if we do.. set up the list and display it. The problem is, what happens when we don't. Ideally what I'd like to do is simply di

[android-developers] Scaling OverlayItems with zoom level

2009-10-13 Thread Anders
Hi! What is the preferred (right?) way to scale the Drawable markers of an ItemizedOverlay in a MapView? Say for instance that you have a rect or a circle with a fixed physical dimension like 500 meters across. The drawable has to change size when the user is zooming in and out in the view. What

[android-developers] Bounds of a LayerDrawable?

2009-10-13 Thread Anders
Hi! What is the semantics of the LayerDrawable bounds? I was kind of hoping it would be the union of all the Drawables i had put into it, but it doesn't seem to be. To give some more context to the problem; I'm working on a map application with overlays. The overlay should be one part a region (

[android-developers] Re: Making my app scriptable

2009-10-13 Thread Mark Murphy
Nolan Darilek wrote: > I'm trying to make my app scriptable. Specifically, I need to expose a > few Java APIs and make callbacks settable via user-written scripts. > Ideally I'd like to hide some of the complexity away in a DSL, but > there's no way of accomplishing what I want neatly without some

[android-developers] Making my app scriptable

2009-10-13 Thread Nolan Darilek
Hello all. I'm at a loss as to how to accomplish this and am looking for pointers. I'm trying to make my app scriptable. Specifically, I need to expose a few Java APIs and make callbacks settable via user-written scripts. Ideally I'd like to hide some of the complexity away in a DSL, but there's

[android-developers] Re: resource with name from numbers

2009-10-13 Thread Xavier Ducrohet
The problem is that each of those resources will become a class field in .R.drawable (without the extension) "1" is not a valid java class field. Xav On Tue, Oct 13, 2009 at 10:49 AM, Wouter wrote: > > Hey, > > I had imported several .png files with names like 1.png, 2.png untill > 59.png in m

[android-developers] Android 1.6 startPreview failed with SURFACE_TYPE_NORMAL

2009-10-13 Thread Larry Chen
Hello, I've encountered a startPreview failed RuntimeException in Android 1.6 where it worked fine in 1.5. I intercept a frame from the camera preview, process it, then redraw it on the surface. I had to use SURFACE_TYPE_NORMAL because TYPE_PUSH_BUFFERS does not agree with lockCanvas( ). My qu

[android-developers] Special url to open Marketplace to a specific app?

2009-10-13 Thread LarryK
Hi, Is there a url format available such that clicking on the url will open the Marketplace to a particular app's page for installation? Does it work with the 'current' Android OS ver in the wild? Eg, can I put something on my Android website better than Please open the Marketplace applic

[android-developers] Altitude information with GPS

2009-10-13 Thread cedcox
Good evening, I'm trying desperately to retrieve altitude information of a kml file. The emulator returns the longitude and latitude. A priori this is normal since HasAltitude returns false. I have not managed to activate the management of altitude for the provider "gps" I also tried by creatin

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-13 Thread Lazarus 101
Hi Nicolas, I'm using your app on my personal phone, but I kill apps from the Task Bar widget, so I chose carefully which one I want to kill, but most users are using the other widget which only displays the number of apps running and kills all (except system apps and those on ignore list) of the

[android-developers] Re: resource with name from numbers

2009-10-13 Thread Marco Nelissen
Start your filenames with a letter. On Tue, Oct 13, 2009 at 10:49 AM, Wouter wrote: > > Hey, > > I had imported several .png files with names like 1.png, 2.png untill > 59.png in my Android Project.. > > But it gives this error: > > Description     Resource        Path    Location        Type >

[android-developers] Re: adb logcat Error

2009-10-13 Thread Nmix
Same here with Eclipse and Vista, with the exact same message, but in my case it's for "adb install" either via Run Configuration in Eclipse or via command line. The install still works, but the activity launch aborts. On Oct 13, 10:18 am, polyclefsoftware wrote: > Since upgrading to the v1.6 SD

[android-developers] Re: inaccessible resources in android.jar

2009-10-13 Thread Romain Guy
This won't work. If resources are not exposed in android.R.drawable, then they are private resources. You cannot and should not access them. On Tue, Oct 13, 2009 at 4:02 PM, szabolcs wrote: > > To clarify: > > I am aware of the possibility to 'enumerate' a >   File file = new File("android.jar")

[android-developers] Re: inaccessible resources in android.jar

2009-10-13 Thread szabolcs
To clarify: I am aware of the possibility to 'enumerate' a File file = new File("android.jar"); JarFile jarFile = new JarFile(file); I suppose this might work, but I was looking for the 'proper android way' through APIs - if there is one.. Thank you again, -szabolcs --~--~-~--~-

[android-developers] Re: How to install android market?

2009-10-13 Thread EboMike
It's a closed-source application and not freely distributed. You may not install it on an emulator. (That's actually good, the potential for abuse is quite high.) On Oct 13, 6:00 am, luggie wrote: > in emulator > > On 10月13日, 下午8时40分, luggie wrote: > > > hi,everyone! > > How to install androi

[android-developers] inaccessible resources in android.jar

2009-10-13 Thread szabolcs
Hello, Does anyone have an idea if (how?) some of the resources (e.g. drawables) present in android.jar, but inaccessible through android.R.* can be accessed? EXAMPLE: If you want to use the system-wide horizontal separator drawable, the resource accessible through the ID works fine. However,

[android-developers] Re: Can't use commands in command prompt.

2009-10-13 Thread Marco Nelissen
Well, given the error message you mentioned in your original post, the folder where java.exe is located would be good to have in your path. On Tue, Oct 13, 2009 at 3:15 PM, Carl wrote: > > Could you maybe then tell me the relevant parts of the JDK? so that i > can check if they are there. > > T

[android-developers] Re: settings page for app design

2009-10-13 Thread Bob
Thanks this is very helpful. How do I then access the settings from a different activity within the app? The following code doesn't seem to work, should I use something different for where "USER_PREFERENCES" is? SharedPreferences userPrefFile = this.getSharedPreferences ("USER_PREFERENCES", Act

[android-developers] Re: Can't use commands in command prompt.

2009-10-13 Thread Carl
Could you maybe then tell me the relevant parts of the JDK? so that i can check if they are there. Thanks. On 14 Okt, 00:12, Marco Nelissen wrote: > Sorry, I meant 'JDK'. > > On Tue, Oct 13, 2009 at 3:11 PM, Marco Nelissen wrote: > > I don't think it matters as long as the relevant parts of th

[android-developers] Re: Can't use commands in command prompt.

2009-10-13 Thread Marco Nelissen
Sorry, I meant 'JDK'. On Tue, Oct 13, 2009 at 3:11 PM, Marco Nelissen wrote: > I don't think it matters as long as the relevant parts of the SDK are > in your path. > > > On Tue, Oct 13, 2009 at 1:48 PM, Carl wrote: >> >> I have a JDK installed on C: but put the SDK on D:. Does it matter? >> >>

[android-developers] Re: Can't use commands in command prompt.

2009-10-13 Thread Marco Nelissen
I don't think it matters as long as the relevant parts of the SDK are in your path. On Tue, Oct 13, 2009 at 1:48 PM, Carl wrote: > > I have a JDK installed on C: but put the SDK on D:. Does it matter? > > > > On 13 Okt, 22:24, Marco Nelissen wrote: >> Sounds like you didn't install a JDK, or i

[android-developers] Re: How to display List in homescreen app widget ?

2009-10-13 Thread Romain Guy
Hi, Sorry, this is not possible. On Tue, Oct 13, 2009 at 2:36 PM, Mapara,Harshit Nitinkumar wrote: > > Hi, > > I can't find how to display a list in the app widget. > > I have created one app-widget which fetches the database table > information and I want to display all the icon:text into app-

[android-developers] How to display List in homescreen app widget ?

2009-10-13 Thread Mapara,Harshit Nitinkumar
Hi, I can't find how to display a list in the app widget. I have created one app-widget which fetches the database table information and I want to display all the icon:text into app-widget. Remoteviews doesn't have any list functionality. How can I do it, please help Thanks Harshit --~--~-

[android-developers] Re: ListView - duplicate onScroll events

2009-10-13 Thread droidin.net
Since good people of Google are saying that this is `as intended` here's an ugly brutal way of dealing with this problem that works for me. Basically the assumption here is that as events are issued I compare last saved first item index with one that is passed in the `onScroll` call. I will only p

[android-developers] donuts supports screens issue

2009-10-13 Thread skink
hi, i try to understand new donut's feature: support for different screens now i'm using wvga800 skin my main layout is vertical one and has three TextViews: layout_width - fill_parentand layout_height - wrap_content i'm using android:textSize to specify their height: 100sp, 100dp and 100px re

[android-developers] Re: How to hide views within a layout

2009-10-13 Thread Romain Guy
setVisibility(View.INVISIBLE) (or View.GONE) If that throws an exception, look at the stack trace and fix the error :) On Tue, Oct 13, 2009 at 2:04 PM, Smelly Eddie wrote: > > I have some optional views in my xml layout. Namely a radioGroup and > buttons. > > How can I hide these programtically

[android-developers] How to hide views within a layout

2009-10-13 Thread Smelly Eddie
I have some optional views in my xml layout. Namely a radioGroup and buttons. How can I hide these programtically? I tried setting Visisbility, but that through an exception. Is this documented anywhere? --~--~-~--~~~---~--~~ You received this message because you

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-13 Thread momo
Maybe make another API call that allows killing the service, notifications, and etc of an application except for alarms? I think other applications are affected the most by their alarms getting totally wiped out by another application. Too many task killing applications are using this API call.

[android-developers] Re: Custom Object Serialization in Android?

2009-10-13 Thread Yusuf Saib (T-Mobile USA)
Java built-in serialization has many benefits, but for efficiency you may want to consider something else, such as protobuf. Yusuf Saib Android ·T· · ·Mobile· stick together The views, opinions and statements in this email are those of the author solely in their individual capacity, and do not

[android-developers] Re: My application has died when I started to use Browser

2009-10-13 Thread Marco Nelissen
On Tue, Oct 13, 2009 at 4:05 AM, newra...@gmail.com wrote: > > My application is background application.It uses WIFI lock and > INTERNET permission. It is doing some socket communication with a > Remote Host PC and as well as with a local android application. It > will start based on incoming SMS

[android-developers] Re: Can't use commands in command prompt.

2009-10-13 Thread Carl
I have a JDK installed on C: but put the SDK on D:. Does it matter? On 13 Okt, 22:24, Marco Nelissen wrote: > Sounds like you didn't install a JDK, or it's not in your path. > > On Tue, Oct 13, 2009 at 12:49 PM, Carl wrote: > > > Hi, > > > When i'm in the directory tools and try to use "andro

[android-developers] Re: Alarm is canceled if app is stopped

2009-10-13 Thread String
On Oct 13, 4:50 pm, Nicolas Thibaut wrote: > And the bad news is that others task managers are implementing > autokill or Boot killwhich can made many apps crashing (if > your app use an intents to another app...if this app is autokilled > your app will never worl :( ... I'm getting com

[android-developers] Temp storage for bitmap

2009-10-13 Thread m_vitaly
My program creates a bitmap and successfully stores it on external storage (Images.Media.EXTERNAL_CONTENT_URI). The next option to implement is to share the image. I'm thinking about different way of doing it: 1. Save it as captured image (as before) and startActivity with Intent.ACTION_SEND inte

[android-developers] Widget configuration

2009-10-13 Thread android learner
Hello, I have 2 questions related to configuring widgets. I'd really appreciate any help/pointers. 1) I use AppWidget Configuration Activity to get the user preferences and when the user clicks 'Done', I add the widget on to the home screen. Now when the user clicks on the widget, I want to t

[android-developers] Re: Can't use commands in command prompt.

2009-10-13 Thread Marco Nelissen
Sounds like you didn't install a JDK, or it's not in your path. On Tue, Oct 13, 2009 at 12:49 PM, Carl wrote: > > Hi, > > When i'm in the directory tools and try to use "android create avd..." > i get an error like " ' java is not recognizable as an internal or > external command, operable prog

[android-developers] Re: Booting Android on Samsung Star

2009-10-13 Thread Kashish Dhanjani
Sounds awesome, please let me know if you meet with success. On Oct 4, 9:13 am, pushkal sharma wrote: > I reacently bought Samsung Star.I am planning to boot Android on > Samsung Star.I wanted to know is it possible to boot Android on > Samsung Star --~--~-~--~~~---~

[android-developers] Can't use commands in command prompt.

2009-10-13 Thread Carl
Hi, When i'm in the directory tools and try to use "android create avd..." i get an error like " ' java is not recognizable as an internal or external command, operable program or batch. " What's wrong? I'm using Windows 7 prof Have added android to the system environment variables. (Maybe does

[android-developers] ADB shell exiting abnormally

2009-10-13 Thread Keith Preston
I find that when I am running 2 android devices connected to 1 linux machine, I find I can get ADB shell to exit abnormally. If I start a shell on Device 1, then on Device 2 start a shell and type reboot. Device 2 resets like expected, but the shell on device 1 will exit. I find that functiona

[android-developers] Re: SingleTask, SingleTop how to properly implement a GUI

2009-10-13 Thread cnordvik
> Use for every activity you launch when you don't want it to stack up. > > http://developer.android.com/reference/android/content/Intent.html#FL... Sorry for not reading the documentation properly. Thanks! -Christer --~--~-~--~~~---~--~~ You received this messag

[android-developers] Re: SingleTask, SingleTop how to properly implement a GUI

2009-10-13 Thread Dianne Hackborn
Use for every activity you launch when you don't want it to stack up. http://developer.android.com/reference/android/content/Intent.html#FLAG_ACTIVITY_CLEAR_TOP On Tue, Oct 13, 2009 at 12:54 PM, cnordvik wrote: > > > Use Intent.FLAG_ACTIVITY_CLEAR_TOP. > > Yes, I guess you mean for the main men

[android-developers] Re: SingleTask, SingleTop how to properly implement a GUI

2009-10-13 Thread cnordvik
> Use Intent.FLAG_ACTIVITY_CLEAR_TOP. Yes, I guess you mean for the main menu right? I can add that one, but if the user makes the "Contact gestures" 5 times, then I end up with 5 views with 5 adapters with the same data? Let's say the user makes the following gestures: - View Contacts - Browser

[android-developers] Re: Custom Object Serialization in Android?

2009-10-13 Thread Dan Sherman
Not sure as to an answer to your question (I'm not that familiar with the internals), however, as a work-around you could probably do something like: MyObject arr[] = new MyObject[list.size()]; serialize(arr); send(arr); - recv(arr) list.addAll(arr); Obviously abbreviated, and doesn't quite

[android-developers] Re: SingleTask, SingleTop how to properly implement a GUI

2009-10-13 Thread Dianne Hackborn
Use Intent.FLAG_ACTIVITY_CLEAR_TOP. Don't use singleTask. On Tue, Oct 13, 2009 at 12:24 PM, Chister Nordvik wrote: > > Hi! > > Our application which consists of something like this: > > Main menu > => View contacts > => Edit contact > => View groups > => Settings > => Browser settings > > I ha

[android-developers] Re: Custom Object Serialization in Android?

2009-10-13 Thread dsukhram
I can return an ArrayList of Strings just not an ArrayList of my Stop object. And since this whole process works fine when I take android out of the equation..this leads me to believe that serialization is handled slightly differently in android. Anybody? On Oct 12, 6:28 pm, dsukhram wrote: > I

[android-developers] SingleTask, SingleTop how to properly implement a GUI

2009-10-13 Thread Chister Nordvik
Hi! Our application which consists of something like this: Main menu => View contacts => Edit contact => View groups => Settings => Browser settings I have then added gestures so that the user can jump between any of these screens with a gesture. But this leads to a huge activity stack that

[android-developers] Re: for Google attention

2009-10-13 Thread Streets Of Boston
There are sooo many more web-site offering paid Android apps for download. Some do it for free and other actually ask for money, either per download or a membership of their web-site/forum. On occasion I was able to remove my app from these sites. The owners of these sites were cooperative. Other

[android-developers] Re: for Google attention

2009-10-13 Thread droidin.net
With sales so dismal I think freeing up your app and figuring out an alternative way of making money from it (not ads ether) is the best way to fight Chinese (or Russians, or whomever). Or build-in license activation which validates that license is valid for the particular device. Litigation is si

[android-developers] Re: for Google attention

2009-10-13 Thread Dan Sherman
You can write any sort of copy protection you like into the application... Most of our software connects to a server to authenticate before running, you could do this with serial numbers (distributed however you like). Its your application, you can add whatever you like to it :) - Dan On Tue, Oc

[android-developers] ListView - duplicate onScroll events

2009-10-13 Thread droidin.net
In my app I have a ListView backed by ArrayAdapter. In it I'm detecting events in OnScrollListener#onScroll method to find end of the list. I noticed that on the phone (MyTouch) both track-ball and gesture/touch scrolling will trigger the event twice. On the emulator I get the same behavior with a

[android-developers] Re: for Google attention

2009-10-13 Thread WoodManEXP
Hi Dan, We have added copy protection per Google's instructions (application release checklist). Is there more copy protection we can/should use? On Oct 13, 2:41 pm, Dan Sherman wrote: > I'm not so sure you've fully grasped the idea of white-hat... > > Why not just be done with this and add cop

[android-developers] Re: for Google attention

2009-10-13 Thread Dan Sherman
I'm not so sure you've fully grasped the idea of white-hat... Why not just be done with this and add copy protection to your own app? On Tue, Oct 13, 2009 at 2:23 PM, WoodManEXP wrote: > > Maybe a white-hatted person will show up and target some serious DoS > efforts on these sites! > > On Oct

[android-developers] Re: Stream youtube to a videoview?

2009-10-13 Thread Timothy Collins
It actually won't play any other video file I throw at it either... On Tue, Oct 13, 2009 at 2:30 PM, Roman ( T-Mobile USA) < roman.baumgaert...@t-mobile.com> wrote: > > I noticed that I cannot play the file > > rtsp://rtsp.youtube.com/youtube/videos/S2eoCqwBCQI/video.3gp > > which you put in your

[android-developers] Re: Stream youtube to a videoview?

2009-10-13 Thread Roman ( T-Mobile USA)
I noticed that I cannot play the file rtsp://rtsp.youtube.com/youtube/videos/S2eoCqwBCQI/video.3gp which you put in your source code on my desktop browser. The Android MediaPlayer is very sensitive. If the container format does not fit the one which is expected by the mediaPlayer, you won't be

[android-developers] Re: for Google attention

2009-10-13 Thread WoodManEXP
Maybe a white-hatted person will show up and target some serious DoS efforts on these sites! On Oct 13, 1:52 pm, Fan Zhang wrote: > There are many more sites like this. > I am a developer and my stuff gets pirated all the time... > If google decides to take any actions on those website, here is

[android-developers] Re: for Google attention

2009-10-13 Thread Andrei
I am not suggesting they go after Chinese web site But I suggest they put good protection for paid apps. I also suggest they officially tell developers it's our own problem so i can plan accordingly On Oct 13, 1:38 pm, Dan Sherman wrote: > I'm not a lawyer... > > But Google has absolutely no rig

[android-developers] Re: how PUSH Tech in android ????

2009-10-13 Thread jotobjects
I'm interested in this question also. One way seems to be a SIP servlet server paired with a SIP Service on the device. The Jain SIP library has been used on Android and here is a SIP Servlet implementation - http://www.mobicents.org/products.html Are there other/better ways to do this? On Oct

[android-developers] Re: for Google attention

2009-10-13 Thread Fan Zhang
There are many more sites like this. I am a developer and my stuff gets pirated all the time... If google decides to take any actions on those website, here is a list of them: www.hiapk.com www.androidin.net www.android123.com and basically all chinese forums that talks about Android system has s

[android-developers] Re: for Google attention

2009-10-13 Thread Andrei
It was interesting to see someone put request for my app and few days later it's there On Oct 13, 1:39 pm, Andrei wrote: > People with rooted phone buy app, copy package, distribute it > Google offers really no package protection > > On Oct 13, 1:33 pm, WoodManEXP wrote: > > > Well this is just

[android-developers] resource with name from numbers

2009-10-13 Thread Wouter
Hey, I had imported several .png files with names like 1.png, 2.png untill 59.png in my Android Project.. But it gives this error: Description ResourcePathLocationType Syntax error on token "48", invalid VariableDeclaratorIdR.java / TVGidsBelgie/gen/com/woutergo

[android-developers] Re: for Google attention

2009-10-13 Thread Andrei
People with rooted phone buy app, copy package, distribute it Google offers really no package protection On Oct 13, 1:33 pm, WoodManEXP wrote: > Well this is just great! > > How should developers attempt to combat this? > > Does the app copy protection help in any way? > > How is the owner of th

[android-developers] Re: for Google attention

2009-10-13 Thread Dan Sherman
I'm not a lawyer... But Google has absolutely no right to try to litigate on your behalf. They can't file criminal charges, they would have to file civil charges, but to file a civil charge, the defendant has to be wronged in some way. I understand they could try "We've been wronged by you damag

  1   2   >