[android-developers] Tutorial for Using Twitter API v1.1 in Java for Android

2014-02-09 Thread Roger Podacter
FINALLY! Great tutorial. I've looked forever to find this type of twitter v1.1 sample using http and not the twitter4j or similar library. Good work and thanks. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: why doesn't google provide us a pure C/C++ SDK for android?

2011-05-18 Thread Roger Podacter
Is coding in Java and the virtual machine environment really losing that much efficiency over a pure native c++ OS? I've always been curious about this. On May 18, 12:38 pm, Dianne Hackborn hack...@android.com wrote: Having to maintain two parallel APIs that try to keep fidelity with each other

[android-developers] Re: Service stops after 10 minutes of standby

2011-03-22 Thread Roger Podacter
at 11:14 PM, Roger Podacter rogerpodac...@gmail.comwrote: I think there is something extra that needs to be added to keep your service running in deep sleep standby. Cause my service also stops running on my nexus one once the phone goes into deep sleep. My service actually takes 2

[android-developers] Re: set the data connection ON by code?

2011-03-22 Thread Roger Podacter
I'm not sure how to do this or if its possible. Android phones by default always have a data connection on and active by default. But if the user overrides this And turns data off, I don't know if that can be bypassed. On Mar 22, 8:57 am, guiridemeer guiridem...@gmail.com wrote: Hi, I am

[android-developers] Re: Service stops after 10 minutes of standby

2011-03-21 Thread Roger Podacter
I think there is something extra that needs to be added to keep your service running in deep sleep standby. Cause my service also stops running on my nexus one once the phone goes into deep sleep. My service actually takes 2 second sample readings of battery current so it would be nice to see

[android-developers] Re: Activity lifecycle... still a mystery to me

2011-03-20 Thread Roger Podacter
No because I don't believe onDestroy would necessarily get called backing out of the activity. Only onPause would be guaranteed to be called. That activity's onDestrw would only get called at some random point in the future when the OS wants more memory. OnPause is the primary. At least that is

[android-developers] Re: Urgent and Alarming battery management problem. Google please do something about it.

2011-03-16 Thread Roger Podacter
I argue that this issue is a fundamental trait of the way the android OS is written and operates. By default, a brand new android phone keeps an always-on data connection, and all the Google services are constantly talking via data in push mode. The iPhone, or a symbian phone, do not initiate a

[android-developers] Re: Urgent and Alarming battery management problem. Google please do something about it.

2011-03-15 Thread Roger Podacter
Thanks for this post and these app recommendations. I've been saying this for months, the reason android phone get such poor battery life is due to the always on data connection and all the apps and services constantly hitting data. Even the Google services alone, you have gmail, calendar,

[android-developers] Re: How to load zimage in android.

2011-03-15 Thread Roger Podacter
You have to compile your kernel, this will spit out a zimage. Then just do: Fastboot flash zimage path to your zimage It's case sensitive. On Mar 14, 8:03 am, wannabeguru jman...@gmail.com wrote: The message appear sending 'zimage' (2578 KB)... OKAY [  0.162s]           writing 'zimage'...

[android-developers] Re: TabView, ListActivity Problem

2011-03-14 Thread Roger Podacter
your layout for your tabhost app doesnt look quite right. i'm not sure why you have your linear layout and scroll view in that particular location. but what should fix it is the following. start fresh with the tab host layout the way the tutorial sample app comes loaded. then, at the very end

[android-developers] Re: Activity lifecycle... still a mystery to me

2011-03-12 Thread Roger Podacter
I recently wrote my first android app, and I too did not grasp the life cycle functions and they just didn't seem to work correctly, or the way I thought they should based on the graph. Here's my learned knowledge from writing my app. OnPause and onResume turned out to be by far and above the

[android-developers] Re: Install % drop again?

2011-03-09 Thread Roger Podacter
I really think it is just an auto sweep that corrects the installed base numbers to account for uninstallations performed outside the market. If I remove an app on my phone, but not connected to the web, the market service must pick that up at a later date. I think Google does sweeps like this in

[android-developers] Re: Can't properly stop a thread

2011-02-09 Thread Roger Podacter
Have you tried using onPause rather than onDestroy? Not sure that helps this situation. But destroy does not get called too often. But on pause is guaranteed to get called every time the user presses the home button, or back, etc. On Feb 9, 12:36 pm, Kaloian Doganov doga...@projectoria.bg wrote:

[android-developers] Re: How to change the background color of ToggleButton?

2011-01-28 Thread Roger Podacter
I was interested in doing something like this as well. My app has 6 toggle buttons in a row on one line, and it doesn't quite fit on portrait screen. I wanted to make a custom toggle button, color, width, etc. You could also make your own state-list drawable I think It's called. Anyway in the

[android-developers] Re: Battery usage measurements

2011-01-21 Thread Roger Podacter
might be able to persuade them. Thank you for all your replies. Best regards, Filip Havlicek 2011/1/20 Roger Podacter rogerpodac...@gmail.com there are ways to do what you want, at least on the nexus one, with just the battery, its driver, and the IC fuel gauge inside the battery

[android-developers] Re: Battery usage measurements

2011-01-21 Thread Roger Podacter
so all i really did is figure out how to call the read and write function of the fuel gauge chip inside the nexus one battery, so that on command you can read or write to any of the 80 register addresses. lot's of interesting other things we are doing with this, but not really related. but this

[android-developers] Re: Battery usage measurements

2011-01-20 Thread Roger Podacter
there are ways to do what you want, at least on the nexus one, with just the battery, its driver, and the IC fuel gauge inside the battery. a recent project i've been playing with does just that, but it involved root access which is probably not what this forum is all about. nonetheless, for the

[android-developers] Re: Traceview + performance problem

2011-01-20 Thread Roger Podacter
honestly i've found that scrolling around most any view, app, wherever, spikes the CPU pretty much to the same levels your traceview is showing. perhaps you just never noticed it before? or have you specifically compared it against anything to see? On Jan 19, 11:38 pm, b_t bartata...@gmail.com

[android-developers] Re: Help with Null Pointer Exception Error

2011-01-19 Thread Roger Podacter
in the background whether the activity object is present or not. If you need to do background tasks that are more intimately connected with the activity use an inner AsyncTask. Jonathan On Jan 18, 10:44 pm, Roger Podacter rogerpodac...@gmail.com wrote: OK so I successfully got my app working with a few

[android-developers] Re: Help with Null Pointer Exception Error

2011-01-19 Thread Roger Podacter
, and just thought to do the same. but i'm beginner so its likely very wrong. thanks for the help everyone:). On Jan 19, 9:25 am, Kostya Vasilyev kmans...@gmail.com wrote: 19.01.2011 20:15, Roger Podacter пишет: I thought that because i was referencing the activity that it had to be public

[android-developers] Re: Help with Null Pointer Exception Error

2011-01-19 Thread Roger Podacter
STATIC, and now the service does indeed populate the graph and collect the data in the background. now the next step is doing it proper, make sure it doesnt consume CPU, and make it all cleaner. thanks guys! On Jan 19, 10:29 pm, Roger Podacter rogerpodac...@gmail.com wrote: well i tried switching

[android-developers] Help with Null Pointer Exception Error

2011-01-18 Thread Roger Podacter
OK so I successfully got my app working with a few real-time graphs. I do all of my graph updating in my one activity of my tabbed app. However I wanted to now move the updating of my graph data into a service such that the data can still be collected and populated while the app is in the

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-07 Thread Roger Podacter
the work is there done already. Hope this helps a little. On Jan 7, 8:00 am, Jay j.gato...@gmail.com wrote: I see, I'll take another look. Thanks, On Jan 6, 5:14 pm, Roger Podacter rogerpodac...@gmail.com wrote: what doesnt make sense?  i'll use the two commands we used as example, cat

[android-developers] Re: Disable Antenna

2011-01-06 Thread Roger Podacter
I can think of a bunch of good or fun ideas if I could limit to one specific frequency, maybe for the geeks. But still. Maybe testing the 850mHz signal on ATT in my area, for building penetration of coverage distance compared to 1900mHz. Too bad that low level specific hardware isn't open. The

[android-developers] Re: Open Source code into Eclipse

2011-01-06 Thread Roger Podacter
have you used github before? (sorry i had to ask). all you do is git clone path of the git repo you want and then that code is now downloaded to whatever folder you are in. go into eclipse and import, project from existing source, and that's it. you may have to clean the project to remove

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-06 Thread Roger Podacter
that commands you are executing will continue to work in the future. On Tue, Jan 4, 2011 at 1:34 PM, Jay j.gato...@gmail.com wrote: This is exactly the kind of stuff I was looking for. I'll dig in, thanks. On Jan 3, 11:25 am, Roger Podacter rogerpodac...@gmail.com wrote: i just replied

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-04 Thread Roger Podacter
I actually just used this in my app. I had to make terminal commands etc. Some awesome, Epson made something for us to use called shellcommand (just Google it). You can see it used in our source code if you want. It works great. https://github.com/R0gerP0dacter/BatteryCalibrator Just dig down

[android-developers] Re: Running adb logcat and dmesg commands from within my app.

2011-01-04 Thread Roger Podacter
i just replied to this thread but i guess i'm new so the post didnt go thru? i just used cat and echo commands in my app we just finished recently. the person above who mentioned getting the InputStream is correct. i cant paste in the entire code example, but if you search the web for