Re: [android-developers] sqlite3 on Android

2010-12-08 Thread Kostya Vasilyev
... which can be shortened to: while (cursor.moveToNext()) { cursor.getString(...) } -- Kostya 09.12.2010 9:41, nithya nataraj пишет: first u get point the cursor to the first item and iterate,because by default ur cursor will be pointing to last item tat is been added example cursor.moveTo

Re: [android-developers] where add setContentView(R.layout.list);

2010-12-08 Thread Kostya Vasilyev
Here is more one link that should help you: http://blog.cluepusher.dk/2009/11/16/creating-a-custom-cursoradapter-for-android/ 09.12.2010 10:09, pramod.deore пишет: Hi, I am developing one small application to understand how CursorAdapter works. In this application I have a main activity in taht

Re: [android-developers] where add setContentView(R.layout.list);

2010-12-08 Thread Kostya Vasilyev
New views should be created in newView: http://developer.android.com/reference/android/widget/CursorAdapter.html#newView(android.content.Context, android.database.Cursor, android.view.ViewGroup) setContentView is supposed to be only called once in onCreate, with the activity's layout (which s

Re: [android-developers] where add setContentView(R.layout.list);

2010-12-08 Thread nithya nataraj
hi everyone, i am developing an application were i have record a voice and send 2 server i tried the below code but i am getting error can anyone hlp me please error: 12-09 07:39:06.272: ERROR/audio_input(34): unsupported parameter: x-pvmf/media-input-node/cap-config-interface;valtype=key_specifi

[android-developers] Are activity managed cursors requeried on the UI thread?

2010-12-08 Thread Jonas Schwertfeger
>From looking at Activity's source code it seems like managed cursors are requiered straight from the UI thread. Am I reading this wrong or is this indeed the case? -Jonas -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gr

[android-developers] Re: change default behavior for android crash for apps with more then one activity.

2010-12-08 Thread poohtbear
Anyone ? if it's not possible i'll be happy to know that :-( On Dec 8, 3:17 pm, poohtbear wrote: > Hi. > I have an application in which i have my own Application object and > about 10 activities. > I have my HomeScreenActivity which is a root for all the tasks in my > application (there are sever

[android-developers] Re: 2.3: WebView's JavaScriptInterface throwing exception 100% of time

2010-12-08 Thread Bob Kerns
Yes, everyone knows you should initialize unused memory to #xdeadbeef! :=) On Dec 8, 11:25 am, Tony wrote: > You can see the pointer address is "deadd00d", which would > be humorous if it weren't such a terrible crash. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Abridged summary of android-developers@googlegroups.com - 84 Messages in 39 Topics

2010-12-08 Thread Roop Kumar
Hi guys i want to know ..how can we develop android application...please give me info ..about that...please -- 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 unsubscr

[android-developers] where add setContentView(R.layout.list);

2010-12-08 Thread pramod.deore
Hi, I am developing one small application to understand how CursorAdapter works. In this application I have a main activity in taht I am showing some buttons, after click on "showlist" button another activity named as ShowSwitchesList is called it is extended from CursorAdapter. Now in this class

[android-developers] Re: Can you trust the Android OS that comes from a Chinese Manufactures?

2010-12-08 Thread Brill Pappin
Actually, thats a good point. ALthough I have no idea if the Chines government even cares, it would not be hard to slip a little code in there that could even turn on the camera! I think it would be in everyone best interest if there were some way to verify the OS build you are installing. It also

[android-developers] Re: who can give me android 2.2 system source code ?

2010-12-08 Thread Brill Pappin
Google can give it to you... it's freely available via their GIT repository. Here, try this link: http://bit.ly/eJHI91 - Brill On Dec 8, 11:02 pm, 袁堂夫 wrote: > who can give me android 2.2 system source code ? Thanks,please~ -- You received this message because you are subscribed to the Googl

[android-developers] Re: Criteria to show up in new "Related" tab in market

2010-12-08 Thread Brill Pappin
Right now *both* of my app versions say that! - Brill On Dec 8, 2:30 pm, Nathan wrote: > On Dec 8, 9:27 am, Brill Pappin wrote: [...] > Just below Treking is an app that states 'The Android Market couldn't > find any applications related to this one.' Wow, how do I get my > Related tab to say t

Re: [android-developers] sqlite3 on Android

2010-12-08 Thread nithya nataraj
first u get point the cursor to the first item and iterate,because by default ur cursor will be pointing to last item tat is been added example cursor.moveToFirst(); if (!cursor.isAfterLast()) { do { String msg= msgcursor.getString(3);

[android-developers] sqlite3 on Android

2010-12-08 Thread kypriakos
I have the following code that accesses data on a database residing in /data/data//databases (I copy my database from the assets dir into the databases dir at runtime). c = myDB.rawQuery("SELECT * FROM "+dbTable+" WHERE name='"+line +"'", null); System.out.println ("Executing :

[android-developers] Re: Browse Window

2010-12-08 Thread Jawwad Farooq
Thanks Murphy for the help . Is there any other options to do this... ? On Dec 7, 6:56 pm, Mark Murphy wrote: > On Tue, Dec 7, 2010 at 8:52 AM, Jawwad Farooq wrote: > > I want to open a window and in that show the directories and files in > > that. Kindly tell me is there any com

[android-developers] Re: Back button problem

2010-12-08 Thread pramod.deore
> i dnt no how did u mail me Did I? On Dec 9, 9:47 am, nithya nataraj wrote: > hi, > i am not android developer even i am learinig android like u and working on > a application > i dnt no how did u mail me > tats k > i no a bit abt database , i thnk ur printing these contents in logcat > dnt do

[android-developers] Re: [android-porting] who can give me android 2.2 system source code ?

2010-12-08 Thread ourunix
为什么不从网站 http://androidappdocs.appspot.com/ 直接下?这大别人能发你邮箱?你把番人真当#%¥…… -- From: "袁堂夫" Sent: Thursday, December 09, 2010 12:02 PM To: Cc: Subject: [android-porting] who can give me android 2.2 system source code ? who can give me android 2.2 sys

Re: [android-developers] Re: Back button problem

2010-12-08 Thread nithya nataraj
hi, i am not android developer even i am learinig android like u and working on a application i dnt no how did u mail me tats k i no a bit abt database , i thnk ur printing these contents in logcat dnt do tat ,check in cmd prompt u can get wer is the mistake -- You received this message because

[android-developers] who can give me android 2.2 system source code ?

2010-12-08 Thread 袁堂夫
who can give me android 2.2 system source code ? Thanks,please~ -- 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-d

[android-developers] Re: Back button problem

2010-12-08 Thread pramod.deore
Hello , Now I had place the code that loads data from the database in a function and called that function when user hit the delete button . But now record gets deleted, but changes are not visible properly. (Properly means suppose there are 2 records and if I delete one record then at this time it

[android-developers] Re: reading Gallery 3D cache

2010-12-08 Thread Alex Chandra
is there anyone who has a clue or ever worked on Gallery 3D? :) -- 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-d

Re: [android-developers] Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-08 Thread Julian
Hi, It would be great if the shapes don't break the entire layout, for example, I frequently use rounded shapes for my tablerows, but I can't apply them till the "end" because they can't be displayed/rendered in the layout editor. Same thing for TabActivities where the content of each tab is popu

[android-developers] Re: 2.3: WebView's JavaScriptInterface throwing exception 100% of time

2010-12-08 Thread Tony
Hey guys, someone from google replied on the bug and said that this does not happen on the Nexus S. So good news... Guess we'll have to wait to test on device. tony On Dec 8, 11:25 am, Tony wrote: > Yeah, it's a bad pointer in the native libraries (which is why I'm > hoping someone just screwe

[android-developers] Re: Criteria to show up in new "Related" tab in market

2010-12-08 Thread Nathan
On Dec 8, 2:58 pm, TreKing wrote: > On Wed, Dec 8, 2010 at 1:30 PM, Nathan wrote: > > My free and paid app do show up at the top of each other's Related tab. > > Wait, below my app? Where? GPS Status - Donation has no related apps, at least for me. Probably a blind spot in the similar algorit

Re: [android-developers] Re: Adapter fetches and parses RSS feed to get data - best practice?

2010-12-08 Thread Frank Weiss
I tend to agree with DanH as well as with Treking. Here's how I can agree with both: "Best practices", "object oriented design", "design patterns", "performance", all tend to become *anti-patterns* when used to extreme. For example, using a Singleton Pattern is considered a best practice by some d

Re: [android-developers] Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-08 Thread Xavier Ducrohet
hey all, We're actively working on the editor, so this is good feedback. The new editor in 8.x might look the same, but it's completely different underneath and we have added the +/- features back. the "-" button should be replaced by delete anyway. You can right click and choose delete or simply

[android-developers] Re: Decryption key that only works with your phone number?

2010-12-08 Thread DanH
Combine whatever key value you want with the phone number or whatever, putting them into one contiguous byte array. Feed that into a cryptographic hash to obtain the fixed-length encryption/decryption key. http://en.wikipedia.org/wiki/Cryptographic_hash_function On Dec 8, 2:08 pm, Tobiah wrote:

[android-developers] Re: How to deal with the SQLite resource that is too large?

2010-12-08 Thread DanH
There is another option: Name the file .jpg or one of the other non- compressed file types. On Dec 8, 5:19 pm, TreKing wrote: > On Tue, Dec 7, 2010 at 1:42 AM, Kenny Chang wrote: > > My project has 3 SQLite database files, and each of them is larger than 2M. > > Given this. > > >  You know, the

Re: [android-developers] Re: Adapter fetches and parses RSS feed to get data - best practice?

2010-12-08 Thread TreKing
This: Many an atrocity has been committed in the name of "best practices", "object > oriented design", "design patterns", et al. (Not to mention "performance".) > Any time someone's throwing around buzzwords like that I tend to run the > other direction. > Followed by this: > Ultimately, the

[android-developers] Re: Does getBestLastKnownLocation block?

2010-12-08 Thread Greg Giacovelli
Thanks Mark :( At least I don't feel crazy :) Kostya, Is it just not able to get a fix or does your phone display become completely black? If it just is not getting a fix then yes we know of that issue. But on phones where the screen goes black reoccurs even when restarting the phone (and consequ

Re: [android-developers] Edittext mask

2010-12-08 Thread TreKing
2010/12/7 Rogério de Souza Moraes > When he clicks enter the finale text is fine, but I am afraid that a dummy > user will not understand what happened when the edittext hide the numbers > that he typed. What do you mean the edit text hides the first three numbers? Do you have a screen shot to

Re: [android-developers] Re: Setting up a test project issues

2010-12-08 Thread Etienne Lawlor
Thanks for the clarification. Now it makes much more sense. The only reason to have the /tests subdirectory is to keep all the code in one application directory so that porting the code to a repository is easier. However, you still need that separate node of a test project to be able to run the

Re: [android-developers] moving to downloaded file location

2010-12-08 Thread TreKing
On Tue, Dec 7, 2010 at 4:41 AM, kampy wrote: > On clicking it we need to move to the location that where the file is > stored > What do you mean "move to the location"? - TreKing

[android-developers] Re: Setting up a test project issues

2010-12-08 Thread A. Elk
OK, so you now have two projects in Eclipse, MyProject and MyProjectTest. MyProject's files are in /MyProject. From now on, I'll just abbreviate this /MyProject. MyProjectTest's *files* are in /MyProject/tests. For this reason, you have two projects, but one of them has its files completely withi

Re: [android-developers] Re: ProGuard Integration?

2010-12-08 Thread Xavier Ducrohet
Robert, if you use the new build system and the default proguard config file, you shouldn't have any problem. you will however need Ant 1.8 as we use a new feature. I'm going to add a check on this to make sure people don't use a version of ant that's too low. On Wed, Dec 8, 2010 at 9:20 AM, Rob

Re: [android-developers] Re: Market not updating?

2010-12-08 Thread David Erosa García
On Wed, Dec 8, 2010 at 10:28 PM, WhitneyApps wrote: > There is something weird going on in the market.  Both of my apps' > total counts went down today.  Active installs can drop but total > count shouldn't! My app dropped from 135 rates to 131 for about six hours, then got back to 135. Pretty we

Re: [android-developers] Re: App Works is looking for users and beta testers!

2010-12-08 Thread Cam Coop
Yes, I do realize the strength of App Inventor (and other engines), but I do hope that App Works will make it onto the list of top IDE's to use in the future. Please understand that App Works is just in open beta right now, looking for testers. Our goal is to find enough people to try App Works out

Re: [android-developers] Child View events in adapter for gallery

2010-12-08 Thread TreKing
On Tue, Dec 7, 2010 at 4:18 AM, sunrises wrote: > I need to handle the user events separately for each ImageView.. > Then add click handlers separately to each ImageView. - TreKing

Re: [android-developers] Want to write a forum reader

2010-12-08 Thread TreKing
On Tue, Dec 7, 2010 at 3:11 AM, Mystique wrote: > Can anyone give me some light what is involve and generally how to do it? > This is ridiculously broad and you're probably not going to get a good answer in this group. > 1. What is it involve to do web sign in? http? any example/code > documen

Re: [android-developers] Unable to view my posts

2010-12-08 Thread TreKing
On Tue, Dec 7, 2010 at 2:00 AM, adithya narayan <24adit...@gmail.com> wrote: > Can anyone please help me ? Stop using the online interface to Google Groups. It's embarrassing. Just use Gmail, set up filters to label the posts that come from the group and / or the ones that you participate in and

[android-developers] Re: Using Proguard on an app created with an earlier version of the Plugin/SDK.

2010-12-08 Thread Paul Turchenko
If you're building it via ADT then that's what you need. On Dec 8, 6:57 pm, George Moschovitis wrote: > I would like to use proguard on an app created with an earlier version > of the Eclipse plugin/SDK. > Should I just copy the proguard.cfg file and update my > default.properties file or should

Re: [android-developers] Logging actions

2010-12-08 Thread TreKing
On Tue, Dec 7, 2010 at 1:51 AM, Pedro Teixeira wrote: > Help please ... Help with what? Kostya posted links related to pretty much every point you raised. You covered a bunch of different topics and didn't really elaborate on what specifically you're stuck on. ... so ... again ... help with wh

Re: [android-developers] How to deal with the SQLite resource that is too large?

2010-12-08 Thread TreKing
On Tue, Dec 7, 2010 at 1:42 AM, Kenny Chang wrote: > My project has 3 SQLite database files, and each of them is larger than 2M. > Given this. > You know, the limit is beyond 1M in apk file. > And this. > So how to make my database files setup when the apk is installing? > You're limited

[android-developers] Re: Eclipse ADT 8.0.0 (and 8.0.1) problem - can't create views hierarchy with drag and drop in the Outline view

2010-12-08 Thread Zsolt Vasvari
fill_parent has been deprecated since 2.2. It's now match_parent On Dec 8, 10:01 pm, Julian wrote: > Also de "up" and "down" arrows. > Another thing, Where is the "fill_parent" option? > > 2010/12/8 Prashast > > > > > At first I thought its because of a wrong view being opened but looks > > lik

Re: [android-developers] Need help in customizing EditText

2010-12-08 Thread TreKing
On Tue, Dec 7, 2010 at 1:05 AM, Raju wrote: > I have to modify the EditText view, just like a form text. > OK. > Please look at the attachment .. > OK. > Thanks in advance > What the hell for? You didn't even ask a question.

Re: [android-developers] Re: Criteria to show up in new "Related" tab in market

2010-12-08 Thread TreKing
On Wed, Dec 8, 2010 at 1:30 PM, Nathan wrote: > My free and paid app do show up at the top of each other's Related tab. > Me too. But I've also found many apps that supposedly have nothing related. Or really have nothing related - how how a weather app comes up "related" to the Google Search app

Re: [android-developers] Re: Setting up a test project issues

2010-12-08 Thread Etienne Lawlor
I have already created the test project MyProjectTest which shows up at the same level of MyProject. Also when i created that test project there is a subdirectory /tests which is in the root directory of MyProject. I dont get what you mean when you say: >You need to create an ecliose project for

[android-developers] Re: JPEG Image has a map

2010-12-08 Thread ip332
Here is the actual code to show an image on top of the Google map. Regards Igor === package com.map.overlay; import java.util.List; import com.google.android.maps.GeoPoint; import com.google.android.maps.MapActivity; import com.google.android.maps.MapController; import com.goo

Re: [android-developers] Re: Setting up a test project issues

2010-12-08 Thread Xavier Ducrohet
You need to create an ecliose project for the tests folder and run that one as an andrdoid instrumentation. On Dec 8, 2010 11:51 AM, "Etienne Lawlor" wrote: > Yes i am using Eclipse. I did all of your steps up to the point where you > said > >>So, if you used /home/etienne/workspace/MyProject as t

[android-developers] Re: Should I ProGuard all the library projects associated with my app?

2010-12-08 Thread miniondev
Ok, cool, so I basically just turn on obfuscation for the application project and i'm all good. Thanks, -Eric On Dec 8, 2:12 pm, Xavier Ducrohet wrote: > It will obfuscate code from the libraries too. > On Dec 8, 2010 1:42 PM, "miniondev" wrote: > > > > > > > > > Hi there, > > > Just wanted to

Re: [android-developers] Should I ProGuard all the library projects associated with my app?

2010-12-08 Thread Xavier Ducrohet
It will obfuscate code from the libraries too. On Dec 8, 2010 1:42 PM, "miniondev" wrote: > Hi there, > > Just wanted to clarify how ProGuard is supposed to be used. I have an > app that uses several android library projects. If I use ProGuard (as > a part of the build process ala sdk tools r8) on

Re: [android-developers] Re: Best way to provide access to a Service?

2010-12-08 Thread Kostya Vasilyev
08.12.2010 23:55, Moto пишет: Now for communicating with an activity I'm seeing two issues. 1. What if the service is controlled only by intents and the service dies... The activity using this service would have no clue that it died unless I'm bound to it... You can improve your chances by bindin

[android-developers] Questions About Animations

2010-12-08 Thread Tommy
Hi everyone, I have some questions while I am trying to understand how to create different layout animations with android. I have all the animations I want working but I don't really understand what they mean My first question: What is the difference between Animation.RELATIVE_TO_PARENT

[android-developers] Should I ProGuard all the library projects associated with my app?

2010-12-08 Thread miniondev
Hi there, Just wanted to clarify how ProGuard is supposed to be used. I have an app that uses several android library projects. If I use ProGuard (as a part of the build process ala sdk tools r8) on my actual application project, does it obfuscate all the code that resides in the library project

[android-developers] Re: Market not updating?

2010-12-08 Thread WhitneyApps
There is something weird going on in the market. Both of my apps' total counts went down today. Active installs can drop but total count shouldn't! Steve On Dec 7, 10:09 pm, Zsolt Vasvari wrote: > The download count is not real time, and maybe nobody left you a > comment? > > On Dec 8, 8:30 am

[android-developers] Re: Widget is not removed after the application is uninstalled

2010-12-08 Thread Csaby85
Thanks for the reply On Dec 8, 1:18 pm, YuviDroid wrote: > I've never seen an app-widget removed automatically from the > homescreen...although it would make sense to do that once the app containing > the widget is uninstalled. > > On Wed, Dec 8, 2010 at 10:49 AM, String wrote: > > > > > > > > >

[android-developers] Android 2.3 and obfuscation.

2010-12-08 Thread sblantipodi
Hi all... The new SDK is capable of obfuscating the resulting APK simply by compiling the sources. This features should be included also in the previous version of SDK. Have you tryed this obfuscation? Does it works well? -- You received this message because you are subscribed to the Google Gro

[android-developers] Re: Widget is not removed after the application is uninstalled

2010-12-08 Thread Csaby85
Thanks for the answer. I will add a new bug on this. Thanks On Dec 8, 11:49 am, String wrote: > If it's not a bug, it's certainly the known behavior of the OS, and > always has been. Froyo is a bit better at this than previous versions, > although still far from 100%. It sometimes will remove app

Re: [android-developers] Re: Best way to provide access to a Service?

2010-12-08 Thread Mark Murphy
On Wed, Dec 8, 2010 at 3:55 PM, Moto wrote: > 1. What if the service is controlled only by intents and the service > dies... The activity using this service would have no clue that it > died unless I'm bound to it... Services should not spontaneously "die". If Android has to get rid of a service

[android-developers] Re: Best way to provide access to a Service?

2010-12-08 Thread Moto
Thanks Mark for your reply. It does help clear up a couple doubts I had... About service outbound data, I'm not sure if updating the widget right from the service would work for me... I believe this will tie my service to the widget and that's kind of what I want to avoid. I want it to be an ind

[android-developers] Can I compile against this SDK? They give me an .apk that installs...

2010-12-08 Thread Tobiah
I went to shopsavvy.mobi and got their 'sdk' for barcode scanning. I get the normal tree, and do an android update project to get the build.xml. When I try to build, I see that I don't seem to have all of the source: compile: [javac] Compiling 3 source files to /home/toby/bart/ScannerSDK.An

[android-developers] Re: http proxy

2010-12-08 Thread Seb
On Dec 6, 8:18 pm, Danny Schimke wrote: > Hi, > > like many others I have had the same issue and got no internet access > through proxy. I figured out the following solution: > > Try out comment#39 fromhttp://code.google.com/p/android/issues/detail?id=5508 >

Re: [android-developers] Re: Decryption key that only works with your phone number?

2010-12-08 Thread Wajid Hussain
These are the mandatory information to use encryption/decryption. For basic understanding search and read the following topics on wikipedia encryption decryption symmetric encryption asymmetric encryption Wajid GTalk: wajidhussai...@gmail.com Skype: wjdhussain On Thu, Dec 9, 2010 at 1:38 AM, Wa

Re: [android-developers] Re: Decryption key that only works with your phone number?

2010-12-08 Thread Wajid Hussain
These are the mandatory information to use encryption/decryption. For basic understanding search and read the following topics on wikipedia encryption decryption symmetric encryption asymmetric encryption Wajid On Thu, Dec 9, 2010 at 1:35 AM, Tobiah wrote: > I don't understand most of these te

[android-developers] Re: http proxy

2010-12-08 Thread Seb
On Dec 6, 5:59 pm, Satya Prasad wrote: > Try in the following way. > setprop net.gprs.http-proxyhttp://10.201.51.54:8080 > Thanks, I'll try that. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to andro

Re: [android-developers] Re: Decryption key that only works with your phone number?

2010-12-08 Thread Tobiah
I don't understand most of these terms. On 12/08/2010 12:22 PM, Wajid Hussain wrote: Use symmetric key encryption and make your key extended by adding phone number of the mobile with the key like new_key = your_key + customer_mobile_number But you can't do this with asymmetric key(key pair). B

Re: [android-developers] Re: Decryption key that only works with your phone number?

2010-12-08 Thread Wajid Hussain
Use symmetric key encryption and make your key extended by adding phone number of the mobile with the key like new_key = your_key + customer_mobile_number But you can't do this with asymmetric key(key pair). But you can also implement this using a double encryption technique. Means encrypt using p

Re: [android-developers] Re: Decryption key that only works with your phone number?

2010-12-08 Thread Tobiah
Good news. More info please? On 12/08/2010 12:05 PM, DanH wrote: Yep. On Dec 8, 12:19 pm, Tobiah wrote: Is it possible to encrypt data in such a way, that given a particular phone number, I could distribute a key that would decrypt the data, but only when mixed with that phone number? Thank

[android-developers] Re: Decryption key that only works with your phone number?

2010-12-08 Thread DanH
Yep. On Dec 8, 12:19 pm, Tobiah wrote: > Is it possible to encrypt data in such a way, that given a particular > phone number, I could distribute a key that would decrypt the data, > but only when mixed with that phone number? > > Thanks, > > Tobiah -- You received this message because you are

Re: [android-developers] Re: SDK 2.3: Get "Multiple substitutions specified in non-positional format" error

2010-12-08 Thread Mark Murphy
On Wed, Dec 8, 2010 at 2:40 PM, Ecthelion wrote: > Yes. And how would you know how the jar library is processing the > string if the code lies (obfuscated btw.) inside the library? I might > grep the library for all resource names with "%s %s" (or the like) > where I made changes. But if I should

[android-developers] Re: Can you trust the Android OS that comes from a Chinese Manufactures?

2010-12-08 Thread JP
On Dec 8, 10:30 am, William Estrada wrote: > Can you trust the Android OS that comes from a Chinese Manufactures? > > Strange question you ask?   No not at all. In fact, earlier this year, I tested an LBS app that I developed for a client, on a Motorola Milestone that was sourced by the client f

Re: [android-developers] Re: Setting up a test project issues

2010-12-08 Thread Etienne Lawlor
Yes i am using Eclipse. I did all of your steps up to the point where you said >So, if you used /home/etienne/workspace/MyProject as the location for >your app project, use the location /home/etienne/workspace/MyProject/ >tests as the location for your test project. When i click finish, then i g

[android-developers] Re: SDK 2.3: Get "Multiple substitutions specified in non-positional format" error

2010-12-08 Thread Ecthelion
On 8 Dez., 15:14, Mark Murphy wrote: > > Sure you can. It will be no different than if they accessed the string > via R.string.whatever. > Yes. And how would you know how the jar library is processing the string if the code lies (obfuscated btw.) inside the library? I might grep the library for a

Re: [android-developers] Best way to provide access to a Service?

2010-12-08 Thread Mark Murphy
AIDl and app widgets do not mix, since binding is an asynchronous operation. Use the command pattern with startService(). For outbound, you do not need to send anything to the app widget, as the service can just update the app widget's UI itself. For communication back to an activity, use a broadc

[android-developers] Re: Criteria to show up in new "Related" tab in market

2010-12-08 Thread Nathan
On Dec 8, 9:27 am, Brill Pappin wrote: > That's really a pain, because I'd really like it if my paid version > showed up as related to my free version of the same app! > Obviously they need to work on that algorithm a little! > My free and paid app do show up at the top of each other's Related t

[android-developers] Best way to provide access to a Service?

2010-12-08 Thread Moto
I find my self over and over re-writing my service in my app. I essentially want to provide control over my service easily for things such as home widgets or other apps. What are the things my service supports: Incoming: -start playback -stop playback -toggle playback -start special features Ou

[android-developers] Re: 2.3: WebView's JavaScriptInterface throwing exception 100% of time

2010-12-08 Thread Tony
Yeah, it's a bad pointer in the native libraries (which is why I'm hoping someone just screwed up the emulator build and included a bad library). You can see the pointer address is "deadd00d", which would be humorous if it weren't such a terrible crash. I also posted a comment with respect to you

[android-developers] Re: 2.3 LVL in Google API Package?

2010-12-08 Thread Nick
Hunter, I'm having the same problems: http://groups.google.com/group/android-developers/browse_thread/thread/4e6343e742f22f55# Nobody has responded and I haven't found a solution yet. Let us know if you figure anything out... Nick On Dec 7, 5:58 pm, HunterO wrote: > When using the "Google APIs

Re: [android-developers] Re: Does getBestLastKnownLocation block?

2010-12-08 Thread Kostya Vasilyev
I have a Samsung Galaxy S (retail European version), and can confirm this. GPS only works immediately after it's been restarted by switching it off/on in phone settings. After a while (can't give exact duration, but somewhere between a few hours and a few days) it stops working. This affects

[android-developers] Re: Setting up a test project issues

2010-12-08 Thread A. Elk
You have not said how you created the test project. Reading between the lines, I am guessing that you did it in Eclipse. To do it correctly, you should first use the New Android Project wizard in Eclipse to create your app project. In the Contents panel, in the Location textbox, you can accept th

[android-developers] Re: Cannot display "Hello World" per the suggestion of "Installing of SDK"

2010-12-08 Thread A. Elk
The emulator is slow. It may take a few minutes for the app to appear. It should show Android_ in fixed pitch font for a while, followed by ANDROID in fancy graphics. After that, it will show the unlock screen. Follow the on-screen directions to unlock, and the app should appear in a few moments.

[android-developers] Re: Can you trust the Android OS that comes from a Chinese Manufactures?

2010-12-08 Thread Alexei 'keyhell' Zhurba
Your microwave oven and fridge already spy on you. Why do you think chinese government needs more? I'm pretty sure they all have microphone and camera embedded. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send ema

Re: [android-developers] LiveFeed

2010-12-08 Thread Mark Murphy
You talk to Adobe, since RTMP is proprietary to them, AFAIK. I have no idea if Flash or AIR for Android 2.2+ supports RTMP or not. On Wed, Dec 8, 2010 at 1:26 PM, Mrid wrote: > Hi there, > > I have a rtmp url which provides live telecast for a channel. > I am new to this, so I dont know how to pr

Re: [android-developers] Re: Does getBestLastKnownLocation block?

2010-12-08 Thread Mark Murphy
On Wed, Dec 8, 2010 at 1:22 PM, Greg Giacovelli wrote: > To be clear we saw the same phone, Samsung Galaxy S Epic, install the > app and each one may or may not get stuck in this really nasty state. > Basically the overall GPS system for the OS gets frozen, even maps > can't get a fix after it get

[android-developers] Can you trust the Android OS that comes from a Chinese Manufactures?

2010-12-08 Thread William Estrada
Can you trust the Android OS that comes from a Chinese Manufactures? Strange question you ask? It is based on reports on the Internet about how the Chinese government restricted Google's operations in China. Is it possible that the Android OS installed in China has some sort of malware inst

[android-developers] LiveFeed

2010-12-08 Thread Mrid
Hi there, I have a rtmp url which provides live telecast for a channel. I am new to this, so I dont know how to proceed on this in order to start this on my device? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, sen

[android-developers] Re: Does getBestLastKnownLocation block?

2010-12-08 Thread Greg Giacovelli
Yeah sorry I was mixing what I was trying to retrieve mixed with the actual API call. But yea that is correct. It's not a phone I have either :( We can't reproduce it consistently. And a lot of the Galaxy S phones do have defects in their GPS software but I never thought it would just block. I ha

[android-developers] Decryption key that only works with your phone number?

2010-12-08 Thread Tobiah
Is it possible to encrypt data in such a way, that given a particular phone number, I could distribute a key that would decrypt the data, but only when mixed with that phone number? Thanks, Tobiah -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] Voice Recognition

2010-12-08 Thread Abhishek Talwar
Guys i tried the tutorial at http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/VoiceRecognition.html but my button is not clickable and says -> "Recognizer not present" I am testing this on emulator. Please let me know that does the emulator supports voice rec

[android-developers] Re: TableRow not on top of each others

2010-12-08 Thread Bret Foreman
Try putting your TableLayout inside a LinearLayout with vertical orientation. -- 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 emai

[android-developers] Re: App Works is looking for users and beta testers!

2010-12-08 Thread Bret Foreman
This also competes with AppMakr, which has generous venture funding. It's going to be a tough horse race. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscrib

Re: [android-developers] Re: What Tablet would you get

2010-12-08 Thread Jon F Hancock
Here is a guide to setting up the Viewsonig g Tablet with ADB in Linux. http://jonfhancock.blogspot.com/2010/12/setting-up-adb-for-debuging-viewsonic-g.html On Wed, Dec 8, 2010 at 9:25 AM, Kumar Bibek wrote: > Yep. For windows, it should normally install the drivers itself. For linux, > you hav

Re: [android-developers] Re: What Tablet would you get

2010-12-08 Thread Jon F Hancock
For this device, you have to do it under Windows too. Here are the instructions for windows. http://forum.xda-developers.com/showthread.php?t=827209 They are different for Linux, but not written up anywhere. I'll blog it and link to it la

[android-developers] Re: App Works is looking for users and beta testers!

2010-12-08 Thread tyal8r
You do realize you're competing with appinventor which is being created in the google labs? Good idea and good luck with it! On Dec 7, 4:34 pm, Crazy wrote: > Hello all, I've come here to ask for support for my new website I have > started working on called App Works. > > Basically App Works was

[android-developers] Re: Criteria to show up in new "Related" tab in market

2010-12-08 Thread Brill Pappin
That's really a pain, because I'd really like it if my paid version showed up as related to my free version of the same app! Obviously they need to work on that algorithm a little! - Brill Pappin On Dec 8, 10:50 am, TreKing wrote: [...] > > I was pretty SEO minded with the description, so the ag

Re: [android-developers] Re: What Tablet would you get

2010-12-08 Thread Kumar Bibek
Yep. For windows, it should normally install the drivers itself. For linux, you have to do that extra bit of work. For Mac, it just works.. Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Wed, Dec 8, 2010 at 10:54 PM, Brill Pappin wrote: > Thats on Linux where you need to a

[android-developers] Re: ACTION_POWER_CONNECTED not working

2010-12-08 Thread Douglas Fonseca
Sorry, a changed the class name to post, but in the my program the name is right... Any tips? On 8 dez, 04:58, FrankG wrote: > Hi Douglas. > > http://developer.android.com/guide/topics/manifest/receiver-element.h... > > In the Manifest you write that your receiver class is called > Receiver .. an

[android-developers] Re: What Tablet would you get

2010-12-08 Thread Brill Pappin
Thats on Linux where you need to add your VVendor ID, correct? - Brill Pappin On Dec 8, 4:32 am, Jon F Hancock wrote: > Are you on windows, Linux or Mac?  You'll have to manually add the vendor ID > to your arbitrary settings, but where you do that depends on your platform. > On Dec 8, 2010 12:3

[android-developers] Re: ProGuard Integration?

2010-12-08 Thread Robert Nekic
I'm also encountering problems getting the ProGuard integration going. Everything was fine with a test project until I added a few jars to "libs" and added them to the Java Build Path. Now my attempts to generate an unsigned release build causes the following error: com.android.ide.eclipse.adt.i

[android-developers] Re: Buying your own App, Testing Licensing

2010-12-08 Thread Brill Pappin
The following is the response to the support ticket I put in, however I'm dubious that it will work, and am going to request some more detail about why they are asking me to reset to factory defaults. === Thank you for your email. To resolve this issue, please perform factory data reset on your p

  1   2   3   >