[android-developers] SQLite - Unsupported file format [DS]
Im wondering if anyone here can provide some insight on this error I'm seeing from my app which is released in the Android Market and is reporting back the exception shown below. It's having trouble opening the DB, stating unsupported file format I can't find any good info in a google search as to why this might happen. My best guess is that somehow the DB file is getting corrupted. Any ideas? Thanks, Declan java.lang.RuntimeException: Unable to create service com.threefiftynice.android.picpush.framework.UploadService: android.database.sqlite.SQLiteException: unsupported file format at android.app.ActivityThread.handleCreateService(ActivityThread.java:2474) at android.app.ActivityThread.access$2800(ActivityThread.java:112) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1744) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3948) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:782) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540) at dalvik.system.NativeStart.main(Native Method) Caused by: android.database.sqlite.SQLiteException: unsupported file format at android.database.sqlite.SQLiteDatabase.native_setLocale(Native Method) at android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:1658) at android.database.sqlite.SQLiteDatabase.init(SQLiteDatabase.java:1608) at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:649) at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:679) at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:672) at android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:479) at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:181) at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98) at com.threefiftynice.android.picpush.db.MMDBHelper.getWritableDatabase(MMDBHelper.java:36) at com.threefiftynice.android.picpush.db.MMDBAdapter.init(MMDBAdapter.java:15) at com.threefiftynice.android.picpush.db.TransferAdapter.init(TransferAdapter.java:45) at com.threefiftynice.android.picpush.framework.UploadService.resetStaleTransfers(UploadService.java:682) at com.threefiftynice.android.picpush.framework.UploadService.onCreate(UploadService.java:674) at android.app.ActivityThread.handleCreateService(ActivityThread.java:2465) ... 10 more -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Go through the code ans suggest
The problem is that you are doing all the work on the UI thread in one method. The progress dialog is shown and dismissed in the same method. You need to post to the server asynchronously while the progress dialog is showing. Follow the pattern outlined in this article and you will be on your way. http://android-developers.blogspot.com/2009/05/painless-threading.html On Sat, Jun 12, 2010 at 9:07 AM, pawan nimje pawanni...@gmail.com wrote: Below is the code for posting data on a server ... my problem is i want to show a progress dialog when i click on submit button and dismiss it when data is posted ... i have written code for that .. but the thing is the progress dialog comes and goes ... and its hardly noticeable .. i hope u have understood my prob so plz suggest solution ... _ final Button btnSubmit = (Button) findViewById(R.id.submitButton); btnSubmit.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { // TODO Auto-generated method stub btnSubmit.setEnabled(false); etPersonName = (EditText) findViewById(R.id.byEditText); etPostText = (EditText) findViewById(R.id.postEditText); b = true; try { String personName = new String(); personName = etPersonName.getText().toString(); String postStr = new String(); postStr = etPostText.getText().toString(); if(personName.length() == 0 || postStr.length() == 0) { Toast.makeText(getApplicationContext(), Message and/or Sender's Name cannot be Blank. , Toast.LENGTH_SHORT).show(); btnSubmit.setEnabled(true); } else { btnSubmit.setEnabled(false); * m_ProgressDialog = ProgressDialog.show(LeaveMessage.this, Please wait..., Saving Post ..., true);* String msgStr = personName + ~ + postStr; String encryptStr = msgStr + + Constants.POST_KEY; String android_id = Secure.getString(cntxt.getContentResolver(), Secure.ANDROID_ID); String sha1Msg = SimpleSHA1.SHA1(encryptStr); Constants.LeaveURL = Constants.BasicLeaveURL; Constants.LeaveURL += ?tp=new; Constants.LeaveURL += message= + msgStr + ; Constants.LeaveURL += key= + sha1Msg + ; if (android_id == null) { Constants.LeaveURL += DeviceId= + 12312 + ; } else { Constants.LeaveURL += DeviceId= + android_id + ; } Constants.LeaveURL += cCode= + Constants.CountryCode; System.out.println(Constants.LeaveURL); URL url = new URL(Constants.LeaveURL); HttpURLConnection conn = (HttpURLConnection)url.openConnection(); conn.setDoInput(true); conn.setDoOutput(true); conn.setUseCaches(false); conn.setRequestMethod(POST); /* setRequestProperty */ conn.setRequestProperty(Connection, Keep-Alive); conn.setRequestProperty(Charset, UTF-8); conn.setRequestProperty(Content-Type, multipart/form-data); DataOutputStream ds = new DataOutputStream(conn.getOutputStream()); if(Constants.takePhoto!=null) { ByteArrayOutputStream baos = new ByteArrayOutputStream(); Constants.takePhoto.compress(Bitmap.CompressFormat.JPEG, 100, baos); byte[] data = baos.toByteArray(); ds.write(data); } Constants.takePhoto=null; ds.flush(); ds.close(); * //m_ProgressDialog.dismiss();* if(conn.getResponseCode() != HttpURLConnection.HTTP_OK){ Toast.makeText(getBaseContext(), conn.getResponseMessage(), Toast.LENGTH_LONG); } else{ * m_ProgressDialog.dismiss();* Toast.makeText(getBaseContext(), Message Posted!!, Toast.LENGTH_LONG);
Re: [android-developers] Re: Switching views with RadioButton and saving views in Bundle
I'd just like to point out that you are probably going down the wrong road based on bad upfront advice from the person who provided that first link to you. His second piece of advice - i.e. you can save the state of your RadioButton in onSaveInstanceState() and re-apply it in either onCreate() or onRestoreInstanceState(). is the way you should be approaching this problem. The reason Android destroys and re-creates your activity during an orientation switch is so it can load in the appropriate resources based on the orientation. i.e. landscape or portrait drawables and layouts. By ignoring the orientation change you lose this functionality. Also, You will have better results if you hide show views rather than actually removing them from the view heirarchy. SEE: view.setVisibility(View.GONE) and view.setVisibility(View.VISIBLE) On Tue, Mar 9, 2010 at 8:05 AM, ThemePark theoriginalthemep...@gmail.comwrote: Thanks, that little change to the manifest did exactly what I wanted. As for the error, I don't know why but now it's a RemoteException, and it happens the second time I push a button and try to add a view. That is, if I start out with the 2D view, I can change to 3D but then I try changing back to 2D and it crashes when trying to add the 2D view even though I remove it when I press the 3D button. Could it be that removeView doesn't actually remove the view at all, but just hides it? Either way, what I want is to only have one view attached to my main view with the radio buttons, at all times. Here is the logcat output: 03-09 16:57:30.061 D/AndroidRuntime( 958): 03-09 16:57:30.061 D/AndroidRuntime( 958): AndroidRuntime START 03-09 16:57:30.088 D/AndroidRuntime( 958): CheckJNI is ON 03-09 16:57:30.638 D/AndroidRuntime( 958): --- registering native functions --- 03-09 16:57:32.418 D/PackageParser( 564): Scanning package: /data/app/ vmdl35068 .tmp 03-09 16:57:32.657 I/jdwp( 958): received file descriptor 27 from ADB 03-09 16:57:32.710 I/PackageManager( 564): /data/app/vmdl35068.tmp changed; unp acking 03-09 16:57:32.737 D/installd( 543): DexInv: --- BEGIN '/data/app/ vmdl35068.tmp ' --- 03-09 16:57:33.288 D/dalvikvm( 965): DexOpt: load 124ms, verify 49ms, opt 2ms 03-09 16:57:33.338 D/installd( 543): DexInv: --- END '/data/app/ vmdl35068.tmp' (success) --- 03-09 16:57:33.537 I/installd( 543): move /data/dalvik-cache/ d...@app@vmdl35068 @classes.dex - /data/dalvik-cache/ d...@app@com.test@classes.dex 03-09 16:57:33.577 D/PackageManager( 564): New package installed in / data/app/c om.test.apk 03-09 16:57:33.877 D/AndroidRuntime( 958): Shutting down VM 03-09 16:57:33.887 D/dalvikvm( 958): DestroyJavaVM waiting for non- daemon threa ds to exit 03-09 16:57:33.928 D/dalvikvm( 958): DestroyJavaVM shutting VM down 03-09 16:57:33.937 D/dalvikvm( 958): HeapWorker thread shutting down 03-09 16:57:33.937 D/dalvikvm( 958): HeapWorker thread has shut down 03-09 16:57:33.937 D/jdwp( 958): JDWP shutting down net... 03-09 16:57:33.937 D/jdwp( 958): +++ peer disconnected 03-09 16:57:33.937 I/dalvikvm( 958): Debugger has detached; object registry had 1 entries 03-09 16:57:33.957 D/dalvikvm( 958): VM cleaning up 03-09 16:57:34.058 D/dalvikvm( 958): LinearAlloc 0x0 used 629572 of 4194304 (15 %) 03-09 16:57:34.558 D/dalvikvm( 564): GC freed 5649 objects / 328304 bytes in 39 9ms 03-09 16:57:34.588 D/HomeLoaders( 608): application intent received: android.in tent.action.PACKAGE_ADDED, replacing=false 03-09 16:57:34.588 D/HomeLoaders( 608): -- package:com.test 03-09 16:57:34.588 D/HomeLoaders( 608): -- add package 03-09 16:57:34.748 W/ResourceType( 564): No package identifier when getting val ue for resource number 0x7f06 03-09 16:57:34.777 W/ResourceType( 564): No package identifier when getting val ue for resource number 0x7f060001 03-09 16:57:35.977 D/AndroidRuntime( 970): 03-09 16:57:35.977 D/AndroidRuntime( 970): AndroidRuntime START 03-09 16:57:35.987 D/AndroidRuntime( 970): CheckJNI is ON 03-09 16:57:36.710 D/AndroidRuntime( 970): --- registering native functions --- 03-09 16:57:38.398 I/ActivityManager( 564): Starting activity: Intent { flags=0 x1000 comp={com.test/com.test.App} } 03-09 16:57:38.568 D/AndroidRuntime( 970): Shutting down VM 03-09 16:57:38.579 D/dalvikvm( 970): DestroyJavaVM waiting for non- daemon threa ds to exit 03-09 16:57:38.607 D/dalvikvm( 970): DestroyJavaVM shutting VM down 03-09 16:57:38.607 D/dalvikvm( 970): HeapWorker thread shutting down 03-09 16:57:38.617 D/dalvikvm( 970): HeapWorker thread has shut down 03-09 16:57:38.627 D/jdwp( 970): JDWP shutting down net... 03-09 16:57:38.667 D/dalvikvm( 970): VM cleaning up 03-09 16:57:38.739 I/ActivityManager( 564): Start proc com.test for activity co m.test/.App: pid=977 uid=10020 gids={} 03-09 16:57:38.918 D/dalvikvm( 970): LinearAlloc 0x0 used 637060 of 4194304
Re: [android-developers] Webview dont open Virtual Keyboard?
I'm having the same issue and cant find any solution thru google searches. Did you ever find out the solution or if not what workaround did you use? On Thu, Jul 2, 2009 at 10:08 AM, guruk ilovesi...@gmail.com wrote: Hi, I have a URL where User can Input in a Field. When I open that URL with the Android Browser and click in the Field the Virtual Keyboard pops up. When I open the same URL with my WebView and click in the Field the Virtual Keyboard does NOT appear?! What Do I have to do? Greets Chris --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~--- -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Launch navigation app with an Intent - [DS]
This code will work on any SDK. What matters here is the version of google maps that is on the device. The navigation features were added in google maps version 3.2.1 as far as i know. On Sun, Jan 3, 2010 at 9:28 AM, kautilya imtheno...@gmail.com wrote: Hi Declan , Thanks for your code . it's working very well But only with SDK 2.0.1. Thanks kautilya -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Launch navigation app with an Intent - [DS]
Sorry but that's just a web URL, not the Navigation App. I found out how to do it by applying a bit of guesswork after reading this page (suggested previously by Lance, thanks Lance) http://developer.android.com/intl/zh-CN/guide/appendix/g-app-intents.html Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(google.navigation:q=New+York+NY)); startActivity(i); On Wed, Dec 16, 2009 at 11:45 PM, lk vaish.alo...@gmail.com wrote: for opening in navigation mode try this-- Intent navigation = new Intent(Intent.ACTION_VIEW, Uri.parse(“http:// maps.google.com/maps? saddr=42.35892,-71.05781daddr=40.756054,-73.986951http://maps.google.com/maps?%0Asaddr=42.35892,-71.05781daddr=40.756054,-73.986951 ”)); startActivity(navigation); where saddr = latitude and longitude of starting point. and daddr = latitude and longitude of destination point. thanks On Dec 12, 10:57 am, Declan Shanaghy dec...@350nice.com wrote: Well yes it is the maps app but i want to launch in in Navigation mode, not just a plain ole map. This is for a Droid specific app, which has Android 2.0 with Google Navigation. On Fri, Dec 11, 2009 at 4:37 PM, Lance Nanek lna...@gmail.com wrote: Do you mean the Google Maps app? For that you can use an intent with an ACTION_VIEW action and URI like this: geo:0,0?q=my+street+address Documented on this page: http://developer.android.com/intl/zh-CN/guide/appendix/g-app-intents.. .. On Dec 11, 4:48 pm, Declan Shanaghy dec...@350nice.com wrote: Hello, I realize this might not be the proper place to post this since it's not Android specific, but rather its about integrating with a google app. I've been trying to find some documentation on launching / controlling the Google Navigation app via Intents or otherwise. I was hoping to find an intent to launch the navigation app with address parameters setup and start navigation immediately. Can't find anything out there, so I'm still not even sure if it can be done. Anyone have any ideas? Thanks, Dek -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. --http://www.randsinrepose.com [DS] -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. --http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: TTS over bluetooth
DOH! The heaset i was using didnt support A2DP. When i connected an A2DP headset any TTS sent to the Music stream played in the headset. On Mon, Dec 14, 2009 at 1:33 PM, Declan Shanaghy dec...@350nice.com wrote: Using Android 2.0 SDK. Is it possible to direct the TTS engine's output to a connected BT headset? I've tried with KEY_PARAM_STREAM set to all of the available stream types but the speech is still output by the speaker on the phone. Any guidance or suggestions welcome. Thanks, Declan -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] TTS over bluetooth
Using Android 2.0 SDK. Is it possible to direct the TTS engine's output to a connected BT headset? I've tried with KEY_PARAM_STREAM set to all of the available stream types but the speech is still output by the speaker on the phone. Any guidance or suggestions welcome. Thanks, Declan -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Launch navigation app with an Intent - [DS]
Hello, I realize this might not be the proper place to post this since it's not Android specific, but rather its about integrating with a google app. I've been trying to find some documentation on launching / controlling the Google Navigation app via Intents or otherwise. I was hoping to find an intent to launch the navigation app with address parameters setup and start navigation immediately. Can't find anything out there, so I'm still not even sure if it can be done. Anyone have any ideas? Thanks, Dek -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com [DS] -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Launch navigation app with an Intent - [DS]
Well yes it is the maps app but i want to launch in in Navigation mode, not just a plain ole map. This is for a Droid specific app, which has Android 2.0 with Google Navigation. On Fri, Dec 11, 2009 at 4:37 PM, Lance Nanek lna...@gmail.com wrote: Do you mean the Google Maps app? For that you can use an intent with an ACTION_VIEW action and URI like this: geo:0,0?q=my+street+address Documented on this page: http://developer.android.com/intl/zh-CN/guide/appendix/g-app-intents.html On Dec 11, 4:48 pm, Declan Shanaghy dec...@350nice.com wrote: Hello, I realize this might not be the proper place to post this since it's not Android specific, but rather its about integrating with a google app. I've been trying to find some documentation on launching / controlling the Google Navigation app via Intents or otherwise. I was hoping to find an intent to launch the navigation app with address parameters setup and start navigation immediately. Can't find anything out there, so I'm still not even sure if it can be done. Anyone have any ideas? Thanks, Dek -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. --http://www.randsinrepose.com [DS] -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Paid applications and market feedback/rating
As far as i can figure out the return on ads is not worth it unless you can serve 100,000 impressions per day. At the normal clickthru rate you can expect about $1 for every 1000 ads served up (with admob anyway) Admob also has a very small advertiser base, its always the same ads showing up. Good thing google are finally getting into the game with adsense. Pity its restricted right now tho. On Fri, Jun 26, 2009 at 5:22 AM, Derek xianguan...@gmail.com wrote: I think another option is to add ads (adMob or google AdSense) into the app. You may not need a paid version. -- An engineer's definition of done is the perfect set of code, and left to his own devices, an engineer will endlessly improve the code on the mythic journey to done. -- http://www.randsinrepose.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Paid applications and market feedback/rating
I was searching for an easy way to implement trial and paid versions. This seems like an ideal solution. Gonna try it out. Has anyone out there tried this? How did it work out? On Sat, May 9, 2009 at 10:42 AM, mirko mirkocze...@googlemail.com wrote: Hi all, as in a few weeks it will be possible to sell application from germany I was thinking some time to keep my currently free version and offer an enhanced paid version. I only wanted to support one version of code. The idea was to have a preference setting to enable the paid options in the code. So I tried to get a secure way to set this preference. In my opinion the above shown way works, but everyone can just write a package that meets the package name of the license and install it. To get access to the private preference of the free version of the program, I will use signature based permission and a very easy content provider. These steps will lead to a full version: 1. Install the free version 2. Install the licensing application for the free version. This one needs to have the same signature as the free version. 3. When starting the paid app, it gets the simple content provider from the free app (secured with signature based permissions) and sets the flag for the license in the preferences of the free app 4. You can use the free app with all features. 5. After 24 hours the license app has to be run again to make sure it was not refunded. (can be done automatically with an intent) 6. The license app may be uninstalled to safe memory What do you think about this approach? Did I miss anything? Any huge security leaks? If this work I will publish the code for the licensing app so that every app can get the same licensing behaviour. @Google: Btw, I think the best thing would be to handle such licensing within the market, because this would be the easiest for the user. Until this is done we have to do such workarounds. Mirko On 17 Mrz., 16:56, StefanK skyntc...@gmail.com wrote: There is probably a possibility to still keep the ratings if you leave the app free, let it expire (or go to a limited functionality after a several days or so). If users want to get it back to full features - they have to buy an unlock key. The unlock key is nothing more than a paid application that has no functionality. Your free application will just have to check if the paid is installed and unlock itself. This approach (if possible) has lots of advantages: 1. You can keep the ratings from the free app 2. You support only one app (not free and paid). 3. You can give your users potentially longer trial than the 24 hours Google allows. 4. No need to port settings from the free to the paid one. 5. You potentially avoid issues with crashes caused by copy protection as you will copy protect only the paid app that has not real functionality, This is a bit unconventional approach, but it may work. On Mar 16, 7:44 pm, Keith Wiley kbwi...@gmail.com wrote: I don't *think* that's possible. Assuming the signature/package is tied to the market app, there is no way to convert a previously free app to a paid app. A brand new app must be installed instead, if I've understood thing so far. I think a new app must have a new package and an old app can't be changed from free to paid. Can anyone clarify or straighten this out for us? On Mar 16, 4:26 pm, sm1 sergemas...@gmail.com wrote: I'm not 100% sure but if my understanding of how Android Market works is correct, what you may want to do is keep the same package (aka. signature) for your paid app as the package that you had before, with the comments and ratings, and make a *new* package for the free app., and the new free app will start at zero comments and zero ratings, but you could write about that in it's description, i.e., previous version had a rating of x stars. and you could verify it by posting on this forum: http://www.google.com/support/forum/p/Android+Market Let us know what you find. cheers, good luck with your app. On Mar 16, 11:02 am, Keith Wiley kbwi...@gmail.com wrote: I have had a free version of my app available for several months. With the new features I am about to release in the latest version, and with paid apps now possible, I intend to split the app into a free lite/trial version and a paid full version. I am aware that I must create a new app with a new signature for the full version b/c I can't change the current free app to a paid one. I don't mind this, but, is there any way I can transfer the thousands of feedback and ratings I have accumulated so far to the paid version even though it will have a totally new signature? If there is no way to do this then, permit me to say, I am a little miffed. :-/ ...but I'm holding out hope that I missed this somewhere, that's it's
[android-developers] Re: connection with Gdata : problem
Following the recommendation from this thread: http://markmail.org/message/2do7hlyw6ka4dat2#query:android%20HttpsUrlConnection+page:2+mid:slnqe4wtk6k77e3r+state:results I have placed some modified jars here: http://www.shanaghy.com/gdatamod/ I modified the gdata source to override the https cert verifier in the following places. com\google\gdata\client\GoogleAuthTokenFactory.java(461): HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); com\google\gdata\client\authn\oauth\OAuthHttpClient.java(43): HttpURLConnection connection = (HttpURLConnection) url.openConnection(); com\google\gdata\client\http\AuthSubUtil.java(303): HttpURLConnection httpConn = (HttpURLConnection) url.openConnection(); com\google\gdata\client\http\AuthSubUtil.java(371): HttpURLConnection httpConn = (HttpURLConnection) url.openConnection(); com\google\gdata\client\http\AuthSubUtil.java(431): HttpURLConnection httpConn = (HttpURLConnection) url.openConnection(); com\google\gdata\client\http\HttpGDataRequest.java(320): HttpURLConnection uc = (HttpURLConnection) requestUrl.openConnection(); The modified code looks like this: // Open connection HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); if ( urlConnection instanceof HttpsURLConnection ) { HttpsURLConnection ucs = (HttpsURLConnection) urlConnection; ucs.setHostnameVerifier( new X509HostnameVerifier(){ @Override public boolean verify(String arg0, SSLSession arg1) { return true; } @Override public void verify(String arg0, SSLSocket arg1) throws IOException { } @Override public void verify(String arg0, X509Certificate arg1) throws SSLException { } @Override public void verify(String arg0, String[] arg1, String[] arg2) throws SSLException { } }); } I have only tested this using PicasawebService.setUserCredentials and it passed the verification step without any problems. I have not tested this extensively and do not plan to maintain it. If you wish to use it do so at your own leisure/risk ;-P On Tue, Nov 18, 2008 at 1:44 AM, Waldo [EMAIL PROTECTED] wrote: I'm having the same problem. Apparently lots of people are, judging from searches I've done... W On Nov 3, 7:35 am, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hello. I'm from Belgium, so, sorry for my english ;-) I'm developing an application withgdataAPI. I tried : PicasawebService myService = new PicasawebService(exampleCo- exampleApp-1);myService.setUserCredentials([EMAIL PROTECTED], password); it works fine on an J2SE application but there is an error with Android : com.google.gdata.util.AuthenticationException: Error connecting with login URI I put the INTERNET permission in manifest file but it doesn't works Can anybody help me ? thanks Julien --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] XMas presents
The camera arrived! :-D wahoo. I was thinking it might be easier if myself and mick go in on this camera for the aul one, then ye can split a present for the aul lad. Does that work for ye? P.S. What is you IM, its easier quicker than emial sometimes. Here are mine, pick whatever one u want to use: ICQ: 8489291 AOL: dshanaghysf MSN: [EMAIL PROTECTED] Yahoo: [EMAIL PROTECTED] Google: [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: hooking to the PHONE button
Now you're just arguing semantics. I never said he could steal it, that would be quite a stupid thing for the OS to allow. Registering for that Intent allows him to do what he wants in the context of when he is allowed to do it. Therefore it answers his question (or at least gets him as close as he is ever going to get) On Wed, Nov 5, 2008 at 11:09 AM, hackbod [EMAIL PROTECTED] wrote: It's not the same, you can't steal it from everyone. This only happens when the currently focused app doesn't do anything special with the phone key. The home key, in contrast, can not be handled by the foreground app -- it always starts the home activity. On Nov 5, 10:09 am, Declan Shanaghy [EMAIL PROTECTED] wrote: Well that would imply that the default handling is setup they way i suggested it should be! ;-P @simonsh There's your answer! On Tue, Nov 4, 2008 at 6:09 PM, hackbod [EMAIL PROTECTED] wrote: Oh the -default- handling of the green key is this: private void startCallActivity() { Intent intent = new Intent(Intent.ACTION_CALL_BUTTON); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); getContext().startActivity(intent); } So you can write an activity that implements that action. You can - not- however generally intercept the green key: if the app handles it yourself (such as pressing the green key while highlighting a phone number to place a call) you won't run. On Nov 4, 4:23 pm, Declan Shanaghy [EMAIL PROTECTED] wrote: It doesn't seem that way. No matter what application I am in if I press the green phone button the recent call log comes up. What about when the user is on the home screen? On Tue, Nov 4, 2008 at 12:22 AM, hackbod [EMAIL PROTECTED] wrote: The green phone key is for use by the foreground application. On Nov 3, 7:34 pm, Declan Shanaghy [EMAIL PROTECTED] wrote: It shouldnt be stolen but it should be overridable. Much like the app picker behaves when multiple apps are registered for an Intent. I dont know how the internals of how the off hook button works but couldnt it broadcast an Intent to go off hook which then can be handled like any other intent. To avoid the annoying situation of having to choose an app every time a changeable default could be setup. (Like how RingDroid replaces the default ringtone picker) On Mon, Nov 3, 2008 at 3:15 PM, hackbod [EMAIL PROTECTED] wrote: Correct, you can't steal it from other apps. When your apps is in the foreground, however, you will see the key as a normal key event that you can process however you want. On Nov 3, 1:11 pm, Shawn [EMAIL PROTECTED] wrote: I don't think you would be allowed to remap the phone button that would force people to use your app even if they didn't want to and my be considered malacious. That's just an opinion though -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Mon, 3 Nov 2008 13:09:53 To: Android Developersandroid-developers@googlegroups.com Subject: [android-developers] hooking to the PHONE button Hi, How can I make my own application run whenever the user presses the green PHONE button ? TIA --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: hooking to the PHONE button
Well that would imply that the default handling is setup they way i suggested it should be! ;-P @simonsh There's your answer! On Tue, Nov 4, 2008 at 6:09 PM, hackbod [EMAIL PROTECTED] wrote: Oh the -default- handling of the green key is this: private void startCallActivity() { Intent intent = new Intent(Intent.ACTION_CALL_BUTTON); intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); getContext().startActivity(intent); } So you can write an activity that implements that action. You can - not- however generally intercept the green key: if the app handles it yourself (such as pressing the green key while highlighting a phone number to place a call) you won't run. On Nov 4, 4:23 pm, Declan Shanaghy [EMAIL PROTECTED] wrote: It doesn't seem that way. No matter what application I am in if I press the green phone button the recent call log comes up. What about when the user is on the home screen? On Tue, Nov 4, 2008 at 12:22 AM, hackbod [EMAIL PROTECTED] wrote: The green phone key is for use by the foreground application. On Nov 3, 7:34 pm, Declan Shanaghy [EMAIL PROTECTED] wrote: It shouldnt be stolen but it should be overridable. Much like the app picker behaves when multiple apps are registered for an Intent. I dont know how the internals of how the off hook button works but couldnt it broadcast an Intent to go off hook which then can be handled like any other intent. To avoid the annoying situation of having to choose an app every time a changeable default could be setup. (Like how RingDroid replaces the default ringtone picker) On Mon, Nov 3, 2008 at 3:15 PM, hackbod [EMAIL PROTECTED] wrote: Correct, you can't steal it from other apps. When your apps is in the foreground, however, you will see the key as a normal key event that you can process however you want. On Nov 3, 1:11 pm, Shawn [EMAIL PROTECTED] wrote: I don't think you would be allowed to remap the phone button that would force people to use your app even if they didn't want to and my be considered malacious. That's just an opinion though -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Mon, 3 Nov 2008 13:09:53 To: Android Developersandroid-developers@googlegroups.com Subject: [android-developers] hooking to the PHONE button Hi, How can I make my own application run whenever the user presses the green PHONE button ? TIA --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Verify Error with HTTPMIME / MIME4J
Alvin, I have successfuly got multipart posts to work using the jars in this zip file. http://www.shanaghy.com/wah/httpclient-jars.zip I also saw a post on another thread, someone provided this set of jars. http://archive.apache.org/dist/httpcomponents/httpclient/binary/httpcomponents-client-4.0-alpha4-bin-with-dependencies.zip The jars I'm using are newer, --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: hooking to the PHONE button
It doesn't seem that way. No matter what application I am in if I press the green phone button the recent call log comes up. What about when the user is on the home screen? On Tue, Nov 4, 2008 at 12:22 AM, hackbod [EMAIL PROTECTED] wrote: The green phone key is for use by the foreground application. On Nov 3, 7:34 pm, Declan Shanaghy [EMAIL PROTECTED] wrote: It shouldnt be stolen but it should be overridable. Much like the app picker behaves when multiple apps are registered for an Intent. I dont know how the internals of how the off hook button works but couldnt it broadcast an Intent to go off hook which then can be handled like any other intent. To avoid the annoying situation of having to choose an app every time a changeable default could be setup. (Like how RingDroid replaces the default ringtone picker) On Mon, Nov 3, 2008 at 3:15 PM, hackbod [EMAIL PROTECTED] wrote: Correct, you can't steal it from other apps. When your apps is in the foreground, however, you will see the key as a normal key event that you can process however you want. On Nov 3, 1:11 pm, Shawn [EMAIL PROTECTED] wrote: I don't think you would be allowed to remap the phone button that would force people to use your app even if they didn't want to and my be considered malacious. That's just an opinion though -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Mon, 3 Nov 2008 13:09:53 To: Android Developersandroid-developers@googlegroups.com Subject: [android-developers] hooking to the PHONE button Hi, How can I make my own application run whenever the user presses the green PHONE button ? TIA --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: hooking to the PHONE button
It shouldnt be stolen but it should be overridable. Much like the app picker behaves when multiple apps are registered for an Intent. I dont know how the internals of how the off hook button works but couldnt it broadcast an Intent to go off hook which then can be handled like any other intent. To avoid the annoying situation of having to choose an app every time a changeable default could be setup. (Like how RingDroid replaces the default ringtone picker) On Mon, Nov 3, 2008 at 3:15 PM, hackbod [EMAIL PROTECTED] wrote: Correct, you can't steal it from other apps. When your apps is in the foreground, however, you will see the key as a normal key event that you can process however you want. On Nov 3, 1:11 pm, Shawn [EMAIL PROTECTED] wrote: I don't think you would be allowed to remap the phone button that would force people to use your app even if they didn't want to and my be considered malacious. That's just an opinion though -Original Message- From: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Mon, 3 Nov 2008 13:09:53 To: Android Developersandroid-developers@googlegroups.com Subject: [android-developers] hooking to the PHONE button Hi, How can I make my own application run whenever the user presses the green PHONE button ? TIA --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: SDK 1.0: what about multipart entities
Im having a problem adding hese jars to my project for multipart form posts. I added commons io no problem. But when i add httpmime or mime4j i dont receive the BOOT_COMPLETED Intent. This seems very strange, why would adding these jars affect receiving this intent? On Sep 28, 5:10 am, gjs [EMAIL PROTECTED] wrote: Hi, Hmm, I think these jars are packaged into the .apk, I can see lot of references inside classes.dex to these libraries and the size of the generated .apk and .dex files would seem to indicate that this true. I would still like an answer re correct way to do this in V1.0. Google/Justin/Megha any assistance greatly appreciated. Regards On Sep 27, 2:28 pm, shotwave [EMAIL PROTECTED] wrote: gjs, yeap it worksin the eumlator, but I wonder if it will work on the real phone since emulator uses your classpath with the dedicated jars, but these jars are not packed into apk I guess, so they might be not available to the real world phone app On Sep 26, 7:14 pm, gjs [EMAIL PROTECTED] wrote: I have found that the method described for V0.9 still works ok in V1.0... On Sep 26, 4:11 pm, gjs [EMAIL PROTECTED] wrote: Hi, Does this mean that we still have to use the method described for V0,9 ? As discussed in - http://groups.google.com/group/android-developers/browse_frm/thread/e... Anybody ? Regards On Sep 25, 3:48 pm, shotwave [EMAIL PROTECTED] wrote: umm, no, I do not tink that this affects te browser, it is all about the http clien api included into sdk On Sep 25, 12:44 am, Shane Isbell [EMAIL PROTECTED] wrote: Does this mean that the browser itself also no longer supportsmultipart content? Thanks, Shane On Wed, Sep 24, 2008 at 9:38 PM, shotwave [EMAIL PROTECTED] wrote: Hi, theMultipartentities were removed from http commons, so in order to use them in SDK 0.9 we had to use external jars apache- mime4j-0.3.jar, commons-io-1.4.jar, httpmime-4.0-alpha4.jar. This was was fine for beta and android emulation. But now the phone is here, the SDK is released and not beta anymore and it looks like the multipartentities API is not there. I wonder how this is intended to work? Do we need to implement the http post for forms ourselves? and advice anybody? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Running an activity w/o external communications
There is a broadcast intent to indicate the user activated airplane mode. http://code.google.com/android/reference/android/content/Intent.html#ACTION_ AIRPLANE_MODE_CHANGED As for activating it yourself or monitoring radio states, I haven't delved deep enough to provide info on that. -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Jose Vasconcellos Sent: Friday, October 24, 2008 10:06 PM To: Android Developers Subject: [android-developers] Running an activity w/o external communications I would like to run an activity only if all communication paths (e.g. gsm, wifi, bluetooth) are disabled. Is that possible? A related questions, how to disable wireless communications? Is that not a requirement in order to use android in a plane? --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: If delete R.java, how how can recover it?
Well I know it is supposed to! I was hoping that if he tried building thru ant it would fix the problem he's having. -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Romain Guy Sent: Wednesday, October 22, 2008 9:55 PM To: android-developers@googlegroups.com Subject: [android-developers] Re: If delete R.java, how how can recover it? It does :) On Wed, Oct 22, 2008 at 9:39 PM, Declan Shanaghy [EMAIL PROTECTED] wrote: If you build the app through ant rather than the eclipse UI does it recreate R.java? On Oct 22, 2008, at 10:11 AM, misbell wrote: No one answered this question. Build Automatically is checked in Eclipse. Still doesn't regenerate R.java. (Ganymede). Also, whenit existed, I made a change to main.xml, r.java was NOT regenerated. There is nothing whatsoever wrong with my manifest file. The app ran perfectly before I dared to alter the XML. This is flakey beyond belief. -- Romain Guy www.curious-creature.org --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: ADB via USB
But is the driver x64 compatible? -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of plusminus Sent: Thursday, October 23, 2008 8:57 AM To: Android Developers Subject: ***SPAM*** [android-developers] Re: ADB via USB Btw: I've compiled a list of steps to debug on Windows(Vista) with a Driver-Download: http://href.to/Jo5 Regards, plusminus http://anddev.org # Worlds largest Android Development Community / Tutorials On 23 Okt., 11:48, Ed Burnette [EMAIL PROTECTED] wrote: I see the doc has been changed to say Windows (32-bit only). I tried it on a Win32 (XP) machine and it worked fine. Any tips on how to port the driver to Win64? On Oct 22, 4:20 pm, Ed Burnette [EMAIL PROTECTED] wrote: It's not working for me. The device driver won't install, and I get this error from Vista64: Description: Windows detected a new device attached to your computer, but could not find the driver software it needs to make the device usable. Each device manufacturer typically includes driver software of a CD that comes with the device, or as a download from its website. The hardware ID of your device is USB\VID_0BB4PID_0C02REV_0100MI_01. Problem signature: Problem Event Name: PnPDriverNotFound Architecture: x64 Hardware Id: USB\VID_0BB4PID_0C02REV_0100MI_01 OS Version: 6.0.6001.2.1.0.256.4 Locale ID: 1033 On Oct 22, 3:03 pm, Xavier Ducrohet [EMAIL PROTECTED] wrote: Hi Mark, We just updated the doc regarding developing on devices, for all platforms. http://code.google.com/android/intro/develop-and-debug.html#developin... Xav --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Simulate key press action.
The monkey should be able to help here! http://code.google.com/android/reference/monkey.html It is configurable but im not sure if it meets your needs 100%. You could enhance it, but at the very least you can copy what it does into an app of your own. Ah, you just reminded me of good the ole Code Monkey song! :-D http://www.youtube.com/watch?v=v4Wy7gRGgeA -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of BeeScreen Sent: Wednesday, October 22, 2008 11:15 AM To: Android Developers Subject: [android-developers] Simulate key press action. Hi, I am new to Android dev. Just been asked to research if I can simulate the key press action. Boss wants me to write a program that can press the phone keys instead of me pressing them. Is this possible in Android. Please point me to any clues. Thanks in advance. Regards Beescreen --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: Market Place and Trial Software?
I was thinking along those lines too. However, not ruling out the other marketplaces which currently support a payment system. There's also the option of providing a paypal button on your own website (granted it will be less accessible) And it should be easy to tie an automatically emailed unlock code to a paypal payment to unlock extra features. Not that this couldn’t be easily defeated but if people are actively circumventing this then you're probably already laughing all the way to the bank anyway. -Original Message- From: android-developers@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of atrus123 Sent: Wednesday, October 22, 2008 1:26 PM To: Android Developers Subject: [android-developers] Re: Market Place and Trial Software? Another thing I was wondering if it would be possible to simply start charging for the app once that becomes an option. So we'd post our stuff now... free... and then go in and edit the price later on. It might be a good option; by then we'd have feedback, and any popularity might drive future revenue. I'd love to hear from a Google employee about how they expect this to work. On Oct 22, 4:07 pm, cyntacks [EMAIL PROTECTED] wrote: Hi Al, Great stuuf, to be honest I'm not as adept at licensing as I should be, given my job description and all! But there is def. a need for licensing of some sort. I'm really surprised we have to wait until Q1 (which, as we all know could mean as late as March 31!). It just really puts a damper on the whole thing and is going to create headaches for most of us. Time-to-Market is huge in this industry, and those of us who worked very long days for too long toiling in the dark will not be able to benefit (read $) from the vacuum created when the new store goes live on Monday. Just a shame, that's all... But then again, I guess we could use the opportunity to perfect our products, or create more apps. Keep on coding, and def. let me know about the licensing idea, very interested. Kevin On Oct 22, 3:57 pm, Al Sutton [EMAIL PROTECTED] wrote: Hi Kevin, I think you'll end up with two apps initially. I'm looking at working on a licensing solution because there seems to be a need. Do you have any tips as to what you'd like to see? Al. cyntacks wrote: Hi Al, I guess that is the question. Does Android support this type of transaction (i.e. lite version)? I don't recall seeing anything in the API about this. Of course I can just disable parts of the app, but how would the user upgrade to the full version? Am I making to much out of this, will it all make sense come Monday morning? Kevin On Oct 22, 3:44 pm, Al Sutton [EMAIL PROTECTED] wrote: Can you not ship a cut down lite version with an option to pay for a fuller version? Al. atrus123 wrote: I'm disappointed that we won't be able to charge until next quarter, and it does put a slight dent in my plans. I guess I'll just sigh and deploy. On Oct 22, 1:56 pm, cyntacks [EMAIL PROTECTED] wrote: Ok, so the Market Place will be live on Monday, AWESOME! AWESOME! AWESOME! But here is a question for all you developers like us who are hoping to make some revenue off months of hard work. Does the API currently support a way to make our applications trial software? That is, making them free until March 1st or some other date, at which time the user will have to pay? Obviously getting on the phone and receiving user reviews is extremely important, but giving away all of our hard work just seems wrong. I have read that over 1 million people have pre-ordered the phone, that is a lot of free software giveaways.. What is everyone else doing? Waiting? Sayhing the heck with it and deploying? Just looking for some advice. Kevin --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Detecting new media
Is there any elegant way in the API for detecting new media when it is written to the device? I'm mainly interested in photos taken by the camera, video taken by the camera and audio recorded from the mic. My current thinking is to periodically scan each media content provider and filter based on last scan time. I'm just wondering if there is some service I can hook into to get realtime notifications. Thanks for any hints, Declan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] MediaStore.Images.ImageColumns.IS_PRIVATE
The API docs describe this field as: Whether the video should be published as public or private Can anyone provide more detail on what this column is intended for and how it gets set? I am thinking of capturing camera shutter events to send notifications which ask the user whether they wish an image to be private or not. But im not sure if it is appropriate to use (hijack) this column. If it is not appropriate to use this column is there any possibilty to add to the image columns or would i need to maintain my own database which ties an image id to my own privacy flag? Thanks, Declan --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---
[android-developers] Re: If delete R.java, how how can recover it?
If you build the app through ant rather than the eclipse UI does it recreate R.java? On Oct 22, 2008, at 10:11 AM, misbell wrote: No one answered this question. Build Automatically is checked in Eclipse. Still doesn't regenerate R.java. (Ganymede). Also, whenit existed, I made a change to main.xml, r.java was NOT regenerated. There is nothing whatsoever wrong with my manifest file. The app ran perfectly before I dared to alter the XML. This is flakey beyond belief. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~--~~~~--~~--~--~---