[android-developers] Re: How to connect internet through android emulator application

2011-05-03 Thread vamsi prakash
Which Android SDK platform you are using? will it work for 2.2? -- 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] Re: Database updates

2011-05-03 Thread Chambras
where did you change the version? in the manifest file or in the java class? -- 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

[android-developers] Re: I keep on getting 401 when sending msg to C2DM server

2011-05-03 Thread Chambras
how did you get the auth token? -- 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] In-app Billing

2011-05-03 Thread David Toledo
Hi All I cannot execute the app the test dungeon test . http://developer.android.com/intl/de/guide/market/billing/billing_testing.html#billing-testing-real Appears the following error: The market billing service is not available at this time. You can continue to use this app but you won't be

[android-developers] Android 2.3.4 on Nexus One

2011-05-03 Thread Zsolt Vasvari
I just got an OTA notification to update my Nexus One to version 2.3.4. Where is a release notes for this update? As a developer, it would be nice to know what's has changed in the platform. -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] Re: Force Close on Click in Calendar after i delete all information set in it

2011-05-03 Thread Alok Kulkarni
Thanks all for your vauable inputs,@Dianne I understood all ur points,I don't have much options but i will hv to take care device wise(That looks impossible considering the 100's of different devices pouring in everyday) .. :) @TreKing, i will go thru the Google Calendar APIs.. Thanks, Alok On

Re: [android-developers] Android 2.3.4 on Nexus One

2011-05-03 Thread Nikolay Elenkov
On Tue, May 3, 2011 at 4:09 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I just got an OTA notification to update my Nexus One to version 2.3.4. Where is a release notes for this update?  As a developer, it would be nice to know what's has changed in the platform. I don't think there's even

[android-developers] Re: Android 2.3.4 on Nexus One

2011-05-03 Thread Zsolt Vasvari
I don't think there's even been a changelog. Sure there has. Here's the one for 2.3.3: http://developer.android.com/sdk/android-2.3.3.html And yes, I tried changing the URL to 2.3.4 and got a 404. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Android 2.3.4 on Nexus One

2011-05-03 Thread Nikolay Elenkov
On Tue, May 3, 2011 at 4:26 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I don't think there's even been a changelog. Sure there has.  Here's the one for 2.3.3: http://developer.android.com/sdk/android-2.3.3.html And yes, I tried changing the URL to 2.3.4 and got a 404. That's the

[android-developers] Re: problem with Linkify.addLinks(

2011-05-03 Thread beginer
Thanks Mark I seee in the LogCat and it said: 05-03 08:05:15.895: DEBUG/AndroidRuntime(339): Shutting down VM 05-03 08:05:15.895: WARN/dalvikvm(339): threadid=1: thread exiting with uncaught exception (group=0x4001d800) 05-03 08:05:16.051: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main 05-03

[android-developers] Show Context Menu other than on long press?

2011-05-03 Thread MagouyaWare
I have an app that will do different things for the following actions on a view: - Swipe Up - Swipe Down - Single Press - Double Press - Long Press One of the new features I am working on is the providing a way for the user to customize what each of those actions do. Everything is coming along

Re: [android-developers] Filtering NFC intents, NDEF message external type

2011-05-03 Thread pubu he
Have you tried to use techlist for filtering? I think it should work now. On Mon, May 2, 2011 at 6:23 PM, Gorka gork...@gmail.com wrote: Hi, I am trying to work with NDEF and external message types. I have defined my NDEF message as you can see there: urn:nfc:ext:busInfo.company.com. I can

[android-developers] Re: Database updates

2011-05-03 Thread harsh chandel
can you put the code On May 3, 5:58 am, Albert Rosa rosalb...@gmail.com wrote: So this is my first time working with android and the sqlite db. I followed the instructions and was able to have a db connection where i was able to create and edit records. However i changed the schema of the db

[android-developers] Re: How to get MD5 fingerprint for google maps in windows 7 ?

2011-05-03 Thread harsh chandel
create a folder in one of the drives which has file name keystore please use this location while giving set command you find on net to generate md5 On May 3, 12:23 am, Goutom goutom.sust@gmail.com wrote: Hello TreKing,       u dont need to read the documentation. Regards,          

Re: [android-developers] Re: problem with Linkify.addLinks(

2011-05-03 Thread Kostya Vasilyev
Something is null at line 147 in your AndroidXml.java. -- Kostya 03.05.2011 12:11, beginer ?: 05-03 08:05:16.051: ERROR/AndroidRuntime(339): FATAL EXCEPTION: main 05-03 08:05:16.051: ERROR/AndroidRuntime(339): java.lang.NullPointerException 05-03 08:05:16.051: ERROR/AndroidRuntime(339):

[android-developers] Re: Android 2.3.4 on Nexus One

2011-05-03 Thread Zsolt Vasvari
Is this the first X.Y.Z release where Z changed without an SDK level increase? On May 3, 3:39 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Tue, May 3, 2011 at 4:26 PM, Zsolt Vasvari zvasv...@gmail.com wrote: I don't think there's even been a changelog. Sure there has.  Here's the

Re: [android-developers] Re: Convert tamil unicode character to tamil text

2011-05-03 Thread subhashini alaguchokku
Hi Mr.Senthil! Thanks alot for your response! but im developing web application(current news), this is free app(social), so every one download that app, than how is it possible? so every one(who download that app) need to installed that UTF16(Latha or Aksharamala) in their device(android)?

[android-developers] Re: Unable to install latest Android SDK on Ubuntu 10.10

2011-05-03 Thread SJ
Hi Scott Ubuntu 10.10 is smoothest platform I run so far.(after Windows :) So either you have corrupted Linux - broken files f.e. Or you have broken RAM. Boris On May 2, 6:58 pm, Scott kalad...@gmail.com wrote: Hi folks, I've been trying in vein for a few days to get the latest Android SDK

Re: [android-developers] Re: Android 2.3.4 on Nexus One

2011-05-03 Thread Nikolay Elenkov
On Tue, May 3, 2011 at 6:06 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Is this the first X.Y.Z release where Z changed without an SDK level increase? IIRC 2.2.1 and 2.2.2 didn't change the API level either. -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: problem with Linkify.addLinks(

2011-05-03 Thread beginer
I resolved the problem, but known the link only appear sometimes. I have a List View, and the both elements have a link, but in some element appear the link and in others not. Wht is the problem? thaks very much On May 3, 10:42 am, Kostya Vasilyev kmans...@gmail.com wrote: Something is null at

[android-developers] inflate popup menu items programatically

2011-05-03 Thread droid-stricken
Hi, [I have posted the same query on StackOverflow forum as well. So, kindly excuse the re-posting here - was not sure if this was a beginner's level question or a beyond beginner's level] I have a button in my activity, pressing upon which, the following method gets called - private

Re: [android-developers] inflate popup menu items programatically

2011-05-03 Thread Kostya Vasilyev
PopupMenu displays Menu's, not ListView's, at least as seen from the API. Perhaps you can use an AlertDialog with this instead: http://developer.android.com/reference/android/app/AlertDialog.Builder.html#setSingleChoiceItems(android.widget.ListAdapter, int,

[android-developers] how to decode bytes from mp3 to pcm ?

2011-05-03 Thread Hitendrasinh Gohil
hi, i want to decode mp3 bytes to pcm so that i can write that bytes to Audiotrack on every read.how can i do that. can anyone suggest me? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Force Close on Click in Calendar after i delete all information set in it

2011-05-03 Thread lbendlin
what happens if you add a single dummy calendar entry (far in the past, so it doesn't matter) after deleting all items? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Battery Log using service

2011-05-03 Thread Omkar
By registering the receiver in either app context / manifest file, would I be saved from not having constantly run my service in background ? Bcos I also know that charging / discharging thru usb / power supply would occur once a day or may once in 2 days and it doesn't make sense to keep a

Re: [android-developers] Re: Battery Log using service

2011-05-03 Thread Kostya Vasilyev
You cannot receive ACTION_BATTERY_CHARGED through a receiver declared in the manifest. Registering a receiver with the Application context doesn't help if the process gets killed. The battery action is a sticky broadcast, so you can get the most recent value by calling registerReceiver with

[android-developers] Re: Battery Log using service

2011-05-03 Thread Omkar
Ok, so if I let the intent Action_Power_Connected trigger my service by declaring this intent filter in the manifest and then let my service log the required data by creating a registerReceiver for the Action_Battery_Changed within the code, then I would be saved by not having the service

[android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Douglas Selph
I turned on the logging in frameworks/base/telephony/java/com/android/internal/telephony/RIL.java. I then rebuilt and reflashed my developer phone. But I don't see any of the messages in the log. I also turned on Log.d messages in packages/apps/Phone and I DO see them just fine. Out of

[android-developers] Re: Widget-specific Preferences

2011-05-03 Thread Jake Colman
Kostya, I've been noodling around thinking about this problem while working on other features but I'm stumped on one part of it. When the Preference Activity is launched as a Configuration Activity the intent contains widget ID. But I can also launch the same Activity if the user touches the

Re: [android-developers] Access Androidify avatar from another app

2011-05-03 Thread TreKing
On Mon, May 2, 2011 at 11:03 PM, Dianne Hackborn hack...@android.comwrote: WTF. Yes nobody from Google ever talks to developers. I mean, ever. Anything you ever ask about anything Google is doing is just going to be asking in to a black hole because nobody from Google ever answers an

[android-developers] AlertDialog with an mail-to link

2011-05-03 Thread dashman
I'd like to display an alert dialog text with an url to an email address. user can tap on the link and then mail program opens. how can i do this. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

[android-developers] Re: Views inside a custom ViewGroup not rendering after a size change

2011-05-03 Thread Michael Sims
For the benefit of the archives, I asked the same question on Stack Overflow and it was answered by Romain Guy: http://stackoverflow.com/questions/5852758/views-inside-a-custom-viewgroup-not-rendering-after-a-size-change On Sun, May 1, 2011 at 8:19 PM, Michael Sims michael.h.s...@gmail.comwrote:

Re: [android-developers] Re: Database updates

2011-05-03 Thread Albert Rosa
Yes I changed the VERSION number on both the dbHelper file as well as the manifest below is the code for the db helper: public class RecipeDbHelper extends SQLiteOpenHelper { private static final String DATABASE_NAME = test; private static final String DATABASE_TABLE = recipe;

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Dianne Hackborn
No there is not anything different. Did you try putting a breakpoint there to see if the code is actually running On Tue, May 3, 2011 at 9:11 AM, Douglas Selph douglasse...@gmail.comwrote: I turned on the logging in frameworks/base/telephony/java/com/android/internal/telephony/RIL.java. I

Re: [android-developers] Obtaining application icons.

2011-05-03 Thread TreKing
On Sat, Apr 30, 2011 at 10:51 AM, Dan Jin d.mcdonald...@gmail.com wrote: I have an activity that displays various statistics about installed/ running applications. I would like to obtain the icons of various installed/running applications to display along side these statistics. Could someone

Re: [android-developers] New to Android

2011-05-03 Thread TreKing
On Sun, May 1, 2011 at 8:46 AM, sudharsanan kodi.su...@gmail.com wrote: I am new to android application development,can you people help to me to develop the application?and also where i can get the sample application? http://developer.android.com/index.html

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Douglas Selph
The code is being executed from the *Call Settings *UI interface (under settings). [I am trying to put in my own 'Voicemail Service' in]. Thus I am not allowed to 'debug' this code from eclipse. So I am trying to put in debug messages so I can see what is going on that way. I will try to put

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Dianne Hackborn
You can debug the code from eclipse. If you are making your own build of the platform, you can debug anything you want. Just attach the debugger to the process after it has started. On Tue, May 3, 2011 at 10:37 AM, Douglas Selph douglasse...@gmail.comwrote: The code is being executed from the

Re: [android-developers] Re: Battery Log using service

2011-05-03 Thread Dianne Hackborn
On Tue, May 3, 2011 at 8:39 AM, Omkar omkar.ghai...@gmail.com wrote: Ok, so if I let the intent Action_Power_Connected trigger my service by declaring this intent filter in the manifest and then let my service log the required data by creating a registerReceiver for the Action_Battery_Changed

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Douglas Selph
Well when I try and hit the debug button on any system process (for example, com.android.settings), in the Devices panel, I just get a message saying: *'No opened project found for com.android.settings. Debug session failed!'* * * It also fails no matter what else you click on. For example,

Re: [android-developers] Fragments Map Support in Honeycomb

2011-05-03 Thread Varun Tewari
@TreKing: Thanks for sharing this thread. I actually fixed my problem by moving my fragments to a Root MapActivity. While inflating mapView with other children of Fragment didn't cause any problem this way. Hope this will be helpful for others. Thanks Reg, Varun On Mon, May 2, 2011 at 11:29

Re: [android-developers] AlertDialog with an mail-to link

2011-05-03 Thread Kostya Vasilyev
The default TextView used by AlertDialog doens't have autoLink set. Create your own TextView (doesn't matter: xml or code) and use it with AlertDialog.Builder.setView(). The standard AlertDialog layout can be found here, so you can make your TextView look the same:

[android-developers] Re: Filtering NFC intents, NDEF message external type

2011-05-03 Thread Gorka
Hi, Thanks for your response. As far as I know, using techfiltering I can filter all the tags that are ndef enabled. However, I cannot filter message types like text, smart poster, ... or tnf types. If I am wrong please let me know and tell me where can I take a look to learn how to use the

Re: [android-developers] Re: Database updates

2011-05-03 Thread Kostya Vasilyev
No idea what clearReset is, but Call SQLiteDatabase.getVersion() somewhere, just to make sure your db's version is not already 10 (which would mean that there is nothing to upgrade). -- Kostya PS - Can I use butter instead of cooking spray? :) 03.05.2011 18:09, Albert Rosa пишет: Yes

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Kostya Vasilyev
Sounds like your project's process has not been brought into memory and run just yet, when you're trying to attach. Two things you could try: 1 - Place this somewhere (where covenient) in your code: http://developer.android.com/reference/android/os/Debug.html#waitForDebugger() 2 - Create a

[android-developers] Competitor attack

2011-05-03 Thread Brill Pappin
If anyone wants to see an example of a competitor attack, see: https://market.android.com/details?id=sixgreen.aos.itap There is no proof of course but several of the recent ratings/comments show the pattern that is common in one of these attacks. Some of the clues are; no specific criticism,

[android-developers] Re: Restricted access to Content Provider

2011-05-03 Thread Dom
Hi, did you solve this problem of restricting access to your content provider to certain applications? -- 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

Re: [android-developers] Re: Restricted access to Content Provider

2011-05-03 Thread Dianne Hackborn
If you want to have a permission that only apps signed with your cert can get, use android:protectionLevel=signature for the permission. If you just want to limit access to only code within your own app, a quick and dirty thing you can do is check that the calling UID is the same as

Re: [android-developers] Re: Widget-specific Preferences

2011-05-03 Thread Kostya Vasilyev
Jake, You have the widget id where you're building your RemoteViews and setting the PendingIntent for the click. So the only thing is how to get the widget id into the PendingIntent, so you can retrieve it later in the config activity. Probably the easiest way is to use the same extra,

[android-developers] Re: Competitor attack

2011-05-03 Thread Brill Pappin
Just noticed another part of the pattern. It usually happens right after an update! I don't know if Google bumps the app up the list for users to find, but it looks like that the product started to show as a related app on a competitors listing... now it doesn't. (although I can't be sure of

[android-developers] Building C code for Android (no Java/jni)

2011-05-03 Thread Mark
Hi, Can anyone tell me how to compile+build a program, written in C on Android? There's no Java code and I don't want a shared lib to use with JNI. The NDK does not seem to help here. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

Re: [android-developers] Competitor attack

2011-05-03 Thread Justin Anderson
Seriously? You have 6 one-star ratings that are spread out over a period of a month... That doesn't sound like a competitor attack to me. That sounds like 6 people that tried your app didn't like it and didn't care to give valuable feedback. I have an app on the Market that has over 50,000

[android-developers] Re: Making SmartCard feature available in Google Nexus S

2011-05-03 Thread Alberto González
Hi, I'm back to ask a little questions about nfc. I have a NFC tag reader and Google Nexus S. I want to create an app for Google Nexus S that emulates a nfc tag. 1) Where I could find example code in java? Because there isn't no info about this. I think it could be similar to: -Creating the

Re: [android-developers] Building C code for Android (no Java/jni)

2011-05-03 Thread nathan forbes
On May 3, 2011 12:21 PM, Mark maf...@yahoo.co.uk wrote: Hi, Can anyone tell me how to compile+build a program, written in C on Android? There's no Java code and I don't want a shared lib to use with JNI. The NDK does not seem to help here. -- You received this message because you are

Re: [android-developers] Building C code for Android (no Java/jni)

2011-05-03 Thread Justin Anderson
Without using the NDK it is not possible... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 3, 2011 at 3:47 AM, Mark maf...@yahoo.co.uk wrote: Hi, Can anyone tell me how to compile+build a program, written in C on Android? There's no Java

Re: [android-developers] Building C code for Android (no Java/jni)

2011-05-03 Thread Igor Prilepov
It is possible with NDK and here is the best link I know: http://betelco.blogspot.com/2010/01/buildingdebugging-android-native-c.html However, this approach is helpful only for a very few cases, for example, when you are making some tools for yourself only. Any real application development must

Re: [android-developers] Competitor attack

2011-05-03 Thread TreKing
On Tue, May 3, 2011 at 11:04 AM, Brill Pappin bpap...@sixgreen.com wrote: If anyone knows another way to catch the competitor thats doing it, i'd be glad to hear it! http://www.androlib.com/ http://www.androlib.com/They somehow track each user and can show what apps they are commenting on.

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Douglas Selph
The process in question is I think: *com.android.settings*. At least that looks right. I think it is calling the activity started in packages/apps/Phone, file CallFeaturesSettings.java, when the Call Settings button is pressed in the OS's Settings. My process in eclipse only interacts with

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Douglas Selph
Joerie from android-porting helped me out! If you want to see Log messages from the telephony side you need to do: *adb logcat -b radio* * * * * -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Kostya Vasilyev
Douglas, I understand that Settings interacts with your code using Intents. This means there should be a component of some sort in your project that responds to those intents, correct? If so, have you tried adding waitForDebugger() in that component's onCreate() ? -- Kostya 03.05.2011

Re: [android-developers] porting android application on iphone

2011-05-03 Thread TreKing
On Mon, May 2, 2011 at 4:19 AM, srikanth srikanth.chiluk...@gmail.comwrote: I have developed an application on android using phonegap and JQTOUCH, I would like to test the same on iPhone. How to put the android app into iPhone? does it required any aditional components to test it on iPhone?

Re: [android-developers] reload a class containing a mapView with onResume() make a crash

2011-05-03 Thread TreKing
On Sun, May 1, 2011 at 5:26 PM, Aymen TOUHENT aymentouh...@gmail.comwrote: I got an error and my app crashes. You might want to explain what the error is ... and the stacktrace ... - TreKing

[android-developers] Re: Java layer on Android SDK supports connection through IPv6 link local address???

2011-05-03 Thread himanshu jain
Hi all, I am not sure as Google mentioned IPv6 support is available on Android 1.6 or up , but i checked with 2.2 it even does not have link local IPv6 address whereas 3.0 has that. I tried to set up an environment to generate gloabal IPv6 but DHCP can assign IPv6 to other client except 3.0

Re: [android-developers] Coding style for modal dialog

2011-05-03 Thread TreKing
On Mon, May 2, 2011 at 9:08 AM, GerhardS ghofm...@sofa.de wrote: Any suggestions? Not really, unfortunately. I think the Android dialog scheme is as it is on purpose, though I too am not a fan. I think some things have changed with 3.0 with DialogFragments from reading this forum, but I have

[android-developers] Re: Competitor attack

2011-05-03 Thread Brill Pappin
Justin, if you actually look at the dates, they are grouped together. The one Apr 21-22 is the previous update. If you go back further there was another update March 30-31. The most recent follows the same pattern although so far there is only one visible. If you look at the rest of the ratings,

Re: [android-developers] Log.d messages in frameworks/.../android/internal/telephony not appearing

2011-05-03 Thread Douglas Selph
Well even with waitForDebugger() I wasn't able to get it to stop in onCreate() nor onResume() in my activity. However, I WAS able to get it to *stop *in the 'Done' button push I had on my UI. At that point however, I don't see the Phone activity that called it since it is in a different

[android-developers] Re: Competitor attack

2011-05-03 Thread Brill Pappin
Thanks TreKing, I'll take a look. - Brill Pappin On May 3, 1:04 pm, TreKing treking...@gmail.com wrote: On Tue, May 3, 2011 at 11:04 AM, Brill Pappin bpap...@sixgreen.com wrote: If anyone knows another way to catch the competitor thats doing it, i'd be glad to hear it!

[android-developers] Set default theme colors for widgets?

2011-05-03 Thread Nathan Fig
Widget differ between devices: the Galaxy Tab, for instance, uses a bluish/teal color for highlighted tabs and for preference sub-text, whereas the Dell Streak uses a dark gray. Is it possible to set the default theme colors used by widgets? I've searched for and experimented with theme

Re: [android-developers] Re: Fragments for Google Maps add on?

2011-05-03 Thread Daniel Smith
Thanks for all your input I did get it working. Dan On May 2, 2011 4:16 PM, Streets Of Boston flyingdutc...@gmail.com wrote: You cannot replace a *fragment *(e.g. your ImageView fragment) directly with an *activity *(in your case a subclass of AFragmentMapActivity). Don't confuse Activities

Re: [android-developers] Re: Competitor attack

2011-05-03 Thread Justin Anderson
Still doesn't seem like a competitor attack... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Tue, May 3, 2011 at 12:02 PM, Brill Pappin bpap...@sixgreen.com wrote: Thanks TreKing, I'll take a look. - Brill Pappin On May 3, 1:04 pm, TreKing

[android-developers] Playing VIdeo in background and drawing Activities on top

2011-05-03 Thread Samuh
I have an application that has a transparent background in all of its Activities.There is a separate application(like Camera Preview) which displays the real time feed from Camera. Is it possible to somehow start my Application and display it atop Camera feed? Please note that I am not supposed

[android-developers] Android Library Activity and startActivity

2011-05-03 Thread Aaron
I have an app which I am trying to turn into a library and create 2 new apps that consume it. I have to move all code differences between the 2 apps out of the library and into the separate apps due to the fact that I sold source code to the owner of the app. This way I can give them them

[android-developers] Re: Competitor attack

2011-05-03 Thread Brill Pappin
We see the same patterns across other apps as well. but like I said, its only a pattern and we as yet don't have proof. They are very hard to recognize but as a developer looking at your product daily and tracking it, it all of a sudden raises an eyebrow and makes go go huuu?. We don't *know*

Re: [android-developers] Android Library Activity and startActivity

2011-05-03 Thread TreKing
On Tue, May 3, 2011 at 2:20 PM, Aaron aaron.chan...@gmail.com wrote: I have an app which I am trying to turn into a library and create 2 new apps that consume it. I have to move all code differences between the 2 apps out of the library and into the separate apps due to the fact that I sold

Re: [android-developers] Show Context Menu other than on long press?

2011-05-03 Thread TreKing
On Tue, May 3, 2011 at 3:14 AM, MagouyaWare magouyaw...@gmail.com wrote: I have not been able to find anything on StackOverflow, Google or this forum that would indicate how to accomplish this. Try the docs =P

[android-developers] Re: EditText.SetError() Not working properly in Sony Ericsson Xperia

2011-05-03 Thread Eric Ang: Sony Ericsson Developer Support
Thanks Banu. I didn't see a response or any notification on this. So I apologize for my delay. Have you attempted to initially setting it to null? This hopefully will address your issue. Please let us know Regards, Sony Ericsson Developer Support On Apr 25, 9:15 pm, banu banuchan...@gmail.com

Re: [android-developers] Coding style for modal dialog

2011-05-03 Thread Dianne Hackborn
DialogFragment is a cleaner way to do this, putting all of the dialog related code in a separate class instead of callbacks on Activity. You can use this with the fragment compat library on older platforms. You still can't do a blocking call to wait a result, however; your activity will need to

[android-developers] Re: Widget-specific Preferences

2011-05-03 Thread Jake Colman
Kostya, Gee, I hope I'm not revealing my ignorance here... I build my RemoteViews in an IntentService. I suppose I have to find a way to pass the widgetid into the Intent that is used to start the service. If the service knows the widgetid, it can putExtra that widgetid into the Intent used

Re: [android-developers] Show Context Menu other than on long press?

2011-05-03 Thread Justin Anderson
I tried the docs and knew about that method, but unfortunately that doesn't seem like it would help as well... Here is why: The Activity.openContextMenu() method states this: *Programmatically opens the context menu for a particular view. The view should have been added via

Re: [android-developers] Android Library Activity and startActivity

2011-05-03 Thread Aaron
Either A) Your customer list activity remains in the library, handling differences via some other mechanism. I can't do A because my clients are competitors to each other and therefore I can't allow one competitor to see any custom work by another client who doesn't own a source license. B)

Re: [android-developers] Show Context Menu other than on long press?

2011-05-03 Thread TreKing
On Tue, May 3, 2011 at 3:03 PM, Justin Anderson magouyaw...@gmail.comwrote: And as I stated before, if you useView.setOnCreateContextMenuListener() then it sets up your view to show the context menu on with a long-press... And I'm back to square one. Yeah, I would expect that, as it's the

Re: [android-developers] Android Library Activity and startActivity

2011-05-03 Thread TreKing
On Tue, May 3, 2011 at 3:10 PM, Aaron aaron.chan...@gmail.com wrote: A) Your customer list activity remains in the library, handling differences via some other mechanism. I can't do A because my clients are competitors to each other and therefore I can't allow one competitor to see any

[android-developers] Re: Battery Log using service

2011-05-03 Thread Kevin TeslaCoil Software
 The suggest to create an alarm to wake up every 5 minutes is a good one.  That will actually be more robust than having a service always running. Would it be possible to expand on this at all? My (perhaps incorrect) method of testing behavior with a service that is always running is by killing

[android-developers] Re: Battery Log using service

2011-05-03 Thread Igor Prilepov
These are two opposite cases: 1. Your service is crashed (or killed) and Android tries to restart it after a certain timeout 2. On some conditions Android may decide to kill your service. Since the purpose of this action is to free some system resources it won't be restarted after a timeout.

Re: [android-developers] Re: Battery Log using service

2011-05-03 Thread Dianne Hackborn
It actually will be restarted after a timeout, even if it was killed to reclaim memory. (Actually the activity manager has no way to know why the service's process disappeared.) However if it is killed again soon after restarting, the system will quickly increase the time it waits until it tries

Re: [android-developers] Re: Widget-specific Preferences

2011-05-03 Thread Kostya Vasilyev
Jake, You can get a list of widget ids by doing something like: AppWidgetManager appWidgetManager = AppWidgetManager.getInstance(context); ComponentName provider = new ComponentName(context, Widget.class); int[] widgets = appWidgetManager.getAppWidgetIds(provider);

[android-developers] Broadcast Receiver for Mobile Network

2011-05-03 Thread Gaurang
I want to get notification on lost of Mobile network (Voice) not Wi-fi (Data). Here is the code, If gives notification for Wi-fi (Data) network events but not for Mobile network. Menifest : uses-permission android:name=android.permission.ACCESS_NETWORK_STATE/ application

[android-developers] How to receive large file over socket in android 2.2

2011-05-03 Thread Anila Khwaja
I've written a piece of code which connects through socket and receive data to load bitmap image on phone ... it works perfectly in android 2.3.X but blocks the data on android 2.2 when bytes read reached 2048.. it doesn't read anything more than that and get stucked over there I read on multiple

[android-developers] Re: AlertDialog with an mail-to link

2011-05-03 Thread Chris
Here's what I do to display a dialog with an email link that opens the default mail app and a web link for support that opens the default browser: private void showHelpAbout() { AlertDialog.Builder builder = new AlertDialog.Builder(this);

[android-developers] Custom Intent does not reach PhoneApp

2011-05-03 Thread bluewolf
I have added an action to the intent filter in packages/apps/Phone/src/ com/android/phone/PhoneApp.java intentFilter.addAction(MY_CUSTOM_ACTION); registerReceiver(mReceiver, intentFilter); Now I try to send a broadcast from my application: Intent i = new Intent();

[android-developers] Android Context Sensitive Keyboard

2011-05-03 Thread Tek911
So, i'm putting the finishing touches on a new android keyboard (as if we needed one more, lol) and i was trying to get some insight into how some keyboards know to present a .com key on the keyboard when you are in the browser and not present it when you are say doing a google search??? Any links

[android-developers] Editing XML generated layout in Java.

2011-05-03 Thread FrenchYoungBeaver
Hello ! I'm new in the world of android dev and I have some troubles with some concepts. My goal : I want to generate a pop-up window in my application that can dynamicly react to user actions. I mean, when I touch an item, some other appears. I generate the basics elements (all statics

[android-developers] SurfaceView issue on pause/resume

2011-05-03 Thread Dale
I am implementing an app that takes images from the camera preview and displays them on the screen. When the activity is paused and resumed the surface will no longer display anything that is written to it. The SurfaceView object appears to be fine but simply won't display. I have three basic

[android-developers] Mobie Network Receiver

2011-05-03 Thread Gaurang
I want to receive notification when Mobile network connection is lost or received. Through following code, I can receive notification for Wi-Fi (Data) connection but not for Mobile (Voice) connection. Menifest : uses-permission android:name=android.permission.ACCESS_NETWORK_STATE/

[android-developers] Donation with Google check out for Android

2011-05-03 Thread Gopala Krishnan.A
Hi All Is it possible to add a Donate with Google check out Button for non profit organisations Is their any API is available for that.Please give idea for that Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Robotium solo - help material

2011-05-03 Thread Madhu
Hi, Now only i started learning robotium. I started doing blackbox testing alone. Even i struck with so many issues. I get the android apk file and installed in my emulator. The first page is a login page. public void testValidateLogin() { String text = jv; String text1= jv; //Enter UserName

[android-developers] Parts of words in TextView are out of the screen

2011-05-03 Thread omar
Hey, I have a problem where parts of the Text in the TextView are out of the screen, Look at the picture: http://i.imgur.com/fDqa6.png I marked the problem in red squares.. xml: ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;

[android-developers] How to Create ListAdapter w/o XML Files?

2011-05-03 Thread Keith Bennett
Hi, all. I'm a longtime developer but new to Android. I want to learn how to instantiate visual components in code rather than XML, so that I better understand the API, and can build UI's dynamically. I want to do this with a ListView. I understand that the ListView's underlying data is

[android-developers] Re: Code coverage with Android Application

2011-05-03 Thread lufo88
Hi, I try to include emma.jar in my Android Testapplication and add uses- library android:name=emma / to the .manifest file. I run ./adb shell am instrument -e coverage true -e coverageFile /sdcard// myFile.ec -e class name testClass -w package name/ android.test.InstrumentationTestRunner It

[android-developers] encryption decryption in android

2011-05-03 Thread pasamblue1
Hi, Just wanted to know does encryption decryption algorithms in android mobile application is made thread safe. I have seen AES and other algorithms but FIPs standard does not mentions anything regarding multithreading in AES algorithm. -- You received this message because you are subscribed to

  1   2   >