Toshiba Thrive for sure works with USB-Ethernet (Amazon sells a
USB-ethernet adapter) with other low-draw devices as well on a passive hub
One issue I've run into thus far is the ConnectivityManager does not inform
you of loss of connectivity (it will however inform you of getting it)
Also, the
Fred Stluka wrote:
> I'm a big fan of keyboard shortcuts, and informative mouse actions
> like this, so I've documented what I think are the most useful ones
> for a couple of editors and systems:
>
However, the tip from this thread is not there.
--
Lew
--
You received this message becaus
I'm a big fan of keyboard shortcuts, and informative mouse actions
like this, so I've documented what I think are the most useful ones
for a couple of editors and systems:
Eclipse:
http://bristle.com/Tips/Eclipse.htm#eclipse_shortcut_keys
Intellij:
http://bristle.com/Tips/IntelliJ.htm#in
On Thursday, October 11, 2012 2:01:37 PM UTC-7, Mark Murphy (a Commons Guy)
wrote:
>
> On Thu, Oct 11, 2012 at 4:39 PM, Nathan >
> wrote:
> > Therefore, when I run it on 4.0, the buttons, textboxes, spinners, etc
> all
> > look like the Holo Theme.
> > When I run it on 2.x, they don't. They
There is an implicit throttling mechanism as of 4.1 but even then it's
bad. If you don't need to draw, don't draw. You're going to waste
battery.
On Thu, Oct 11, 2012 at 2:34 PM, bob wrote:
> As you may know, you can create a View subclass and then call invalidate()
> at the end of the painting m
As you may know, you can create a View subclass and then call invalidate()
at the end of the painting method.
This produces continuous updating.
Is this *really really* bad?
It sure is attractive due to its simplicity.
However, there is no explicit throttling mechanism, which can be a
Well, you have 120 bits of information, which is 15 bytes.
Maybe encode in base64 for a 33% increase in size?
15 * 1.33 = 20 bytes
On Thursday, October 11, 2012 12:31:08 AM UTC-5, rahul kaushik wrote:
>
>
> its an inspection app,So i have to have 120 check
> box for complete inspection.
On Thu, Oct 11, 2012 at 4:39 PM, Nathan wrote:
> Therefore, when I run it on 4.0, the buttons, textboxes, spinners, etc all
> look like the Holo Theme.
> When I run it on 2.x, they don't. They follow a simple gray theme on Nexus
> One but can look different according to device.
>
> Based on what I
On Thursday, October 11, 2012 12:35:29 PM UTC-7, RichardC wrote:
>
> Investigate ActionBar Sherlock:
> http://actionbarsherlock.com/
>
Done already, as I stated above.
You can just use the Themes you don't need to use the back-ported ActionBar
> as well.
>
I do need to use the back ported Ac
Oh, nice, thanks. BTW, on Mac, it looks like it is *Command* instead of *
CTRL*.
On Thursday, October 11, 2012 1:13:31 PM UTC-5, Kostya Vasilyev wrote:
>
> Ctrl + hover with the mouse, then select from a popup
>
> 2012/10/11 bob >
>
>> If you see something like R.layout.main in the code, is th
Investigate ActionBar Sherlock:
http://actionbarsherlock.com/
You can just use the Themes you don't need to use the back-ported ActionBar
as well.
On Thursday, October 11, 2012 7:14:09 PM UTC+1, Nathan wrote:
>
> I've been thinking about themes. I have read and watched a lot of how
> themes are
To array:
String teste =
"[[\"Title0\",\"Body0\"],[\"Title1\",\"Body1\"],[\"Title2\",\"Body2\"],[\"Title3\",\"Body3\"],[\"Title4\",\"Body4\"]]";
teste=teste.replace("[", "");
teste=teste.replace("]", "");
teste.split(",") <- array :P
2012/10/11 Rafael Maas
> simple way:
> String teste =
> "[[\"
simple way:
String teste =
"[[\"Title0\",\"Body0\"],[\"Title1\",\"Body1\"],[\"Title2\",\"Body2\"],[\"Title3\",\"Body3\"],[\"Title4\",\"Body4\"]]";
teste=teste.replace("[", "");
teste=teste.replace("]", "");
StringTokenizer separador = new StringTokenizer(teste, ",");
while(separador.hasMoreTokens
Yes, Eclipse
2012/10/11 Lew
> Kostya Vasilyev wrote:
>
>> Ctrl + hover with the mouse, then select from a popup
>>
>> bob wrote:
>>
>>> If you see something like R.layout.main in the code, is there an easy
>>> way to use that to jump to main.xml?
>>>
>>
> Pardon me, but of which editor or IDE ar
Kostya Vasilyev wrote:
> Ctrl + hover with the mouse, then select from a popup
>
> bob wrote:
>
>> If you see something like R.layout.main in the code, is there an easy way
>> to use that to jump to main.xml?
>>
>
Pardon me, but of which editor or IDE are we speaking?
I'm guessing Eclipse, but
I've been thinking about themes. I have read and watched a lot of how
themes are great and why you should do them, but don't yet have a
methodical way of doing them. And by doing it, I actually mean "give proper
instructions to a designer". I am not the right person to do it. Of course,
maybe I
Ctrl + hover with the mouse, then select from a popup
2012/10/11 bob
> If you see something like R.layout.main in the code, is there an easy way
> to use that to jump to main.xml?
>
>
> Thanks.
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Devel
If you see something like R.layout.main in the code, is there an easy way
to use that to jump to main.xml?
Thanks.
--
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.c
Karl Kristian Markman wrote:
> So here is the code I use to transform the Lat long to UTM ( in case
> anyone else wouders..)
>
> [code]
>
> public void convert (){
>
> double a = 6378137;
>
Strictly speaking, you should use a double constant to initialize a double
variable.
F
I'd like to stop/start my Android service based on the ACTION_SCREEN_OFF &
ACTION_SCREEN_ON intents.
ACTION_SCREEN_OFF - stop my service to conserve battery life.
ACTION_SCREEN_ON - start the service back up
I understand that I cannot register for ACTION_SCREEN_OFF &
ACTION_SCREEN_ON in the
Assuming you meant the device's screen sizes (you wrote "of a device", not
the screen size) then the sizes are correct for most of the time.
When the app is running on a device that has no physical buttons or running
on an ICS+ device while being targeted lower (thus causing the menu bar to
sho
I'm trying to make a routine that gets the width and height of a device in
inches:
Here's what I came up with:
public void get_display_size() {
DisplayMetrics metrics = new DisplayMetrics();
getWindowManager().getDefaultDisplay().getMetrics(metrics);
float width_in = metrics.widthPixels / metri
What in the world does this have to do with Android development?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Thu, Oct 11, 2012 at 6:56 AM, tj wrote:
> Hello all,
> we are working on one project in our company.
> one person is works on windows platf
I am Implementing In-App purchase in my application but I am facing some
difficulties in that like "onPurchaseStateChange"(CallBack metohod) never
got called and not getting any response from the server. Pleae help to
solve this .
Thanks
Umesh
--
You received this message because you are subs
Ok thanks, I'll look into this.
On Oct 10, 12:42 am, RichardC wrote:
> I think I am correct in saying that this cannot be done using the Android
> SDK (or NDK). However, if you are building your own device then the AOSP
> groups may be of some help:http://source.android.com/community/index.html
I implemented a widget for weather and news data.
Widget had location component,list view, dynamic backgorund images and
weather conditions with images.
My widget installed and work properly, then I made 50 rotate and working
another widget, then my widget gives that error "loading widget error"
A
*I'd start with this:*
*mlocManager.requestLocationUpdates (provider, 1000, 0, mlocListener);*
**
**
*Then, if you want to conserve energy, you can experiment with upping the
time and distance.*
**
On Thursday, October 11, 2012 7:41:03 AM UTC-5, sanjay wrote:
>
> I am developing an applica
It sounds like you will want to use SQLite and a ListView.
On Thursday, October 11, 2012 7:18:54 AM UTC-5, Anything wrote:
>
> Hello ,
> my Problem is: Thousand (1000) of data come from Database (Sql
> Server,mySql,Sqlite).
> than how it handle and display on screen.
> Please give me
You probably want to use the method SQLiteDatabase.rawQuery
-blake
G. Blake Meike
Marakana
The second edition of Programming Android is now on-line:
http://shop.oreilly.com/product/0636920023005.do
On Wednesday, October 10, 2012 10:23:26 PM UTC-7, ANKUR1486 wrote:
>
> Hi all
>
> i am trying
I believe the latter enables you to have multiple preference files if you
thusly desire.
In most cases, you will have one preference file, and the former will
suffice.
On Thursday, October 11, 2012 9:13:58 AM UTC-5, Mario Bat wrote:
>
> Hi, what is the difference betweent
> PreferenceManag
On Thu, Oct 11, 2012 at 10:13 AM, Mario Bat wrote:
> Hi, what is the difference betweent
> PreferenceManager.getDefaultSharedPreferences and
> getSahredPreferences(String name, int mode) ?
The first is the default (e.g., what PreferenceActivity will use). The
second uses a name that you supply.
Hi, what is the difference betweent
PreferenceManager.getDefaultSharedPreferences and
getSahredPreferences(String name, int mode) ?
I thought that the defaultSharedPreferences are someting like global
preferences that every application can manipulate. So lets say that I can
call a preference f
Hi
I am somewhat familiar with localization in android. For languages like
English, French, we can put a string.xml resource file in their separate
folder. But for languages that are not supported, like a local language in
some part of my country, how can I make a separate folder for it? How will
>When run on a Razr the app will be loading exactly the same apps
*When run on a Razr the app will be loading exactly the same assets
--
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@
Had a sudden influx of users recently, and from that I've discovered that
my app doesn't run on the Droid 4 or the Razr. It seems that it runs out
of memory, though the app runs fine on all other handsets (AFAIK),
including much older handsets. For example, it runs on the HTC Desire,
which h
Hello all,
we are working on one project in our company.
one person is works on windows platform while another using ubuntu for
development.
we need to connect same project via svn repository.
now the problem is we couldn't connect our server via ubuntu.
so we failed to connect our project via svn
I am developing an application that tracks the device's location specially
when it is moving. I am getting different response in Samsung and HTC
device having different OS version for same API call.
Here is my code.
private static final long HUNDERE_METERS = 100; // in Meters
private stat
On Thursday, 11 October 2012 17:43:02 UTC+5:30, Archana wrote:
>
> Hi, I have defined a service.
>
> I need to call startActivityForResult(intent,REQUEST_CODE) from this. I
> saw
>
> http://stackoverflow.com/questions/3448485/startactivityforresult-from-a-service
>
> But can someone explain me
Hi Archana
You can't do startActivityForResults in the service. I guess you want to do
something after user has enabled the bluetooth from the setting.For this to
achieve what you can do is write your code on OnResume checking the status
of the bluettoth if it's not then navigate user to the se
Hi,
I have to execute a Python script from my service. I need to wait till the
script has finished execution and returns a result. Hence am using it.
On Thursday, October 11, 2012 3:20:41 PM UTC+3, Mark Murphy (a Commons Guy)
wrote:
>
> On Thu, Oct 11, 2012 at 8:13 AM, Archana
> >
> wrote:
On Thu, Oct 11, 2012 at 8:13 AM, Archana wrote:
> Hi, I have defined a service.
>
> I need to call startActivityForResult(intent,REQUEST_CODE) from this.
That is not supported. IMHO, it does not even make any sense. Why do
you think that you "need" to do this?
--
Mark Murphy (a Commons Guy)
htt
Thanks for replying
On Thursday, 11 October 2012 16:14:39 UTC+5:30, Mark Murphy (a Commons Guy)
wrote:
>
> On Thu, Oct 11, 2012 at 6:19 AM, Ansh >
> wrote:
> > I want to do something on the
> > long press of the notification.
> > How can i achieve the functionality.
>
> This list is for deve
Hi, I have defined a service.
I need to call startActivityForResult(intent,REQUEST_CODE) from this. I
saw
http://stackoverflow.com/questions/3448485/startactivityforresult-from-a-service
But can someone explain me? Thanks!
--
You received this message because you are subscribed to the Google
HTTP are so wrong to do this so I don't know where to start. Use XMPP instead.
It is designed for multiple clients talking to each other.
No, it isn't a chat protocol. Jabber is just one application on top of XMPP.
Take a look at pubsub how to do exactly what you want to do. And as a bonus you
You can use ViewFlipper (
http://developer.android.com/reference/android/widget/ViewFlipper.html) or
ViewSwitcher(
http://developer.android.com/reference/android/widget/ViewSwitcher.html).
This way you can do all you want with only one activity.
2012/10/11 Piren
> I'm not entirely sure what you'
Hi,
if u know the details about how to send and receive packets using voice
calling. please share with me.
--
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 unsubsc
On Thu, Oct 11, 2012 at 6:19 AM, Ansh wrote:
> I want to do something on the
> long press of the notification.
> How can i achieve the functionality.
This list is for developing apps with the Android SDK, and you cannot
"do something on the long press of the notification" via the Android
SDK, sor
Have you read:
http://developer.android.com/design/patterns/notifications.html
On Thursday, October 11, 2012 11:19:04 AM UTC+1, Ansh wrote:
>
> Hi
>
> I want to know how can i modify the behavior of the notifications of in
> the notification bar.Say for example if i have got a msg it shows me in
Hi
I want to know how can i modify the behavior of the notifications of in
the notification bar.Say for example if i have got a msg it shows me in the
notification bar
and when i scroll the notification bar and when i click on the msg icon it
navigates me to the msg app to show the msg.I want
and idea, and information for me.
is this way i can do it?
--
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, send email to
android-deve
hello,
i have a Item_ID and i want request into google wallet to get price.
can i do it?
--
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
Thanks Lew. I have figured it out (after reading the API docs ++.)
So here is the code I use to transform the Lat long to UTM ( in case anyone
else wouders..)
[code]
public void convert (){
double a = 6378137;
double b = 6356752.3142;
e = Math.sqrt(1
Hi,
Already i am using this permission
*< uses-permission android:name ="
android.permission.WRITE_EXTERNAL_STORAGE"/ >*
but i have a error in the time record start and stop.
That's like,
*x-pvmf/media-input-node/cap-config-interface;valtype=key_specific_value*
* VerifyAndSetParameter failed*
give a unique id to each checkbox (let's say 1 to 120), id and label should
be in sync with your server.
now send only selected checkbox id to server using a query string seperated
by comma, I mean (selected = '1,2,3,119'
parse this string to server and process it
--
You received this messa
Thanks for the clarification. Wil give a try this.
Regards,
Jovish
On Wed, Oct 10, 2012 at 6:26 PM, Piren wrote:
> Maybe i delivered what i meant wrong...
> You can still inflate rows predefined using XML, but your the way to
> create the specific inner layout would have to be created manually.
Hello again,
just to let you know that the problem was that we've put the
taskAffinity="android.task.mms" for the application to be the same as
for the original mms application, and then they were considered to be
same tasks and the activities were randomly called by the launcher.
Makes sense, an
Hi:
I also have the problem.
what do you solve it ?
thank you
在 2011年9月9日星期五UTC+8上午6时17分28秒,Chetan Dhillon写道:
>
> Hi,
>
> I have a very simple .aidl file that I am getting error compiling.
>
> Here is my IPresence.aidl:
>
> package com.sample.presence;
>
> import com.sample.presence.StatusMe
I'm not entirely sure what you're trying to accomplish, but you should
consider that the third step would go into Activity C with the only purpose
of displaying the information. would probably simplify things for you.
On Thursday, October 11, 2012 7:28:41 AM UTC+2, Aadi Rockzz wrote:
>
> Hi Pire
Hi,
I want to communicate between n Android phones. I want each to behave as
clients and do some operation one after another updating a common file. For
this, I need each phone to register its IP to a server(so that a service
can be started). I was wondering if this can be tested using emulator
Archana wrote:
> Are the IP addresses of 2 Android emulators unique? Or how do I get the IP
> address of the emulator?
>
>>
>> Spend five minutes with your favorite search engine. That's how I found
http://developer.android.com/tools/devices/emulator.html#networkaddresses
It really took less tha
solnichko wrote:
>
> I was just wondering if you managed to solve this issue?
>
> I'd appreciate your help.
>
Did you try TreKing's advice?
There are a number of Java Usenet groups available, such as
comp.lang.java.help,
that might have people willing to give more detailed answers to your
uns
61 matches
Mail list logo