[android-developers] Re: Get E-164 format of contacts in Android API less than 16

2014-05-20 Thread Piren
I've used this before: http://code.google.com/p/libphonenumber/ This is how ICS does it. On Friday, May 16, 2014 1:08:21 AM UTC+3, Vijay wrote: > > Hi, > Did you find a solution to this issue ? > > I am stuck in the same situation. > > > > On Wednesday, December 4, 2013 9:48:13 AM UTC-8, Rahul Sh

Re: [android-developers] RelativeLayout issue

2014-05-11 Thread Piren
I've come across something like that before. RelativeLayouts do not like their children doing something like that (or asking to be aligned to the right/bottom). Just use a size variable for both the parent and child (see dimensions.xml), will save you the headache understanding android's layou

[android-developers] Re: Activity Back Stack and OutOfMemoryError

2014-05-11 Thread Piren
Android has this particular annoying and weird behavior: Once the heap inflates to a certain size, no matter how much of it is actually used, you can no longer allocate files that are larger than the remaining memory. my guess, you're there. you should make sure your previous activities use as l

Re: [android-developers] FFT algorithm

2014-04-22 Thread Piren
Haven't checked this group for a while, good to see you're still here :) On Tuesday, April 22, 2014 1:59:03 AM UTC+3, TreKing wrote: > > > On Mon, Apr 21, 2014 at 1:12 PM, Mahmoud Mortada > > > wrote: > >> I want an algorithm to analyze sounds working on android. >> > Cool. I want a unicorn that

[android-developers] Re: Strange Layout issue on two different devices with same screen size and resolution

2014-02-23 Thread Piren
The difference in scaledDensity is because the font size is different across devices. http://developer.android.com/reference/android/util/DisplayMetrics.html#scaledDensity Regarding the bad layout, post the xml/code relevant to the Published/Draft buttons On Thursday, February 20, 2014 2:35:03

[android-developers] Re: Android how to manage the text size for different screen sizes.

2014-02-04 Thread Piren
trial and error ...that's why the ADT GUI editor for eclipse shows you the layout in multiple resolutions/densities On Monday, February 3, 2014 2:11:40 PM UTC+2, 12169 wrote: > > Hi, > > suppose text of the textview looks very fine on 4.7 inch device having > screen density 2.0 and text size 1

[android-developers] Re: Android how to manage the text size for different screen sizes.

2014-02-02 Thread Piren
using sp/dp only gets you so far, if you need more customizations use the dimensions.xml to store different values for different screen sizes\densities. On Saturday, February 1, 2014 9:52:00 PM UTC+2, 12169 wrote: > > Hi, > > I have an application and text size looks very fine on 4.7 inch > de

[android-developers] Re: In ADT: Best Set of Emulator Devices to Cover Most Actuals?

2014-01-12 Thread Piren
FYI, that wouldn't cover anything really.. the emulator can emulate resolution differences and different hardware specifications (as in, memory size and availability of features) but it does nothing to actually verify that the app works on the device. You can try and match the AVD as closely as

[android-developers] Re: LinearLayout as child of ScrollView and View weight's are being ignored

2014-01-02 Thread Piren
If all you care about is just enforcing those proportions, extend a LinearLayout and override onMeasure to enforce the proportions yourself. On Wednesday, January 1, 2014 5:04:05 PM UTC+2, stanlick wrote: > > Thanks Doug! > > This is what I was thinking, but always like a second opinion. I think

Re: [android-developers] Re: Swipe app out of recent tasks permanently kills app (like force-stop) even though it's running background services!

2013-12-15 Thread Piren
how process lifecycles are > handled, likely to optimize memory usage, and at the same time Google's own > apps, including those built into the firmware, continue to run when they've > not been used (ever / for a long time). > > -- K > > > > 2013/12/15 Piren &

[android-developers] Re: Can Android apps get data from the smartphone's acclerometer while the phone is sleeping, or would the app cause a wake lock by monitoring the sensor's activity?

2013-12-15 Thread Piren
The app itself would need to keep the CPU awake, so even if there was some kind of low level channel to the accelerometer (maybe there is, i dont know) you'd still need to keep the phone up to process the information. (P.S, the app wouldn't cause a wake lock, it needs to take one) On Friday, Dec

Re: [android-developers] why does not android.content.SharedPreferences#getAll() return an unmodifiable map ?

2013-12-15 Thread Piren
Laziness? :) On Thursday, December 12, 2013 12:52:51 AM UTC+2, Mr&Mrs D wrote: > > > > On Wednesday, December 11, 2013 8:30:53 PM UTC+2, Harri J. Smatt wrote: >> >> I am quite sure this relates to the fact changing the values on a Map >> object, i.e on memory only, does not give too many options

Re: [android-developers] Re: Swipe app out of recent tasks permanently kills app (like force-stop) even though it's running background services!

2013-12-15 Thread Piren
First, i'll have to agree with Kristopher, you're being an asshole... tone down your rhetoric, people might be more inclined to help you. Second, you keep going on and on selling us what you think the swipe means and what users think the swipe means, who cares? the only thing that matters is wha

Re: [android-developers] Unlike previous versions, Paint.measureText() returns a rounded value in 4.4?

2013-12-12 Thread Piren
you can try using this instead: http://developer.android.com/reference/android/text/Layout.html#getDesiredWidth(java.lang.CharSequence, int, int, android.text.TextPaint) Or just copy the source code for Paint without the Ceil :) On Wednesday, December 11, 2013 8:28:09 PM UTC+2, Harri J. Smatt w

Re: [android-developers] How to call from Android Native Dialers, ignore other dialers

2013-12-04 Thread Piren
e, if more than one app does it, it is possible to get into a loop where you can't actually dial out (not even to emergency numbers, already had that happen to me) On Wednesday, December 4, 2013 3:34:01 PM UTC+2, Johnny wrote: > > Hi Mr. Piren, > > Thanks for your helpful sugge

Re: [android-developers] RelativeLayout: use layout_below, layout_centerVertical, android:layout_alignParentBottom

2013-12-03 Thread Piren
You checked this doesn't work on a device right? You haven't posted the RelativeLayout that holds them, i'm assuming it using match_parent and not wrap_content for the height. Either way, try wrapping the Relative Layout with a FrameLayout and pass View3 to that layout. On Tuesday, December 3

Re: [android-developers] How to call from Android Native Dialers, ignore other dialers

2013-12-03 Thread Piren
Although i agree with your statement that such an app can be really annoying, depending on what needs to be done. this might be mandatory. A good example of that is a number verification process, where the app needs to verify the phone number used on the device. The best way to avoid getting the

[android-developers] Re: Determine Application State (Foreground/Background) when onNewIntent() is called due to URL scheme

2013-12-03 Thread Piren
Try checking how much time passed between the onPause and onNewIntent, Not 100% accurate, but should work for you. On Wednesday, November 20, 2013 3:55:35 AM UTC+2, Piyush Hari wrote: > > onNewIntent() of MainActivity with launchMode 'singleTop' is called when > application is invoked using its

[android-developers] Re: Introspecting Android style in code

2013-11-24 Thread Piren
use this method instead http://developer.android.com/reference/android/content/Context.html#obtainStyledAttributes(int, int[]) On Saturday, November 23, 2013 6:09:22 PM UTC+2, Y2i wrote: > > I have a style > > > #8080 > [android-developers] Re: Selected a contact phone number
A couple of years ago i tried writing something similar... found out that while it is working fine on most devices, on some devices it failed miserably, especially if the user filtered the contacts (used the search bar)... that caused the returned values to be blank on some devices. After a whi

Re: [android-developers] Video streaming plus UI control update thread

I've done it and have had no issues what so ever (using a surfaceview). Regarding your code, your first approach (thread with sleep) is horrible, don't ever do that for any reason :) The second approach is the correct one which i have used myself with no issues. Since i see no reason why it wou

[android-developers] Re: getDensity returning 0 in attempt to create pixel density independant controls

Don't use the Canvas' density, use the Display's. On Tuesday, October 29, 2013 2:54:28 PM UTC+2, firebreather wrote: > > i'm attempting to draw pixel density and resolution independent controls > to the screen for my game. > > if I use screenWidth in declaring the size, the control's size wil

[android-developers] Re: does executable code change (improve) with increase in minSdkVersion declaration in manifest? is minsdk 11 declaration really needed for tablets?

Errr... don't know how i missed this - I was talking about targetSdk, not minSdk, :-| On Monday, October 28, 2013 6:09:24 PM UTC+2, Piren wrote: > > TreKing already addressed everything, so i'll just add: > > >> will raising the min to 11 change the execut

[android-developers] Re: Metro UI Button Animation

If you mean the way the Tiles depress, you can easily do it with a simple animation using a Camera and a Matrix. On Monday, October 28, 2013 12:11:26 PM UTC+2, sourabh wrote: > > Dear All, > > Is anyone having example for Metro like Button animation on Android. > > Regards, > Sourabh > -- You r

[android-developers] Re: developing with higer sdk than minimun target

; > On Wednesday, October 23, 2013 2:07:25 AM UTC-5, Piren wrote: > >> I think LINT has warnings now indicating use of API's higher than the >> minimum, but the best strategy is to revert back to the minimum SDK and see >> where the build fails and make sure that co

[android-developers] Re: does executable code change (improve) with increase in minSdkVersion declaration in manifest? is minsdk 11 declaration really needed for tablets?

TreKing already addressed everything, so i'll just add: > will raising the min to 11 change the executable code, improving the run > time for my games on version 11 and up phones and tablets? > No, in fact, just changing the minSdk to 11 without doing some code modifications would probably d

[android-developers] Re: "Not Licensed for this country" when paid app used in another country?

Sounds like a Google Play restriction, did you limit your app not to be distributed in the USA? On Thursday, October 24, 2013 2:52:02 AM UTC+3, Julian Bunn wrote: > > One of my paid app users, who bought the app in Australia, travelled to > the USA and tried to use the app there. When the app w

[android-developers] Re: AndroidPushNotification

wrote: > > Hi piren > > than you :) > > Using the following code Iam able to go to next activity and alertdialogue. > > > >Intent notificationIntent = new Intent(this, > NotificationReceiverActivity.class); > > //data received from the push notif

[android-developers] Re: AndroidPushNotification

push notification can do whatever you want, i assume you've added a notification when the push got in. So add an intent to the notification that launches an activity which will have a dialog (or look like a dialog). Regarding count, you can have a count on the notification icon, but not on the

[android-developers] Re: developing with higer sdk than minimun target

I think LINT has warnings now indicating use of API's higher than the minimum, but the best strategy is to revert back to the minimum SDK and see where the build fails and make sure that code is protected from running in that SDK version. P.S - Do notice that increasing the min api version to 1

Re: [android-developers] how to track the location continously...

service, that just seems dumb, since they should have > just stopped it using the facilities of that app anyway :-/, but I guess > none of that use case makes sense anyway. > > kris > > > > On Thu, Oct 17, 2013 at 9:07 AM, Kristopher Micinski > > > wrote: > >>

[android-developers] Re: Design Problem: Client <- CustomeData -> Service

If this is just a data object being shared by two apps, i'd define a base class with the shared information and extend it where needed. If operations are needed as well (or the data structure is different), I'd define an interface of the shared information and use two different implementations o

[android-developers] Re: Nested Window Activity

So basically you copied Android-Undergarment, changed the class/package name, removed the copyright notice and now you want people to help you take that code and make something out of it? *picture of bear* : how 'bout no. On Thursday, October 17, 2013 9:09:28 AM UTC+3, Dilip Kumar Chaudhary wro

Re: [android-developers] how to track the location continously...

> > A foreground service is sort of the way you build apps that live > indefinitely. > I wouldn't say that, foreground services die like everything else... they are persistent little buggers, but it doesn't take much to get rid of them. Especially for the app-killer-click-happy users that think

[android-developers] Re: Selecting an radio button item in a multi page list

when I select a list item either by clicking > on the radio button or by tapping directly on the list item? > > Thanks! > > On Monday, October 14, 2013 10:27:00 PM UTC+8, Piren wrote: >> >> You're not really supposed to use the Views/ListView for such >> inf

[android-developers] Re: Forcing roboto font

thats what he meant... instead of setting the typeface for every TextView in the app, you subclass TextView, set the typeface on it and then use that one instead of TextView. Makes it much easier to manage fonts app wide. On Tuesday, October 15, 2013 10:09:30 AM UTC+3, Jacky.Liu wrote: > > > it'

[android-developers] Re: Forcing roboto font

Subclass and set the font manually... no system wide option. On Monday, October 14, 2013 4:15:51 PM UTC+3, onigunn wrote: > > Hi there, > > currently I'm developing an android app which uses the beautiful default > font "Roboto". Now by testing on some devices I noticed following: On > Samsung

[android-developers] Re: Selecting an radio button item in a multi page list

You're not really supposed to use the Views/ListView for such information, rather the Adapter (ListViews recycle views, the amount of children they have fits the amount items they can fit in the screen, not the amount of items in the backing store). You can however still use the views if you als

Re: [android-developers] lifecycle through onConfigurationChanged()

lol On Tuesday, October 8, 2013 9:02:25 PM UTC+3, TreKing wrote: > > > >> Thank you very much for your corporations. >> > > You've taken our corporations!?!?!? > > > - > TreKing

[android-developers] Re: Put an app on site and not on market

Where's the question here? If you don't want to put it in the market, don't put it in the market. if you want to put it on your website, put it on your website. On Sunday, October 6, 2013 8:26:11 AM UTC+3, Pankaj Deshpande wrote: > > Hi, > I want to put an application on my website that can be

[android-developers] Re: How to make a Service That will periodically send the Users Location on a server

this subject has been discussed quite a lot, i suggest you search the net and this forum for answers. the short list of things you need to know: - use location change listeners for changes when the device is awake and responding - use alarms to wake the device for periodical updates - Since a s

Re: [android-developers] how to create button with one image background and one image inside and text

esday, October 2, 2013 8:01:53 PM UTC+3, Amit Mangal wrote: > > U r not understanding problem again. > I m not a student i am a developer if i will study company will hire some > one else to work. I have to work i completed my study long before now i do > development. > T

Re: [android-developers] how to create button with one image background and one image inside and text

understand ? can you please explain ? > > thanks > > > On Tue, Oct 1, 2013 at 2:36 PM, Piren >wrote: > >> it's actually a wee bit more complex (and by complex i mean - still in >> the realm of a developer that started android development 3 days ago), if &

[android-developers] Re: editTextBackground

yeah, you need to follow the styles.xml and drawables defined by the android platform. eventually they will lead to files named editbox_background_.9.png ... you can find all of these in your SDK (platforms/android-/data/res/drawable-/ On Tuesday, October 1, 2013 2:44:49 AM UTC+3, bob wrote: >

Re: [android-developers] how to create button with one image background and one image inside and text

it's actually a wee bit more complex (and by complex i mean - still in the realm of a developer that started android development 3 days ago), if you want a proper red background for the number... but this question is so basic he should try to figure it out on his own. On Tuesday, October 1, 201

[android-developers] Re: Get the camera preview frame rate

http://developer.android.com/reference/android/hardware/Camera.Parameters.html#getPreviewFpsRange(int[]) On Monday, September 30, 2013 9:19:41 PM UTC+3, TimeManx wrote: > > I'm having a very hard time figuring this out. I'm using a SurfaceView to > display the camera preview using camera.setPrevi

[android-developers] Re: Public developer response

Change it to say thanks :) On Monday, September 30, 2013 1:08:17 PM UTC+3, A.F. wrote: > > Some month ago an user wrote a comment on play store for my app. It says > it doesn't work anymore in his city. > I replied politely that there apparently were no problems for his city, > and I ask him to

Re: [android-developers] Re: Strange SQLite error, possibly in native code?

> Yes, that's what just did in a dev build, will see it helps. >> >> Curiously enough, the framework's SQLiteQueryBuilder uses a StringBuilder >> that is initially 120 chars long, and the corruption happens at 112'th >> character. >> >> I've long

[android-developers] Re: Determine when view/views below my view have changed

onDraw should be the proper indicator of when you should update your view (though it will be called for any update to your view, not only just when the background changes). I'm not sure there's even a way to distinguish who's "responsible" for the refresh - your own changes or background changes

Re: [android-developers] Unexpected SecurityException

As far as i know, it's not the device, it's the OS. It fails on 4.2 and above. On Sunday, September 29, 2013 8:25:40 PM UTC+3, Harri Smått wrote: > > Hi, > > I would be more interested why other devices you've ran this code on (?) > have not caused similar exception. According to docs > Intent.

[android-developers] Re: Strange SQLite error, possibly in native code?

never came across such a report, but if it's isolated to that specific query maybe try replacing it with a rawQuery instead and see if it makes a difference. On Sunday, September 29, 2013 1:05:26 AM UTC+3, Kostya Vasilyev wrote: > > Hello, > > One of my users reports a crash like this: > > andr

Re: [android-developers] Html.fromHtml limitations.

I've used both methods (webview and html textview) and found that both had their issues (especially with aligning images with text across screen sizes)... eventually nothing beats just doing it all using separate ui elements. On Saturday, September 28, 2013 3:02:54 AM UTC+3, Nathan wrote: > > >

[android-developers] Re: debugging break pint not hittting

check you didnt forget android:debuggable="true" in the manifest On Friday, September 27, 2013 3:00:22 PM UTC+3, Sadhna Upadhyay wrote: > > Hi guys, >m trying to debug my codebut it is not hitting any line ,but in other > project its working then why it is not working in one project please le

[android-developers] Re: Honeycomb / Fragments: can't remove a fragment added in XML layout

I hope he was not still waiting for that answer. On Tuesday, September 24, 2013 3:39:14 PM UTC+3, Adarsh Pandey wrote: > > use > > findViewById(R.id.fragment).setVisibility(View.GONE); > > On Wednesday, March 9, 2011 3:34:31 PM UTC+5:30, clemp6r wrote: >> >> Hi, >> >> I can't remove a Fragment t

[android-developers] Re: How to get notified about the call reception at receiver side in Android

Register for *android.intent.action.PHONE_STATE*, check when the state changes from Ringing/Off_Hook to Idle, that's when all calls are disconnected. On Tuesday, September 17, 2013 1:37:44 PM UTC+3, Abhishek Kumar Gupta wrote: > > Hi All, > > I want to exit(close) my application, when user at

[android-developers] Re: On which Android version is it safe to use Hindi?

There's no official documentation, they dont list it for some reason. As far as i know, 4.03 added Indian languages support (it was available on earlier versions for localized ROMs). You can just add the translations to the app and either: - Add a user option to override locale in case the font d

Re: [android-developers] Re: Problems with Custom Image View

: > > @Piren, > The xml for the row is as below. Please take a look. > > > http://schemas.android.com/apk/res/android"; > > android:id="@+id/rl_root" > > > android:layout_width="fill_parent" > andr

Re: [android-developers] Re: How to dismiss nested dialogfragment correctly after rotation?

sk(Fragment*A* fragmentA){ > fragment = fragmentA; > } > If there is any mistake, please feel free to correct me. > > > Piren於 2013年9月15日星期日UTC+8下午8時08分31秒寫道: > >> and did you use that constructor? because the code snippet shows you've >> used the

Re: [android-developers] Re: How to dismiss nested dialogfragment correctly after rotation?

just put some snippet. The "MyAsyncTask > having a constructor named GetTokenAsyncTask" is a typo, the constructor > should named MyAsyncTask. > As for ProgressFragment, I use its toString() method to check using > Log.d(). They are the same across rotation. > > >

[android-developers] Re: How to dismiss nested dialogfragment correctly after rotation?

It's hard to follow your code since it seems some of it is incorrect (like MyAsyncTask having a constructor named GetTokenAsyncTask) and some of it is missing... Either way you should verify you actually used that constructor (in the current code you don't, so the member "fragment" is null).E

[android-developers] Re: Problems with Custom Image View

How did you define the xml for the row item? It would also be helpful if you turn on the developer option to show layout borders and provide another screen cap On Sunday, September 15, 2013 6:06:54 AM UTC+3, Napster wrote: > > The paste is in here : http://paste.ubuntu.com/6108587/ > And here is

[android-developers] Re: emulator is very very very slow

On Wednesday, September 11, 2013 6:47:16 AM UTC+3, drhu00 wrote: > > Please dowload our new Free Game "Skiing Go" > > https://play.google.com/store/apps/details?id=com.quickstartandroid.skiin

[android-developers] Re: Becoming a Top Developer

you need to befriend them harder :-) like, befriend the fuck out of them :-P meeting the right people can get you things (we got the dev reply option like a year in advance and even a free ticket to Google I/O) I think it's more of a thing where they use it to get publicity to themselves... if

Re: [android-developers] android how to exit the application?

but it's definitely the case that many people who ask about > "quitting" the app (as the OP asked here) need to read this. > > Kris > > > On Mon, Sep 9, 2013 at 6:34 AM, Piren >wrote: > >> that post is about killing an app, not exactly

[android-developers] Re: SMS Receiver Issue

The SMS Receive broadcast is an ordered broadcast. Handcent catches the event before you and stops it from being propagated. change your receiver's priority to a higher one and it should work. On Saturday, September 7, 2013 7:34:22 PM UTC+3, fahad mullaji wrote: > > Guys, > > If user has insta

[android-developers] Re: android how to exit the application?

it depends on how you structure your application and how you expect it to behave. using StartActivityForResult and then passing a flag to finish previous activities (like Alex suggested) is very simple to implement and manage I myself am more fond of using an entrance activity to the app and usi

Re: [android-developers] android how to exit the application?

that post is about killing an app, not exactly the same thing. On Saturday, September 7, 2013 1:28:05 AM UTC+3, Kristopher Micinski wrote: > > You should read this thread: > > > http://stackoverflow.com/questions/2033914/quitting-an-application-is-that-frowned-upon > > Kris > > > > On Fri, Sep 6,

[android-developers] Re: Becoming a Top Developer

I think there was already a discussion about this before (or that i've read it on some other place)... the conclusion was "we have no fucking idea". there were "top developers" with barely any app submissions or high count of downloads. i think you're best route is to befriend a google advocate

[android-developers] Re: How to record calls? Or Is it possible to record calls?

yes On Monday, September 9, 2013 8:32:26 AM UTC+3, softy wrote: > > Is it still unspported ! > > On Saturday, January 24, 2009 11:45:17 PM UTC+5:30, Dave Sparks wrote: >> >> It is not possible to access call audio in the G1. This is a function >> of the firmware in the radio and DSP and is curren

[android-developers] Re: Read raw resource from library project using Context.createPackageContext()

It all depends on how the project is being built. Assuming you use eclipse (and its ant build) the shared resources are supposed (as far as i recall) to be merged into your package, so they're not really in the context of the "some.package" rather in "some.other.package" (which is why doing get

[android-developers] Re: How do I call a service, to retrieve data, from a content provider?

s, I guess this company > also was inspired by the same talk. > > Still I'm curious if there's a real reason to use a service only to call a > webservice? Maybe somebody sees a point which I'm missing. > > > > > > Am Dienstag, 20. August 2013 08:42:36

[android-developers] Re: How do I call a service, to retrieve data, from a content provider?

> > Because I want that once started, it will receive and process the > response, even if the user exits the app / the system kills it, etc. > That has nothing to do with Services though... any ASyncTask you start or any Thread you start will continue even if you exit the app. Services die jus

[android-developers] Re: Can not debug Galaxy s4 mini

run it on your development computer, not on the device. On Monday, August 19, 2013 5:15:58 PM UTC+3, MobileVisuals wrote: > > I did as Mukesh wrote, but it is still the same problem. I am using the > original USB cable. Isn't the ADB server running on the mobile device? If > so, do I have to

[android-developers] Re: Can not debug Galaxy s4 mini

you dont need a sim card. Try Mukesh's suggestion and try restarting the ADB server ("adb kill-server" and then "adb start-server"). Also, as a last option, be sure to use the original USB cable that you got with your device. I'm not sure why (or how it's even possible), but i've already notic

[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android?

But you're not asking about ListView or FastScroll... you're asking about Chrome for Android and writing HTML. On Monday, August 19, 2013 1:52:54 PM UTC+3, anaran wrote: > > > > On Monday, August 19, 2013 10:51:55 AM UTC+2, Piren wrote: >> >> How is

[android-developers] Re: Thoughts of the design and development in an android environment

First thing first, a "tab" is not a good shortcut for the word "tablet" since it already has meaning when it comes to android development (and any UI development actually), only halfway through your post i understood what you want. Regarding the rest of your post, it has nothing at all to do wi

[android-developers] Re: Can not debug Galaxy s4 mini

It's because it says the device is offline. disconnect it from the computer and plug it back in. if it wont change to online try switching USB ports. If still offline, restart the device. On Monday, August 19, 2013 11:14:29 AM UTC+3, MobileVisuals wrote: > > I can not debug my Galaxy s4 mini. "An

[android-developers] Re: How to achieve functionality of ListView FastScroll in Chrome for Android

How is this related to Android Developers? On Monday, August 19, 2013 3:25:05 AM UTC+3, anaran wrote: > > Hi All! > > I am trying to convert an app I wrote from a native android ListView with > FastScroll to an offline-capable web app. > > The stock Chrome on Windows scrollbar thumb allows me t

Re: [android-developers] Re: close on minimise application

: >>>> >>>> But how activity knows if user already authenticated. >>>> >>>> if I use static variable isAuthenticated. Value of this variable will >>>> "true" after application minimized. and the problem remains. >>&g

[android-developers] Re: close on minimise application

ser already authenticated. > > if I use static variable isAuthenticated. Value of this variable will > "true" after application minimized. and the problem remains. > > I think alone way to do this is handle of minimizing. > > среда, 14 августа 2013 г., 13:51:25 UTC+5

Re: [android-developers] want to be a game programmer.

You should follow this group more closely... evidence show the contrary ;-) I'm more inclined to: "There are no *good* programmers who dont know how to use Google!! :-D as for the OP: No, not necessary. On Saturday, August 17, 2013 12:21:20 PM UTC+3, Paul-Peter Tournaris wrote: > > There are

Re: [android-developers] JNI

you were already answered - in the libs folder under the proper architecture name, where it was placed by the build process. Also, you should just follow the samples provided. On Sunday, August 18, 2013 8:28:53 AM UTC+3, janvi wrote: > > Hi > > Ya .so with ndk built is given to me which I have to

[android-developers] Re: close on minimise application

that's a bad idea... unless your application is just one activity, it will probably piss your users off that they have to navigate it from the start every time it is being backgrounded. take mbanzon's idea - each activity will need to request the password if needed. You can do it easily by exte

[android-developers] Re: What is the use of services in Android?

Also, unlike a regular service, an IntentService does in fact run the task in the background. (one task at a time) On Thursday, August 8, 2013 4:05:07 PM UTC+3, Streets Of Boston wrote: > > For option 2, use an IntentSerrvice. Then you don't have to worry about > calling 'stopService'. It does i

[android-developers] Re: What is the use of services in Android?

Google made a mistake by saying: "A Service is an application component that can perform long-running operations in the background", since it makes you assume that it actually does something in the background, which it doesn't. T

[android-developers] Re: in-app purchase of another app?

BTW, my suggestion assumes that all the app versions use the same code base and are the same app. If you made 3 distinct apps, of course that wouldn't work for you :) On Sunday, August 4, 2013 10:28:57 AM UTC+3, Piren wrote: > > why not just have 3 options to buy in the In A

[android-developers] Re: in-app purchase of another app?

why not just have 3 options to buy in the In App purchase: - Lite to Pro Upgrade - Lite to Full Upgrade - Full To Pro Upgrade. You control which versions appear to each client according to their current version...With proper pricing, you might even consider everyone to upgrade to Pro directly

[android-developers] Re: Getting OutOfMemory Error while loading images in fragments. (Only on Android OS version 4.1.2 Jelly Bean)

Different versions handle memory differently, some might just have bugs that affect the way you handle your code. I'd check that you're not leaking any of the images (watch the memory allocation when switching fragments) Just load each image once it is needed for display. there are more than a

[android-developers] Re: Getting OutOfMemory Error while loading images in fragments. (Only on Android OS version 4.1.2 Jelly Bean)

Your images are not 2.3MB, their compressed data is... the images when loaded by Android are much more than that (their size according to android is basically their resolution times the bit depth per pixel you defined). The last image you loaded asked for 8.4MB alone... I assume that you don't a

Re: [android-developers] Re: Get the incoming caller name before phone starts to ring

was wondering how you've missed that ;-) On Wednesday, July 31, 2013 3:18:28 PM UTC+3, Kristopher Micinski wrote: > > Heh, this is also a good point, I was dumb not to point the OP in that > direction sooner :-) > > > On Wed, Jul 31, 2013 at 2:59 AM, Piren > > w

Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs

The Galaxy S (especially the i9000) is one of the shittiest devices i've worked on, without a doubt. On Wednesday, July 31, 2013 2:47:38 PM UTC+3, Omer Gilad wrote: > > No problem - you want practical examples, I have literally an endless > amount... > I will try not to collapse Google servers

Re: [android-developers] Dealing with 1000's of different devices, each one with its own bugs

Either you intentionally ignored the message of his post or you're playing dumb. No one is complaining about fragmentation (which sucks, but that's besides the point). We're talking about APIs not performing as they should.If you claim that this never happened to you, you're either lying, inexp

[android-developers] Re: Get the incoming caller name before phone starts to ring

what the hell? why are you scanning the entire DB and in such a bad fashion? You do know that the reason there's a ContentResolver is for you to run queries right? http://developer.android.com/reference/android/provider/ContactsContract.PhoneLookup.html You'll get the result instantly. On Tu

[android-developers] Re: Dealing with 1000's of different devices, each one with its own bugs

keep ping-ponging versions with > a user without wasting whole days on that... You need the device in your > hand. > And as an indie developer, it's practically impossible to get a hold of > many different devices. > > > On Sunday, July 28, 2013 12:47:30 PM UTC+3, Piren wro

[android-developers] Re: send message from class to activity

An Activity, like BroadcastReceiver is a class, so you've done it before. You just did it using existing mechanisms that make it simpler for you. You should read up on how to use BroadcastReceiver to send messages (it can listen to whatever you want), though the LocalBroadcastReceiver should be

[android-developers] Re: Dealing with 1000's of different devices, each one with its own bugs

Wrote a lengthy response but my browser decided not to post it, so here's the short version: - That's a known problem with android development, it was obvious about a couple of months after it came out. when the premise of the system is to be open and as varied as possible, this kind of issues

[android-developers] Re: Camera preview freezes when I press HOME button

haven't come across this issue myself but using Sleep is not the way to solve anything... I'd suggest you go the other route - When taking a picture put up a timer of the length it takes the slowest device to process the picture (let say, 3 seconds). If home is pressed in that time frame, do not

[android-developers] Re: make a VideoView loop seamlessly?

not really possible within the current framework (at least up to 4.0, i haven't checked if something new was added that allows it). On Thursday, July 25, 2013 5:46:02 AM UTC+3, bob wrote: > > Is there any way to make a VideoView loop completely seamlessly? > > The video seems to stutter a bit. >

[android-developers] Re: Menu Not Showing

it is very standard or possible is to show all actions in overflow > menu and actionbar buttons independently of the number of items, etc > > On Wednesday, July 24, 2013 10:00:01 AM UTC+2, Piren wrote: >> >> everything you need to know is here: >> http://developer.android

[android-developers] Re: Menu Not Showing

everything you need to know is here: http://developer.android.com/guide/topics/ui/menus.html On Tuesday, July 23, 2013 9:45:39 PM UTC+3, Felix Garcia Lainez wrote: > > Hi, > > The case is that I have several activities in which I use actionbar > successfully, showing different actions on top (wit

  1   2   3   4   5   6   >