[android-developers] Patches in Android

2010-11-19 Thread Abhyudai Shanker
Hi, I am a novice at Android Porting. Though I have a slight idea why it is done, I was just wondering if someone could explain to me the actual need of patching the Android kernel before we can port Android to the target hardware. Also a slight idea as to how it is done and what do we actually w

Re: [android-developers] Where are ldpi version of built-in icons

2010-11-19 Thread Dianne Hackborn
The current base platform doesn't include ldpi images, so you'd need to make them yourself. If you are targeting >= 1.6, you don't need any drawables in the base "drawable" folder, just for whatever density you want and the system will pick and scale the drawable that best matches. On Fri, Nov 19

[android-developers] Re: Static Layout for whole app that must be in all Activity

2010-11-19 Thread Ganapathy.C
hi, i want a ticker that must marquee for whole application. for all activity... what to do. -- 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 g

[android-developers] Determining the subset of text showing in a TextView?

2010-11-19 Thread HippoMan
Assume I have a block of text that is too long to fit into a standard TextView. When I put that text into the TextView via the setText() method, it gets truncated. Is there any way that I can then query this TextView or some other component in order to find out the subset of the text which is actu

[android-developers] Re: guitar tuner

2010-11-19 Thread Chris Stratton
On Oct 26, 11:45 am, Bret Foreman wrote: > As a first cut I would set up two files, record to one while doing an > FFT on the other. Alternate the roles of the files every 200mS and > display the latest frequency. Do you have experience with FFT > windowing to avoid edge harmonics? If you don't

[android-developers] Determining the subset of text that is visible in a TextView

2010-11-19 Thread HippoMan
Assume I have a block of text that is too long to fit into a standard TextView. When I put that text into the TextView via the setText() method, it gets truncated. Is there any way that I can then query this TextView or some other component in order to find out the subset of the text which is actu

Re: [android-developers] Re: guitar tuner

2010-11-19 Thread Frank Weiss
I may be wrong, but I'm wondering if taking the approach of FFT is going to be practical without dedicated hardware. The brute force approach amounts to doing a convolution computation for each sample, which could be millions of multiplies per second, depending on the bandwidth and Q factor require

Re: [android-developers] Where are ldpi version of built-in icons

2010-11-19 Thread Kumar Bibek
Yup, just create a folder yourself and dump your images into that. On 20-Nov-2010 7:35 AM, "jotobjects" wrote: I'm copying some system Icons into my app - for instance ic_menu_add.png. There is one in drawable-mdpi and one in drawable- hdpi, but not in drawable or drawable-ldpi. What icon woul

Re: [android-developers] Problem in providing a string to the JavaScript

2010-11-19 Thread Frank Weiss
This sounds a bit like the problem of trying to match "|" in a regular expression (regex). But I can't really tell that the split method is thinking that its parameter is a regex instead of simple a string. Try "\\|" and see if that fixes it. -- You received this message because you are subscribe

[android-developers] Re: My Phone Number

2010-11-19 Thread Kevin
Ah ha, the invoice! That's it. It says optional by the phone number field in my merchant account, so I removed it. Thanks for the help. On Nov 19, 7:25 pm, Brad Gies wrote: > If you're app is paid then I believe all purchasers get your information > as part of their invoice.. (probably require

Re: [android-developers] My Phone Number

2010-11-19 Thread Brad Gies
If you're app is paid then I believe all purchasers get your information as part of their invoice.. (probably required by law in most countries). Sincerely, Brad Gies --- Bistro Bot - Bistro Blurb http://bgies.com

Re: [android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread Brad Gies
Do you really need to do it with an intent Can't you just put a blank page in your app, and have it load that, or put a blank page on your website? Or am I missing something in what you are asking for? Sincerely, Brad Gies

[android-developers] Re: Can you code in Android? Could you spare some free time to help people with brain injury?

2010-11-19 Thread Hal
Fred, We'll be working on a project that may be of interest to you. We'll be developing several Android components that may be reused for you project (voice, GPS capabilities, Google specific, etc). It will be based on the Jt Design Pattern Framework for Android: a) Java Pattern Oriented Framewor

Re: [android-developers] Re: Best Design for Android App

2010-11-19 Thread Frank Weiss
Have you considered using a Beagle board and coding directly in C? It's really not clear why you want to put the Android OS and SDK in the midst of this project. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send em

Re: [android-developers] Making a transparent line appear over an image

2010-11-19 Thread Frank Weiss
You might try rephrasing your question. Drawing a transparent line over an image or a map seems pointless. -- 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 unsubscri

Re: [android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread Frank Weiss
On my phone, the browser shortcut on the home screen opens the browser with the last page that was visited. Perhaps the behavior you're looking for is like when, from the browser, you choose Menu + Windows + New window. I don't know the specifics of your use case (opening a blank browser seems a

Re: [android-developers] My Phone Number

2010-11-19 Thread Kumar Bibek
Well, there could be several ways. May be it's one of your friends playing a prank on you. :) Kumar Bibek http://techdroid.kbeanie.com http://www.kbeanie.com On Sat, Nov 20, 2010 at 8:25 AM, Kevin wrote: > This evening I received a phone call from a user of my app. I was > quite stunned since

[android-developers] My Phone Number

2010-11-19 Thread Kevin
This evening I received a phone call from a user of my app. I was quite stunned since I have not published my phone number. The phone number field in my app's market page is blank, I can't see my phone number when I look at my app in the market. My phone number is not on my website, nor is it av

[android-developers] Re: Adding contact working in emulator but not in real device

2010-11-19 Thread manish khot
Need some more details here It might be the case where a contact mite be added and not visible in the native application. Make sure you goto Display Options, select a account and select all the groups to display the contact. On Nov 9, 6:16 pm, Karteek N wrote: > Hi > I implemented an application

[android-developers] Re: Update information in contacts

2010-11-19 Thread manish khot
This wont wont as the first parameter URI is incorrect. You need to use ContactsContract.CommonDataKinds.Phone.CONTENT_URI there for adding a number. For the matter of fact even the generic URI for adding any contact detail info will also work i.e Data.CONTENT_URI. On Nov 18, 11:54 pm, vnv wrot

[android-developers] Re: How to make a trial version which starts a limited amount of times?

2010-11-19 Thread MobileVisuals
Or maybe it is better make the trial version with the License Verification Library (LVL)? An application can check the licensing status and then apply custom constraints that allow the user to run it unlicensed for a specific number of times, according to the information on : http://developer.andr

[android-developers] Where are ldpi version of built-in icons

2010-11-19 Thread jotobjects
I'm copying some system Icons into my app - for instance ic_menu_add.png. There is one in drawable-mdpi and one in drawable- hdpi, but not in drawable or drawable-ldpi. What icon would be used on a ldpi device? My understanding is that you need a default version in drawable or one in each of the

[android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread jotobjects
On Nov 19, 5:24 pm, Dianne Hackborn wrote: > Not sure what you mean here.  If you include a category in an Intent, then > it must be in an IntentFilter for that filter to match.  I don't really know > what you mean by "all the categories listed for an Intent."  You put the > categories you want

[android-developers] Re: Best Design for Android App

2010-11-19 Thread Matt
Daniel and others, The phone would be a replacement of the commercial sms gateway. I'm curious to see if a cell phone could handle "bulk" messaging, let's say one message every second or two. If it could, it would potentially be cost effective to use a cell phone to handle messaging rather than pa

[android-developers] Crash Reports - new version of ACRA available for tests

2010-11-19 Thread Kevin Gaudin
Hello Android Devs ! Here comes a new major version of ACRA. For those who do not know ACRA (Application Crash Reports for Android), this is an opensource (Apache licence) library allowing your application to send crash reports to a simple Google Docs spreadsheet. You should go to the project home

Re: [android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread Dianne Hackborn
On Fri, Nov 19, 2010 at 2:51 PM, jotobjects wrote: > So maybe I should doing a PackageManager.queryIntentActivityOptions > for an Intent with CATEGORY_LAUNCHER and URI scheme "http". and then > use the ResolveInfo to start the Activity. Does that sound right? > >String packageNa

[android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread jotobjects
Thanks for that idea - yeah not exactly what I want but its another alternative. URL "about:blank" brings up the browser with "about:blank" in the input window Scheme "http" with no URL brings up Google web search page with http: in the input window. Both of them look a little weird... I don't

[android-developers] Re: Can I get a web link to my newly published app

2010-11-19 Thread Lance Nanek
> For entertainment, try an Adwords ad that links to your listing and > watch it not get approved because the url doesn't work. I also had trouble with AdWords. The official blog said it supported ads for Android Market apps, but when I went in the form didn't support the market protocol URL and t

[android-developers] LVL - Yay or Nay?

2010-11-19 Thread Sheado
Hi All, Sorry for starting yet another post on this subject. We're trying to decide on whether to go with LVL or just un-protect our apps altogether (currently using the copy protection feature). So my question: * Are you copy protecting/DRM/LVL licensing your apps? Some of our concerns include

[android-developers] Making a transparent line appear over an image

2010-11-19 Thread hari
Hi, Pls help me out on this one ... I have an image of a map ... I want to draw lines over that image I have successfully displayed both the line and the image But , the line is not transparently appearing over the image The image is only displayed when i run the program But,if i

Re: [android-developers] Re: custom view in widget

2010-11-19 Thread Hendrik Greving
In particular, if you want to change the content on touch/clicks - Original Message - From: "Hendrik Greving" To: Sent: Friday, November 19, 2010 3:19 PM Subject: Re: [android-developers] Re: custom view in widget So basically the widget can only use stuff from the OS? Let's say you

Re: [android-developers] Re: custom view in widget

2010-11-19 Thread Hendrik Greving
So basically the widget can only use stuff from the OS? Let's say you want to draw something nice into a widget, I saw several widgets doing that, like HTML content or so, or a picture from your mum (j/k), how would you do that? - Original Message - From: "Lance Nanek" To: "Android D

Re: [android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread Stephen Jungels
Have you tried using a standard intent to open the browser with the URL "about:blank" ? Maybe not exactly what you want, but simple and likely to work everywhere. On Fri, Nov 19, 2010 at 5:51 PM, jotobjects wrote: > Thanks - > > I don't have a URL to launch and I don't want to land on the google

[android-developers] Market Licensing Test account not working intermittently?

2010-11-19 Thread Adam Hammer
I never have users complain about market licensing, but occasionally I get not-licensed responses from the server for my test account when they are supposed to return authorized. When I did my testing everything was perfect, this happened weeks later, and is happening a lot recently. I have to be

Re: [android-developers] Re: drawable resources is stored in RAM at startup?

2010-11-19 Thread Dianne Hackborn
On Fri, Nov 19, 2010 at 1:39 PM, viktor wrote: > could any explain why this happened, I want to know memory strategy > for Drawable? > It generally is described in the documentation for that method: http://developer.android.com/reference/android/graphics/drawable/Drawable.html#mutate() Because

[android-developers] Re: What Intent for Browser without URL

2010-11-19 Thread jotobjects
Thanks - I don't have a URL to launch and I don't want to land on the google web search page. The behavior I want is what happens when the user launches the browser from the Home screen. So maybe I should doing a PackageManager.queryIntentActivityOptions for an Intent with CATEGORY_LAUNCHER and

[android-developers] Re: custom view in widget

2010-11-19 Thread Lance Nanek
Custom subclasses are not supported: >http://developer.android.com/guide/topics/appwidgets/index.html#CreatingLayout > Descendants of these classes are not supported. It runs in another process. It has no way to load them. On Nov 19, 3:40 pm, "Hendrik Greving" wrote: > Can I use a custom view li

[android-developers] Re: drawable resources is stored in RAM at startup?

2010-11-19 Thread viktor
Thanks, could any explain why this happened, I want to know memory strategy for Drawable? On 19 Лис, 22:04, Dianne Hackborn wrote: > You shouldn't modify a Drawable without first calling .mutate() on it (and > using the Drawable that is returned, no the original). > > > > > > > > > > On Fri, No

[android-developers] Re: How to create a x509 certificate?

2010-11-19 Thread Achie
Yes, It is not a great idea and I don't like it either. But that is what the Microsoft HealthVault requires. The application has to generate a key pair when trying to authenticate for the first time or later when we do not have an access token. Here are more details in this pdf in case you want to

RE: [android-developers] Re: calling activity from service

2010-11-19 Thread Tommy
Ok. So I took a look at my code. This is what you need to do. 1) Create a new class that extends BroadcastReceiver inside this class on the onReceive method should resemble this: public static final String ACTION_ALERT_USER = "xxx.xxx.ACTION_ALERT_USER"; The xxx should be

[android-developers] Capture Video of App

2010-11-19 Thread Nathan
One of the alternative app stores is asking for unaltered, unedited capture from the app as a video. Plus I'm also interested in cleaner video than I get by focusing a camcorder on an Android on a table. Who knows how to do that? I think I found some posts that indicate Mark Murphy may have solv

Re: [android-developers] hello world for Android.

2010-11-19 Thread TreKing
On Sun, Nov 14, 2010 at 12:45 AM, TheWebRipper wrote: > Can anyone give me a simple hello world tutorial for Android.? Please Read the official website. Please. http://developer.android.com/resources/tutorials/hello-world.html --

Re: [android-developers] Beginner: My basic android app displays my site too big

2010-11-19 Thread TreKing
On Mon, Nov 15, 2010 at 11:28 AM, Néstor wrote: > How can I tell my app to display my site to fit in the screen? > There are many properties that can be configured on a WebView. See these two links to start. http://developer.android.com/reference/android/webkit/WebView.html http://android-devel

Re: [android-developers] Wierd TimeZone problem

2010-11-19 Thread TreKing
On Sun, Nov 14, 2010 at 1:20 PM, Aravind wrote: > Is there a way to get the correct id? Have you tried using the various getDisplayName() functions? - TreKing

Re: [android-developers] Query on Customs Map application

2010-11-19 Thread TreKing
On Mon, Nov 15, 2010 at 12:49 AM, Satya wrote: > 1. If we pull Google MAPS application from an Android phone say Nexus One > and use the same on our target will the map application work? > No. The Google Maps API Add-On (the library you have to link against) != Google Maps App (a stand-alone app

Re: [android-developers] Android Dialer Problem

2010-11-19 Thread TreKing
On Sun, Nov 14, 2010 at 2:30 PM, Wilson Luu wrote: > Here's what I want to do: After pressing the dialer button, is there any > way for my app to control what pops up after pressing the dialer button? > Don't think so, sorry. -

[android-developers] custom view in widget

2010-11-19 Thread Hendrik Greving
Can I use a custom view like com.examples.me.customview in the xml file of a app widget and can then draw in the onDraw of the custom view? Or do I have to draw into the drawing cache of an ImageView instead? -- You received this message because you are subscribed to the Google Groups "Android

Re: [android-developers] drawable resources is stored in RAM at startup?

2010-11-19 Thread Dianne Hackborn
You shouldn't modify a Drawable without first calling .mutate() on it (and using the Drawable that is returned, no the original). On Fri, Nov 19, 2010 at 6:39 AM, viktor wrote: > Hi everyone, > > Drawable resource is set as background for second layouts (Second > activity). > > My problem is, I

Re: [android-developers] Re: Using cache or sdcard as a temporary buffer. Good idea?

2010-11-19 Thread Dianne Hackborn
You should also always take into account that the SD card is not secure -- any data you write there can be read by any other application, as well as modified in any way at any time by any applications that have the write SD card permission. You should never, ever put anyone's personal data on the

Re: [android-developers] Re: Copy Protection ON and phones compatibility.

2010-11-19 Thread Dianne Hackborn
Forward locked copy protection is really fragile, as it requires that nobody except approved entities get to the data (.apk). Thus you *must* trust the device you are delivering the .apk to, or else you have leaked the data and blown the forward locking. For example, a phone running a custom buil

Re: [android-developers] Re: Is uses-feature=false inferred by the Market if not included in manifest

2010-11-19 Thread Dianne Hackborn
You can't actually know what features you don't use, so it would be broken to assume that you use a feature when you don't explicitly say so. The only exception is that for compatibility some features are assumed based on permissions -- for example if you use the camera permission and don't say an

Re: [android-developers] Re: Using cache or sdcard as a temporary buffer. Good idea?

2010-11-19 Thread TreKing
On Fri, Nov 19, 2010 at 12:03 PM, Moto wrote: > I actually meant to say that I read somewhere that other users had issues > clearing the cache... > Many people have many issues doing many things on Android. More often then not, it's because they're simply doing it wrong. > Also, seen users com

Re: [android-developers] Pressing Home or Back buttons from Main Activity causes my app to stop unexpectedly

2010-11-19 Thread TreKing
On Sat, Nov 13, 2010 at 3:03 PM, MiataTexan wrote: > 11-13 14:36:57.175: ERROR/AndroidRuntime(621): Caused by: > java.lang.NullPointerException > 11-13 14:36:57.175: ERROR/AndroidRuntime(621): at > android.app.Activity.performStop(Activity.java:3808) > 11-13 14:36:57.175: ERROR/AndroidRuntime

Re: [android-developers] Re: escape characters not working "\n"

2010-11-19 Thread TreKing
On Wed, Nov 17, 2010 at 2:32 AM, kampy wrote: > this is the line i am using but i am not getting it What are you getting? How is the TextView configured? - TreKing

Re: [android-developers] Re: Is uses-feature=false inferred by the Market if not included in manifest

2010-11-19 Thread Olivier Guilyardi
On 11/19/2010 04:00 PM, ses wrote: >> You can test all that with aapt: >> >> http://developer.android.com/intl/fr/guide/topics/manifest/uses-featu... >> "You can use the aapt tool, included in the Android SDK, to determine how >> Android Market will filter your application, based on its declared fe

[android-developers] Re: Using cache or sdcard as a temporary buffer. Good idea?

2010-11-19 Thread Streets Of Boston
I found that if the user has a class 6 SDCard or higher, the (read) access of the SDCard is often faster than the access of the phone- memory. On Nov 19, 10:50 am, Moto wrote: > I'm currently trying to create a buffer for my application which needs > to be big! I mean at least 1MB but most likely

Re: [android-developers] Problem in loading image on the layout on clicking button.

2010-11-19 Thread TreKing
On Wed, Nov 17, 2010 at 12:37 AM, Alok Upadhyay wrote: > Problem:i am able to load images in next button click but as i click on > back button no image got loaded. > Look at the code you posted: case R.id.next: >Log.i("Tag","tag"); >if(imageCounter < 25)//if(imageCounter < arrayL

Re: [android-developers] Re: Loading an image on android emulator screen

2010-11-19 Thread TreKing
On Tue, Nov 16, 2010 at 7:45 PM, hari wrote: > I just want the image to be displayed on the emulator screen... > If you're talking about putting a different skin on the emulator ... android emulator skins

Re: [android-developers] Re: Adding separators to a ListView

2010-11-19 Thread Kostya Vasilyev
Ok, here it is: http://kmansoft.wordpress.com/2010/11/16/adding-group-headers-to-listview/ -- Kostya 15.11.2010 21:48, Neilz пишет: Yes please Kostya, and thanks for your input :-) On Nov 15, 5:50 pm, Kostya Vasilyev wrote: Since this came up before, and generally *seems* useful, should I p

[android-developers] Re: Launch application from url

2010-11-19 Thread Tejas
This isn't working for me. I have a static html page with the element as mentioned above by Ryan. I'm not sure if this fires the intent. How will the browser understand / interpret this strange url ? If this is working for anyone, I would like to know. Even I'm looking to launch any application

[android-developers] Re: Debug with Windows 7 64bit

2010-11-19 Thread Lara
Now i realised that my Anti-Virus-Program blocked the debugger process. Awesome :-D -- 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, sen

[android-developers] Re: calling activity from service

2010-11-19 Thread Kartik Bansal
thanks a lot.. it would be gr8 if u could share the code snippet.. i am all so confused with intents.. On Nov 19, 11:46 pm, "Tommy" wrote: > You should be able to do it the same way you would call it from any other > activity. Only before you call startActivity be sure to set the > FLAG_ACTIVITY_

RE: [android-developers] calling activity from service

2010-11-19 Thread Tommy
You should be able to do it the same way you would call it from any other activity. Only before you call startActivity be sure to set the FLAG_ACTIVITY_NEW_TASK setting like below: Intent beginActivity //so on beginActivity.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(beginActivity); I

[android-developers] calling activity from service

2010-11-19 Thread Kartik Bansal
hi.. i am writing an app in which i need a background service to call an activity and show some result.. pls share some example.. thnx a lot.. kartik.. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to

[android-developers] Re: Using cache or sdcard as a temporary buffer. Good idea?

2010-11-19 Thread Moto
Oops! Well... > > But also read before issues cleaning up the cache after use? > > What? Typed too fast! I actually meant to say that I read somewhere that other users had issues clearing the cache... Also, seen users complaining about apps that had caches that were taking way too much space whi

Re: [android-developers] Re: ContentProvider storage/memory Q

2010-11-19 Thread Dianne Hackborn
This discussion probably belongs on android-platform; it is not really about the SDK. On Fri, Nov 19, 2010 at 9:11 AM, d1m_bu1b wrote: > Thanks for trying to address my question. > I have read all the references you suggested, that is how I have been > able to test its performance. > as I unders

[android-developers] Re: ScaleGestureDetector wrapper for reflection.

2010-11-19 Thread MB
Thanks a ton for the response. This is extreemely useful. I really really appreciate your response. On Nov 19, 12:19 am, String wrote: > I got around it by copying ScaleGestureDetector.java from AOSP to my > own package. I was then able to implement a wrapper class by following > the guidelin

[android-developers] Re: Debug with Windows 7 64bit

2010-11-19 Thread Lara
yes I have enabled debugging in the manifest, anyhow nothing realizes debugging do you have any other suggestions how to fix this problem? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

Re: [android-developers] wikipedia web service for android.

2010-11-19 Thread sathvik
@TreKing -- Thank you , I knew about MediaWiki , I wanted to know whether there is a JAVA implementation of this API , like Google AJAX API's have non-javascript implementations. For MediaWiki I think I will have to execute php. Anyways will try in that direction. Thank you. On Fri, Nov 19, 2010

Re: [android-developers] Problem in providing a string to the JavaScript

2010-11-19 Thread Brad Gies
I don't really fully understand what problem you are having Can you show an example of what's it's doing... and what you want it to do? The code you sent looks fine... except that the last string after you split the string will be an empty string because you have a "|" at the end of the st

[android-developers] Android app naming policy

2010-11-19 Thread vnv
Hi, I would like to run multiple instances of same application for dev purpose. How does app define it's name in the system, through which of the files is that configured. N. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

Re: [android-developers] Re: Debug with Windows 7 64bit

2010-11-19 Thread Kostya Vasilyev
Do you have debugging enabled in your application's manifest? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 19.11.2010 19:44 пользователь "Lara" написал: I've tried it with Google G1, Motor Milestone, HTC Desire. When I want to start debugging it seems that eclipse would start the ordinar

[android-developers] Re: ContentProvider storage/memory Q

2010-11-19 Thread d1m_bu1b
Thanks for trying to address my question. I have read all the references you suggested, that is how I have been able to test its performance. as I understand it, the answer is: study all the Framwork code and figure it out yourself. more to consider: The Binder suggestion better illustrates my co

[android-developers] Re: ContentProvider storage/memory Q

2010-11-19 Thread d1m_bu1b
Thanks for trying to address my question. I have read all the references you suggested, that is how I have been able to test its performance. as I understand it, the answer is: study all the Framwork code and figure it out yourself. more to consider: The Binder suggestion better illustrates my co

Re: [android-developers] wikipedia web service for android.

2010-11-19 Thread TreKing
On Tue, Nov 16, 2010 at 11:31 PM, sat wrote: > Any links pointing to the above requirement would be helpful. http://stackoverflow.com/questions/627594/is-there-a-wikipedia-api Found through a 10 second Google search for "Wikipedia API" :-)

[android-developers] P12 (PKCS#12) certificate and HTTPS over SSL

2010-11-19 Thread Nilz
Does anyone know how I can use a p12 (PKCS#12) file to make secure https calls to it's corresponding server. I've followed the guide at this blog: http://blog.antoine.li/index.php/2010/10/android-trusting-ssl-certificates/ but I keep getting the following in LogCat when using the emulator: 11-19

[android-developers] Re: Copy Protection ON and phones compatibility.

2010-11-19 Thread sblantipodi
Thanks for the answer. But I don't understood why a device is approved or not. Is there a possibility that the injected DRM could prevent the app to work on some devices? Thanks. On Nov 19, 5:49 pm, TreKing wrote: > On Fri, Nov 19, 2010 at 8:43 AM, sblantipodi > wrote: > > > What do you mean for

Re: [android-developers] Using cache or sdcard as a temporary buffer. Good idea?

2010-11-19 Thread TreKing
On Fri, Nov 19, 2010 at 9:50 AM, Moto wrote: > But also read before issues cleaning up the cache after use? > What? > I guess I should as if I be able to create a file in cache and discard it > when I don't need it? > Yes, you can create files in the cache directory and delete it as necessar

[android-developers] Unexpected MD5 error downloading from webpage

2010-11-19 Thread jb
Hi, I have an app that downloads a zip file of images to the devices SD card. Upon completion of the download an MD5 check is made. This has worked as expected, but I just ran into a unique problem. When the app was run on a Samsung Galaxy with OS 2.1, an MD5 error occured. I then ran the same ap

Re: [android-developers] Re: Copy Protection ON and phones compatibility.

2010-11-19 Thread TreKing
On Fri, Nov 19, 2010 at 8:43 AM, sblantipodi wrote: > What do you mean for unapproved devices? > AFAIK, for copy protection Google has some list of devices that are considered "approved" for copy-protected devices to run on. Usually this meant that new devices would block copy-protected apps unti

Re: [android-developers] Re: How to create a x509 certificate?

2010-11-19 Thread Marcin Orlowski
On 19 November 2010 17:23, Achie wrote: > In that example the user is using Keytool to create the certificate > and then transferring the keystore to the mobile. > What I want is that my application to create the keystore and > certificate on the device and then use them. Generating certificate

[android-developers] Re: Debug with Windows 7 64bit

2010-11-19 Thread Lara
I've tried it with Google G1, Motor Milestone, HTC Desire. When I want to start debugging it seems that eclipse would start the ordinary "run". On 19 Nov., 17:36, Kostya Vasilyev wrote: > Works fine for me with Motor Milestone. > > What is your phone? > > -- > Kostya Vasilyev --http://kmansoft.w

Re: [android-developers] Debug with Windows 7 64bit

2010-11-19 Thread Kostya Vasilyev
Works fine for me with Motor Milestone. What is your phone? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 19.11.2010 19:31 пользователь "Lara" написал: Hey guys, I want to debug on my device and I am using a Windows 7, 64 bit, but I can't find correct drivers to do so. The perspective in

[android-developers] Debug with Windows 7 64bit

2010-11-19 Thread Lara
Hey guys, I want to debug on my device and I am using a Windows 7, 64 bit, but I can't find correct drivers to do so. The perspective in Eclipse is whether changing nor halts the IDE at any breakpoint. Can you send me any suggestions how to use debugging? Thank you in advance! Lara -- You receiv

[android-developers] Re: Android Market, specify products in Dollars instead of euros.

2010-11-19 Thread sblantipodi
good suggestions, I have never thought about that. Thanks! On Nov 19, 4:15 pm, Marcin Orlowski wrote: > > Why I can't, is this a smart way to proceed? > > I believe the answe is: you can't. > > But, depending on how much you sell (in terms of money totals) you may want > to consider forming LLC i

[android-developers] Re: Copy Protection ON and phones compatibility.

2010-11-19 Thread sblantipodi
no one can tell me here what are the unapproved devices and why they are unapproved? On Nov 19, 3:43 pm, sblantipodi wrote: > Thanks for the answer. What do you mean for unapproved devices? > I know that this isn't the safest way to proceed but since I'm in > business with a shop that use the sam

[android-developers] Re: How to create a x509 certificate?

2010-11-19 Thread Achie
Thank you for the link, In that example the user is using Keytool to create the certificate and then transferring the keystore to the mobile. What I want is that my application to create the keystore and certificate on the device and then use them. Please let me know if there is a way to do that.

[android-developers] Re: AT&T HTC ARIA - Can not install APK

2010-11-19 Thread Néstor
PROBLEM SOLVED!!! Yes, I am using Eclipse and I tried adb. I did not try sideload but I was able to install my applications. I was still searching for an answer to my problem when I read somewhere that a person had a similar problem and it was solved by changing his connection to another USB port.

[android-developers] Re: Android system font size

2010-11-19 Thread Lance Nanek
The documentation does mention that if you set your textSize in sp units, it is scaled by the user's font size preference: http://developer.android.com/guide/topics/resources/more-resources.html#Dimension So wouldn't you just have to use a different unit, like dp or px? I've never actually seen a

[android-developers] Using cache or sdcard as a temporary buffer. Good idea?

2010-11-19 Thread Moto
I'm currently trying to create a buffer for my application which needs to be big! I mean at least 1MB but most likely to be 4MB. Now definitely bad idea to actually allocate this much on a byte array in memory. So the options are put all the data in a file. So question is where do I place this te

[android-developers] Re: Is it possible to run multiple Broadcast receivers for the same Intent in the same application?

2010-11-19 Thread Some Coder
Thanks for the reply. On Oct 31, 1:26 am, Doug wrote: > On Oct 25, 4:12 pm,SomeCoder wrote: > > > Is it possible to register multiple BroadcastReceivers for the same > > Intent in the same application and have them all run? > > You might want to read the documentation for BroadcastReceiver, > und

[android-developers] Re: external bluetooth dongle on Android 1.5

2010-11-19 Thread Daddym85
Yes, I am willing to hack. My device has USB host support, I have a microusb host adapter and if I connect an external usb keyboard or an usb mouse it works fine. So I think that my Android has not bluetooth driver support. How can I install it? On 19 Nov, 15:59, Lance Nanek wrote: > I haven't ev

[android-developers] Re: How to handle major revisions to OpenGL game in Android Market

2010-11-19 Thread scott19_68
On Nov 14, 11:18 am, Jeff Boody wrote: > If your app specifies that it uses OpenGL ES 2.0 in the Android > manifest then it will only show up on the Market for devices which > support it. As long as there is no software renderer that supports OpenGL ES 2.0 which I hope is the case. I did find

[android-developers] Detecting Task Resume

2010-11-19 Thread Some Coder
Hi, I'm trying to write some initialization code for my app which differentiates between the cases when it it launched from scratch and when it it is resumed (i.e. the user launches the app, hits the home button, starts another task, then at some later time navigates back to my app). From the doc

[android-developers] Re: App availability in Germany

2010-11-19 Thread Rutton
I am located in Germany and I can see your Morse Trainer in a light and pro version in the market. My device has Froyo. -- 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

Re: [android-developers] Re: Android Market, specify products in Dollars instead of euros.

2010-11-19 Thread Marcin Orlowski
> Why I can't, is this a smart way to proceed? I believe the answe is: you can't. But, depending on how much you sell (in terms of money totals) you may want to consider forming LLC in US and then selling thru it. You would need to check couple of things with your local financial/fiscal advisor (

[android-developers] Re: Android Market, specify products in Dollars instead of euros.

2010-11-19 Thread sblantipodi
Ok, I'm in Italy and our currency is euro but since I sell much more in US I would like to specify the price using dollars. Why I can't, is this a smart way to proceed? On Nov 19, 4:05 pm, Marcin Orlowski wrote: > On 19 November 2010 15:58, sblantipodi wrote: > > > On my developer console I can

Re: [android-developers] Android Market, specify products in Dollars instead of euros.

2010-11-19 Thread Marcin Orlowski
On 19 November 2010 16:05, Marcin Orlowski wrote: > On 19 November 2010 15:58, sblantipodi wrote: > >> On my developer console I can set my apps price but I can do it only >> using euros, how can I set a price for dollars? > > Currency depends on country of your (seller's) location. If you're in

Re: [android-developers] Android Market, specify products in Dollars instead of euros.

2010-11-19 Thread Marcin Orlowski
On 19 November 2010 15:58, sblantipodi wrote: > On my developer console I can set my apps price but I can do it only > using euros, how can I set a price for dollars? Currency depends on country of your (seller's) location. If you're in US then you use USD, in Japan yens. Not sure where you are

[android-developers] Re: Is uses-feature=false inferred by the Market if not included in manifest

2010-11-19 Thread ses
> You can test all that with aapt: > > http://developer.android.com/intl/fr/guide/topics/manifest/uses-featu... > "You can use the aapt tool, included in the Android SDK, to determine how > Android Market will filter your application, based on its declared features > and > permissions. To do so, r

  1   2   >