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

2009-10-14 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

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

2009-10-14 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 impact...@gmail.com wrote: Dianne, Sorry to revive the thread (its been a while), but noticed this got posted in a different thread:

[android-developers] State of a phonecall

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

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

2009-10-14 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] Re: How to check from the framework that ,the running application is downloaded from Market or not ?

2009-10-14 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

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

2009-10-14 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

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

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

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

2009-10-14 Thread Ranjith
Thanks for the information Nelissen... I got the point why it is getting crashed... Thanks Again... On Oct 14, 11:57 am, Ranjith newra...@gmail.com wrote: i am not using service I am just creating a Thread only On Oct 14, 1:52 am, Marco Nelissen marc...@android.com wrote:

[android-developers] Market screen shots

2009-10-14 Thread Keith Wiley
I realize this is sort of a Market question, but it's for developers, not users, so, I dunno... Anyway, I noticed that I could add screen shots for my paid app but not for my fee app. There was no browse/upload interface for the free app although the console still mentioned the possibility of

[android-developers] profiles manager

2009-10-14 Thread vorcigernix
Hello, One of features od my old n95 I am missing on my new hero is simple management of ringtones and their volumes. I found Locale, which is good, but I think I could use really simpler application just for that. I wrote widget to simple change ringtone and volume from one to another, but this

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

2009-10-14 Thread vorcigernix
I doubt this is a recruitment forum, If it is..I finally understand why some of my questions are still open :-D On 14 říj, 08:54, Tomasz Mazur nog...@gmail.com wrote: Naszym klientem jest firma o światowej renomie w zakresie dostarczania aplikacji mobilnych. Dwa główne obszary działalności

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

2009-10-14 Thread Wouter
isnt there a way to allow images with numbers as filename? On 14 okt, 01:38, Xavier Ducrohet x...@android.com wrote: The problem is that each of those resources will become a class field in your package.R.drawable (without the extension) 1 is not a valid java class field. Xav On Tue,

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

2009-10-14 Thread Vitaly Polonetsky
When you publish the application for the first time it gives you the option of Copy Protection. In it's current implementation, applications marked as copy protected are installed into /data/app-private instead of /data/app default directory. I don't know a way to install application into

[android-developers] occasionally SIGBUS crash in JNI

2009-10-14 Thread allstars
hello my apps contains JNI library but sometimes when i launch it it will have SIGBUS error i use addr2line to check the stack trace the last stack in my native lib is to invoke a JNI call then it goes to libdvm my app doesnt register the native method tables on JNI_Onload it uses traditional

[android-developers] Any way to update the Framework changes in build without rebuilding all ?

2009-10-14 Thread GPU
Any way to update the Framework changes in build without rebuilding all ? --~--~-~--~~~---~--~~ 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: occasionally SIGBUS crash in JNI

2009-10-14 Thread allstars
and sometimes i met SIGBUS from other lib below is the log Build fingerprint: 'generic/generic/generic/:1.6/Donut/eng.allstars. 20090923.152135:eng/test-keys' 10-14 17:33:35.638: INFO/DEBUG(551): pid: 742, tid: 742 jp.aplix.midp.p1 10-14 17:33:35.638: INFO/DEBUG(551): signal 7 (SIGBUS), fault

[android-developers] some questions about IBinder.transact

2009-10-14 Thread tstanly
hi guys, I have some questions about IBinder.transact, in the: http://developer.android.com/intl/zh-TW/reference/android/os/IBinder.html the document about transact method, there are four parameters for transact are code, data, reply and flags, code is the action to perform.This should be a

[android-developers] can I get XML information step by step using SaxParser??

2009-10-14 Thread Stefan
Hello, i have a big xml file and i want to use the SaxParser because i've read, that this is faster than DOM and XmlPullParser. But now I want to get some information, before the parser has read the whole xml-file. ?xml version=1.0 encoding=utf-8? gpx... wpt lat=50.886021852493286

[android-developers] Max app memory on large screen devices

2009-10-14 Thread String
As part of preparing my app for 1.6 compatibility, I'm testing it on the WVGA emulator, and am running into issues where there's insufficient memory to process images for this screen size. In the past, there has been discussion about larger-format devices getting a higher limit on memory for

[android-developers] Re: get outgoing call details in background

2009-10-14 Thread Nemat
Thanks to all of you. I have done it...I removed startManagingCursor() and called the close method() for cursor. On Oct 13, 7:10 pm, Lazarus 101 lazarus...@gmail.com wrote: just remove startManagingCursor and call the close() method on the cursor when you've finished reading from it

[android-developers] Exception - can anyone make sense of this?

2009-10-14 Thread Neilz
Hi. I'm hoping someone can help identify the cause of an exception I'm getting. It happens when I use a SimpleCursorAdapter to set up a list which populates each list row with a title, and an image thumbnail: String[] from = new String[] { MyDbAdapter.KEY_DESC, MyDbAdapter.KEY_IMAGE }; int[] to

[android-developers] Context Menu

2009-10-14 Thread Neilz
Hi. I have a context menu, which appears when you press and hold over a list item for around two seconds. Is there a way to adjust the sensitivity of this? I'd like it to appear more quickly, if that's possible? Thanks. --~--~-~--~~~---~--~~ You received this

[android-developers] Is their any way to debug the native sources from eclipse ?

2009-10-14 Thread GPU
Is their any way to debug the native sources ? --~--~-~--~~~---~--~~ 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

[android-developers] exception

2009-10-14 Thread Honest
Hello, I am retrieving data from database after particular time in service. For sometimes it works perfectly but after some time it used to give following exception. Can some one tell me what can be wrong in it ? E/JavaBinder( 142): java.lang.RuntimeException: No memory in memObj

[android-developers] about leaked window com.android.internal.policy.impl.PhoneWindow error

2009-10-14 Thread ilikeB2
When I use invoke a ProgressDialog instance in an activity, sometimes it will show error in logcat as below: E/WindowManager( 809): Activity com.android.phone.SimContacts has leaked window com.android.internal.policy.impl.PhoneWindow $decorv...@4345e558 that was originally added here

[android-developers] Getting paid apps for free ??

2009-10-14 Thread WoodManEXP
I keep reading posts about Chinese and other web sites that are offering the paid, copy protected apps for free. If this is indeed the case and there is not a reasonable remedy it definitely takes the wind out of our sails for investing further in creating applications for the Android platform.

[android-developers] Re: Geting SMS Center number

2009-10-14 Thread flywalker
The getNetworkOperator() can return MCC+MNC , but this is not the SMSC number. Is it any other way to get the SMSC number ? On Oct 12, 9:57 am, Delirium id.delir...@gmail.com wrote: SMSMessage object allows you to set SMSC number, and you can get it after setting, otherwise it returns null.

[android-developers] Re: Getting paid apps for free ??

2009-10-14 Thread String
On 14 Oct, 12:48, WoodManEXP woodman...@gmail.com wrote: After all Google has positioned the Marketplace as sole distribution point for the apps No, perhaps you're thinking of Apple and the iTunes App Store. Google has positioned the Android Market as ONE distribution point for apps, but

[android-developers] GLSurfaceView show initially with black background before rendering first frame?

2009-10-14 Thread LemonDev
when i create a GLSurfaceView to render a textured cube, and i add this new glsurfaceview to my FrameLayout to do some animation , it first shows a black background, and then my cube begin to rotate. so is there any method to avoid the matter? otherwise , it seems terriable to be an animation.

[android-developers] problem in the touch event

2009-10-14 Thread zeeshan
Hi Dear, i am having a problem handling the touch event on a button layout. i added a button layout into the webview and have a touch event on webview. touch event is mixed with the button click event. please help me how can i handle it --~--~-~--~~~---~--~~ You

[android-developers] search string for market

2009-10-14 Thread zeeshan
Hi dear, i using the following code for my APP search Intent intent = new Intent(Intent.ACTION_VIEW); intent.setData(Uri.parse(market://search?q=pname:QueryString)); startActivity(intent); is it possible to change the QueryString once App is downloaded?

[android-developers] Re: Getting paid apps for free ??

2009-10-14 Thread vorcigernix
I think major source of these applications are torrents. But I have to second what String said, if you really want to sell you apps, you have to use AndAppStore and SlideME just because there are around 50% of users which can't buy your software from google marketplace even if they want. I think

[android-developers] invalid username and password when trying to unlock g2

2009-10-14 Thread andr0id
Hi all, I know this is not really the place to post this message, but this is the closest thing I could find to google android support. So a friend of mine did too many wrong patterns and the phone is asking for my username and password. When i fill in my login and password, it says invalid

[android-developers] Re: can I get XML information step by step using SaxParser??

2009-10-14 Thread Smelly Eddie
SaxParser walks through an XML file calling key events startElement, endElement, and others. You can use these events to do whatever you need at any point in the document. So once we reach the start of trk we know all waypoints have been read right? You should call the parser in a background

[android-developers] Re: Temp storage for bitmap

2009-10-14 Thread m_vitaly
Ok, but what if I want to delete if after issuing startActivity, can I do this ? And where should I store it then ? On Oct 14, 4:20 am, Streets Of Boston flyingdutc...@gmail.com wrote: When you store it in the EXTERNAL_CONTENT_URI, your image can already be shared with every other app on the

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

2009-10-14 Thread Eric Carman
What I did was to create a singleton class that encapsulated the preferences. The class has an update method that I call when I return from setting the preferences. Otherwise, as a singleton class it is available to all activities and units. As to how I fetch the preferences, I use the

[android-developers] Re: Locale for Spanish missing?

2009-10-14 Thread dsurround
Use myTts.setLanguage(new Locale(es)) This works for spain. Apparently, Java decided not to spell out all locales a while back. Wanted to post in case others are running into same problem. On Oct 13, 9:15 am, dsurround dsurro...@gmail.com wrote: I am interfacing with the Text Synthesis

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

2009-10-14 Thread Doug
In a perfect world you would be right about @Deprecated - but I have seen an example in the 1.6 SDK where a method has been @Deprecated with the 1.6 release, along with some nice comments on how to do things the new way, only to find that in this case @Deprecated actually means the method has

[android-developers] Re: Market screen shots

2009-10-14 Thread Maps.Huge.Info (Maps API Guru)
I had no problem adding screen shots to my free apps. I have no paid apps, so perhaps the mix is causing an issue. Strangely, the market asks for 320x480 screen shots then reduces them in size by a few pixels, and sort of smudging them in the process. It seems like it would have been smarter to

[android-developers] Re: can I get XML information step by step using SaxParser??

2009-10-14 Thread Stefan
Hi, You can use these events to do whatever you need at any point in the document. So once we reach the start  of trk we know all waypoints have been read right? Yes You should call the parser in a background thread so your UI thread can respond to a call from the parser when it reaches

[android-developers] Re: Exception - can anyone make sense of this?

2009-10-14 Thread Doug
Ummm... The exception is: java.io.IOException: Is a directory and seems to be happening when your cursor code is trying to: android.graphics.drawable.Drawable.createFromPath(Drawable.java:762) So my first instinct would be to tell you that the filename you are passing to the drawable is

[android-developers] Re: Market screen shots

2009-10-14 Thread Keith Wiley
Anyone else? When open the console for my app I see the entry for screen shots directly below the .apk file upload area, and the note that there is a 2 image max, but there is no browse/upload interface. Any ideas? I'll hit the Market forums about this too.

[android-developers] Re: invalid username and password when trying to unlock g2

2009-10-14 Thread RichardC
This seems to be an ongoing issue and there is a bug report http://code.google.com/p/android/issues/detail?id=3006 about it which has some helpful sugguestions. -- RichardC On Oct 14, 2:42 pm, andr0id sgrang...@gmail.com wrote: Hi all, I know this is not really the place to post this

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

2009-10-14 Thread Greivin Lopez
Thanks to jotobjects and EboMike for their responses. I will try to describe my situation better: I have an application that send SMS messages by using SmsManager class. In the SDK 1.5 version of the application (I mean I set 1.5 as the Project Build Target) everything works fine because I use

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

2009-10-14 Thread luggie
Mike,thank you very much! If we want to install Android Market on our product(mobile phone) , must We contact Google? On 10月14日, 上午9时01分, EboMike ebom...@gmail.com wrote: 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,

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

2009-10-14 Thread Disconnect
Supposedly its free. Supposedly the barrier to entry isn't very high. But nobody outside google really knows anything more than that - if you say its probably expensive hackbod will yell at you to prove it, then wander away without answering any questions. 2009/10/14 luggie lug...@gmail.com:

[android-developers] How to generate ant file local.properties without overwriting build.xml

2009-10-14 Thread Matt
Hello. I know that in order to generate the ant scripts for your project, you do this: android update project --name project_name --target target_ID -- path path/to/your/project/ (see reference page http://developer.android.com/guide/developing/other-ide.html) That being said, you are not

[android-developers] Prevent orientation change

2009-10-14 Thread kaloer
Hi, I have an application with an alarm, which is notified with a Dialog. However, when I rotate the screen the dialog closes but the alarm sound keeps playing. Can I prevent the orientation change to happen while the alarm is shown? I have tried using the setRequestedOrientation method, but it

[android-developers] Re: about leaked window com.android.internal.policy.impl.PhoneWindow error

2009-10-14 Thread Romain Guy
Make sure you dismiss() all your dialogs when your activity is destroyed. On Wed, Oct 14, 2009 at 4:13 AM, ilikeB2 zhengji1...@gmail.com wrote: When I use invoke a ProgressDialog instance in an activity, sometimes it will show error in logcat as below: E/WindowManager(  809): Activity

[android-developers] Re: Max app memory on large screen devices

2009-10-14 Thread Romain Guy
Since there's no device shipping with a large or dense screen and Donut, it hasn't happened no. We will however increase the heap limit for devices with large screens (or dense screens.) On Wed, Oct 14, 2009 at 3:14 AM, String sterling.ud...@googlemail.com wrote: As part of preparing my app

[android-developers] Re: occasionally SIGBUS crash in JNI

2009-10-14 Thread Marco Nelissen
You're probably passing a NULL pointer to your native code, which is rarely a good idea. On Wed, Oct 14, 2009 at 2:37 AM, allstars allstars@gmail.com wrote: and sometimes i met SIGBUS from other lib below is the log Build fingerprint: 'generic/generic/generic/:1.6/Donut/eng.allstars.

[android-developers] Re: Audio Stream from currently playing song

2009-10-14 Thread Marco Nelissen
No On Tue, Oct 13, 2009 at 7:20 PM, joelt j...@harpsoft.com wrote: 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

[android-developers] end application notification

2009-10-14 Thread ayanir
Hello, I have an application with several Activities. I understand that the Android platform handle some sort of an Activity Stack so there is the option to go back to the previous Activities in the stack. I also know that there is no access to this Stack. I would like to know if there is a

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

2009-10-14 Thread gnugu
Greivin, If you had conditional compile you would have to compile two versions of your application anyway, wouldn't you? So your users would be equally confused as if you maintained two versions of the code. Maintaining two versions of the code isn't that confusing. In fact I personally think

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

2009-10-14 Thread Carl
I've copied the folder from the JDK and put it in the SDK. Nothing changed. Noticed another problem, it is telling me that i'm missing a SWT folder. That i need to point ANDROID_SWT to the folder containing swt.jar. But i've looked in the android.bat and ANDROID_SWT is pointing to that folder.

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

2009-10-14 Thread Carl
I've copied the folder from the JDK and put it in the SDK. Nothing changed. Noticed another problem, it is telling me that i'm missing a SWT folder. That i need to point ANDROID_SWT to the folder containing swt.jar. But i've looked in the android.bat and ANDROID_SWT is pointing to that folder.

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

2009-10-14 Thread Carl
I've copied the folder from the JDK and put it in the SDK. Nothing changed. Noticed another problem, it is telling me that i'm missing a SWT folder. That i need to point ANDROID_SWT to the folder containing swt.jar. But i've looked in the android.bat and ANDROID_SWT is pointing to that folder.

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

2009-10-14 Thread Marco Nelissen
On Wed, Oct 14, 2009 at 9:09 AM, Carl cm.sandens...@gmail.com wrote: I've copied the folder from the JDK and put it in the SDK. Nothing changed. Copying the folder is probably not the right thing to do, especially if you didn't add the new folder to your path either (by 'path' I mean the

[android-developers] Re: How to determine if phone supports video capture?

2009-10-14 Thread junker37
Well, I couldn't find an official way to do this. The only way I know is to assume that all Android phones will support video capture, so if the phone is running 1.5 (3) or greater, it will support video capture. android.os.Build.VERSION.SDK_INT On Oct 12, 3:05 pm, junker37 junke...@gmail.com

[android-developers] Re: Exception - can anyone make sense of this?

2009-10-14 Thread Neilz
Yes, well I've worked out the error is occurring when there is no image. The value being passed to the cursor is an image contentUri String. Some rows in the table may not have an image (purposely) and return a blank String. It's these that are causing this error. Problem is, I don't know if

[android-developers] Re: Max app size

2009-10-14 Thread Dan Sherman
I've filed a bug about the issue, can be seen here: http://code.google.com/p/android/issues/detail?id=4250 On Wed, Oct 14, 2009 at 1:21 AM, westmeadboy westmead...@yahoo.co.ukwrote: It would be nice if the Manifest could specify the ratio (default would be 4). On Oct 14, 12:17 pm, Lucas

[android-developers] ion with tmobile web2go

2009-10-14 Thread eyeon
i have been searching for the right setting to make tmobile web3go work , but none so far . can you help ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Setting up a proxy server for android emulator

2009-10-14 Thread Gath
Guys, I want to start Android Emulator with internet support but am unable to use the brower on the emulator, it seems like it is not connected. This is the command am using to start the emulator emulator -avd myavd -http-proxy http://168.192.10.1:3100 Please note am using an IPAddress instead

[android-developers] Socket.connect works on Wifi, fails on 3G (actually sort of the opposite...)

2009-10-14 Thread truthtrap
guys and girls, i am trying to test the availability of a service with a socket. the code is quite simple try { InetAddress address = InetAddress.getByName(dns); s = new Socket(); try {

[android-developers] Android SDK 執行 Em ulator 有個錯誤訊息

2009-10-14 Thread 吉米栗
最近嘗試要將Android開發環境裝上,試圖學習手機程式的寫法 但是在裝Android SDK環境的時候卻發生 error 的訊息 對英文雖不是很熟析,我還是很努力的想找到這問題的解決方式 但是始終找不到 希望在這邊能有高手能協助幫忙,給予指點 我的環境 Windows XP Android SDK 1.6.r1 (從網路上爬文學來) 以CMD命令提示字元模式 在Android的路徑下,進入Tools資料夾 並執行 android create -n gphone -t 2 問要步要客製化時輸入 [no] 接著輸入emulator -avd gphone 出現如下的兩行文字

[android-developers] Finding Preference of a different Screen

2009-10-14 Thread Praveen
I have a class called A which has a CheckBoxPreference chkbox1; There is one more class B which is invoked by pressing a menu item falling under class A. Now, I want to use the CheckBoxPreference of class A in class B by using findPreference(key); If I use it this way, then the Preference

[android-developers] Automated unit testing on Android - stopping emulator from script + hanging whilst installing apk

2009-10-14 Thread MikeyB
Hi, I'm looking into getting an automated build script running using Android 1.6r1 SDK. I've a couple of issues. Once I've build I want to be able to install/re-install apks onto an instance of the emulator in order to run our tests automatically. I've a couple of issues; 1) Is there a way of

[android-developers] Re: some questions about IBinder.transact

2009-10-14 Thread Dianne Hackborn
It doesn't do anything. It's for you to define the commands your interface handles. That is, the interface an IBinder is implementing determines the codes it accepts. On Wed, Oct 14, 2009 at 2:33 AM, tstanly tsai.sta...@gmail.com wrote: hi guys, I have some questions about

[android-developers] Re: Getting paid apps for free ??

2009-10-14 Thread Dianne Hackborn
On Wed, Oct 14, 2009 at 6:19 AM, vorcigernix vorciger...@gmail.com wrote: there are around 50% of users which can't buy your software from google marketplace even if they want. I'd be very interested in hearing where you get -that- number from. -- Dianne Hackborn Android framework engineer

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

2009-10-14 Thread jotobjects
Also 1.6 introduces android:targetSdkVersion, which allows you to say the higher version of the platform you are designed for, while still leaving android:minSdkVersion to the minimum version you support. This allows you Hi Greivin - From looking at the 1.6 reference docs it appears that BOTH

[android-developers] Re: Getting paid apps for free ??

2009-10-14 Thread Al Sutton
At AndAppStore we've recently introduced a pay-for app system which lets apps confirm at runtime whether or not the user has purchased the app. This means that even if the apk is spread around the internet and installed on many devices your app can still either refuse to run or enter a demo mode

[android-developers] How can I capture an image in Android and have it show up in the gallery?

2009-10-14 Thread junker37
I was capturing images before that were showing up in the gallery, but now they are not and I can't figure out why. Here is my code: ContentValues values = new ContentValues(); values.put(android.provider.MediaStore.Images.Media.IS_PRIVATE, false);

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

2009-10-14 Thread gnugu
Can somebody explain what this means? the platform should not perform any extra work to maintain forward- compatibility with the target version. Specifying this target version allows the platform to disable compatibility settings Is it install time or runtime? What exactly are compatibility

[android-developers] Re: Countries for selling priced applications in Android Market

2009-10-14 Thread karthikr
I have developed a few applications and am waiting for releasing them. Its like everyday i login and search the blogs and mail someone regarding the status or the probable date of launching the same in India. I am getting fed up with numerous mails to google checkout and android market support,

[android-developers] Re: Max app size

2009-10-14 Thread Marco Nelissen
That doesn't make sense. The ratio follows from how the system installs apps, so it would be silly to allow apps to override it. On Tue, Oct 13, 2009 at 10:21 PM, westmeadboy westmead...@yahoo.co.uk wrote: It would be nice if the Manifest could specify the ratio (default would be 4). On

[android-developers] Piracy protection idea

2009-10-14 Thread WoodManEXP
I am no security expert and have not thought this out all the way, but could a workable solution to the pirating problem be something like this: 1. The market clients (like Google Market, AndAppStore, SlideME) could record on their servers some kind of identifier about who bought the app and

[android-developers] Re: Countries for selling priced applications in Android Market

2009-10-14 Thread Mark Murphy
karthikr wrote: I have developed a few applications and am waiting for releasing them. Why wait? Android Market is not the only distribution channel. By waiting, all you do is lose the opportunity to gain feedback from early adopters that you can use to improve your application by the time the

[android-developers] Re: Piracy protection idea

2009-10-14 Thread Dan Sherman
Unfortunately has a few problems: 1) The user has to have an internet connection on first load of the app. 2) If its via HTTP or some other well documented protocol, could easily have a hosts entry re-point where to ask for confirmation to a server that just responds OK. This could be overcome

[android-developers] Re: Piracy protection idea

2009-10-14 Thread Wayne Wenthin
I would be happy if Keys were generated. My app already has a backend that is queried quite often. I have a registration flag and know the androidID of every device. If I could generate a key and confirm that key is valid for that device then I could just flip the bit and you have a registered

[android-developers] Re: Error Code 5: Database is locked

2009-10-14 Thread mathias axelsson
I use synchronized(ExampleDbAdapter.class){mDb.insert/update/delete/query...} in ExampleDbAdapter to avoid this. Let me know if there's a better way. On Mon, Aug 24, 2009 at 10:58 AM, Armond Avanes armond...@yahoo.com wrote: So how can I create an in-memory database? I just took a quick look

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

2009-10-14 Thread EboMike
Boy, do we like to make assumptions or what? luggie - You are right, your best bet is to contact Google (unfortunately, I have no idea who your best point of contact would be). They can give you all the details about licensing Google apps. -Mike On Oct 14, 8:14 am, Disconnect

[android-developers] strategies for low memory conditions

2009-10-14 Thread Jason Proctor
my app has a main activity with a list in it which then launches activities on it in response to pokes at the list. each list item has two Bitmaps associated with it, one small and one potentially large (~1mb). pokes at the graphic flip which Bitmap gets shown. after the user pokes too many

[android-developers] Including Other Projects

2009-10-14 Thread benjamin.grant.du
Hi all, i've downloaded a project that was designed for sdk 1.0, and I think the reason I can't get it to work is because of the differences in sdk 1.0 and 1.5. Specifically, I import the proejct and when I try to build it complains that project jjil and project jjil-android are not included.

[android-developers] Re: State of a phonecall

2009-10-14 Thread Roman ( T-Mobile USA)
I feel your pain . The only way to be more precised in reflecting call states is to look in the framework/platform code and expose this information to the higher level (framework code changed needed :-( ) The Android Telephony on SDK level has no concept of a Call or Connection as other

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

2009-10-14 Thread Disconnect
What assumptions? I reported what I was told (you can't prove it costs money - ok so its free? - and you just have to pass some basic tests - so barrier to entry is low) and actual events (hackbod yelled at me and failed to answer questions). There is a little more info out there in the

[android-developers] Re: Socket.connect works on Wifi, fails on 3G (actually sort of the opposite...)

2009-10-14 Thread Roman ( T-Mobile USA)
You might want to take a tcpdump to check what traffic you receive on the 3g interface. -- Roman Baumgaertner Sr. SW Engineer-OSDC ·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 necessarily

[android-developers] Re: Finding Preference of a different Screen

2009-10-14 Thread Yusuf Saib (T-Mobile USA)
android.content.SharedPreferences? 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 necessarily represent those of T-Mobile USA, Inc. On Oct 14, 5:15 am, Praveen

[android-developers] Re: Piracy protection idea

2009-10-14 Thread Al Sutton
That's the scheme we've already implemented at AndAppStore with a slight twist to make it harder to generate spoof responses using a DNS repoint. Al. On Oct 14, 6:38 pm, WoodManEXP woodman...@gmail.com wrote: I am no security expert and have not thought this out all the way, but could a

[android-developers] Can't re-install radio update

2009-10-14 Thread Ryck
I successfully installed version 1.6 but was having trouble connecting my wifi. I did a factory reset and tried to re-install the ota- radio-2_22_19_26i.zip. After copying it to update.zip on the sd card and booting it would begin the install process. Verified ok. Install started but then I

[android-developers] Re: I get the unable to start wifi

2009-10-14 Thread Ryck
Doing the factory reset fixed my problem. But now I still can't connect to WPA Enterprise. Will try to re-istall 1.6. Thanks for your help. On Oct 12, 1:17 pm, mehool mehoo...@gmail.com wrote: Hey, I had the similar problem and was able to get it working by doing the default factory

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

2009-10-14 Thread fadden
On Oct 13, 11:38 pm, Ash ashutoshkagra...@gmail.com wrote: Can I launch an installed android application at runtime from another android application?? Whats the way for doing this?? Use the intent mechanism. See e.g.: http://developer.android.com/guide/topics/fundamentals.html#actcomp

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

2009-10-14 Thread Carl
Thanks, i was a bit off there. It is working now. Regards Carl Magnus On 14 Okt, 18:23, Marco Nelissen marc...@android.com wrote: On Wed, Oct 14, 2009 at 9:09 AM, Carl cm.sandens...@gmail.com wrote: I've copied the folder from the JDK and put it in the SDK. Nothing changed. Copying the

[android-developers] Re: ADB shell exiting abnormally

2009-10-14 Thread fadden
On Oct 13, 10:12 am, Keith Preston keith...@gmail.com wrote: 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 tried it just now on my setup, and didn't have a disconnect on device 1, but

[android-developers] BOOT_COMPLETED not being received by my application since 1.6

2009-10-14 Thread Richard Schilling
I upgraded my phone to 1.6 and the BOOT_COMPLETED event isn't being sent to my application anymore. There's nothing in the release notes related to changes in this intent. Can anyone enlighten me as to what needs to change in my application for 1.6 so I can get this event. This is a critical

[android-developers] Re: Android 1.6 SDK is here!

2009-10-14 Thread Richard Schilling
Well, here's some specific feedback on a very serious issue that seems to have come up: http://groups.google.com/group/android-developers/browse_thread/thread/c1f4450138843e5a BOOT_COMPLETED is not being sent to my 1.6 application - worked just fine in 1.5. Help. Richard Schilling Mobile

[android-developers] Headset pluged intent not firing

2009-10-14 Thread Richard Thompson
Hi there, I've been working on an application to detect when the headset is plugged in. My application can successfully receive broadcast intents such as airplane mode but when I plug my headphones in nothing happens with my app. If I triger the headset plugged intent in another app then my

[android-developers] Re: Getting paid apps for free ??

2009-10-14 Thread vorcigernix
Yes, it was estimate. It is actually 35-40% if this chart is to be believed: http://metrics.admob.com/wp-content/uploads/2009/07/admob-mobile-metrics-june-09.pdf Anyway... On Oct 14, 7:16 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Oct 14, 2009 at 6:19 AM, vorcigernix

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

2009-10-14 Thread Greivin Lopez
jotobjects I'm going to try what you suggest. It seems more like what I'm looking for. And also let you know what was the result. Thanks. With conditional compilation I refer of something more like an attribute that let you tell the compiler to either use one method or another. I would like to

[android-developers] Re: Application could not be installed on this phone?

2009-10-14 Thread Richard Schilling
Had a request from someone to elaborate on what I did to fix this. This issue started showing up when I started building with the 1.6 SDK. When I signed the application with a new certificate, the problem went away. Here's what I did: 1. created a new certificate using the instructions on this

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

2009-10-14 Thread Mark Murphy
Greivin Lopez wrote: jotobjects I'm going to try what you suggest. It seems more like what I'm looking for. And also let you know what was the result. Thanks. With conditional compilation I refer of something more like an attribute that let you tell the compiler to either use one method or

  1   2   >