[android-developers] Unable to open or create cache for system/app/test.apk
Hi All, When I am trying to build my application as a part of image I am getting the following error : E/dalvikvm( 1334): Can't open dex cache '/data/dalvik-cache/ sys...@app@test@classes.dex': No such file or directory I/dalvikvm( 1334): Unable to open or create cache for /system/app/ test.apk (/data/dalvik-cache/sys...@app@test@classes.dex) E/Util( 1334): Class Not Found : java.lang.ClassNotFoundException: But when I push the apk manually to the device (into system/app), it works fine. I am wondering why is it so as both ways the apk is present at system/ app only. Any ideas ?? Thanx. -- 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] How to develop a android app store
Hello, How can we develop an Android app store, to distribute apps/upgrades specific to a product, which is a non mobile device? Any pointers towards this would be very helpful. thanks and regards -Nitin -- 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: Why is my application suspended
Maybe they refuse to list your app until Lotto 30 Tickets is released. On Oct 12, 1:43 pm, Top Android Developer khurram.sa...@gmail.com wrote: Hi Thanks for your response but shouldn't Google tell us as oppose to we guessing :) I have serious issues with ugly policies for refunds / chargeback On Oct 12, 10:28 am, Kumar Bibek coomar@gmail.com wrote: Ummm, You have to read the terms and conditions. I am not sure, but probably because it's a lottery/gambling app. Atleast, it looks like from it's name On Tue, Oct 12, 2010 at 10:54 AM, Top Android Developer khurram.sa...@gmail.com wrote: Hi I have application Lotto Lite, Lotto 10 Tickets, Lotto 40 Tickets and Lotto 120 Tickets : my application was suspended by Google and i didn't even receive an email / notification for potential reason for suspension. Can someone from Google please respond ASAP Regards Lotto Android Developer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com-Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- 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: Differences between Android Button and JAVA buttons
The only difference between a button and a text label is that its default style properties enables it to be clicked on, get focused and (as Mark said it) change its appearence based on the click. Otherwise Button==Label On Oct 12, 7:01 am, Dancing Fingers batym...@gmail.com wrote: Hi guys, I'm working on my own Hexagonal button which works in JAVA. I was studying Android Button.java: @RemoteView public class Button extends TextView { public Button(Context context) { this(context, null); } public Button(Context context, AttributeSet attrs) { this(context, attrs, com.android.internal.R.attr.buttonStyle); } public Button(Context context, AttributeSet attrs, int defStyle) { super(context, attrs, defStyle); } } I don't understand where it gets it shape. If you're adding an anClickListener of does button know the geometry that's within it's boundries? Any enlightenment would be appreciated. -- 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] System_server Crash,Provider Signature issue
You have signed it with a different cert than the system. Post further questions to a group like android-porting. On Mon, Oct 11, 2010 at 10:07 PM, GPU gopuraj...@gmail.com wrote: Hi , Any body knows why this signature issue is coming,Because of this the system_server not publishing the seetings provider the system_server is crashing .Kindly provide some information why this happening? I/PackageManager( 1220): /system/app/SettingsProvider.apk changed; collecting certs E/PackageManager( 1220): Package com.android.providers.settings has no signatures that match those in shared user android.uid.system; ignoring! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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: Unable to open or create cache for system/app/test.apk
a) I would go with this kind of questions to android-platform b) I would not put my own apps under system/app instead provide them as a vendor extension ( look for the vendor dir ) Good luck ! Frank On 12 Okt., 08:23, Raj raaju.pra...@gmail.com wrote: Hi All, When I am trying to build my application as a part of image I am getting the following error : E/dalvikvm( 1334): Can't open dex cache '/data/dalvik-cache/ sys...@a...@test@classes.dex': No such file or directory I/dalvikvm( 1334): Unable to open or create cache for /system/app/ test.apk (/data/dalvik-cache/sys...@a...@test@classes.dex) E/Util ( 1334): Class Not Found : java.lang.ClassNotFoundException: But when I push the apk manually to the device (into system/app), it works fine. I am wondering why is it so as both ways the apk is present at system/ app only. Any ideas ?? Thanx. -- 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: USB communication
Hi Andrew, You mean with the default mass storage usb implementation ? IMHO no . Good luck ! Frank On 12 Okt., 05:57, Andrew Whalen the.awh...@gmail.com wrote: Is there anyway to communicate with a PC application over the USB connection? (Without using adb, I would rather not have to rely on the user having USB debugging on) Thanks. -- 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: FileObserver not returning file changes within subfolders?
Hi Freddy, strange .. I thought the FileObserver uses Linux native call inotify , which is able to send events for directories too, What definitly will not work is FileObserver for sysfs entries. Good luck ! Frank On 12 Okt., 00:41, Freddy f...@charter.net wrote: ok. I found more info. Apparently the docs are incorrect. FileObserver does not support recursive file watching. On Oct 11, 1:50 pm, Freddy f...@charter.net wrote: The FileObserver class doesn't appear to be working as advertised. I created a class extending the FileObserver class. I initialize the class to watch the path of the sdcard as returned from the Android Environment.getExternalStorageDirectory function. Everything seems to work perfectly as long as the files are in the ROOTof the sdcard. Any files within SUB-FOLDERS of the sdcard are NOT returned to my public void onEvent(int event, String path) callback in my FileObserver class. Has anyone seen this issue? The docs say files in subfolders should be returned to the onEvent() callback but it's not happening. Note, I've only tested on the Android simulator (v2.2) since I do not yet have access to a device. Maybe this is a bug specific to the simulator? Thanks!- Zitierten Text ausblenden - - Zitierten Text anzeigen - -- 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: Click on Home icon need to start application from beginning
Hi, When you click on home button you have to create intent object and have to start home activity. but before starting activity set intent flag as follow. Intent intent=new Intent(context,HomeActivity.class); intent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP); startActivity(intent); this will cause to search weather your home activity in stack if yes it will close all activities on this activity and start home activity for you -- 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] Why the compile task in the Ant scripts is defined to compile with debug information?
Hi, I took some time and imported all the new rules from sdk-location\tools \ant\ant_rules_r3.xml During the import I have noticed that in the compiler target, where the javac task is defined the debug property is set to true (debug=true). It doesn't use the manifest debuggable flag or has any reference to any other varaiable. I tried compiling with debug=false and so far didn't notice any problems. Can someone please explain if this is necessary ? cheers -- 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: writing Events into Google Calendar in Android failed
If you intend to use the provider directly you should not hard code the calendar_id value to 1 - and instead determine this value each time you create an event. On 11 Okt, 17:31, Kapuddi kapu...@gmail.com wrote: Cool. Mr. Jens, you're right. First, I checked the content_id, then I set the content_id to 1. Succeed. Thank you. Also thanks to Mr Mr. Murphy. On 10月11日, 下午7时48分, Jens dunkingbikk...@gmail.com wrote: You're adding an event that's not linked to a row in the calendars table for one. Typically you need to set the value of calendar_id to something. This something better be a valid _id value from the calendars table or your app will just be filling the provider with crap. If you're going to be messing around in undocumented providers you should probably start by looking at the provider code itself: http://android.git.kernel.org/?p=platform/packages/providers/Calendar... Also.. the provider is a bit peculiar on all-day events.. plz make sure you're pushing them in in UTC-time with the event time zone set to UTC also. Look at the implementation in the Calendar app itself: http://android.git.kernel.org/?p=platform/packages/apps/Calendar.git;... -- (or you could just do it with GDATA as M.Murphy suggests and push your messages via HTTP up to Google which should sync it back to the device sooner or later). On 8 Okt, 12:40, Kapuddi kapu...@gmail.com wrote: Hello, All: when I insert one new Calendar Event into Google calendar from my app, the log message was given: 10-05 00:30:44.171: ERROR/DatabaseUtils(8479): Error inserting transparency=0 dtstart=128589120 title=TestCalendar _sync_dirty=1 dtend=128589120 visibility=0 allDay=1 lastDate=1285950628697 hasAlarm=0 eventStatus=1 into table Events 10-05 00:30:44.171: ERROR/DatabaseUtils(8479): android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed 10-05 00:30:44.171: ERROR/DatabaseUtils(8479): at android.database.sqlite.SQLiteStatement.native_execute(Native Method) would you please tell me how to solve it? Best Regards, Kapuddi Next is my sample code: // Platform: android 2.2 froyo private static final String calendarcontentStr = content://com.android.calendar/events; ContentValues event = new ContentValues(); //event.put(title, mAct.getString(R.string.read) + : + title); event.put(title, TestCalendar); long startTime = startC.getTimeInMillis(); long endTime = endC.getTimeInMillis(); event.put(dtstart, startTime); event.put(dtend, endTime); //event.put(allDay, 1); event.put(eventStatus, 1); event.put(visibility, 0); event.put(transparency, 0); event.put(hasAlarm, 0); Uri eventsUri = Uri.parse(calendarcontentStr); Uri uri = mAct.getContentResolver().insert(eventsUri, event); -- 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: Keeping the monkey out of the preferences
The DeviceAdminSample tests if the user is a monkey: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() I'd override onPreferenceTreeClick and/or onPreferenceChange in your PreferenceActivity and insert the test there, On Oct 11, 5:58 pm, Bret Foreman bret.fore...@gmail.com wrote: My preferences section contains user names and passwords that, if trashed, render the rest of the app non-functional. How can I keep the testing monkey's grubby fingers out of the preferences? -- 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: writing Events into Google Calendar in Android failed
Please note that the calendar provider is *not* part of the SDK, it *does* change between platform releases, and you *will* have compatibility problems if you are using it. On Mon, Oct 11, 2010 at 8:31 AM, Kapuddi kapu...@gmail.com wrote: Cool. Mr. Jens, you're right. First, I checked the content_id, then I set the content_id to 1. Succeed. Thank you. Also thanks to Mr Mr. Murphy. On 10月11日, 下午7时48分, Jens dunkingbikk...@gmail.com wrote: You're adding an event that's not linked to a row in the calendars table for one. Typically you need to set the value of calendar_id to something. This something better be a valid _id value from the calendars table or your app will just be filling the provider with crap. If you're going to be messing around in undocumented providers you should probably start by looking at the provider code itself: http://android.git.kernel.org/?p=platform/packages/providers/Calendar... Also.. the provider is a bit peculiar on all-day events.. plz make sure you're pushing them in in UTC-time with the event time zone set to UTC also. Look at the implementation in the Calendar app itself: http://android.git.kernel.org/?p=platform/packages/apps/Calendar.git;... -- (or you could just do it with GDATA as M.Murphy suggests and push your messages via HTTP up to Google which should sync it back to the device sooner or later). On 8 Okt, 12:40, Kapuddi kapu...@gmail.com wrote: Hello, All: when I insert one new Calendar Event into Google calendar from my app, the log message was given: 10-05 00:30:44.171: ERROR/DatabaseUtils(8479): Error inserting transparency=0 dtstart=128589120 title=TestCalendar _sync_dirty=1 dtend=128589120 visibility=0 allDay=1 lastDate=1285950628697 hasAlarm=0 eventStatus=1 into table Events 10-05 00:30:44.171: ERROR/DatabaseUtils(8479): android.database.sqlite.SQLiteConstraintException: error code 19: constraint failed 10-05 00:30:44.171: ERROR/DatabaseUtils(8479): at android.database.sqlite.SQLiteStatement.native_execute(Native Method) would you please tell me how to solve it? Best Regards, Kapuddi Next is my sample code: // Platform: android 2.2 froyo private static final String calendarcontentStr = content://com.android.calendar/events; ContentValues event = new ContentValues(); //event.put(title, mAct.getString(R.string.read) + : + title); event.put(title, TestCalendar); long startTime = startC.getTimeInMillis(); long endTime = endC.getTimeInMillis(); event.put(dtstart, startTime); event.put(dtend, endTime); //event.put(allDay, 1); event.put(eventStatus, 1); event.put(visibility, 0); event.put(transparency, 0); event.put(hasAlarm, 0); Uri eventsUri = Uri.parse(calendarcontentStr); Uri uri = mAct.getContentResolver().insert(eventsUri, event); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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] Remote Detection of Touch Events
Hi guys, I'm currently working on a testing framework for usability purposes and wondered if I can record or detect touch events of an application's GUI although I do not modify the target application. Some sort of keyhook. However, I do not need to directly hook a target application. I just want to know if there is a way to detect for example the button press and get the ID or name of the button using a second application? I know that this might raise some security questions, however it is a research project for a scientific institution... Regards, Florian -- 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: Keeping the monkey out of the preferences
keep your pre ferrences off mon key svp On Tue, Oct 12, 2010 at 1:03 AM, joebowbeer joe.bowb...@gmail.com wrote: The DeviceAdminSample tests if the user is a monkey: http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/DeviceAdminSample.html http://developer.android.com/reference/android/app/ActivityManager.html#isUserAMonkey() I'd override onPreferenceTreeClick and/or onPreferenceChange in your PreferenceActivity and insert the test there, On Oct 11, 5:58 pm, Bret Foreman bret.fore...@gmail.com wrote: My preferences section contains user names and passwords that, if trashed, render the rest of the app non-functional. How can I keep the testing monkey's grubby fingers out of the preferences? -- 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 -- x -- 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: Gapless Video Playback?
Anyone know if this is just default behavior that cannot be changed? On Oct 6, 11:46 am, John Wang jwang...@gmail.com wrote: I just asked a similar question. Seems like we're running into the same problem. I haven't figured out how to deal with it yet either. Tried a bunch of different options. I'm finding that the gap is around 0.5 to 0.8 seconds between videos. I also posted it here on stackoverflow:http://stackoverflow.com/questions/3877119/android-mediaplayer-gaples... On Oct 5, 12:34 pm, Dana L dana11...@gmail.com wrote: I'm trying to build a live streaming player by downloading video segments (which are generated in real-time) and then playing them back in sequence. While I can get the segments to play, I need to get it so that there isn't a pause between playback of successive segments. I've tried using both MediaPlayer (with an appropriate SurfaceView) and VideoView, but there's always a small gap between segments. If I try to load a new video into a MediaPlayer when the first segment finishes playing, it seems to take half a second or so before the next segment is loaded and starts playing. I have also tried having multiple SurfaceViews within a single ContentView (with only the active one being visible), but it seems like you can't prepare a video until the associated SurfaceView is visible. I also tried having multiple ContentViews that I switch between, but again, this has similar issues. Any ideas or suggestions? Is it possible to somehow get the next segment to begin decoding as soon as the first one is decoded (which could be before it finishes playing)? Am I going to need to build a custom video player in order to 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@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: Menu and AlertDialog are not getting displayed on regaining the focus
Eventhough the menu/AlertDialog not getting displayed, if we click on that area, the correct menu/item is getting selected and execute the corresponing code. So somehow the menu/AlertDialog display is not happening. Any suggestions to resolve this issue? Thanks, Roj On Oct 11, 6:47 pm, Roj rojktho...@gmail.com wrote: Hi, I have one application in which I have only one Activity and 6 different frames (derived from FrameLayout). Using menu one can choose a particular frame. On each frame I have different views, user can go from one view to another and come back to the previous view (I am managing it with one stack in each frame) some of the views has buttons on clicking which we show a list using AlertDialog. This is working fine. But when another application comes on top of my application and then regain the focus again to my application it is not working as expected. For eg if I press the button, it is not listing the items. However if I power off and power on the device, the list is appearing. That means AlertDialog is getting created properly, but somehow it is not getting displaying. (Even though the list is not getting displayed, I can see that if I press one the screen, the action item correponding to each item is getting executed). Similarly on pressing menu (after regaining the focus), it is not displaying the menu items. Can anybody tell what is going wrong here. It is also observed that sometimes it started to work as expected (ie menu and AlertDialogs are getting displayed after regaining the focus). Once it started to work it is always working fine. Regards, Roj -- 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] Unusual Android Error
I have an Activity that uses a ListView to simply display a list of options for a user to select and when they select an option they are taken to a new Activity. However on occasion the Activity with the options freezes when I try to select one of the options, I get the ANR and in the log cat the following error is displayed: java.lang.RuntimeException: Performing pause of activity that is not resumed:Activity Does anyone know what this error means and how to diagnose it? A search brings up very little. Does anyone know what may be causing the error? I can post the code on request -- 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: Can we send the data to usb port
Nobody had any idea how to send data to UART? On Oct 11, 4:27 pm, pramod.deore deore.pramo...@gmail.com wrote: As I know we can create a file only in application or at under sdcard. And I think uart is detected at /dev/tty directory. So it is impossible to create file in uart. Is am I write? or we can't create file in UART but read or write them? 2) Normally on Linux UART is detected at /dev/tty1 but when I used UART for android I didn't saw the /dev folder. Please help me about this UART issue. Thanks On Oct 11, 2:26 pm, pramod.deore deore.pramo...@gmail.com wrote: Or will it be possible to write or read data to UART. On Oct 11, 1:45 pm, pramod.deore deore.pramo...@gmail.com wrote: will it possible to send data from application to usb device (some pen drive). If yes then how? please provide some docs or link. Thanks -- 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: Unable to open or create cache for system/app/test.apk
Thanks Frank. But the app has to be made as part of image and while building it that way it gets installed in system/app. I am moving this query to android- platform. Thanks. On Oct 12, 12:06 pm, FrankG frankgru...@googlemail.com wrote: a) I would go with this kind of questions to android-platform b) I would not put my own apps under system/app instead provide them as a vendor extension ( look for the vendor dir ) Good luck ! Frank On 12 Okt., 08:23, Raj raaju.pra...@gmail.com wrote: Hi All, When I am trying to build my application as a part of image I am getting the following error : E/dalvikvm( 1334): Can't open dex cache '/data/dalvik-cache/ sys...@a...@test@classes.dex': No such file or directory I/dalvikvm( 1334): Unable to open or create cache for /system/app/ test.apk (/data/dalvik-cache/sys...@a...@test@classes.dex) E/Util ( 1334): Class Not Found : java.lang.ClassNotFoundException: But when I push the apk manually to the device (into system/app), it works fine. I am wondering why is it so as both ways the apk is present at system/ app only. Any ideas ?? Thanx.- Hide quoted text - - Show quoted text - -- 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] Service start in Turn on Device
How start my service when turn on my device in automatic mode ?? -- 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: Service start in Turn on Device
You have to register for the BOOT_COMPLETED intent but also for the intent that will start the actual service.In manifest file use permission as uses-permission android:name=android.permission.RECEIVE_BOOT_COMPLETED / The broadcast action android.intent.action.BOOT_COMPLETED that is sent out once the platform boot is complete. On Oct 12, 2:53 pm, MarcoCanali marco.can...@gmail.com wrote: How start my service when turn on my device in automatic mode ?? -- 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] using long touch to set a seekbar
I have an app that uses seekbars with buttons on either side for fine adjustments. Right now I use simple onclick events for the buttons, every click changes the seekbar 1 unit. What I would like to do is use a long press to quickly scroll, so if a user holds down a button for say 800 millis it will start adding ten units per second. What I'm thinking my approach should be is to use onKeyDown and onKeyUp events, but is there a better way? OnLongClickListener won't work as far as I can tell because it doesn't detect key-up. Is my approach correct? Thanks! -BB -- 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: using long touch to set a seekbar
Actually, upon further review I think I misunderstood key events, I don't think that approach is right at all. It looks like I will need to use touch events. On Oct 12, 11:25 am, bagelboy greg.do...@gmail.com wrote: I have an app that uses seekbars with buttons on either side for fine adjustments. Right now I use simple onclick events for the buttons, every click changes the seekbar 1 unit. What I would like to do is use a long press to quickly scroll, so if a user holds down a button for say 800 millis it will start adding ten units per second. What I'm thinking my approach should be is to use onKeyDown and onKeyUp events, but is there a better way? OnLongClickListener won't work as far as I can tell because it doesn't detect key-up. Is my approach correct? Thanks! -BB -- 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] queryBroadcastReceivers setup
For the Intent, use whatever Intent you want to see if somebody will receive. queryBroadcastReceivers() is not to find *all* receivers -- it is to find if anything will receive a broadcast of a specific Intent. For the flags, 0 or MATCH_DEFAULT_ONLY are the two most likely options. On Mon, Oct 11, 2010 at 11:24 PM, zachariahyoung zpyo...@gmail.com wrote: I would like to know all of my broad cast receivers. The above methods should to the trick but I'm not finding any good examples on how to use it. PackageManager packageManager = getPackageManager(); packageManager.queryBroadcastReceivers(intent, flags); What should enter for intent and flags? Thanks Zach -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] Remote Detection of Touch Events
On Tue, Oct 12, 2010 at 4:13 AM, Florian Lettner fl.lett...@gmail.com wrote: I'm currently working on a testing framework for usability purposes and wondered if I can record or detect touch events of an application's GUI although I do not modify the target application. No, sorry, not from the SDK. You may be able to create custom firmware to provide this feature. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] Unusual Android Error
ANRs are because you are spending too much time on the main application thread. If you are doing network I/O, a lot of flash writes, or things like that, move that work to a background thread. On Tue, Oct 12, 2010 at 5:41 AM, draf...@gmail.com draf...@gmail.com wrote: I have an Activity that uses a ListView to simply display a list of options for a user to select and when they select an option they are taken to a new Activity. However on occasion the Activity with the options freezes when I try to select one of the options, I get the ANR and in the log cat the following error is displayed: java.lang.RuntimeException: Performing pause of activity that is not resumed:Activity Does anyone know what this error means and how to diagnose it? A search brings up very little. Does anyone know what may be causing the error? I can post the code on request -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] Custom ListView Contain ImageView + TextView + CheckBox for selected Row
hi all , the first Question : --- i tried to make this using normal listView and this is the pic http://www8.0zz0.com/2010/10/12/10/511032679.png i can't add image to it how i can Add image At The beginning of the listView in each Row ??? the Seconed Question : - i tried to make the same thing using Custom ListView Using ArrayAdapter and this is the pic http://www8.0zz0.com/2010/10/12/10/413507770.png i can't add a checkBox at each row how i can add a CheckBox At the End of each Row ? - or if there is any other way to do that plz tell me about it ?? thanks, ahmed shoeib -- 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] Unusual Android Error
Hi Mark, There are two things I do in onCreate that may be the cause. Firstly I retrive some data from a Content Provider as follows: ContentResolver cr = getContentResolver(); Cursor c = null; try{ c = cr.query(MySettings.CONTENT_URI, null, null, null, null); } catch(RuntimeException e){ e.printStackTrace(); } try{ if (c.moveToFirst()) { do { // Extract the details checkVersion = c.getString(MySettings.VERSION_COL); verified = c.getInt(MySettings.VERIFIED_COL); } while(c.moveToNext()); } c.close(); } catch(RuntimeException e){ e.printStackTrace(); } And then I instanstiate an Object that creates 4 files as follows: file = new File(FILE_PATH); testFile = new File(TEST_PATH); cipherFile = new File(CIPHER_PATH); decipherFile = new File(DECIPHER_PATH); I will try to find out if either one is causing the issue, thanks. On Tue, Oct 12, 2010 at 11:40 AM, Mark Murphy mmur...@commonsware.comwrote: ANRs are because you are spending too much time on the main application thread. If you are doing network I/O, a lot of flash writes, or things like that, move that work to a background thread. On Tue, Oct 12, 2010 at 5:41 AM, draf...@gmail.com draf...@gmail.com wrote: I have an Activity that uses a ListView to simply display a list of options for a user to select and when they select an option they are taken to a new Activity. However on occasion the Activity with the options freezes when I try to select one of the options, I get the ANR and in the log cat the following error is displayed: java.lang.RuntimeException: Performing pause of activity that is not resumed:Activity Does anyone know what this error means and how to diagnose it? A search brings up very little. Does anyone know what may be causing the error? I can post the code on request -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] location receiver
i have created a broadcast receiver registered it statically.. it is not get called on location changed have a look on code snippet and help me out to solve the issu.. public class LocationReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub Toast.makeText(context,Receiver, Toast.LENGTH_LONG).show(); } } //*xml:manifest* receiver android:name=LocationReceiver intent-filter action android:name=android.intent.action.LOCATION_CHANGED / category android:name=android.intent.category.DEFAULT/ /intent-filter -- A N K ! T.. -- 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] location receiver
There is no android.intent.action.LOCATION_CHANGED in Android. Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. On Tue, Oct 12, 2010 at 7:18 AM, A N K ! T ankit.awasth...@gmail.com wrote: i have created a broadcast receiver registered it statically.. it is not get called on location changed have a look on code snippet and help me out to solve the issu.. public class LocationReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub Toast.makeText(context,Receiver, Toast.LENGTH_LONG).show(); } } //xml:manifest receiver android:name=LocationReceiver intent-filter action android:name=android.intent.action.LOCATION_CHANGED / category android:name=android.intent.category.DEFAULT/ /intent-filter -- A N K ! T.. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] location receiver
so should i send a broadcast from activity .. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. On Tue, Oct 12, 2010 at 4:53 PM, Mark Murphy mmur...@commonsware.comwrote: There is no android.intent.action.LOCATION_CHANGED in Android. Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. On Tue, Oct 12, 2010 at 7:18 AM, A N K ! T ankit.awasth...@gmail.com wrote: i have created a broadcast receiver registered it statically.. it is not get called on location changed have a look on code snippet and help me out to solve the issu.. public class LocationReceiver extends BroadcastReceiver{ @Override public void onReceive(Context context, Intent intent) { // TODO Auto-generated method stub Toast.makeText(context,Receiver, Toast.LENGTH_LONG).show(); } } //xml:manifest receiver android:name=LocationReceiver intent-filter action android:name=android.intent.action.LOCATION_CHANGED / category android:name=android.intent.category.DEFAULT/ /intent-filter -- A N K ! T.. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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: how to debug APK in emulator with maven dependency
Hi Mohammad, I have now documented this on the maven-android-plugin wiki: http://code.google.com/p/maven-android-plugin/wiki/Debug Thanks, Hugo On Oct 8, 11:49 am, Mohammad Haque shumi...@gmail.com wrote: Hi I'm using maven-android-plugin in my android application. I'm a dependency which maven download from remote repository before APK build. But if I want to debug the APK in emulator it does not include the those maven dependency and as a result APK does not run with normal Run (using Eclipse) and can not be debug as well. Could someone know how to debug in this situation? Any suggestion is highly appreciated. Regards Mohammad Haque -- 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] location receiver
On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] Can I use ext2 or ext3 formatted external SD card in Android 2.1
Hi, If I insert an external sd card formatted in ext2 or ext3, will it be treated as a normal sd card (FAT32)? The device is Samsung Galaxy S (Korean) running Android 2.1 I need the answer before I get the device tomorrow, because by the time I get the device, I will not have any option to change anything in the card. Regards Sarwar Erfan -- 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] location receiver
ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very helpful. On Tue, Oct 12, 2010 at 5:15 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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: queryBroadcastReceivers setup
What should the prefix class be for MATCH_DEFAULT_ONLY? On Oct 12, 5:36 am, Mark Murphy mmur...@commonsware.com wrote: For the Intent, use whatever Intent you want to see if somebody will receive. queryBroadcastReceivers() is not to find *all* receivers -- it is to find if anything will receive a broadcast of a specific Intent. For the flags, 0 or MATCH_DEFAULT_ONLY are the two most likely options. On Mon, Oct 11, 2010 at 11:24 PM, zachariahyoung zpyo...@gmail.com wrote: I would like to know all of my broad cast receivers. The above methods should to the trick but I'm not finding any good examples on how to use it. PackageManager packageManager = getPackageManager(); packageManager.queryBroadcastReceivers(intent, flags); What should enter for intent and flags? Thanks Zach -- 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 -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android 2.2 Programming Books:http://commonsware.com/books -- 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] location receiver
keep that method in @Overide public void onStart(){ } in Your activity On 10/12/10, A N K ! T ankit.awasth...@gmail.com wrote: ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very helpful. On Tue, Oct 12, 2010 at 5:15 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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] Re: queryBroadcastReceivers setup
On Tue, Oct 12, 2010 at 8:03 AM, zachariahyoung zpyo...@gmail.com wrote: What should the prefix class be for MATCH_DEFAULT_ONLY? MATCH_DEFAULT_ONLY is defined on PackageManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] location receiver
hey sorry i dint read the documentation of that method... it is working fine... thank a lot for help... On Tue, Oct 12, 2010 at 5:34 PM, guru sagar gurusagar...@gmail.com wrote: keep that method in @Overide public void onStart(){ } in Your activity On 10/12/10, A N K ! T ankit.awasth...@gmail.com wrote: ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very helpful. On Tue, Oct 12, 2010 at 5:15 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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] Is there a time limit I must wait between uploading updates to a single app?
I uploaded an update to one of my apps. I caught a bug in testing shortly after. I noticed that the Upload Upgrade link had disappeared, and I only have the ability to completely remove the application. I uploaded the last update yesterday, so it has been about 15 hours. I'm guessing there is a 24 hour waiting period so that you don't flood the market with updates, but I can't find documentation to confirm. -- 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] Is the database SQLite available on all android devices and versions ?
Hello Developers, I have a question for those who has some experience with android SQLite database. I have to use an internal data base for my android application,and need to know if SQLite database is available on all devices and versions ? and if it uses additional CPU and memory resources of the device? I would be grateful for any advice. Thank you Lidia -- 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] location receiver
i have one more problem...actually i am creating an app that have two task 1) first is it just send current location to server after each location change occur.. it is working fine now. 2) if location change and user open my app it shud show him current location like google maps shows.. but i am not getting how to make zoom till that label.. On Tue, Oct 12, 2010 at 5:55 PM, A N K ! T ankit.awasth...@gmail.comwrote: hey sorry i dint read the documentation of that method... it is working fine... thank a lot for help... On Tue, Oct 12, 2010 at 5:34 PM, guru sagar gurusagar...@gmail.comwrote: keep that method in @Overide public void onStart(){ } in Your activity On 10/12/10, A N K ! T ankit.awasth...@gmail.com wrote: ya i know it is the method in LocationManager. but how to use it that it listen everytime a location change occur.. can u give a example here it will be very helpful. On Tue, Oct 12, 2010 at 5:15 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 12, 2010 at 7:35 AM, A N K ! T ankit.awasth...@gmail.com wrote: so should i send a broadcast from activity .. No. but i want to send broadcast every time a gps location changed not only when my app in background and i dont want to service running in background. how to do it. As I wrote in my previous message: Use requestLocationUpdates() to arrange to have location updates delivered to your BroadcastReceiver. requestLocationUpdates() is a method on LocationManager. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.comandroid-developers%252bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- A N K ! T.. -- 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] Is the database SQLite available on all android devices and versions ?
On Tue, Oct 12, 2010 at 8:26 AM, Lidia lidyp...@yahoo.com wrote: I have a question for those who has some experience with android SQLite database. I have to use an internal data base for my android application,and need to know if SQLite database is available on all devices and versions ? Yes. and if it uses additional CPU and memory resources of the device? As much as any code uses additional CPU and memory resources of the device. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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: Is there a time limit I must wait between uploading updates to a single app?
There's no time limit. You can update your app technically, every second/milisecond :) -Kumar Bibek http://techdroid.kbeanie.com On Oct 12, 5:26 pm, Rich aguynamedr...@gmail.com wrote: I uploaded an update to one of my apps. I caught a bug in testing shortly after. I noticed that the Upload Upgrade link had disappeared, and I only have the ability to completely remove the application. I uploaded the last update yesterday, so it has been about 15 hours. I'm guessing there is a 24 hour waiting period so that you don't flood the market with updates, but I can't find documentation to confirm. -- 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] location receiver
On Tue, Oct 12, 2010 at 8:29 AM, A N K ! T ankit.awasth...@gmail.com wrote: 2) if location change and user open my app it shud show him current location like google maps shows.. but i am not getting how to make zoom till that label.. Call setCenter() and setZoom() on your MapController, obtained via getMapController() from your MapView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] How To Recover A Lost Administrator Password
http://softsami.blogspot.com/2010/10/how-to-recover-lost-administrator.html -- 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] adjustResize with Landscape Mode.
Hello All, I have an application which has the main layout(main.xml) as given below. RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/main android:orientation=vertical android:layout_width=fill_parent android:layout_height=fill_parent TextView android:layout_alignParentTop=true android:id=@+id/ txtView1 android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/hello / TextView android:layout_width=fill_parent android:gravity=bottom android:id=@+id/txtView2 android:layout_alignParentBottom=true android:layout_height=wrap_content android:text=Is this appearing @ bottom?/ LinearLayout android:layout_width=wrap_content android:layout_height=wrap_contentandroid:layout_below=@id/ txtView1 android:layout_alignParentBottom=true android:orientation=vertical TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Check this m i hanging one two three four five six / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Check this m i hanging2 seven eight nine ten/ TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Check this m i hanging3 one two three four five six / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Check this m i hanging4 seven eight nine ten/ TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Check this m i hanging5 one two three four five six / TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=Check this m i hanging6 seven eight nine ten/ TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=7 Seven/ TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=8 Eight/ /LinearLayout /RelativeLayout i have an Activity which uses the above layout to set its content View. This Activity is configured in the Manifest file to have android:windowSoftInputMode=adjustResize. Now when i am in Portrait mode the softkeyboard pops-up and the text Is this appearing @ bottom? (ie) the textView (android:id=@+id/txtView2) appears just above the softkeyboard with the other text overwritten over it as they fall from top to bottom. Now when i flip the phone to landscape mode this behaviour is changed and it behaves as defined in property adjustUnspecified . Is this a bug? How can i have adjustResize behaviour in landscape mode? What is the workaround in this scenario? I have already read the post http://groups.google.com/group/android-developers/browse_thread/thread/da0d2eff53a7b55/e018c53962cacd7b?lnk=gstq=adjustResize+in+landscape#e018c53962cacd7b and the screen doesn't move to full-screen as i have only a Text View. (I have a specific requirement to have it that way). FYI i use the default IME and using Android 2.1 on a HTC phone with no external keyboard. Regards V. Ramkumar. -- 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] getting sensor information from native code (C or C++)
Hello, Is this possible to access a sensor data form native code without using Java at all? I need to access to the sensor as fast as possible, but it seems like the DELAY_FASTEST parameter when registering an event change is not fast enough. Thanks Kimi -- 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: Is the database SQLite available on all android devices and versions ?
Thank You ;) Mark Murphy -- 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-porting] Re: [android-developers] KeyCharacterMap problem and Bluetooth Headset
Hi Dianne Thanks for info.. I found out the problem was in Avrcp.kl , Its file my system is using for scancode -keycode generation. I added following in avrcp.kl after i found that 164,128 and 159 has no entry at all: key 164 MEDIA_PLAY_PAUSEWAKE key 128 MEDIA_STOP WAKE key 159 MEDIA_FAST_FORWARD WAKE Anyways, Its working now. Thanks , Ajith On Tue, Oct 12, 2010 at 12:43 PM, Dianne Hackborn hack...@android.comwrote: This is unrelated to keycharmap files, which are used for converting key events to printable characters. Generally the Linux driver for the device should be reporting the key as the standard Linux key code, and there is a generic scan code - key code mapping the platform has for turning those to Android key code.s On Mon, Oct 11, 2010 at 8:34 PM, Ajith Kamath sjce.aj...@gmail.comwrote: Hi I am facing a problem with Bluetooth Headset and KeyCharacter Mapping When I press play/pause button from Samsung sbh-170 , its not getting reflected in Phone. I traced and came to know that , normally scan code of 164, keycode of 85 is formed when i press Headset play/pause. And PhoneWindow manager will intercept this and send ACTION_MEDIA_BUTTON if keycode =85 (KeyEvent.KEYCODE_MEDIA_PLAY_PAUSE). But keycode that I'm getting is 0 even when i press headset play/pause in PhoneWindow Manager. Even in KeyInputQueue, the keycode that is obtained is 0 Does anybody when keycode gets generated?? Also I got following error in log : AVRCP: Send key 164 (1) fd=23 WARN/KeyCharacterMap(2550): Can't open keycharmap file WARN/KeyCharacterMap(2550): Error loading keycharmap file '/system/usr/keychars/AVRCP.kcm.bin'. hw.keyboards.131077.devname='AVRCP' WARN/KeyCharacterMap(2550): Using default keymap: /system/usr/keychars/qwerty.kcm.bin Can this be a problem ? If so , how?? Please suggest. Regards, Ajith -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- unsubscribe: android-porting+unsubscr...@googlegroups.comandroid-porting%2bunsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting -- 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] getting sensor information from native code (C or C++)
On Tue, Oct 12, 2010 at 8:52 AM, Kimi ezequiel.ac...@gmail.com wrote: Is this possible to access a sensor data form native code without using Java at all? I do not believe so. I need to access to the sensor as fast as possible, but it seems like the DELAY_FASTEST parameter when registering an event change is not fast enough. The other DELAY_ parameters introduce an actual delay, on the order of such-and-so milliseconds. DELAY_FASTEST is a 0-millisecond delay, so it is as fast as you are likely to get. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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: getting sensor information from native code (C or C++)
So if I see that the event does not arrive so quickly it's a hardware or software (¿May be Android version?) problem. I'm trying to get light sensor information as far as possible in order to do an app. for my physics class at university. Thanks On Oct 12, 10:00 am, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 12, 2010 at 8:52 AM, Kimi ezequiel.ac...@gmail.com wrote: Is this possible to access a sensor data form native code without using Java at all? I do not believe so. I need to access to the sensor as fast as possible, but it seems like the DELAY_FASTEST parameter when registering an event change is not fast enough. The other DELAY_ parameters introduce an actual delay, on the order of such-and-so milliseconds. DELAY_FASTEST is a 0-millisecond delay, so it is as fast as you are likely to get. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy Android 2.2 Programming Books:http://commonsware.com/books -- 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: Is there a time limit I must wait between uploading updates to a single app?
Any idea why I would only see a [ remove ] link where the Upload Upgrade link was yesterday? My other app, that I haven't updated in a while has the Upload Upgrade link still. On Oct 12, 8:42 am, Kumar Bibek coomar@gmail.com wrote: There's no time limit. You can update your app technically, every second/milisecond :) -Kumar Bibekhttp://techdroid.kbeanie.com On Oct 12, 5:26 pm, Rich aguynamedr...@gmail.com wrote: I uploaded an update to one of my apps. I caught a bug in testing shortly after. I noticed that the Upload Upgrade link had disappeared, and I only have the ability to completely remove the application. I uploaded the last update yesterday, so it has been about 15 hours. I'm guessing there is a 24 hour waiting period so that you don't flood the market with updates, but I can't find documentation to confirm. -- 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: Custom ListView Contain ImageView + TextView + CheckBox for selected Row
You first declare a special layout file with all your ImageView,TextView and checkbox. and use that layout file while setting array adapter On Oct 12, 3:41 pm, Ahmed Shoeib ahmedelsayed.sho...@gmail.com wrote: hi all , the first Question : --- i tried to make this using normal listView and this is the pic http://www8.0zz0.com/2010/10/12/10/511032679.png i can't add image to it how i can Add image At The beginning of the listView in each Row ??? the Seconed Question : - i tried to make the same thing using Custom ListView Using ArrayAdapter and this is the pic http://www8.0zz0.com/2010/10/12/10/413507770.png i can't add a checkBox at each row how i can add a CheckBox At the End of each Row ? - or if there is any other way to do that plz tell me about it ?? thanks, ahmed shoeib -- 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] location receiver
not workingi just want to do the thingmenu item my location do on google map.. is there any example for that On Tue, Oct 12, 2010 at 6:13 PM, Mark Murphy mmur...@commonsware.comwrote: On Tue, Oct 12, 2010 at 8:29 AM, A N K ! T ankit.awasth...@gmail.com wrote: 2) if location change and user open my app it shud show him current location like google maps shows.. but i am not getting how to make zoom till that label.. Call setCenter() and setZoom() on your MapController, obtained via getMapController() from your MapView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- A N K ! T.. -- 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] location receiver
Use MyLocationOverlay. On Tue, Oct 12, 2010 at 9:28 AM, A N K ! T ankit.awasth...@gmail.com wrote: not workingi just want to do the thingmenu item my location do on google map.. is there any example for that On Tue, Oct 12, 2010 at 6:13 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Oct 12, 2010 at 8:29 AM, A N K ! T ankit.awasth...@gmail.com wrote: 2) if location change and user open my app it shud show him current location like google maps shows.. but i am not getting how to make zoom till that label.. Call setCenter() and setZoom() on your MapController, obtained via getMapController() from your MapView. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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 -- A N K ! T.. -- 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 -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android 2.2 Programming Books: http://commonsware.com/books -- 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] multiple images in a one single image
i want to create a bitmap / image which has many images like Collage which has more then one images in a single picture. I have stored all my images in a grid view but now i want to create a single image from all those images. And even i want to make few images click able so what can be the road map to do this ? any sort of help / example will be helpful. search for a for collage image image in google . one can see what it is exactly -- 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: multiple images in a one single image
Well the collage part is easy and tough : Just use one of the many flavor of drawBitmap and matrices(if you want rotation and/or scale randomness) from your source image into your big destination image. What I found difficult and did not solve that properly, is how to layout the pictures nicely so that they all are visible. The easiest way I found was to dispose the image in a grid with random but limited rotations(+/-25°) and play around with cells size. The smallest the size the more the picture overlap. Then to be able to click one, I would just get the coordinate of the touch event and compute which grid cell it corresponds to. You can maybe even do all of that without creating a big bitmap but just using imageviews. Yahel On 12 oct, 15:35, ntimesc ntim...@gmail.com wrote: i want to create a bitmap / image which has many images like Collage which has more then one images in a single picture. I have stored all my images in a grid view but now i want to create a single image from all those images. And even i want to make few images click able so what can be the road map to do this ? any sort of help / example will be helpful. search for a for collage image image in google . one can see what it is exactly -- 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: Amazon | xxx - Business Opportunity
I use the Android Market to offer paid upgrade apps from free apps myself. It doesn't work well. For one thing, you are never sure if launching a Market intent for a paid app will even work. The user might be in a country or on a carrier that doesn't support it. Checking against a country list before showing a market intent button to a user leaves you with list of countries you have to maintain and isn't even bullet proof when maintained properly because sometimes there are carriers that don't support paid apps in countries that otherwise do. There are other problems as well. I get emails from users who can't get downloads to start, for example. A common problem with the Market app that hasn't been fixed in a long time. I generally give them a link to that Google support page where Google does nothing and there's pages and pages of users trying bizarre workarounds like resetting their Google Talk connections. Hopefully Amazon will make more money off their market and be more inclined to fix ridiculous situations and bugs like this. I don't even want to sell paid one shot upgrades delivered separately anyway. I'd much rather have a free, expansive game that just offers repeatable shortcuts to people willing to pay to help support it. E.g. the game would be free, let's call it MyMineCraft. After each day- night cycle a store would pop up where a user could choose to buy an item that would otherwise take them a lot of trouble to obtain, like a titanium pick axe. It would break after a while and they could either buy another one, or they could buy a subscription and get one free item from the store per day. The whole purchase mechanism could be made much more painless for users if you didn't have to leave the app and download something through the Market. You can't do this sort of thing with PayPal either. They've explicitly said that the Android Market policy prevents you from selling digital content using it: https://www.x.com/message/176744 There are many game developers who would prefer to have enhanced subscriber experiences or purchasable digital goods options built-in to their free apps instead of as paid apps. These ways of making money are huge hits in the industry. I'm amazed Android has such poor support for them. No wonder a recent presentation I saw someone from Flurry give showed so many more developers writing for iOS than Android. On Oct 3, 5:40 pm, Doug beafd...@gmail.com wrote: On Oct 2, 5:51 pm, Lance Nanek lna...@gmail.com wrote: The lack of users on alternative app stores is a big disadvantage. Still, if they had a method for in app purchases, including of expendable virtual goods and of extra subscription services, that is super easy for users to use, I'd probably use their store. Selling unlock apps like we have to on Google Market is a pain for the user and developer both, and limited in what it can do. Many developers, including myself, maintain both free and paid versions of an app on the market. It's not great, but it's not that much trouble, and mostly boils down to following a procedure on your end to build each version. If you need to sell something in your app other than the app itself, you can use PayPal X, which has an Android SDK. https://www.x.com/community/ppx/xspaces/mobile -- 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: Stolen app on market
Thank you for the answers. We reported about infringement to adMob and Google. AdMob advised to file CD to Google and we did so. On 4 окт, 21:44, { Devdroid } webnet.andr...@gmail.com wrote: On 4 October 2010 19:14, Nightwolf mikh...@gmail.com wrote: Recently I've discovered that our app Little Python is distributed by developer who call himself Adam Gates. He renamed our app to snake, replaced icon and changed AdMob id. He has 55 published apps. Please take a look may be you'll find yours. Is there any way to shut him down? Please advise. Sure. Write to Google using this link (in Market console Help on the upper side, then Contacting Us on bottom and then Android Market Developers: Publishers Merchants then probably Application Removal which would lead you to this: http://www.google.com/support/androidmarket/bin/request.py?contact_ty... Write down your discovery -- 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: External Storage File Creation Problem
On Mon, Oct 11, 2010 at 11:13 PM, Goutham P N pn.gowt...@gmail.com wrote: I will explain u clearly, I created a folder in Gallary, then in that folder I created a text file and wrote some text in it and closed it. No pictures in it. I repeat: I don't think folders without images show up in the gallery, otherwise it would get really cluttered for no good reason. Why do you think a text file would show up in the Gall*e*ry? - 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
[android-developers] Write data into SDCard while mounted
Hi All, Is it possible to mount/unmount the SDCard through an Android application? I am writing my own desktop application which needs to to pass some data into the Android phone which will be used by an Android application and at the same time copy some data from the phone into the desktop application. Any idea how to implement this? One idea is through SDCard. But is it possible to mount and unmount programmatically? Because data cannot be written into the SDCard while it is mounted. Is there any other method? Thanks In Advance, Perumal -- 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: Is Samsung Galaxy Tab NOT a large screen from application developer's point of view?
For all the folks who were waiting for it .. http://innovator.samsungmobile.com/galaxyTab.do -Dan 2010/10/6 Argon Konay haluk.tufe...@gmail.com Thanks a lot for your quick replies. I will generate an hardcoded demo specific to Galaxy Tab. Argon On Oct 6, 2:17 am, Dianne Hackborn hack...@android.com wrote: You are using a pre-production device. Things may not work as intended. :} 2010/10/5 Argon Konay haluk.tufe...@gmail.com This may be a repost: (getResources().getConfiguration().screenLayout Configuration.SCREENLAYOUT_SIZE_LARGE) == Configuration.SCREENLAYOUT_SIZE_LARGE returns false on my Samsung Galaxy Tab. Dan, have you tested your comment on an actual Galaxy Tab? Regards, Argon On 5 Ekim, 22:29, dan raaka danra...@gmail.com wrote: GalaxyTab is a LARGE/HDPI device. Having android:largeScreens=true in your manifest just makes sure that the android market doesn't filter your app out of LARGE devices. Similar arguments holds true for android:anyDensity=true -Dan On Tue, Oct 5, 2010 at 11:44 AM, Argon Konay haluk.tufe...@gmail.com wrote: Hi, I have layout issues in my application on Samsung Galaxy Tab. It has a 7 TFT display with 1024x600 resolution. Galaxy Tab prefers images in res/drawable-hdpi to the ones in res/ drawable. That is understandable. However resources in res/layout are used instead of the ones in res/ layout-large. Does it have a logical explanation? Or what am I doing wrong? What is a large screen for Android? Manifest contains supports-screens android:smallScreens=true android:normalScreens=true android:largeScreens=true android:anyDensity=true / uses-sdk android:minSdkVersion=4 android:targetSdkVersion=7 / Thanks in advance Argon -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en-Alıntıyıhttp://groups.google.com/group/android-developers?hl=en-Al%C4%B1nt%C4%B1y%C4%B1gizle - - Alıntıyı göster - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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: Is Samsung Galaxy Tab NOT a large screen from application developer's point of view?
Thanks for the link! :) 2010/10/12 dan raaka danra...@gmail.com For all the folks who were waiting for it .. http://innovator.samsungmobile.com/galaxyTab.do -Dan 2010/10/6 Argon Konay haluk.tufe...@gmail.com Thanks a lot for your quick replies. I will generate an hardcoded demo specific to Galaxy Tab. Argon On Oct 6, 2:17 am, Dianne Hackborn hack...@android.com wrote: You are using a pre-production device. Things may not work as intended. :} 2010/10/5 Argon Konay haluk.tufe...@gmail.com This may be a repost: (getResources().getConfiguration().screenLayout Configuration.SCREENLAYOUT_SIZE_LARGE) == Configuration.SCREENLAYOUT_SIZE_LARGE returns false on my Samsung Galaxy Tab. Dan, have you tested your comment on an actual Galaxy Tab? Regards, Argon On 5 Ekim, 22:29, dan raaka danra...@gmail.com wrote: GalaxyTab is a LARGE/HDPI device. Having android:largeScreens=true in your manifest just makes sure that the android market doesn't filter your app out of LARGE devices. Similar arguments holds true for android:anyDensity=true -Dan On Tue, Oct 5, 2010 at 11:44 AM, Argon Konay haluk.tufe...@gmail.com wrote: Hi, I have layout issues in my application on Samsung Galaxy Tab. It has a 7 TFT display with 1024x600 resolution. Galaxy Tab prefers images in res/drawable-hdpi to the ones in res/ drawable. That is understandable. However resources in res/layout are used instead of the ones in res/ layout-large. Does it have a logical explanation? Or what am I doing wrong? What is a large screen for Android? Manifest contains supports-screens android:smallScreens=true android:normalScreens=true android:largeScreens=true android:anyDensity=true / uses-sdk android:minSdkVersion=4 android:targetSdkVersion=7 / Thanks in advance Argon -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en-Alıntıyıhttp://groups.google.com/group/android-developers?hl=en-Al%C4%B1nt%C4%B1y%C4%B1gizle - - Alıntıyı göster - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com android-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them.- Hide quoted text - - Show quoted text - -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- YuviDroid Check out Launch-X http://android.yuvalsharon.net/launchx.php (a widget to quickly access your favorite apps and contacts!) http://android.yuvalsharon.net -- 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: Stolen app on market
Ok, this is getting ridiculous !! We are on theft issue here, not just spam or something dull. GOOGLE should not just remove the app. This is a big, huge, and the worst infringement you can find in the whole history of market crapiness : The account of this guy should be deleted. period. As soon as GOOGLE receive the first CD letter and checked that it is indeed exactly the same app, boom !! Even if all the other apps are his own work. Yahel On 12 oct, 15:57, Nightwolf mikh...@gmail.com wrote: Thank you for the answers. We reported about infringement to adMob and Google. AdMob advised to file CD to Google and we did so. On 4 окт, 21:44, { Devdroid } webnet.andr...@gmail.com wrote: On 4 October 2010 19:14, Nightwolf mikh...@gmail.com wrote: Recently I've discovered that our app Little Python is distributed by developer who call himself Adam Gates. He renamed our app to snake, replaced icon and changed AdMob id. He has 55 published apps. Please take a look may be you'll find yours. Is there any way to shut him down? Please advise. Sure. Write to Google using this link (in Market console Help on the upper side, then Contacting Us on bottom and then Android Market Developers: Publishers Merchants then probably Application Removal which would lead you to this: http://www.google.com/support/androidmarket/bin/request.py?contact_ty... Write down your discovery -- 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: Write data into SDCard while mounted
Il Tue, 12 Oct 2010 07:08:55 -0700, perumal316 ha scritto: Is it possible to mount/unmount the SDCard through an Android application? No. Bye. -- 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: HTC auto zoom on HTML input fields
Anyone an idea? -- 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: Setting up Eclipse to build NDK using Sequoyah
Drat, I posted this to the wrong group. Sorry On Oct 12, 7:58 am, John Gaby jg...@gabysoft.com wrote: I am trying to set up Eclipse so that it can build my NDK piece. I have installed Sequoyah, and added the Native Support. However, when I build the project I get the error: Build of configuration Default for project HelloJni (Cannot run program bash: Launching failed) Can anyone tell me what I am doing wrong? Thanks. -- 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] Game grid images
I'm in the beginning process of creating my first 2d game and it's a puzzle game (sort of like bejeweled) where I would have 7 different images randomly spread out across in a 7x7 grid totaling 49 images total. Basically there would be a way to match pieces and make them disappear, then the pieces above would fill the new empty spaces, and then new random pieces would appear to fill the gaps left at the top of the screen. I have been struggling with this I know how to load images etc. but I cant seem to wrap my head around getting the basic getting this basic structure set up where it's actually usable. I cannot find any tutorials etc that cover this sort of thing. If someone could give me any pointers, or point me in a direction that my fill in the gaps for what I am looking for that would be greatly appreciated. Thanks, Al -- 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] How to develop a android app store
On Tue, Oct 12, 2010 at 1:25 AM, Nitin Mahajan np.maha...@gmail.com wrote: How can we develop an Android app store, to distribute apps/upgrades specific to a product, which is a non mobile device? Your question is ridiculously broad and generic. I doubt anyone is going to give you an adequate answer that outlines everything that needs to be done to develop an app store. - 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
Re: [android-developers] Re: Stolen app on market
Yeah, that should be straightforward. I guess, they just don't look at these issues seriously as yet. Or may be the legal procedures just take too long. BTW, have you got a reply? 2010/10/12 Yahel kaye...@gmail.com Ok, this is getting ridiculous !! We are on theft issue here, not just spam or something dull. GOOGLE should not just remove the app. This is a big, huge, and the worst infringement you can find in the whole history of market crapiness : The account of this guy should be deleted. period. As soon as GOOGLE receive the first CD letter and checked that it is indeed exactly the same app, boom !! Even if all the other apps are his own work. Yahel On 12 oct, 15:57, Nightwolf mikh...@gmail.com wrote: Thank you for the answers. We reported about infringement to adMob and Google. AdMob advised to file CD to Google and we did so. On 4 окт, 21:44, { Devdroid } webnet.andr...@gmail.com wrote: On 4 October 2010 19:14, Nightwolf mikh...@gmail.com wrote: Recently I've discovered that our app Little Python is distributed by developer who call himself Adam Gates. He renamed our app to snake, replaced icon and changed AdMob id. He has 55 published apps. Please take a look may be you'll find yours. Is there any way to shut him down? Please advise. Sure. Write to Google using this link (in Market console Help on the upper side, then Contacting Us on bottom and then Android Market Developers: Publishers Merchants then probably Application Removal which would lead you to this: http://www.google.com/support/androidmarket/bin/request.py?contact_ty. .. Write down your discovery -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to develop a android app store
:) Can anyone buy the Android Market? On Tue, Oct 12, 2010 at 9:04 PM, TreKing treking...@gmail.com wrote: On Tue, Oct 12, 2010 at 1:25 AM, Nitin Mahajan np.maha...@gmail.comwrote: How can we develop an Android app store, to distribute apps/upgrades specific to a product, which is a non mobile device? Your question is ridiculously broad and generic. I doubt anyone is going to give you an adequate answer that outlines everything that needs to be done to develop an app store. - 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.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Stolen app on market
Atually there is no legal issue here. Against the TOS + theft : Account terminated ! I can admit although with difficulty, 32 spammers with 10 000 apps(actual numbers) and 14 years old, made-in-5-minutes crapps, to artificially increase the count of apps in the market for marketing purpose. But this is something else. I'm glad I just bought a Mac. Diversification will soften the feeling as I won't be 100% Android as today !! Yahel -- 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: using long touch to set a seekbar
ACTION_CANCEL might help you to exit your custom event. On Tue, Oct 12, 2010 at 9:51 PM, bagelboy greg.do...@gmail.com wrote: OK, I solved this myself by attaching an onTouchListener to each button and listening for ACTION_DOWN and ACTION_UP events. the only problem is that if a user moves their finger off the button while holding it the ACTION_UP event is lost. This doesn't seem to be a major problem as all they have to do is tap the button again to stop, but if it gives any trouble I'll simply have to add a generic ACTION_UP listener. Hope this is useful to someone, -BB On Oct 12, 11:25 am, bagelboy greg.do...@gmail.com wrote: I have an app that uses seekbars with buttons on either side for fine adjustments. Right now I use simple onclick events for the buttons, every click changes the seekbar 1 unit. What I would like to do is use a long press to quickly scroll, so if a user holds down a button for say 800 millis it will start adding ten units per second. What I'm thinking my approach should be is to use onKeyDown and onKeyUp events, but is there a better way? OnLongClickListener won't work as far as I can tell because it doesn't detect key-up. Is my approach correct? Thanks! -BB -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Question For All Android Developer
Well, I suspect you can do that. Normal browsers play media files with the help of the installed plugin. If the browser doesn't support it, then you can't. As for the apk files, I suppose that you want to download the apk when the user clicks on the link. That's simple I guess. Put it as a normal downloadable file, and the brower will download it and save it for you. -Kumar Bibek http://techdroid.kbeanie.com On Oct 11, 10:21 pm, himanshu jain himanshu@gmail.com wrote: Hi All, My Question is can we embed mp4 file in android webview client.? Second, is can we embed apk file in WebViewClient?. thanks -- 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: Can I use the linux built system.img file in windos sdk
I am quite sure you can. Did that image run on Ubuntu? On Oct 11, 8:01 pm, Giri sesha_giri_n...@yahoo.co.in wrote: I had built the system.img file in linux ubuntu OS for Android. I copied the system.img file in the widows SDK at /out/packagees/ target/generic directory. But when i am trying to start the emulator its not starting. And the logcat messages are not shown. Is it possible to build the system.img in ubuntu and use it in windows. Please help me in 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@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: Is there a time limit I must wait between uploading updates to a single app?
On Tue, Oct 12, 2010 at 8:21 AM, Rich aguynamedr...@gmail.com wrote: Any idea why I would only see a [ remove ] link where the Upload Upgrade link was yesterday? It's possible you never submitted the original update. If you select a new version to upload, that button switches to Remove so you can cancel the update. This will NOT remove your app from the Market place (that's Unpublish). Hit the remove button and see what version it shows. If it's your old version, you never published that update. Welcome to the Android Market Developer Tools. - 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
[android-developers] update view when AsyncTask finished in a service
Hari I have an activity which starts a service. In the service there is a network lookup in an AsyncTask. Results from the lookup are saved to a database. The activity queries to database and shows the newest entries. But at the very first run the database is empty, so there is nothing to show. In this case I would like to show a progress dialog to the user while the network lookup is taking place. I would like to dismiss the progress dialog when the first lookup is finished. Is there a way to access the progress dialog created in the activity from the service? Or how to 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
[android-developers] Re: Stolen app on market
I guess it'll take some time to get answer from Google. Hope they'll do something this year. In CD we mentioned that this particular Developer is a repeat infringer. So now there are at least 3 cases with this guy - the first is mentioned in the link above, the second is developer who has his app stolen and warned us and the third is our case. On 12 окт, 19:57, Kumar Bibek coomar@gmail.com wrote: Yeah, that should be straightforward. I guess, they just don't look at these issues seriously as yet. Or may be the legal procedures just take too long. BTW, have you got a reply? 2010/10/12 Yahel kaye...@gmail.com Ok, this is getting ridiculous !! We are on theft issue here, not just spam or something dull. GOOGLE should not just remove the app. This is a big, huge, and the worst infringement you can find in the whole history of market crapiness : The account of this guy should be deleted. period. As soon as GOOGLE receive the first CD letter and checked that it is indeed exactly the same app, boom !! Even if all the other apps are his own work. Yahel On 12 oct, 15:57, Nightwolf mikh...@gmail.com wrote: Thank you for the answers. We reported about infringement to adMob and Google. AdMob advised to file CD to Google and we did so. On 4 окт, 21:44, { Devdroid } webnet.andr...@gmail.com wrote: On 4 October 2010 19:14, Nightwolf mikh...@gmail.com wrote: Recently I've discovered that our app Little Python is distributed by developer who call himself Adam Gates. He renamed our app to snake, replaced icon and changed AdMob id. He has 55 published apps. Please take a look may be you'll find yours. Is there any way to shut him down? Please advise. Sure. Write to Google using this link (in Market console Help on the upper side, then Contacting Us on bottom and then Android Market Developers: Publishers Merchants then probably Application Removal which would lead you to this: http://www.google.com/support/androidmarket/bin/request.py?contact_ty. .. Write down your discovery -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubs-cr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Game grid images
On Tue, Oct 12, 2010 at 10:05 AM, acr acr...@gmail.com wrote: I cant seem to wrap my head around getting the basic getting this basic structure set up where it's actually usable. I cannot find any tutorials etc that cover this sort of thing. If someone could give me any pointers, or point me in a direction that my fill in the gaps for what I am looking for that would be greatly appreciated. These kind of questions (here's a broad description of a general problem, how do I solve it) are very difficult to answer. I would take the very same description of your problem you posted and extract objects, relationships, and logic from that and go from there. For example, you posted: I'm in the beginning process of creating my first 2d game and it's a puzzle game (sort of like bejeweled) where I would have 7 different images randomly spread out across in a 7x7 grid totaling 49 images total. Basically there would be a way to match pieces and make them disappear, then the pieces above would fill the new empty spaces, and then new random pieces would appear to fill the gaps left at the top of the screen. So you have identified certain object already (7x7 grid, puzzle pieces, and images), certain relationships (grid can *contains* puzzle pieces or be empty, pieces *contain* images) and the logic (matching images makes them disappear, disappearing pieces causes pieces above to drop, random pieces fall from the top). This alone should suffice to get some basic classes (Grid, PuzzlePiece, whatever), and some functions (PuzzlePiece.matches(PuzzlePiece), Grid.clearCell(x, y), Grid.update(), Grid.dropNewPieces()) where you can get the core functionality set up and build on that. Then come back with more specific questions. Hope that helps. - 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
[android-developers] Re: Is there a time limit I must wait between uploading updates to a single app?
Thanks. That's exactly what happened. On Oct 12, 12:49 pm, TreKing treking...@gmail.com wrote: On Tue, Oct 12, 2010 at 8:21 AM, Rich aguynamedr...@gmail.com wrote: Any idea why I would only see a [ remove ] link where the Upload Upgrade link was yesterday? It's possible you never submitted the original update. If you select a new version to upload, that button switches to Remove so you can cancel the update. This will NOT remove your app from the Market place (that's Unpublish). Hit the remove button and see what version it shows. If it's your old version, you never published that update. Welcome to the Android Market Developer Tools. --- -- 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
Re: [android-developers] update view when AsyncTask finished in a service
On Tue, Oct 12, 2010 at 12:03 PM, rrd r...@1108.cc wrote: Is there a way to access the progress dialog created in the activity from the service? Don't think so - Service is not meant to do UI operations (besides posting notifications). Or how to do it? Ideas: a) Bind to the Service b) Send a broadcast message from the Service to tell the Activity that it's done c) Don't show a progress dialog and use an ongoing notification from the Service instead. There are probably more / better options, but that should give you stuff to chew on =) - 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
Re: [android-developers] how to pass an application from computer to mobile device
Thanks, I'm gonna check and follow the document. Gerardo 2010/10/6 TreKing treking...@gmail.com On Wed, Oct 6, 2010 at 2:15 PM, gerardo gerardo.roja...@gmail.com wrote: I want to know what are the files or file that I have to export to the mobile device(sony xperia x10 mini android) , what extension, how to install, etc etc. http://developer.android.com/guide/developing/device.html - 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.comandroid-developers%2bunsubscr...@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] Re: Can I use the linux built system.img file in windos sdk
On Oct 12, 2010 12:38 PM, Kumar Bibek coomar@gmail.com wrote: I am quite sure you can. Did that image run on Ubuntu? On Oct 11, 8:01 pm, Giri sesha_giri_n...@yahoo.co.in wrote: I had built the system.img file in linux ubuntu OS for Android. I copied the system.img file in the widows SDK at /out/packagees/ target/generic directory. But when i am trying to start the emulator its not starting. And the logcat messages are not shown. Is it possible to build the system.img in ubuntu and use it in windows. Please help me in 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@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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] uses-feature for groups of items
The latest blog post http://android-developers.blogspot.com/2010/10/five-steps-to-future-hardware-happiness.html talks about using the uses-feature to future proof your apps. However, say you have a game that is controlled either by the accelerometer, or by a physical keyboard. I can't see anyway of indicating that you must have one or the other. So you still aren't future proofed for devices that are touch screen only. Is this coming, or did I miss something? -- 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: Is there a time limit I must wait between uploading updates to a single app?
Welcome to the Android Market Developer Tools. You havn't been feeling very positive lately have you :-) Pent -- 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] Intent Filter by protocol specifier
Hi guys, are there any docs covering the filtering of the protocol specifier? Something like the market application does with market://, i'd like to make with my application. Thanks in advance. -- 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] Intent Filter by protocol specifier
Sure http://developer.android.com/guide/topics/intents/intents-filters.html#ifs Look at android:schemes On Tue, Oct 12, 2010 at 11:33 PM, Carlos Silva r3...@r3pek.org wrote: Hi guys, are there any docs covering the filtering of the protocol specifier? Something like the market application does with market://, i'd like to make with my application. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] mediaplayer's onCompletionListener never called on playing 3gpp/amr audio files
In order to be notified when the clip finishes playing, I use the callback: player.setOnCompletionListener(new OnCompletionListener() { @Override public void onCompletion(MediaPlayer mp) { Toast.makeText(getApplicationContext(), media player. play complete, Toast.LENGTH_SHORT).show(); } }); Unfortunately it is never called - I am playing 3gpp/amr audio files. Is there another way to do this? thanks, Anil -- 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] Intent Filter by protocol specifier
Thanks :) Was missing the scheme part :) On Tue, Oct 12, 2010 at 19:07, Kumar Bibek coomar@gmail.com wrote: Sure http://developer.android.com/guide/topics/intents/intents-filters.html#ifs Look at android:schemes On Tue, Oct 12, 2010 at 11:33 PM, Carlos Silva r3...@r3pek.org wrote: Hi guys, are there any docs covering the filtering of the protocol specifier? Something like the market application does with market://, i'd like to make with my application. Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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: using long touch to set a seekbar
@Kumar, many thanks for that useful suggestion, I'll have a look. -BB On Oct 12, 5:23 pm, Kumar Bibek coomar@gmail.com wrote: ACTION_CANCEL might help you to exit your custom event. On Tue, Oct 12, 2010 at 9:51 PM, bagelboy greg.do...@gmail.com wrote: OK, I solved this myself by attaching an onTouchListener to each button and listening for ACTION_DOWN and ACTION_UP events. the only problem is that if a user moves their finger off the button while holding it the ACTION_UP event is lost. This doesn't seem to be a major problem as all they have to do is tap the button again to stop, but if it gives any trouble I'll simply have to add a generic ACTION_UP listener. Hope this is useful to someone, -BB On Oct 12, 11:25 am, bagelboy greg.do...@gmail.com wrote: I have an app that uses seekbars with buttons on either side for fine adjustments. Right now I use simple onclick events for the buttons, every click changes the seekbar 1 unit. What I would like to do is use a long press to quickly scroll, so if a user holds down a button for say 800 millis it will start adding ten units per second. What I'm thinking my approach should be is to use onKeyDown and onKeyUp events, but is there a better way? OnLongClickListener won't work as far as I can tell because it doesn't detect key-up. Is my approach correct? Thanks! -BB -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Singleton object with context?
Thanks for great input! I guess the Application object may be a simple way to store some common data, but when implementing an Util/Mgr-like class with state and context I think a separate class is to prefer. Passing context with each call may be clean, but does not cover all cases. For instance, say I register a listener in the singleton. The callbacks to the listener does not contain a context, and I am back at square one again... So, I guess init-ing the singleton with a context is the simplest way, and making it a service the most robust/correct(?). /Chuck On 12 Okt, 03:01, Dianne Hackborn hack...@android.com wrote: On Mon, Oct 11, 2010 at 2:29 PM, Al alcapw...@googlemail.com wrote: Consider extending the Application class and using that to store objects which are required throughout activities. As Dianne said, you are less likely to leak a context if you use that. The Context you have from extending Application is the same context you get with Context.getApplicationContext(). I generally recommend that people use singletons instead of extending Application, and the semantics of Context here isn't different between the two -- Dianne Hackborn Android framework engineer hack...@android.com Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. -- 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: Spinner. disabling does not provide any visual indication
ok, thanks. My workaround was to simply grab the panel containing the spinner and make it disappear. final TableRow s1Row = (TableRow) findViewById(R.id.spinner1_row); isRepeatedCheckBox .setOnCheckedChangeListener(new OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton buttonView, boolean isChecked) { s1Row.setVisibility(isChecked?View.VISIBLE:View.GONE); } }); Anil On Oct 5, 11:32 am, Kostya Vasilyev kmans...@gmail.com wrote: Anil, Spinner background, spinner_background.xml located under android-sdk-windows\platforms\android-version\data\res\drawable has state selectors for state_pressed and state_focused. It does not have a selector for state_enabled=false. One way to fix this is to use your own drawable with the missing state selector added. -- Kostya 05.10.2010 20:27, Anil пишет: Looked at your link - I don't think it's the same thing. The spinner does get disabled - it just does not grey out. - Anil --- Please let us know if you know anyone with an unwanted pregnancy, willing to place for adoption.http://longingtoadopt.com On Oct 5, 10:04 am, TreKingtreking...@gmail.com wrote: On Tue, Oct 5, 2010 at 9:42 AM, Anilanil.r...@gmail.com wrote: Just wondered if it is a bug. Apparentlyhttp://code.google.com/p/android/issues/detail?id=6648q=spinnercols... . - TreKinghttp://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- Kostya Vasilyev -- WiFi Manager + pretty widget --http://kmansoft.wordpress.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Why is my application suspended
I doubt this could be because of Lotto 30 ; Can someone from Google please respond / Update ? The applications are Lotto Lite Lotto 10 Tickets Lotto 40 Tickets Lotto 120 Tickets On Oct 12, 11:28 am, Zsolt Vasvari zvasv...@gmail.com wrote: Maybe they refuse to list your app until Lotto 30 Tickets is released. On Oct 12, 1:43 pm, Top Android Developer khurram.sa...@gmail.com wrote: Hi Thanks for your response but shouldn't Google tell us as oppose to we guessing :) I have serious issues with ugly policies for refunds / chargeback On Oct 12, 10:28 am, Kumar Bibek coomar@gmail.com wrote: Ummm, You have to read the terms and conditions. I am not sure, but probably because it's a lottery/gambling app. Atleast, it looks like from it's name On Tue, Oct 12, 2010 at 10:54 AM, Top Android Developer khurram.sa...@gmail.com wrote: Hi I have application Lotto Lite, Lotto 10 Tickets, Lotto 40 Tickets and Lotto 120 Tickets : my application was suspended by Google and i didn't even receive an email / notification for potential reason for suspension. Can someone from Google please respond ASAP Regards Lotto Android Developer -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Kumar Bibekhttp://techdroid.kbeanie.comhttp://www.kbeanie.com-Hidequoted text - - Show quoted text -- Hide quoted text - - Show quoted text -- Hide quoted text - - Show quoted text - -- 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] Custom title bar with TextView and id @android:id/title does not inherit/use android:label from manifest!
I have a custom title bar that I would like to apply to all my activities. I have searched online and found a few ways of doing that however I have ran into a problem. It seems that despite the fact I have a TextView in my titlebar with id @android:id/title, Android will not use the value defined in the manifest in android:label for each activity. I tried also calling setTitle(R.string.myTitle) but it still will not render it! If I manually put some text in my TextView in the xml it shows up fine. How can I have a custom title bar that is linked and makes Android use my manifest values for labels? I do not want to lose the setTitle() or the XML attributes functionality. Thanks. p.s I would like to avoid embedding the title as a view in my layout and use FEATURE_NO_TITLE. I do not want to do that. -- 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: mediaplayer's onCompletionListener never called on playing 3gpp/amr audio files
I also tried player.setLooping(false); On Oct 12, 1:11 pm, Anil anil.r...@gmail.com wrote: In order to be notified when the clip finishes playing, I use the callback: player.setOnCompletionListener(new OnCompletionListener() { @Override public void onCompletion(MediaPlayer mp) { Toast.makeText(getApplicationContext(), media player. play complete, Toast.LENGTH_SHORT).show(); } }); Unfortunately it is never called - I am playing 3gpp/amr audio files. Is there another way to do this? thanks, Anil -- 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: Is there a time limit I must wait between uploading updates to a single app?
On Tue, Oct 12, 2010 at 12:41 PM, Pent tas...@dinglisch.net wrote: You havn't been feeling very positive lately have you :-) Not any less so than usual - which might not be saying much =P They just make it *really* easy to hate on the Developer Console. - 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
Re: [android-developers] Re: Singleton object with context?
On Tue, Oct 12, 2010 at 1:37 PM, Chuck Lega chuck.l...@gmail.com wrote: For instance, say I register a listener in the singleton. The callbacks to the listener does not contain a context, and I am back at square one again...So, I guess init-ing the singleton with a context is the simplest way, and making it a service the most robust/correct(?). What listeners and callbacks are we talking about? You may want to provide more, um, context (har har) about how you're using a singleton, callbacks, listeners, and the Context. There's probably a better way than initializing the singleton with the Context object. And making your singleton a Service may not necessarily be the most robust /correct - it depends on what you're trying to achieve with this singleton. - 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
Re: [android-developers] Re: Why is my application suspended
On Tue, Oct 12, 2010 at 1:39 PM, Top Android Developer khurram.sa...@gmail.com wrote: I doubt this could be because of Lotto 30 ; I think that was a joke ... Can someone from Google please respond / Update ? That's not going to happen. This is probably your best bet: http://www.google.com/support/androidmarket/bin/request.py?contact_type=publisher Meanwhile, as Kumar suggested, review the Terms and see if you can determine which parts you violated, if any. - 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