Re: [android-developers] Service Process Vs background process

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 14:11, Sivaprakash sivaprakashshanmu...@gmail.com wrote: there are two things Service Process and Background Process, how they differ each other? Background process is not a system element/feature you can use (as Service is). It's a *state* of process (same as foreground

Re: [android-developers] How to handle the volume keys??

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 16:39, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Hello, I would like to execute an event when the volume keys are pressed. Any ideas how I can do that? listen to keycodes in onKeyDown and react on codes shown there:

Re: [android-developers] Re: appwidget icon set

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 18:59, b_t bartata...@gmail.com wrote: RemoteViews.setImageViewResource setImageViewResource takes just resource' id (int), so no luck for obvious reasons. I think you might work that around by getting the drawable resource from other package, then create Bitmap object from

Re: [android-developers] Re: appwidget icon set

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 19:14, Marcin Orlowski webnet.andr...@gmail.com wrote: or setImageViewUri calls. that would be more lucky for file or content schemes though. I just found this thread: http://stackoverflow.com/questions/2249174/looking-for-an-elegant-appwidget-skin-solution which is quite

Re: [android-developers] Pins for developers?

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 18:10, Leon Moreyn-Android Development lmor...@earthcam.com wrote: So I hear that Google gave away Android Pins at MWC. Any chance us lowly developers will be getting those pins? Sc***ew pins, I want IO ticket. Sold out in 59 minutes when I just went out for lunch? It's

Re: [android-developers] Pins for developers?

2011-02-17 Thread Marcin Orlowski
On 17 February 2011 19:29, Justin Giles jtgi...@gmail.com wrote: in case.  Best dang blueberry bagel I've ever had! Damn bagel eaters. Curse you all... :) -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Marcin Orlowski
On 16 February 2011 13:53, San Zhang dahua007...@gmail.com wrote: My app can be autostarted when system completed boot. However, this feature would be disabled if user intall the app on SD card. I want to disable AUTOSTART option in settings screen  in my own code if it may be detected whether

[android-developers] Small feature request for forthcoming Market android client

2011-02-16 Thread Marcin Orlowski
Hi, Since Market devs lurks among subscribers - can next version of Market use Intent.EXTRA_SUBJECT to prefil mail subject with application name (and/or package name) while user hit Send email to developer on app's details page? And another request: could View more applications (button above said

Re: [android-developers] How to detect whether my app is installed on SD card by programmatically?

2011-02-16 Thread Marcin Orlowski
On 16 February 2011 14:13, Kevin R. Octavian kevin.r.octav...@gmail.com wrote: how to make an app can be autostartup? Do not pollute existing threads with new questions. Start new thread. As for your question set up broadcast listener on that:

Re: [android-developers] Publishing / log.d

2011-02-16 Thread Marcin Orlowski
On 15 February 2011 18:23, Dianne Hackborn hack...@android.com wrote: http://developer.android.com/reference/android/util/Log.html It's a lie.  Well I think it is trying to say that they aren't shown by default, but the code is definitely not stripped, and you absolutely do not want to leave

Re: [android-developers] Cannot use AXMLPrinter2 to translate binary xml correctly in Honeycomb-version apk

2011-02-16 Thread Marcin Orlowski
On 15 February 2011 08:22, Gary Wang zcw...@gmail.com wrote: Any format change to binary XML in Honeycomb?! My *guess* is some new elements 3.0 brings (like i.e. Fragment) could perhaps be the cause there? You may simply want to check AXMLPrinter2 sources for confirmation though:

Re: [android-developers] figure out country in a device without SIM card

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 11:20, Kostya Vasilyev kmans...@gmail.com wrote: Locale.getDefault(); This is not a solution. I do use different locale than i should in the country i am in. Moreover, some phones does not offer certain locales so users are forced to stick with english for example. I'd go for

Re: [android-developers] capturing Home key event at application level

2011-02-15 Thread Marcin Orlowski
I am storing some data at application level, I want to clear it so that it doesn't consume memory when my application is in background. At the same time, i wish that this data shouldn't get earsed if my application has gone in the background because of an incoming call. Do I need to capture

Re: [android-developers] Publishing / log.d

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 02:06, Dianne Hackborn hack...@android.com wrote: Yes you should strip them out. So what about that statament: Debug logs are compiled in but stripped at runtime? http://developer.android.com/reference/android/util/Log.html -- You received this message because you are

Re: [android-developers] Canvas or Gesture??

2011-02-15 Thread Marcin Orlowski
On 14 February 2011 21:40, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Is that all possible? can i convert a gesture into an image? No. But you can paint on your canvase based on user gestures or touches. I'd suggest you read some basics on what canvas, paint, bitmap is and what they do

Re: [android-developers] Supend to disk

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 09:26, Ln 82.narasim...@gmail.com wrote: Hi, I am trying to add the Suspend to disk support on my hardware. I am booting from SD card, i have a swap partition also. When I do a suspend to disk i get an error message saying that tasks are refusing to freeze. The freezing

Re: [android-developers] Multitouch buttons

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 05:49, brian purgert brianpurge...@gmail.com wrote: Ok i just put out my game spacebike and got a comment saying they want multitouch. so basically i am using on click listener right now and im wondering how i change that to multitouch. Instead of just being able to

Re: [android-developers] Canvas or Gesture??

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 13:10, Robin Talwar r.o.b.i.n.abhis...@gmail.com wrote: Saving this bitmap and String path = Environment.getExternalStorageDirectory().toString(); OutputStream fOut = new FileOutputStream( new File(path, filename.jpg) ); bitmap.compress(Bitmap.CompressFormat.JPEG, 85, fOut);

Re: [android-developers] Re: Unique device id - which one to choose

2011-02-15 Thread Marcin Orlowski
Using a Hash of all the ID's is most likely the best solution, gather all the ID's, append your own signature if you like (optional) and hash the long concatenation of all the ID's you can gather, I would recommend using SHA. I wouldn't hash it on client side. If any of the value is missing

Re: [android-developers] Density independent values through code for views

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 15:03, Deepak Kumar deepak.kumar...@gmail.com wrote:                One of the solution can be multiplying these values with ratio (according to device).Is there any other way to do the same? Don't think there're much alternatives. What I do is keep all the values in dip in

Re: [android-developers] Android: first open and free mobile platform?

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 15:33, Dudero sinfanh...@googlemail.com wrote: I think some others, like the OpenMoko project was there before?! Even if, so what? I do not bother how each of them call their platform. It's marketing buzz. Use to it. For example there's hell lot of apps of certain type on

Re: [android-developers] Android: first open and free mobile platform?

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 15:40, Marcin Orlowski webnet.andr...@gmail.com wrote: the first of the last. I do care size of user base, Platfrom of shall be or in the first of the last -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Android 2.0.1 Platform source code

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 16:25, peeyush varshney varshney.peey...@gmail.com wrote: How would i get the Android 2.0.1 Platform SDK. Use SDK Manager: http://developer.android.com/sdk/index.html -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Mobile Ad Serving Technologies for direct ad sales - which is best?

2011-02-15 Thread Marcin Orlowski
I'm trying to pick an ad serving technology that will allow me to service ads that I sell directly in my Android app. Hoping is would work for Android, iPhone, W7P, etc. Any ideas which technology is good for this? All you need is just plain server software which would deliver your ad

Re: [android-developers] Re: Securing the SharedPreferences file using AESObfuscator in LVL

2011-02-15 Thread Marcin Orlowski
On 15 February 2011 18:46, rajorshi groups.rajor...@gmail.com wrote: But, if someone can edit my preferences file to modify the stored validity time stamp, grace period and max. retry count to very Any code can be cracked. It's matter of time (and driven cracker). You can make your app harder

Re: [android-developers] Preventing surface resize on orientation change

2011-02-15 Thread Marcin Orlowski
On 12 February 2011 16:58, André Santee andre.san...@gmail.com wrote: I'm making a game with direct OpenGL rendering and I want my menu always to be vertical. Is there a way I can prevent the phone to reset it's surface on orientation change? You can enforce certain activity orientation so

Re: [android-developers] The most popular way to build a app

2011-02-15 Thread Marcin Orlowski
On 12 February 2011 03:57, Igor Nesralla Ribeiro nesra...@gmail.com wrote: I’m a new on Android developer...and i have a questionwhat the most popular way to build app ???...like a build views and activitys and java or web app….the both work off-line ?! I bet Eclipse + ADT is most popular

Re: [android-developers] Create a UI

2011-02-15 Thread Marcin Orlowski
On 12 February 2011 03:53, Igor Nesralla Ribeiro nesra...@gmail.com wrote: I'm a new on developer Android and my question ishave any application to build a layout , like a DroidDraw... There's also visual designer when you use ADT in eclipse. It's however not any sort of tool for visual

Re: [android-developers] Archos API?

2011-02-15 Thread Marcin Orlowski
On 12 February 2011 06:50, Wik Pun wik...@gmail.com wrote: I would like to know where can I find the Archos API. I saw something like archos.permission.FULLSCREEN.FULL but I have no idea where it is coming from. Thanks a lot! what about googling for archos android sdk which would offer you

Re: [android-developers] Problem SDK Eclipse install

2011-02-15 Thread Marcin Orlowski
On 12 February 2011 16:27, Mark Thiebaut mark.thieb...@gmail.com wrote: Hello, i'm new in SDK development, i have installed SDK android cf screen, but in new project i did nt see android project\\Please can you help me ?? Android branch shall be in File - New - Other... if you do not see it

Re: [android-developers] Android Currency Display: Device vs. Emulator

2011-02-15 Thread Marcin Orlowski
When I run this in the Android emulator, I get the cool and funky characters, but I do not when I run it on my device. If you will be posting technical question be next time more precise. We do not know what characters are cool and funky for you and most won't bother guessing. the device was

Re: [android-developers] Securing WEB Service

2011-02-15 Thread Marcin Orlowski
On 14 February 2011 12:31, Kishen kish.bh...@gmail.com wrote: Hi, I am developing an android app for my company. Therefore I have built a WCF REST Webservice. But the problem is that this webservice is available to everyone in the world. I just want secure it and make that only the app I

Re: [android-developers] Update activity A from another activity B

2011-02-15 Thread Marcin Orlowski
persist state to DB. Both of them require some significant effort in You can use SharedPreferences -- Regards, Marcin -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Share some of my work - DragDrop framework

2011-02-14 Thread Marcin Orlowski
On 14 February 2011 08:59, Oded O. olb...@gmail.com wrote: BTW, why is this an issue, and on what machines? Some with case sensitive filesystem -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Canvas or Gesture??

2011-02-14 Thread Marcin Orlowski
How to use canvas to sensetize the touch event and then save the image created by the user through touch and mail it as an attachment You do not use canvas to sense anything. Canvas is, as name indicates, a way of drawing. And that's mainly it. If you want to react on user gestures or touches,

Re: [android-developers] Share some of my work - DragDrop framework

2011-02-13 Thread Marcin Orlowski
On 12 February 2011 17:17, Oded O. olb...@gmail.com wrote: Hi, I've just finished the first iteration on my dragdrop framework I'm building. http://code.google.com/p/mobile-anarchy-widgets/wiki/Drag_and_Drop?ts=1297527301updated=Drag_and_Drop Download not there? And it's GPL, right? What

Re: [android-developers] Re: Android Licensing

2011-02-13 Thread Marcin Orlowski
On 13 February 2011 14:24, Dudero sinfanh...@googlemail.com wrote: says Google/OHA that Android it therefore completely under the Apache Software License, because they think only with Android the platform, which does not include the libraries and the Linux-Kernel? Mind rephrasing your

Re: [android-developers] Share some of my work - DragDrop framework

2011-02-13 Thread Marcin Orlowski
On 13 February 2011 16:47, Oded O. olb...@gmail.com wrote: I'm not sure I can change the license type on Google Code after a project is created... But in any case... what type of license do you recommend (considering the fact that I want my code to be completely free and open for everyone)

Re: [android-developers] Adding external Jar

2011-02-13 Thread Marcin Orlowski
On 13 February 2011 20:43, LG lgma...@gmail.com wrote: Hi, can you guys please help me out This is not the right group for your question. This one is: http://groups.google.com/group/android-framework?pli=1 -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Does Android have an ideas submission website like Adobe?

2011-02-12 Thread Marcin Orlowski
On 12 February 2011 14:56, 95Ghz tom...@gmail.com wrote: My idea proposal is to create a kiosk mode feature on the tablet. White a launcher replacement and do what you want there. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] Android Licensing

2011-02-11 Thread Marcin Orlowski
On 11 February 2011 11:42, Dudero sinfanh...@googlemail.com wrote: Why is it called that Android is complete licenced by Apache? Because it's released under Apache license: http://www.apache.org/licenses/LICENSE-2.0.html FYI: apache is NOT just a web server. -- You received this message

Re: [android-developers] Re: Android Licensing

2011-02-11 Thread Marcin Orlowski
I do not mean the web server ;-) - but Apache Software License, version 2.0 Good. Some people does not see the difference, so it's better to ensure we both talk about the same My question is, are the other licences replaced/reformed with the apache one - or have all of these their customized

Re: [android-developers] Re: Downloading an .apk update

2011-02-11 Thread Marcin Orlowski
On 11 February 2011 15:49, Traveler jadkins...@gmail.com wrote: The following url explains how to install an .apk file from your SD card. The link you gave is irrelevant to the former subject. We talk here about installing APK from own code, w/o need of any external tools like adb nor desktop

Re: [android-developers] splash image when app is loading

2011-02-11 Thread Marcin Orlowski
On 11 February 2011 18:11, DanielleM dmurkerso...@gmail.com wrote: Hello all: I was wondering if there is a way to have a splash image display while my app is loading? As it is right now, it's just a black screen until the main activity launches and it may confuse people into thinking that

Re: [android-developers] can we upgrade paid version to free version with add.

2011-02-10 Thread Marcin Orlowski
On 10 February 2011 09:44, Atik atik0...@gmail.com wrote: i have uploaded one application , which is paid version and i have very few downloads of it. so i want to upgrade the same application with as free version with ad support in it. can any one tell me how much i will earn if my

Re: [android-developers] How to go to previous page..?

2011-02-10 Thread Marcin Orlowski
On 10 February 2011 12:03, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: I have a problem, in my application i am displaying webview in customized dialog. suppose if the user browse 5 pages in the webview how can he come back to previous page, if i click on back button the dialog

Re: [android-developers] Downloading an .apk update

2011-02-10 Thread Marcin Orlowski
is there a better way of doing this - w/o the webviewer popping up. You can download APK (i.e. to SD card) yourself w/o need of WebView and the just init install of downloaded package -- You received this message because you are subscribed to the Google Groups Android Developers group. To

Re: [android-developers] uninstall Popup Questions dialog

2011-02-10 Thread Marcin Orlowski
On 10 February 2011 15:44, Brill Pappin br...@pappin.ca wrote: Sometimes when I uninstall an app, I get a popup dialog that asks me to tell it why I'm uninstalling. It pops up always unless you leave app details page before uninstall finishes Does anyone know if this is built into the market

Re: [android-developers] uninstall Popup Questions dialog

2011-02-10 Thread Marcin Orlowski
I don't think it pops up always.. I get the uninstal, the OK button that it was uninstalled, and back to my Manage apps page. You have to uninstall via Market, not settings - applications. So how do developers figure out install/uninstall rate? I always see in the market 1000-5000,

Re: [android-developers] Creating an image programmatically

2011-02-10 Thread Marcin Orlowski
How do I figure out how many pixels equals X display independent pixels? This shall do the sufficient math: float screenDensity = getResources().getDisplayMetrics().density; float widthDip = 90.0f; int areaWidthPx = (int)( widthDip * screenDensity + 0.5f ); -- You received this message

Re: [android-developers] Re: Honeycomb SDK

2011-02-10 Thread Marcin Orlowski
On 10 February 2011 19:37, Ed Burnette ed.burne...@gmail.com wrote: Ok, so if 2.3.3 is API level 10, and 3.0 is API level 11, where would Unless 3.0 is officially out it can be any api number. Who said 3.0 is going to be 11? -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Mount sdcard from code

2011-02-09 Thread Marcin Orlowski
On 9 February 2011 06:36, maikelalonso maikelalonsob...@gmail.com wrote: With the mount command works correctly but the icon of the API shows like the SDCARD is not mounted when really if it is. Quite likely it's because you, contrary to the OS, did not send ACTION_MEDIA_MOUNTED broadcast on

Re: [android-developers] Re: Can apps that use device-specific permissions be published to Android Market?

2011-02-09 Thread Marcin Orlowski
On 9 February 2011 11:24, String sterling.ud...@googlemail.com wrote: I'm pretty sure they can. I have apps that interface with the SonyEricsson LiveView, and in order to do so they have this in their manifest:     uses-permission

Re: [android-developers] Mount sdcard from code

2011-02-08 Thread Marcin Orlowski
On 8 February 2011 16:41, maikelalonso maikelalonsob...@gmail.com wrote: Hi: Anyone know how to mount the sdcard from code? I umount this storage from menu-settings-umount sd card and I want to mount it from an androd application.  I can get the state with getExternalStorageState and the

Re: [android-developers] Re: Mount sdcard from code

2011-02-08 Thread Marcin Orlowski
On 8 February 2011 18:04, maikelalonso maikelalonsob...@gmail.com wrote: Hi,  I've rooted my device and I've root privileges. All is Ok. The only one problem is the code to run in order to get mounted the sd card. What's the command running in Android when I make Menu-Settings- External

Re: [android-developers] install font with apk

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 09:01, andu alemf...@yahoo.com wrote: Is there any means that I can install the font file together with the apk file? You can put font file in assets/ folder so your app will be able to use it. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Re: Copy protection

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 10:53, JAlexoid (Aleksandr Panzin) jalex...@gmail.com wrote: Remember that if people get the code on their systems, there will be someone to crack it. Even if it's hardware encrypted and in a protected chip(see PS3 hacking example). Side note: PS3 is example of lame

Re: [android-developers] Re: Android beginner

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 12:06, subhashini alaguchokku subhashini.andr...@gmail.com wrote: I have not uploaded an app to Android market yet. But am in a circumstance that requires me to upload a version(2) of the existing app. adjust versionCode in your app's manifest file to 2 and versionName to 2.0

Re: [android-developers] Library packaging best practices

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 12:00, Pepijn Van Eeckhoudt pep...@vaneeckhoudt.net wrote:  What is the recommended way of distributing a reusable library (i.e., jar file, assets, documentation, sample code)? use sourceforge, google code or any service of that kind (or own website) One possibility I'm

Re: [android-developers] Programatically assigning String value as 'Id'

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 12:31, Jawwad Farooq jawwad.far...@gmail.com wrote: But in my case that resource does not exist. I have to dynamically create and assign ID to that. Doubt you can with system api. But if you really need such feature, wrap resouce access with own class - then you will be able

Re: [android-developers] opengl textures

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 19:22, Marcin Orlowski webnet.andr...@gmail.com wrote: On 7 February 2011 18:57, bob b...@coolgroups.com wrote: Do opengl textures on Android have to be a width and height that is a power of 2? In general: yes as some devices will won't handle your textures otherwise

Re: [android-developers] opengl textures

2011-02-07 Thread Marcin Orlowski
On 7 February 2011 18:57, bob b...@coolgroups.com wrote: Do opengl textures on Android have to be a width and height that is a power of 2? In general: yes as some devices will won't handle your textures otherwise. -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] Where to report app update problems?

2011-02-06 Thread Marcin Orlowski
On 6 February 2011 18:20, Keith Wiley kbwi...@gmail.com wrote: - Unchecking All Countries (Save still won't work) This helped in my case. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: Honeycomb SDK

2011-02-06 Thread Marcin Orlowski
On 7 February 2011 00:57, midtoad stewart.midwin...@gmail.com wrote: You will then get the Honeycomb Holograph them and your app will have an updated look and feel. http://developer.android.com/sdk/preview/index.html Android 3.0 offers an updated set of UI widgets that are redesigned for use

Re: [android-developers] Re: Scheduling ideas

2011-02-05 Thread Marcin Orlowski
On 5 February 2011 13:40, Neilz neilhorn...@gmail.com wrote: Ok, one problem with this alarm service. I schedule it for some time in the morning, and when I get up and check the phone, the alarm didn't get called, because it thinks there's no network connection. Alarm manager makes does not

Re: [android-developers] Re: Honeycomb + Motodev's Xoom add-on - does not work

2011-02-05 Thread Marcin Orlowski
On 4 February 2011 21:30, Eric Cloninger er...@motorola.com wrote: Hi, Are you running the emulator at full scale? We are seeing some problems with the emulator crashing when the XOOM addon is used in full scale with the Honeycomb system image. Try adding a launch parameter of -scale 0.6 or

Re: [android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread Marcin Orlowski
On 5 February 2011 15:35, Kostya Vasilyev kmans...@gmail.com wrote: The memory card is accessible and writable by anyone, including other applications and the user, and storing the timestamp as text is practically begging for someone to mess with it. Not fully agreee. If you do this right

Re: [android-developers] Re: How to store a timestamp to the sd card?

2011-02-05 Thread Marcin Orlowski
On 5 February 2011 16:08, Kostya Vasilyev kmans...@gmail.com wrote: A secret file location can be easily discovered by someone who is able to run strace (== rooted firmware), which then can be shared, or exploited by an unlocker application. If anyone start sniffing with strace then

Re: [android-developers] Re: 2.3 Platform Google APIs missing Licensing Service..?

2011-02-05 Thread Marcin Orlowski
Same code works on version 2.2 of the Google API emulator, but not 2.3 of the Google API emulator. It's known, confirmed issue: https://groups.google.com/group/android-developers/msg/69ad5f4a5ec9f3e9 If you want to test LVL use 2.2 emulator instead. -- You received this message because you

Re: [android-developers] How to fetch own mobile number in android

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 11:06, vimal vimalrajpara2...@gmail.com wrote: I want to get mobile number of own mobile. TelephonyManager tMgr =(TelephonyManager)mAppContext.getSystemService(Context.TELEPHONY_SERVICE); mPhoneNumber = tMgr.getLine1Number(); but be aware it's not guaranteed you get it (so

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
I am using a receiver to handle the receipt of the BOOT_COMPLETED action. It works well when I am restarting my phone (an HTC Desire HD) but not when I use power off and then start it up. The receiver is never called and it seems as if the BOOT_COMPLETED action is never sent. I also noticed

Re: [android-developers] Development strategies

2011-02-04 Thread Marcin Orlowski
On 3 February 2011 17:12, Roman Mazur mazur.ro...@gmail.com wrote: Android 3.0 is designed specifically for tablet devices, and it has a lot of changes in core frameworks. So what is the best strategy for android developers: create a separate application for android 3.0 version or provide a

Re: [android-developers] How do certain application backup the APK files?

2011-02-04 Thread Marcin Orlowski
On 28 January 2011 23:02, Rahul rahul...@gmail.com wrote: I just came across Astro File Manager that lets you make backups of applications installed on the device. I just tested the application and it doesn't seem to require root on the device. So this application is somehow able to access the

Re: [android-developers] how to disable the Clear data Button (Froyo)

2011-02-04 Thread Marcin Orlowski
On 3 February 2011 02:36, Takanawa minatoshinagaw...@gmail.com wrote: Please teach me about android:allowclearuserdata=false in Android2.2(Froyo). don't post your question on daily basis. You asked - now wait if anyone would wish to respond. -- You received this message because you are

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 11:54, Yorgos X yor...@gmail.com wrote: nope, not even rooted or anything. just a phone off a shop shelf, untouched :) Then it shall just work as it does here. Checked device logs? Also if you rely on that broadcars make sure your app prevents SD card installation as SD card

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
2011/2/4 Yorgos X yor...@gmail.com: well, i run it from eclipse to install it and then restart and power off the phone to test if it works. Are the apps run straight from eclipse stored on the SD card? i don't know about that to be honest. I haven't done that explicitly though No, they are

Re: [android-developers] Re: Question about bug reports

2011-02-04 Thread Marcin Orlowski
On 3 February 2011 23:01, String sterling.ud...@googlemail.com wrote: Yes, whoever posted log.d() gets stripped at runtime was wrong. Really? http://developer.android.com/reference/android/util/Log.html It's up to you to do so. Never investigated too deeply, but from I rememeber I saw no

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
2011/2/4 Yorgos X yor...@gmail.com: I basically start an activity which is the main activity of my app on startup (I want the app to appear straight when you turn on the phone). So my main activity is declared as launcher in the manifest and in my receiver class I start an intent that launches

Re: [android-developers] RECEIVE_BOOT_COMPLETED not sent after power off? (works on restart)

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 12:31, Yorgos X yor...@gmail.com wrote: Mysteriously enough (new phone, haven't explored it much), a setting was preset to fast boot the device (is called Fast boot - turn off to use some Market apps) and this apparently causes the device to start after a power off without

Re: [android-developers] Re: mysterious crash accessing Preferences - works if package name is changed

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 16:07, mot12 martin.hu...@gmail.com wrote: Looks like I screwed up big time. I retrieved the wrong revision when checking this users code. The null pointer was actually the line following:                if (Settings.System.getString(getContentResolver(),

Re: [android-developers] Android 3.0 questions

2011-02-04 Thread Marcin Orlowski
On 4 February 2011 17:38, Victor lyamtsev vlyamt...@gmail.com wrote: Can someone help to clarify what Android 3.0 platform is: is that new version of SDK i can use to create applications for Froyo, If you want to create namely for Froyo it'd be better to use Froyo SDK as your target. or will

[android-developers] Honeycomb + Motodev's Xoom add-on - does not work

2011-02-04 Thread Marcin Orlowski
Anyone managed to make Honeycomb simulator work after installing Xoom add-on from Motodev? What I see is just: [2011-02-04 18:12:59 - Emulator] This application has requested the Runtime to terminate it in an unusual way. [2011-02-04 18:12:59 - Emulator] Please contact the application's support

Re: [android-developers] Question about bug reports

2011-02-01 Thread Marcin Orlowski
Hi I haven't released an app to the store yet. Before doing so, I wanted to know, how is this working with users submitting bug reports? In general there's *statistically* noone doing so. You will get 1 star in market + some useless comment like crashes, lame, force closes, please fix.

Re: [android-developers] Twitter on Android

2011-01-31 Thread Marcin Orlowski
On 31 January 2011 12:01, chamith weerasinghe e05ch...@gmail.com wrote: I need to connect to twitter using my android application. is there any api like facebook api to connect to twitter. What about google. twitter api search? -- You received this message because you are subscribed to the

Re: [android-developers] Running code right after installation

2011-01-30 Thread Marcin Orlowski
On 30 January 2011 16:25, Omer Gilad omer.gi...@gmail.com wrote: Hi, I am looking for a way to run code right after being installed - without waiting for activity launch\boot\etc. Hopefuly you're out of luck in this particular case. -- You received this message because you are subscribed to

Re: [android-developers] Error when i try to convert the minSDK version from 8 to 7

2011-01-29 Thread Marcin Orlowski
May be i messed up something in the process of converting it to 2.1 I have navigated to android tools - Fix Project Properties and set the api level Changed it manually in androidManifest but still it is giving me the Null Pointer Exception What could possibly be left out If your code is

[android-developers] How to keep adb from being launched too early?

2011-01-29 Thread Marcin Orlowski
Is there any way to keep adb not running unless really needed ? It now starts as soon as I launch Eclipse and that causes some conflicts on my system for some reasons. I'd prefer it not to be launched unless I run/debug app or launch it by hand. Not spent much time investigating I just keep

Re: [android-developers] How to add a text file as part of the apk

2011-01-28 Thread Marcin Orlowski
On 28 January 2011 10:48, Reddy devireddy@gmail.com wrote: Hi, 1. I have one txt file which contains some data. 2. Creating an app(apk) which uses (open, read, write, close) the txt file. What i want is, when i install the apk, txt file also need to be installed in the target. Use

Re: [android-developers] How to add a text file as part of the apk

2011-01-28 Thread Marcin Orlowski
On 28 January 2011 11:34, Kumar Bibek coomar@gmail.com wrote: You canot write/change the txt file if you put it in the assets. So, on first run of app, make a copy to SD card or the data directory, and then, you can proceed. I was writting mine in a hurry so I now see my post looks bit

Re: [android-developers] Re: Honeycomb browser broken?

2011-01-28 Thread Marcin Orlowski
On 28 January 2011 12:22, H m...@howardb.com wrote: Ordinarily I would probably believe you. But I saw this picture for a specific android website posted on their own site makes me think they definitely managed to get it to work:

Re: [android-developers] Eclipse + sdk install

2011-01-28 Thread Marcin Orlowski
On 28 January 2011 09:49, Brian brian.scarb...@gmail.com wrote: I'm a high school cs teacher trying to get a lab installed for my students to use. I'm trying to use the android sdk and eclipse. I've successfully downloaded and installed the sdk to C:\Program Files\Android\android-sdk-windows.

Re: [android-developers] Re: How to add a text file as part of the apk

2011-01-28 Thread Marcin Orlowski
On 28 January 2011 22:52, Paul pmmen...@gmail.com wrote: Store and access it from /res/raw should work, I have a text file in that folder for an app of mine and no problem with the app accessing that file after installation to devices. Sure, you may need stay to you i.e. res/raw or assets/

Re: [android-developers] Re: Android SDK is so slow that is ridiculous.

2011-01-28 Thread Marcin Orlowski
All I was trying to say that emulating of 1GHz of any non native code at the instruction level will be slow on a 2Ghz host.  I'd bet if you tried to run a PacMan 8-bit CPU at 1GHz, it wouldn't emulate at full speed or even come close. 8-bit or not is not directly related to possible emulation

Re: [android-developers] Why cant I install an apk from asset folder

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 08:06, Titus titus.mor...@gmail.com wrote: Hello, Is there a reason why Y.apk can't be put in asset folder ? or is there a neater way to do this ? What about copying your 2nd apk to SD card and instaling from there? -- You received this message because you are subscribed

Re: [android-developers] Re: Honeycomb SDK

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 09:53, String sterling.ud...@googlemail.com wrote: I take this to mean that, if I install the preview SDK, I can't publish ANY You can't publish anything with targetSDK=9. When you set target to lower value other SDK is used so this limitation does not affect your app. --

Re: [android-developers] Re: Need help to develop a folder locking app in android

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 11:53, JyotishK jyotishcs05onl...@gmail.com wrote: Its much more impressive to know that so called ACE android developpers motivating novice developers with such answers. Far from ACE, yet Know your limits motto is known to me. -- You received this message because you are

Re: [android-developers] Re: Schedule notification instead of permanently check

2011-01-27 Thread Marcin Orlowski
receiver android:name=.BootCompletedBroadcastReceiver intent-filter action android:name=android.intent.action.BOOT_COMPLETED / /intent-filter /receiver public class BootCompletedBroadcastReceiver extends BroadcastReceiver { @Override public

Re: [android-developers] Re: How many ways to find out..?

2011-01-27 Thread Marcin Orlowski
On 27 January 2011 13:34, Abhilash baddam abhilash.androiddevelo...@gmail.com wrote: Any help please... RTFM please? http://developer.android.com/guide/topics/location/obtaining-user-location.html -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Communicating between two devices directly

2011-01-26 Thread Marcin Orlowski
Hi, I'm in need of communicating between two devices over WiFi directly, w/o need of AP. As far as I know adhoc mode is not supported oficially (unless you apply some unofficial patches to wpa_suplicant) but maybe I miss something and certain version of Android going to officially support adhoc?

Re: [android-developers] Communicating between two devices directly

2011-01-26 Thread Marcin Orlowski
On 26 January 2011 14:59, Kostya Vasilyev kmans...@gmail.com wrote: http://code.google.com/p/android/issues/detail?id=82 Still, if you've got phones that are connected to the same WiFi router (or to different routers that are connected to one another, probably common in an office

<    1   2   3   4   5   6   7   8   >