Re: [android-developers] Android keystore password recovery tool

2012-03-25 Thread Nikolay Elenkov
On Fri, Mar 23, 2012 at 11:47 PM, Max wrote: > I made a simple tool that could help you to recover your lost password > for the android keystore > https://code.google.com/p/android-keystore-password-recover/downloads/list > It helped for me, maybe you can recover your key, too. > Good luck > Inte

Re: [android-developers] R17 does not add dependent jars unless exported

2012-03-25 Thread Nikolay Elenkov
On Sat, Mar 24, 2012 at 8:47 AM, Boris Burtin wrote: > After upgrading from R16 to R17, I started getting > NoClassDefFoundErrors for classes in dependent jarfiles.  I eventually > figured out that only the jarfiles that were marked as exported were > being added to the apk.  Is this intentional?

Re: [android-developers] Need help fine tuning gmail like ListView.

2012-03-23 Thread Nikolay Elenkov
2012/3/23 Kostya Vasilyev > > I've run into the same task with my current app. Especially true if you consider the different checkbox sizes on various platform versions. > > What I ended up with is a custom layout class at the top level of my item layout that does its own event tracking. > > Ther

Re: [android-developers] Android Library Project Changes

2012-03-22 Thread Nikolay Elenkov
On Fri, Mar 23, 2012 at 1:50 PM, Harshad wrote: > > From what I understand, in the newer SDKs, the Library project needs to be > compilable by itself, while in earlier versions that was not necessary. In > earlier versions, the source code from the library projects was merged with > the final pro

Re: [android-developers] Having ton of issues with SDK 17 - is 16 still available somewhere?

2012-03-22 Thread Nikolay Elenkov
On Fri, Mar 23, 2012 at 9:14 AM, Sekhar wrote: > I updated to SDK 17 this morning and have been struggling ever since with a > ton of problems: library errors, run time issues, etc. Is there a way to > revert to 16? > Eclipse save old versions of plugins, so you could probably revert from the 'In

Re: [android-developers] Valid google account OAuth 2 token in Android

2012-03-22 Thread Nikolay Elenkov
On Wed, Mar 21, 2012 at 2:23 AM, Oleksandr Andriichenko wrote: > I have a problem with google account OAuth 2 tokens. > We need token for access account information (numeric id, email, user > name) > After request getAuthToken(account, SCOPE, options, mContext, > getAuthTokenCallback, null) in Acc

Re: [android-developers] Authorization token from local GAE

2012-03-20 Thread Nikolay Elenkov
On Mon, Mar 19, 2012 at 9:02 PM, ultravolks wrote: > Hello, is it possible to get an authorization token from a local Google App > Engine without being connected to the Internet. > When I call AccountManagerFuture getResult() I can get a token only if I am > connected to the Internet. > With the c

Re: [android-developers] javax.crypto.BadPaddingException: pad block corrupted

2012-03-18 Thread Nikolay Elenkov
2012/3/18 Italo Mendonça Rocha : > I'm trying to encrypt and decrypt a file using a key that the user typed. > All these operations are done in Android. At the moment I decrypt I get a > javax.crypto.BadPaddingException: pad block corrupted. The same code works > normally on Windows PC. Why? Your

Re: [android-developers] ActionBarSherlock porting tool?

2012-03-16 Thread Nikolay Elenkov
On Sat, Mar 17, 2012 at 1:30 AM, elliotn wrote: > Thanks Nikolay. I had been looking around the sites that you mentioned. > Unless I'm missing something, I can't find an easy way to convert package > statements, class names, method calls, type casting, etc. I'm working on a > script, but as soon a

Re: [android-developers] ActionBarSherlock porting tool?

2012-03-16 Thread Nikolay Elenkov
On Sat, Mar 17, 2012 at 12:59 AM, elliotn wrote: > I'm looking at porting a Honeycomb project to run on pre-Honeycomb devices, > and want to use ActionBarSherlock. Any chance somebody has written a porting > tool for this? I am unable to find one. Here it is: http://actionbarsherlock.com/usage.h

Re: [android-developers] Re: Galaxy Nexus is not properly implementing getExternalStorageDirectory; can anyone confirm?

2012-03-15 Thread Nikolay Elenkov
On Fri, Mar 16, 2012 at 11:47 AM, Mark Carter wrote: > Even disconnecting from USB often does not work... Reboot always does :) I *think*, MediaScanner actually runs periodically, so the files should show up eventually, but if you want them to show up right way, you need to call scanFile(). Do i

Re: [android-developers] Re: SIP Stack registration packet with authorization

2012-03-14 Thread Nikolay Elenkov
On Thu, Mar 15, 2012 at 12:20 AM, matej148 wrote: > Hi Nikolay, thank you for your answer, but we are almost sure that > OpenIMS works well. Maybe it does, but your current configuration seems to be incompatible with Android. You could try to change or customize it a bit to make it compatible, if

Re: [android-developers] SIP Stack registration packet with authorization

2012-03-14 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 2:22 AM, matej148 wrote: > Hi to all, > we want to create SIP application on Android 2.3.3 and have some > issues with android.sip stack (default sip stack). Our mobile app > sends register sip packet, but > 1.) by default OpenIMS core responds 400 Bad request P-Visited-Net

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 11:42 AM, Kristopher Micinski wrote: > True, I was working off the map activity assumption.  The IP based > lookup approach isn't fundamentally wrong, a good portion of the time > you'll be "pretty much right" for the purposes of many applications > (location specific ad ta

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 11:32 AM, Kristopher Micinski wrote: > Exactly, the point is that you'll get a much more accurate GPS reading. > Right. It said 'webpage', so I figured this is for a web app. Then again, it says 'map activity' in the original message... -- You received this message becau

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 11:15 AM, Kristopher Micinski wrote: > If you're using a mobile IP, with people moving around all the time... > I highly doubt that you'd get this kind of accuracy... or anywhere > near it... Sure, but then again if you know where the wireless access points are (street vie

Re: [android-developers] How to get geolocation for the given ip address

2012-03-13 Thread Nikolay Elenkov
On Wed, Mar 14, 2012 at 12:30 AM, Kristopher Micinski wrote: > I know what you want, and I'm saying that you can't fundamentally > approximate this with any kind of accuracy..., IPs are just too > coarse... As Mark notes there are IP geolocation services, but they're > still vast approximations of

Re: [android-developers] Tablet Acer Iconica A100 and Environment.getExternalStorageDirectory();

2012-03-12 Thread Nikolay Elenkov
On Mar 12, 2012 10:47 PM, "Remote Red" wrote: > > The tablet Acer Iconica A100 returns for > Environment.getExternalStorageDirectory() > > /mnt/sdcard > > Actually that is intern memory as the microSD card is mounted as > > /mnt/external_sd > > I would like my app to find the microSD card. > > Wha

Re: [android-developers] ICS's Holo Theme

2012-03-08 Thread Nikolay Elenkov
On Fri, Mar 9, 2012 at 1:46 AM, Romain Guy wrote: > > They are blue on my Galaxy Nexus. > Definitely green on 4.0.2 ICL53F. Yours is most probably newer though :) -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send

Re: [android-developers] Re: Any API to send FAX from Android Application?

2012-03-08 Thread Nikolay Elenkov
On Thu, Mar 8, 2012 at 10:15 PM, Mark Murphy wrote: > There is certainly nothing built into Android for this. You would send > a fax from an Android app the same way you send a fax from a Web app > -- by means of some Internet-based fax service with an API. > You could probably send it via SIP as

Re: [android-developers] Re: Google Play

2012-03-07 Thread Nikolay Elenkov
On Thu, Mar 8, 2012 at 4:15 PM, Michael Leung wrote: > I like the name, "Market" more. > Really :) 'Play Store' hurts my eyes every time I open The App Formerly Known as the Android Market... (TAFKAM?) -- You received this message because you are subscribed to the Google Groups "Android Develop

Re: [android-developers] How many people are using ActionBarSherlock?

2012-03-04 Thread Nikolay Elenkov
On Mon, Mar 5, 2012 at 1:13 PM, Mark Phillips wrote: > I am curious as to how many folks on the list are using ActionBarSherlock > versus rolling their own or some other library for pre 3.0 applications? I am, in three different applications. Getting this right for a real application is not trivi

Re: [android-developers] Re: java.lang.SecurityException: Permission Denial, but my app does not change settings

2012-03-01 Thread Nikolay Elenkov
On Fri, Mar 2, 2012 at 7:34 AM, Kostya Vasilyev wrote: > > My advice -- still the same, just ignore. As your app gets mode > downloads, there'll be "stranger and stranger" crash and ANR reports. > +1 Just wait till someone tries to run it on BlackBerry, then you'll get some really weird stuff.

Re: [android-developers] Accessing multiple action bars:

2012-02-28 Thread Nikolay Elenkov
On Wed, Feb 29, 2012 at 12:04 AM, Mark Winchester wrote: > In this design guide (http://developer.android.com/design/patterns/ > actionbar.html), it is claimed that there can exist three separate > action bars.  I've got an application that I want to utilize just such > an interface.  That said, I

Re: [android-developers] Does android supports Infrared techology ?

2012-02-25 Thread Nikolay Elenkov
On Sun, Feb 26, 2012 at 12:25 AM, kapil Ramchandani wrote: > Need help if any one used infrared technology. Some devices do, but it's nonstandard, i.e. it's not part of the official SDK. You'll have to use the vendor libs for the particular device. -- You received this message because you are s

Re: [android-developers] MTP + Linux

2012-02-25 Thread Nikolay Elenkov
On Fri, Jan 13, 2012 at 12:41 PM, Michael Vittiglio wrote: > I'm wondering what method is the simplest for getting access to my Galaxy > Nexus' MTP drive via USB on Linux (Ubuntu 11.10). I've been online looking > at a plethora of methods ranging from scripts to apps and all of them either > don't

Re: [android-developers] sip demo

2012-02-24 Thread Nikolay Elenkov
On Fri, Feb 24, 2012 at 5:53 PM, Jagruti Sangani wrote: > Thanks, > if i want to run the application on mobile and 3g or wifi is connected and i > want that my application will automatically connect with whatever exist > connection on mobile.Then for that any steps require ?At any where changes >

Re: [android-developers] sip demo

2012-02-23 Thread Nikolay Elenkov
On Fri, Feb 24, 2012 at 3:57 PM, Jagruti Sangani wrote: > HI > i am using the sip demo from the link > http://developer.android.com/resources/samples/SipDemo/index.html. > Can anybody know it is support which functionality like internet,wifi, > 3g > AFAIK, the Android SIP stack doesn't care

Re: [android-developers] Color-Ring

2012-02-23 Thread Nikolay Elenkov
On Fri, Feb 24, 2012 at 2:49 AM, BearTi wrote: > Hi, > > I´m creating an widget and now I want (in the config app) to have a > color-selection (ring). > Is there a predefined method or something like this for that? > The SDK samples come with a ColorPickerDialog what can be used pretty much as is

Re: [android-developers] How to restrict ContentProviders to be used for some apps

2012-02-23 Thread Nikolay Elenkov
On Thu, Feb 23, 2012 at 10:49 PM, Mark Murphy wrote: > On Thu, Feb 23, 2012 at 8:30 AM, Nikolay Elenkov > wrote: >>> One possibility is to use permissions. However, other apps could find >>> those permissions and request them, and if the user grants them, those >>&g

Re: [android-developers] How to restrict ContentProviders to be used for some apps

2012-02-23 Thread Nikolay Elenkov
On Thu, Feb 23, 2012 at 10:20 PM, Mark Murphy wrote: > On Thu, Feb 23, 2012 at 6:08 AM, ashiq sayyad wrote: >> I have created one custom content provider.I want only my apps should >> use my custom content provider and the outside apps should not be able >> to use it even if they know the URI of

Re: [android-developers] Safe/smart way to retrieve list of trusted CA?

2012-02-22 Thread Nikolay Elenkov
On Wed, Feb 22, 2012 at 10:21 PM, Ab wrote: > I am using the below code to retrieve this list. It seems to work, > however it doesn't seem particularly safe/smart because I can't find > any documentation that indicates the .bks file will always be > available at the hard coded location. > > Is thi

Re: [android-developers] judgment of currency for In-app-billing

2012-02-21 Thread Nikolay Elenkov
On Wed, Feb 22, 2012 at 4:02 PM, SeungYong Shin wrote: > For example, App displayed 1 dollar for the item, but Market displayed > 10 dollars. It's strange. > I want to know the rule of judgment to display the currency when users > click purchase-button. Generally, if the device has a SIM, the op

Re: [android-developers] Re: How to take photo and crop with Android 3.x

2012-02-21 Thread Nikolay Elenkov
On Wed, Feb 22, 2012 at 3:56 PM, Yaniv wrote: > Thanks Nikolay, > > But I think I found the line was missing in my code. > I had to add the intent the component name that should run the crop: > intent.setComponent(new ComponentName("com.android.gallery3d", > "com.android.gallery3d.app.CropImage"))

Re: [android-developers] judgment of currency for In-app-billing

2012-02-21 Thread Nikolay Elenkov
On Wed, Feb 22, 2012 at 9:54 AM, SeungYong Shin wrote: > Hi. > > I am in the process of creating an in-app-billing service. I want to > set prices differently for different countries. > > When the purchase page is displayed, how can I decide which currency i > should use for an In-app-billing item

Re: [android-developers] Re: Why doesn't this delete method work to vacuum the Database?

2012-02-21 Thread Nikolay Elenkov
On Wed, Feb 22, 2012 at 12:37 AM, Jeresam515 wrote: > bump > Instead of bumping, you should try to explain what the problem is. What are you trying to do? What do you expect to happen? What is actually happening? If an exception, provide a stacktrace. Explain what you mean by 'vacuum', etc. --

Re: [android-developers] How to take photo and crop with Android 3.x

2012-02-21 Thread Nikolay Elenkov
On Tue, Feb 21, 2012 at 6:14 PM, Yaniv wrote: > The photo is taken fine and saved but when I send the intent to crop > it I get the following excpetion: > > a02-21 10:58:36.460: E/AndroidRuntime(14379): FATAL EXCEPTION: main ... > android.content.ActivityNotFoundException: No Activity found to ha

Re: [android-developers] Re: Questions on creating X509v3Certificate on Android

2012-02-16 Thread Nikolay Elenkov
On Fri, Feb 17, 2012 at 10:30 AM, QD wrote: > The spongycastle jar is about 3.9 mg as I downloaded it. I removed the > java source, it is still as big as 2 mg without adding any additional > package.  I need to generate X509v3 Certificate which requires the > cert package. In order to add this pac

Re: [android-developers] keystore files

2012-02-16 Thread Nikolay Elenkov
On Fri, Feb 17, 2012 at 12:56 AM, New Developer wrote: > true > But then each time  you have to delete all data files and uninstall in order > to switch  and then repeat this back again > to continue developing , it is this short        debug -> release   testing > release -> debug       period  t

Re: [android-developers] Re: Adding extraneous files to APK?

2012-02-16 Thread Nikolay Elenkov
On Fri, Feb 17, 2012 at 12:50 AM, Mark Murphy wrote: > On Thu, Feb 16, 2012 at 10:21 AM, Mark Winchester > wrote: >> Can I access files in "assets" like they were files located in ./ >> assets/ from my native code?  When I shell into the emulator, I >> noticed that the files aren't pushed out to

Re: [android-developers] Re: Android 2.2.1 Galaxy S I9000 I9000XWJS3

2012-02-15 Thread Nikolay Elenkov
On Wed, Feb 15, 2012 at 10:20 PM, Евгений Л <3gscor...@gmail.com> wrote: > Here reference to the problem: > http://narod.ru/disk/40240083001/SC20120210-032158.png.html This is OT, and certainly doesn't help you, but Yandex is quite obnoxious. It tried two install two browser plugins and make itse

Re: [android-developers] trilead ssh2 library

2012-02-14 Thread Nikolay Elenkov
On Thu, Jan 26, 2012 at 1:27 PM, New Developer wrote: > Thank you !! > Yes I disabled ProGuard  as you suggested and now  suddenly all works well > > Do you have some links to help inform/teach  how to fine-tune  as you > further suggested > http://proguard.sourceforge.net/index.html#manual/usage

Re: [android-developers] trilead ssh2 library

2012-02-14 Thread Nikolay Elenkov
On Thu, Jan 26, 2012 at 12:54 PM, New Developer wrote: > Can a single  apk   have  source files with multiple package  names ? > Yes. > Why else would the code work if done using a debug apk  but fail if using a > signed apk ? > > Are you using ProGuard? (it seems you are from the stacktrace) I

Re: [android-developers] Re: Questions on creating X509v3Certificate on Android

2012-02-14 Thread Nikolay Elenkov
On Wed, Feb 15, 2012 at 10:34 AM, QD wrote: > Thank you, Nikolay, for your reply to my question.  I downloaded and > installed spongycastle. However, it still didn't work because the jar > does not include the classes specifically for the certification > generation. What classes are you missing?

Re: [android-developers] Re: how to create .apk file from my .apk file

2012-02-13 Thread Nikolay Elenkov
On Tue, Feb 14, 2012 at 3:18 PM, rathod kantilal wrote: > That i know. but my client requirement is .apk file is generated through my > application. how is it possible ? > You need to get the whole tool chain to run on your Android device. This is not trivial, do you really, really need to do thi

Re: [android-developers] Re: In-App Billing always fails with “Reason: Took too long to deliver”

2012-02-13 Thread Nikolay Elenkov
On Sun, Feb 5, 2012 at 2:24 AM, Nikolay Elenkov wrote: > 2012/2/5 Kostya Vasilyev : >> 4 февраля 2012 г. 18:17 пользователь Nikolay Elenkov >> написал: >> >> >> Unavoidable? >> >> Does the rest of the world's e-commerce suffer the same failures?

Re: [android-developers] Questions on creating X509v3Certificate on Android

2012-02-12 Thread Nikolay Elenkov
On Sun, Feb 12, 2012 at 1:31 PM, Qin Ding wrote: > I have a need to generate X509v3Certificate on Android device. > ... > ...  First the android > dumps so many "ambicuouse classes" message and discovered old classes and > block the code message in the catlog.  All these message are related to the

Re: [android-developers] Is it possible to know how users found your app.

2012-02-11 Thread Nikolay Elenkov
On Sun, Feb 12, 2012 at 12:58 AM, Kristopher Micinski wrote: > On Sat, Feb 11, 2012 at 7:19 AM, decastro wrote: >> I am just starting out as an app developer and looking into possible >> marketing options. I may try experimenting with a few different ideas >> - but I am wondering if I will be abl

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Nikolay Elenkov
On Fri, Feb 10, 2012 at 2:02 PM, Zsolt Vasvari wrote: > And apparently there is a whole new crop of >> so called 'malware' (mostly filled with ads, etc.) that require you to >> give them a 5-star rating to continue playing/watching, etc. Most people >>  apparently fall for it, and those apps get a

Re: [android-developers] Help with signatures

2012-02-09 Thread Nikolay Elenkov
On Sat, Jan 21, 2012 at 10:15 AM, New Developer wrote: > Okay I have changed my date back to Jan 2012 > > Is there anyway to extend the  Certificate   without going through the  adb > uninstall ?? > No. The newly generated debug certificate will be different from the old one, so if you try to ins

Re: [android-developers] Re: Almost nobody is rating my app.

2012-02-09 Thread Nikolay Elenkov
On Fri, Feb 10, 2012 at 3:18 AM, Mark Phillips wrote: > My apologies for recommending something against the market policies. I was > not aware of that policy. I am just starting out, so I have not gotten that > far in the process to actually put an app  on the market. > > BTW, I was not advocating

Re: [android-developers] Re: Android's UrlConnection doesn't support HTTP 1.1 persistent connections...why?

2012-02-08 Thread Nikolay Elenkov
On Thu, Feb 9, 2012 at 11:25 AM, Biosopher wrote: > Sorry I mis-typed the problem class.  UrlConnection does properly > supports HTTP 1.1 and persistent connections.  However > DefaultHttpClient does not.  I have validated this by viewing the > packets using WireShark on my Android device. > Http

Re: [android-developers] Re: Problem with writing files to internal memory (not visible on file browser on ICS)

2012-02-08 Thread Nikolay Elenkov
On Thu, Feb 9, 2012 at 12:51 AM, Dirk Vranckaert wrote: > Nikolay, > > Thanks for the help but my problem is not to write the file or read > the file from my device. With code from above I can write the file to > the internal memory. But when my device (galaxy nexus) is connected to > my computer

Re: [android-developers] Problem with writing files to internal memory (not visible on file browser on ICS)

2012-02-08 Thread Nikolay Elenkov
On Wed, Feb 8, 2012 at 4:53 PM, Dirk Vranckaert wrote: > I have a problem when I try to write a file to the device's SD-card. > > 6) Samsung Galaxy Nexus (running 4.0) with the 16 GB build-in SD => > problem!! > > The problem I have is that I cannot see the file that is created: > a. when I use a

Re: [android-developers] Re: how can access android phone (sdcard) on my computer browser via wifi ?

2012-02-07 Thread Nikolay Elenkov
On Wed, Feb 8, 2012 at 8:42 AM, gjs wrote: > Hi, > > Sure write an app with its own http server. > > http://developer.android.com/reference/java/net/ServerSocket.html > > There are also apps that let your share it via Samba (Windows file sharing), but you need a rooted phone. -- You received th

Re: [android-developers] SSL/TSL Over Android 2.1

2012-02-07 Thread Nikolay Elenkov
On Tue, Feb 7, 2012 at 5:16 AM, Yonatan Romero wrote: > So I try to connect to others safe-web-pages witch has certificates > signed by CA authorities like Verisign, Thawte, GoDaddy, Digicert, > etc. I noticed that the request sometimes throws the exception and > sometimes not. > > I want to purch

Re: [android-developers] Re: SSL/TLS and ECC (Elliptic curve cryptography)

2012-02-07 Thread Nikolay Elenkov
On Wed, Feb 8, 2012 at 12:30 AM, Raymond C. Rodgers wrote: > I don't know much about EC, but if the provided HTTPS support doesn't work > with it, you could always build your own class to implement a simplified > version of the protocol over your SSL/EC transport I think the bigger problem is tha

Re: [android-developers] Re: SSL/TLS and ECC (Elliptic curve cryptography)

2012-02-06 Thread Nikolay Elenkov
On Mon, Feb 6, 2012 at 6:12 PM, Kosmo Kosmorum wrote: > Thanks for your replay. > > We try to run this app on a Android 2.2, because it is the minimum > target we need to handle, so we don't know if this solution works with > other type of clients. If you want maximum compatibility, just use RSA.

Re: [android-developers] Action Bar icon sizes?

2012-02-05 Thread Nikolay Elenkov
On Mon, Feb 6, 2012 at 12:56 PM, Zsolt Vasvari wrote: > I guess Google cannot get the story straight: > > > The doc says that the Action Bar icon sizes should be 24, 32, 48 > square pixels for MDPI, HDPI and XHDPI, repsectively: > > http://developer.android.com/guide/practices/ui_guidelines/icon_d

Re: [android-developers] Re: In-App Billing always fails with “Reason: Took too long to deliver”

2012-02-04 Thread Nikolay Elenkov
2012/2/5 Kostya Vasilyev : > 4 февраля 2012 г. 18:17 пользователь Nikolay Elenkov > написал: > > >> >> Apparently they increased the Google >> checkout timeout, >> but it still happens. While this may be unavoidable, > > > Unavoidable? > > Does

Re: [android-developers] Re: In-App Billing always fails with “Reason: Took too long to deliver”

2012-02-04 Thread Nikolay Elenkov
On Sat, Feb 4, 2012 at 7:18 AM, John Coryat wrote: > Seeing that too on a couple of orders. Not a huge number though. A couple > today. > > Bad deal that. I also see the same users trying again and hitting the same > error. It's been said that the cause of this is payment gateways failing to resp

Re: [android-developers] SSL/TLS and ECC (Elliptic curve cryptography)

2012-02-04 Thread Nikolay Elenkov
On Fri, Feb 3, 2012 at 6:14 PM, Kosmo Kosmorum wrote: > I'm developing an android application which communicates with a web > server. We use HTTPS for this communication and we have also a client > certificate inside the android application for authentication. > > We created SSL certificates using

Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own

2012-02-02 Thread Nikolay Elenkov
On Fri, Feb 3, 2012 at 3:22 PM, Todd Grigsby wrote: > RPC and REST are both used to implement Web services, and that's where the > semantic similarities end.  I only brought it up because Amazon touts > DynamoDB as REST, but it's anything but. At least the docs don't say it's REST, but some marke

Re: [android-developers] Re: In-App Billing Tracking By Android Market

2012-01-31 Thread Nikolay Elenkov
On Wed, Feb 1, 2012 at 2:56 PM, Mark Carter wrote: > > However, please note that non-paid app countries (e.g. China and Taiwan) > cannot see free apps that use in-app billing. Which kind of defeats the purpose of trying to have a single app. If you try to use IAB, you will get an error if it's no

Re: [android-developers] Re: Poll: how many of you use a backend service or roll your own

2012-01-29 Thread Nikolay Elenkov
On Mon, Jan 30, 2012 at 11:46 AM, Kristopher Micinski wrote: > > Right, right.  I don't think that this is extremely Android specific, > but I think that Android apps are much more likely to do restful > communication with a backend than standard apps.  Maybe this hasn't > been your experience, b

Re: [android-developers] How can I install a CA root certificate on Android 2.3.4?

2012-01-27 Thread Nikolay Elenkov
On Wed, Jan 25, 2012 at 4:56 AM, Rene wrote: > Hi. > > Where I work use an internal CA root. One service attached to this CA > is the exchange, then I need to sync my android device with email, > calendar, contacts, etc. > > How can I install a CA root certificate on Android 2.3.4? > Unless you

Re: [android-developers] When to use the 'App Engine Connected Android' wizard?

2012-01-23 Thread Nikolay Elenkov
On Thu, Jan 19, 2012 at 2:39 AM, Tom wrote: > > I take it that this RPC method is the same method used by GWT,  So, the > intention to use GWT, is a major differentiator in the decision to use this > wizard.  Conversely, this RPC method is not very portable - if you might > need to develop an iPho

Re: [android-developers] Possible race condition whlie installing an application

2012-01-21 Thread Nikolay Elenkov
On Sat, Jan 21, 2012 at 7:36 AM, Kostya Vasilyev wrote: > I just got an interesting exception on my Galaxy Nexus while doing the usual > change-compile-debug cycle with Eclipse: > > 01-21 02:19:03.340 E/AndroidRuntime(  667): FATAL EXCEPTION: main > 01-21 02:19:03.340 E/AndroidRuntime(  667): java

Re: [android-developers] How can I get a user-defined sysproperty in an Android app?

2012-01-19 Thread Nikolay Elenkov
On Fri, Jan 20, 2012 at 1:14 AM, petter wrote: > How can I get a user-defined sysproperty in an Android app? > > In a plain Java app I can do something like: > >     Looks more like Ant than plain Java... > And in main.java I do: > >    String gitSha1 = System.getProperty("git.revision"); > > Bu

Re: [android-developers] Re: Revoke permissions to access Google Accounts

2012-01-18 Thread Nikolay Elenkov
On Thu, Jan 19, 2012 at 2:07 PM, Kookamonga wrote: > Nikolay: > > Thanks for the explanation. While I was aware about the server/client > sides to AuthToken, I didn't know the specifics of how it worked on > the Android side... Very informative! Much appreciated. Also, I was > aware of that Google

Re: [android-developers] Re: Revoke permissions to access Google Accounts

2012-01-18 Thread Nikolay Elenkov
On Thu, Jan 19, 2012 at 12:40 PM, Kookamonga wrote: > > Oh well, still no satisfactory answer. (To tell you the truth, I don't > understand the "broadcast receiver" answer... ) You only get what you pay for :) There's two sides of the OAuth token story: server side and Android (AccountManager) s

Re: [android-developers] Revoke permissions to access Google Accounts

2012-01-18 Thread Nikolay Elenkov
On Thu, Jan 19, 2012 at 11:56 AM, Kristopher Micinski wrote: > One of them is from my end, this is binary rewriting to retrofit apps > with enhanced security policies.. > > http://www.cs.umd.edu/~jfoster/papers/acplib.pdf > > another notable project is CRePE droid, which takes the platform based

Re: [android-developers] Revoke permissions to access Google Accounts

2012-01-18 Thread Nikolay Elenkov
On Thu, Jan 19, 2012 at 7:55 AM, Kristopher Micinski wrote: > There are a few active research projects that target this direction, > however I'm guessing that this is not what you are interested in :-). Could you please share those links? -- You received this message because you are subscribed

Re: [android-developers] Revoke permissions to access Google Accounts

2012-01-18 Thread Nikolay Elenkov
On Thu, Jan 19, 2012 at 9:42 AM, TreKing wrote: > On Wed, Jan 18, 2012 at 4:41 PM, Kookamonga wrote: >> >> how a *USER* would be able to revoke access he/she had granted to an app > > > Clear the app's data? Uninstall the app? Those are stored in a system DB, so clearing won't work. Uninstalling

Re: [android-developers] again: App Engine connected *Android* project: someone please help me understand this code

2012-01-18 Thread Nikolay Elenkov
On Wed, Jan 18, 2012 at 11:11 PM, John Goche wrote: > > > On Wed, Jan 18, 2012 at 2:21 AM, Nikolay Elenkov > wrote: >> >> On Wed, Jan 18, 2012 at 7:00 AM, John Goche >> wrote: > >> We generate the cookie from the token somehow. >> > >> T

Re: [android-developers] again: App Engine connected *Android* project: someone please help me understand this code

2012-01-17 Thread Nikolay Elenkov
On Wed, Jan 18, 2012 at 7:00 AM, John Goche wrote: > > In AccountsActivity.java we have methods getAuthToken() and getAuthCookie(). > Basically > the AccountManager takes care of storing the token information together with > the account > and we store the cookie in preferences together with our de

Re: [android-developers] Re: getExternalFilesDir() on Acer Iconia Tab A500

2012-01-16 Thread Nikolay Elenkov
On Mon, Jan 16, 2012 at 10:57 PM, EstelKay wrote: > Hey Nicolay > where'd you find the methods "getSecondVolumeStorageDirectory" and > "getThirdVolumeStorageDirectory"? > I can't find them in the documentation or access them in Eclipse with > regular SDK. > Is there any special library I have to i

Re: [android-developers] change of password in an android keystore

2012-01-11 Thread Nikolay Elenkov
On Thu, Jan 12, 2012 at 12:57 PM, bob wrote: > How do you change the password in an android keystore? More details? Assuming by 'android keystore', you mean a Java keystore file, load it first, and then specify a different password when you save it. http://docs.oracle.com/javase/6/docs/api/java/

Re: [android-developers] Re: Giving away my book: "Genius Android Marketing"

2012-01-10 Thread Nikolay Elenkov
On Wed, Jan 11, 2012 at 2:50 AM, scp89 wrote: > Due to the great response, I am giving 24 more hours to get your name > in! I will cut off the contest and give away 3 copies to random > readers around noon EST on Jan 11 2012. > Cool. Sign me up. If I don't win, I might just buy it :) -- You rec

Re: [android-developers] Re: SSL Client Authentication Broken in Android 4.0

2012-01-10 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 6:59 PM, Carl Minden wrote: > There certainly were no exceptions. I guess I might have missed a > warning but I don't think so. > Looking at the code, there don't seem to be any warning either. However, the ICS code is actually checking the certificate signature algorithm

Re: [android-developers] Re: SSL Client Authentication Broken in Android 4.0

2012-01-10 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 6:14 PM, Carl Minden wrote: > Hmm, if there was a parse error I wonder why no exception was thrown, > as far as I can tell it just silently failed and didn't send the cert > to the server. Because the framework code swallowed it? Did you see anything suspicious in logcat (

Re: [android-developers] Re: Application#onCreate() called more than once?

2012-01-10 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 5:33 PM, srihari babu wrote: > Is there any remote service kind of thing is there? > Since i have observed this kind of behaviour in my application, in which i > used to create remote service. > On starting remote service, application onCreate method got executed. > No, no

Re: [android-developers] Re: SSL Client Authentication Broken in Android 4.0

2012-01-10 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 4:32 PM, Carl Minden wrote: > when I made the certificate in openssl I did not call X509_sign() to > sign it...for my use case it didn't need to be signed so I hadn't > bothered. > I see. If it's not signed, it not technically a certificate, so it's funny that it worked be

Re: [android-developers] Google App Engine and Users API and android

2012-01-09 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 3:25 PM, Arun C G wrote: > Hi Brad, Xavier, > > I saw your video on the Appengine-Android eclipse plugin.  It is precisely > what we need for our project. Why did you decide it's a good idea to hijack this thread to post an unrelated question? -- You received this messag

Re: [android-developers] Re: SSL Client Authentication Broken in Android 4.0

2012-01-09 Thread Nikolay Elenkov
On Tue, Jan 10, 2012 at 3:12 PM, Carl Minden wrote: > > > On Jan 8, 9:04 pm, Nikolay Elenkov wrote: >> Are you using a self-signed certificate for the server? If you are, you >> need to either add it to the system trust store, or pass your custom >> trust store to  

Re: [android-developers] Proguard fails on second run with Conversion to Dalvik format failed with error 1

2012-01-09 Thread Nikolay Elenkov
On Mon, Jan 9, 2012 at 7:59 PM, Stephan Wiesner wrote: > Export of signed APK works exactly once! > On second run (no changes in the code or the configuration) I get an error > (see below) > This happens on different apps, even  newly created with no custom code of > mine at all, and on different

Re: [android-developers] ICS context menu replacement

2012-01-09 Thread Nikolay Elenkov
On Sun, Jan 8, 2012 at 7:01 AM, Patrick Julien wrote: > > What are these called?  I'm tired of calling them "triangle" thing menu. Context actions are replaced by action modes since Honeycomb. They work similarly on ICS. http://developer.android.com/reference/android/view/ActionMode.html > > W

Re: [android-developers] SSL Client Authentication Broken in Android 4.0

2012-01-08 Thread Nikolay Elenkov
On Mon, Jan 9, 2012 at 8:34 AM, Carl Minden wrote: > I have an Android app which uses an SSLSocketFactory to load a pkcs12 > certificate and use that certificate to perform SSL Client > authentication with my server. This process worked perfectly on > Android 2.1, 2.2, and 2.3, but when I attempt

Re: [android-developers] Google App Engine and Users API and android

2012-01-08 Thread Nikolay Elenkov
On Mon, Jan 9, 2012 at 1:18 AM, Kostya Vasilyev wrote: > > Google I/O 2011: Android + App Engine: A Developer's Dream Combination > > The video covers this plugin for Eclipse: > > http://code.google.com/eclipse/ > > ... which makes it very easy to create Andorid apps that talk to a GAE > backend,

Re: [android-developers] Google App Engine and Users API and android

2012-01-08 Thread Nikolay Elenkov
On Sun, Jan 8, 2012 at 9:24 PM, John Goche wrote: > > Hello, > > I am still trying to authenticate to app engine using  google accounts > and would like to figure out the details of how such authenticator works. > How do I detect in my servlet that the user has authenticated with > google accounts

Re: [android-developers] Re: HttpURLConnection + keep alive timeout? (the way forward starting with gingerbread)

2012-01-07 Thread Nikolay Elenkov
On Sun, Jan 8, 2012 at 7:37 AM, Jonathan S wrote: > There is setConnectTimeout(int) - Sets the timeout value in milliseconds for > establishing the connection to the resource pointed by this URLConnection > instance. > There is setReadTimeout(int) - Sets the timeout value in milliseconds for > rea

Re: [android-developers] Google App Engine and Users API and android

2012-01-07 Thread Nikolay Elenkov
On Sun, Jan 8, 2012 at 1:32 AM, John Goche wrote: > > Now that you have mentioned AccountManager I have found the following site: > > http://gnuc.in/resources/archives/1404 > > I don't know much of what this token is or what it is for. You should read up on it. > At the moment I > am not > auth

Re: [android-developers] Google App Engine and Users API and android

2012-01-07 Thread Nikolay Elenkov
On Sun, Jan 8, 2012 at 1:08 AM, John Goche wrote: > I am using google App Engine. I need my users to authenticate > prior to being able to access the JDO objects on my servlet. Once > authenticated I need to match their usernames with fields in my > JDO POJOs to see whether they can perform certa

Re: [android-developers] HttpURLConnection + keep alive timeout? (the way forward starting with gingerbread)

2012-01-05 Thread Nikolay Elenkov
On Fri, Jan 6, 2012 at 3:31 AM, Kristopher Micinski wrote: > On Thu, Jan 5, 2012 at 11:26 AM, Mark Wyszomierski wrote: >> Is there a way for us to increase this timeout? >> >> Thank you >> > > Sorry if I didn't answer your original question but just post a > comment: it seems that this eventuall

Re: [android-developers] Application#onCreate() called more than once?

2012-01-03 Thread Nikolay Elenkov
On Wed, Jan 4, 2012 at 4:16 PM, Mukesh Srivastav wrote: > You need to instance of your Application Class (ACRA) where ever you are > using. > No offence, but do try to read posts before answering. ACRA is not my application class, if you don't know what it is, Google it. -- You received this me

[android-developers] Application#onCreate() called more than once?

2012-01-03 Thread Nikolay Elenkov
There was a recent thread that states that there is only one Application instance per-APK-per-process. Therefore, Application#onCreate() should be called only once, but I am getting an error that suggest it's called twice: once from the app, and once from a widget broadcast receiver. Is this

Re: [android-developers] Java Key store in Android

2012-01-03 Thread Nikolay Elenkov
On Tue, Jan 3, 2012 at 11:49 PM, chander wrote: > > please explain me in brief so that i can save my key inside this > KeyStore and if possible give me some links and resources also. so > that i can move further to accomplish my task. > http://docs.oracle.com/javase/7/docs/api/java/security/KeyS

Re: [android-developers] ACRA - a little humor

2012-01-02 Thread Nikolay Elenkov
On Tue, Jan 3, 2012 at 1:17 PM, Zsolt Vasvari wrote: > I use ACRA for crash reporting and I ask the users what they were > doing when the crash occurred. > > This one guy writes: "I was in a lift" This is actually very relevant :) The lift probably didn't have 3G reception, however, > > Waiting

Re: [android-developers] Running keytool for MD5 Fingerprint

2011-12-31 Thread Nikolay Elenkov
On Sat, Dec 31, 2011 at 11:08 PM, John Raftery wrote: > Hi, I've got keytool sitting in the jdk, and it works when I use > eclipse to automatically sign an application package. However, I'm > struggling to run keytool to get an MD5 Fingerprint. When I go to the > jdk bin folder and try to run keyt

Re: [android-developers] JMS

2011-12-29 Thread Nikolay Elenkov
On Thu, Dec 29, 2011 at 5:45 AM, Mario Giammarco wrote: > So I need that my android app can use JMS or openwire, or AMQP (if I find a > java broker for it). > > Get the client jars for your JMS implementation, build an Android app, test if it works. If they are not using JDK API's not included i

<    1   2   3   4   5   6   7   8   9   >