[android-developers] sqllite database with data
I want to develope an android aplication with sqllite database. and I want to prepare database with data before publising. is it possible? How can I do it? -- 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] sqllite database with data
Yes, it is possible. You have to keep the database in the asset folder of your application. Then copy the db to application directory. If you google out you view many samples for this Reference http://www.reigndesign.com/blog/using-your-own-sqlite-database-in-android-applications/ Regards, Jovish On Sat, Dec 1, 2012 at 5:28 PM, Salih Gündüz gunduz.sa...@gmail.com wrote: I want to develope an android aplication with sqllite database. and I want to prepare database with data before publising. is it possible? How can I do it? -- 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 -- 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] sqllite database with data
Their is possible to do it.But it is supported only CRUD operations ,light weight database and it is local for single user. If you are maintain single database(common for every one)for all user you will maintain server and you can use web services in android project.(Here Client and Server relation). -- 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] sqllite database with data
Web service is a good solution.But I want user can read the text when they are offline. My apllication will show some text and user can search in this text. On Sat, Dec 1, 2012 at 2:11 PM, sree android android.sreeni...@gmail.comwrote: will maintain server -- 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: hi bros
Well, put a breakpoint on that line of code. See if it gets hit when you click your thing. Let me know. On Friday, November 30, 2012 9:46:01 PM UTC-6, sree wrote: i am using but not working Toast.makeText(MyExpandableActivity.this,Clicked Child,Toast.LENGTH_LONG).show(); -- 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] sqllite database with data
Either you will create a custom .slite db and add it to your assets and on the first install you will copy it (programmatically) to a new SQLite Database, or you will use web services and download the sqlite content only once, or when the text is updated. It is pretty easy and fast. On Sat, Dec 1, 2012 at 3:01 PM, Salih Gündüz gunduz.sa...@gmail.com wrote: Web service is a good solution.But I want user can read the text when they are offline. My apllication will show some text and user can search in this text. On Sat, Dec 1, 2012 at 2:11 PM, sree android android.sreeni...@gmail.comwrote: will maintain server -- 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 -- 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] sqllite database with data
I'm developping an app where I need it too. It's a basic quotes app, so it has two tables: quotes and authors. What I did: created two xml with the data and, when I create the database, I read the xml and populate it. Just simple. Now I have to discover some way to discover if the app was updated and, then, delete and recreate the database. ;-) Best regards. Em 01/12/2012 11:08, Salih Gündüz gunduz.sa...@gmail.com escreveu: Web service is a good solution.But I want user can read the text when they are offline. My apllication will show some text and user can search in this text. On Sat, Dec 1, 2012 at 2:11 PM, sree android android.sreeni...@gmail.comwrote: will maintain server -- 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 -- 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] sqllite database with data
thank you very much ;) On Sat, Dec 1, 2012 at 4:17 PM, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com wrote: Either you will create a custom .slite db and add it to your assets and on the first install you will copy it (programmatically) to a new SQLite Database, or you will use web services and download the sqlite content only once, or when the text is updated. It is pretty easy and fast. On Sat, Dec 1, 2012 at 3:01 PM, Salih Gündüz gunduz.sa...@gmail.comwrote: Web service is a good solution.But I want user can read the text when they are offline. My apllication will show some text and user can search in this text. On Sat, Dec 1, 2012 at 2:11 PM, sree android android.sreeni...@gmail.com wrote: will maintain server -- 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 -- 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 -- 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] sqllite database with data
Something I forgot: there are two xml with the data for each language, of course. And, for now, it's only Portuguese and English. Em 01/12/2012 12:20, Mário César Mancinelli de Araújo mandaproma...@gmail.com escreveu: I'm developping an app where I need it too. It's a basic quotes app, so it has two tables: quotes and authors. What I did: created two xml with the data and, when I create the database, I read the xml and populate it. Just simple. Now I have to discover some way to discover if the app was updated and, then, delete and recreate the database. ;-) Best regards. Em 01/12/2012 11:08, Salih Gündüz gunduz.sa...@gmail.com escreveu: Web service is a good solution.But I want user can read the text when they are offline. My apllication will show some text and user can search in this text. On Sat, Dec 1, 2012 at 2:11 PM, sree android android.sreeni...@gmail.com wrote: will maintain server -- 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 -- 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] sqllite database with data
Mario check this out. String versionName = getPackageManager(). getPackageInfo(getPackageName(), 0).versionName; You will programmatically check for the equality of this and an old one that you have saved either using sharedpreferences or any other way you would like. On Sat, Dec 1, 2012 at 4:22 PM, Mário César Mancinelli de Araújo mandaproma...@gmail.com wrote: Something I forgot: there are two xml with the data for each language, of course. And, for now, it's only Portuguese and English. Em 01/12/2012 12:20, Mário César Mancinelli de Araújo mandaproma...@gmail.com escreveu: I'm developping an app where I need it too. It's a basic quotes app, so it has two tables: quotes and authors. What I did: created two xml with the data and, when I create the database, I read the xml and populate it. Just simple. Now I have to discover some way to discover if the app was updated and, then, delete and recreate the database. ;-) Best regards. Em 01/12/2012 11:08, Salih Gündüz gunduz.sa...@gmail.com escreveu: Web service is a good solution.But I want user can read the text when they are offline. My apllication will show some text and user can search in this text. On Sat, Dec 1, 2012 at 2:11 PM, sree android android.sreeni...@gmail.com wrote: will maintain server -- 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 -- 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 -- 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] sqllite database with data
Thanks, man! It will do the job. :-D Best regards, Mario Cesar M. de Araujo Em 01/12/2012 12:30, Παύλος-Πέτρος Τουρνάρης p.tourna...@gmail.com escreveu: Mario check this out. String versionName = getPackageManager(). getPackageInfo(getPackageName(), 0).versionName; You will programmatically check for the equality of this and an old one that you have saved either using sharedpreferences or any other way you would like. On Sat, Dec 1, 2012 at 4:22 PM, Mário César Mancinelli de Araújo mandaproma...@gmail.com wrote: Something I forgot: there are two xml with the data for each language, of course. And, for now, it's only Portuguese and English. Em 01/12/2012 12:20, Mário César Mancinelli de Araújo mandaproma...@gmail.com escreveu: I'm developping an app where I need it too. It's a basic quotes app, so it has two tables: quotes and authors. What I did: created two xml with the data and, when I create the database, I read the xml and populate it. Just simple. Now I have to discover some way to discover if the app was updated and, then, delete and recreate the database. ;-) Best regards. Em 01/12/2012 11:08, Salih Gündüz gunduz.sa...@gmail.com escreveu: Web service is a good solution.But I want user can read the text when they are offline. My apllication will show some text and user can search in this text. On Sat, Dec 1, 2012 at 2:11 PM, sree android android.sreeni...@gmail.com wrote: will maintain server -- 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 -- 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 -- 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 -- 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: Google Maps Api Sign Up
I'm guessing that you are trying to open the native Android Google Maps app with a web url and hoping that the native app is going to fetch down your custom map and display it locally. There is no intent that I am aware of that does that PREMIUM or not. I think you need to create an intent that will target a web browser on the device with your URL, or load it into a webview within your app. On Friday, November 30, 2012 4:47:57 PM UTC-5, JHandal wrote: Sign Up for the Google Maps API The API keys generated by this page are no longer available I am using this tool to create my own map http://gmaps-samples.googlecode.com/svn/trunk/spreadsheetsmapwizard/makecustommap.htm I need to access this map from my Android App The Maps API requires a free API key that's associated with your Google Account http://www.google.com/accounts/ and the URL of your web site. You can sign up for one herehttp://code.google.com/apis/maps/signup.html, and substitute it as the value of the key= parameter in the script tag below. String MyOwnMap = https://maps.google.com/maps/ms?msid=214217748623619348483.0004c4c2e5e1da43c0f90msa=0 ; intent.setComponent(ComponentName.unflattenFromString(com.google.android.apps.maps/com.google.android.maps.MapsActivity)); Maybe some PREMIUM App from GOOGLE ? -- 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: When can every developer reply to reviews?
On Friday, 30 November 2012 18:17:52 UTC+1, TreKing wrote: On Fri, Nov 30, 2012 at 8:31 AM, Piren gpi...@gmail.com javascript:wrote: my personal favorites are the i want the app to have feature X, you get 1 star until you add it... bastards lol Even better: feature X already exists. Classic that one. My favorite example is a random user asking for a search function while the app have an in your face magnifying glass icon in every screen. WTF. -- 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: When can every developer reply to reviews?
Someone should make a blog post with all that faulty users' behaviour!!! On Sat, Dec 1, 2012 at 11:02 PM, b0b pujos.mich...@gmail.com wrote: On Friday, 30 November 2012 18:17:52 UTC+1, TreKing wrote: On Fri, Nov 30, 2012 at 8:31 AM, Piren gpi...@gmail.com wrote: my personal favorites are the i want the app to have feature X, you get 1 star until you add it... bastards lol Even better: feature X already exists. Classic that one. My favorite example is a random user asking for a search function while the app have an in your face magnifying glass icon in every screen. WTF. -- 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 -- 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] RemoteViewsService can't access ContentProvider in same app
I'm stepping through Professional Android 4 Application Development. I'm attempting to enter most of the code samples by hand, but I'm deploying the provided downloaded apps if what I've entered doesn't match what I expect. I'm on chapter 14, the 3rd iteration of the Earthquake example, which adds a list widget. The regular widget works fine, but when I try to place the list widget on the homescreen, I get the following: FATAL EXCEPTION: Binder Thread #2 java.lang.SecurityException: Permission Denial: reading com.example.earthquake.EarthquakeProvider uri content://com.example.earthquakeprovider/earthquakes from pid=806, uid=10001 requires null at android.content.ContentProvider $Transport.enforceReadPermission(ContentProvider.java:295) at android.content.ContentProvider $Transport.query(ContentProvider.java:177) When I install the corresponding app version from the code download, it works fine. I must be missing a small detail, but I don't see it. I've carefully compared the differences between the manifest files, but I don't see anything that's obviously relevant. If it matters, here is my entire app manifest. The only permission entry relevant to the list widget is BIND_REMOTEVIEWS, but the code sample has the same thing. - manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example.earthquake android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=14 android:targetSdkVersion=15 / uses-permission android:name=android.permission.INTERNET / uses-permission android:name=android.permission.VIBRATE / application android:icon=@drawable/ic_launcher android:label=@string/app_name android:theme=@style/AppTheme meta-data android:name=android.app.default_searchable android:value=.EarthquakeSearchResults / uses-library android:name=com.google.android.maps / activity android:name=.Earthquake android:label=@string/ title_activity_earthquake android:uiOptions=splitActionBarWhenNarrow intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity activity android:name=.PreferencesActivity android:label=@string/title_activity_preferences / activity android:name=.FragmentPreferences / activity android:name=.EarthquakeSearchResults android:exported=false android:label=@string/search_description android:launchMode=singleTop intent-filter action android:name=android.intent.action.SEARCH / category android:name=android.intent.category.DEFAULT / /intent-filter meta-data android:name=android.app.searchable android:resource=@xml/searchable / /activity provider android:name=.EarthquakeProvider android:authorities=com.example.earthquakeprovider android:exported=false / service android:name=.EarthquakeUpdateService android:enabled=true / receiver android:name=.EarthquakeAlarmReceiver android:exported=false intent-filter action android:name=com.example.earthquake.ACTION_REFRESH_EARTHQUAKE_ALARM / /intent-filter /receiver receiver android:name=.EarthquakeWidget android:label=Earthquake intent-filter action android:name=android.appwidget.action.APPWIDGET_UPDATE / /intent-filter intent-filter action android:name=com.example.earthquake.QUAKES_REFRESHED / /intent-filter meta-data android:name=android.appwidget.provider android:resource=@xml/quake_widget_info / /receiver receiver android:name=.EarthquakeListWidget android:label=Earthquake List intent-filter action android:name=android.appwidget.action.APPWIDGET_UPDATE / /intent-filter meta-data android:name=android.appwidget.provider android:resource=@xml/quake_list_widget_info / /receiver service android:name=.EarthquakeRemoteViewsService android:permission=android.permission.BIND_REMOTEVIEWS/ /application /manifest - -- 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: Google Maps Api Sign Up
Thanks ,you guessed right,take a look a this new tool,has more parameters takes longer,but actually you can generate a key to use in android http://www.google.com/earth/outreach/tutorials/spreadsheet3.html Sign Up for the Google Maps API -- 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] BPM calculation in Android
keep shaming yourself you self conceited bastard On Friday, February 4, 2011 12:20:53 PM UTC-6, TreKing wrote: On Wed, Feb 2, 2011 at 7:23 AM, Siva Kannabiran sivasa...@gmail.comjavascript: wrote: can anyone help me in knowing about the bpm calculation in android... You need to ask a better question if you want an answer. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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