[android-developers] sqllite database with data

2012-12-01 Thread Salih Gündüz
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Jovish P
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,

Re: [android-developers] sqllite database with data

2012-12-01 Thread sree android
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Salih Gündüz
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

Re: [android-developers] Re: hi bros

2012-12-01 Thread bob
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Παύλος-Πέτρος Τουρνάρης
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Mário César Mancinelli de Araújo
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Salih Gündüz
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Mário César Mancinelli de Araújo
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Παύλος-Πέτρος Τουρνάρης
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

Re: [android-developers] sqllite database with data

2012-12-01 Thread Mário César Mancinelli de Araújo
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

[android-developers] Re: Google Maps Api Sign Up

2012-12-01 Thread Spiral123
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

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-01 Thread b0b
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.

Re: [android-developers] Re: When can every developer reply to reviews?

2012-12-01 Thread Παύλος-Πέτρος Τουρνάρης
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

[android-developers] RemoteViewsService can't access ContentProvider in same app

2012-12-01 Thread David Karr
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

Re: [android-developers] Re: Google Maps Api Sign Up

2012-12-01 Thread J Handal
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

Re: [android-developers] BPM calculation in Android

2012-12-01 Thread suandroidcks
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