[android-developers] Driver Problem - The wait operation timed out.

2016-06-13 Thread Hal Barand
Hi there! I'm not sure where to go with this.. If I'm at the wrong place please tell me right away. I can't access the internal storage of my Nexus 7 when connected via USB to my Windows 8 PC anymore. In the device manager there are two links to the tablet: Android Device -> Android Composite

[android-developers] Re: HowTo compile and run the LVL sample app without uploading to Android Market.

2013-05-18 Thread Hal Harrison
, comments. Hal Harrison. -- -- 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-developers+unsubscr

[android-developers] Re: Stealing an apk wirelessly

2011-12-01 Thread Hal Harrison
. However, I appreciate the advice to move on, and the adb insight offered. I'll warn my friend to avoid eye patches and peg legs. Hal Harrison. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Stealing an apk wirelessly

2011-11-30 Thread Hal Harrison
mild- mannered app escaping into the wild without his knowledge? I apologize if this is a dumb question. Perhaps I should sign my self paranoid. Hal Harrison -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Stealing an apk wirelessly

2011-11-30 Thread Hal Harrison
Android Debug Bridge accessing my friend's phone via the USB cable and via wireless? Is deselecting 'Unknown Source' secure protection? Hal Harrison. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Re: Making a Custom View Transparent?? Overlay on top of SurfaceView

2011-10-12 Thread Hal Harrison
Did you try setting the background of you view to something like 0x40ff? Hal Harrison. -- 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

[android-developers] Re: Problem preventing two strings from overlapping

2011-08-29 Thread Hal Harrison
Have you considered measuring your text, Paint.measureText(your string), and deciding where to place it programmatically? Hal Harrison. -- 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

[android-developers] Re: how to get the resource id of the set wallpaper

2011-08-05 Thread Hal Harrison
Are you asking: How can I get the id of my wallpaper graphic in my res/drawable folder into my program so I can do something with it? Hal Harrison. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: “fixing” a live wallpaper in portrait mode

2011-07-29 Thread Hal Harrison
See if this makes any sense in your case. Start with a background large enough to look OK in either orientation without change. Upon twist, onSurfaceChanged(), recalculate the locations of your bitmaps and display them at the new locations. Hal Harrison. -- You received this message because

[android-developers] Re: How can I find how many home screens?

2011-07-19 Thread Hal Harrison
. Therefore exit from my app's preview mode always returns to a home screen. Maybe I'm missing something. Thanks again for the help. Hal Harrison -- 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

[android-developers] Re: SharedPreferences update issue

2011-07-18 Thread Hal Harrison
name. (Note that it is not possible to share settings data across application packages -- for that you will need a content provider.) It may have something to do with the Context-s in your A and B. Are they the same? Alternately you could pass B's data back and let A do all the updating. Hal

[android-developers] Re: How can I find how many home screens?

2011-07-15 Thread Hal Harrison
Thanks Mark and Diane for the help. My task is to properly place my living wallpaper background (I use the current dead wallpaper) behind the system's placement of icons and widgets. My users should be able to do Settings on different (right, center, left) home screens. Here's the three

[android-developers] How can I find how many home screens?

2011-07-13 Thread Hal Harrison
My about-to-be-released live wallpaper app works well if I know the number of home screens. I observe that the 2.1 emulator has three and 2.2 and later have five. I can distinguish between them with Build.VERSION myvbld = new Build.VERSION();

[android-developers] Re: How can I find how many home screens?

2011-07-13 Thread Hal Harrison
No, sorry. I can envision a home screen implementation with infinite home screens. Thanks, Mark, for the reply. I was afraid of that and am looking at my problem again. What about this? Occasionally onOffsetsChanged() gives an xStep of 0.0 or -1.0. Otherwise it consistently gives 0.5

[android-developers] Re: Application update emulator

2011-07-13 Thread Hal Harrison
this reinstall of my living wallpaper app replaces the old code but not its Shared Preferences and when I invoke the app onCreate() runs. With emulator 2.2, the old code is overwritten and onCreate() doesn't run. You may be asking something else, if so, my apologies. Hal Harrison. -- You received

[android-developers] HowTo compile and run the LVL sample app without uploading to Android Market.

2011-06-22 Thread Hal Harrison
someone and is not too specific to my particular setup. Hal Harrison. -- 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

[android-developers] Re: New Application - advice on how to get started?

2010-12-29 Thread Hal
You'll probably need a set of reusable Android components (Database, Services, etc) for this. You may want to take a look a the Jt Design Pattern Framework: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: Regarding implementing paypal api in android

2010-12-28 Thread Hal
This may help: https://www.x.com/thread/38483 On Dec 23, 11:56 pm, tushar sahni tusharsahn...@gmail.com wrote: I am developing an Android Application named Book Bottle Service.I have implemented map activity in it. The view that comes in the array list comes from url From where i have parsed

[android-developers] Re: Database Remote Access

2010-12-25 Thread Hal
You may want to look into the Jt framework for Android. It supports Web services (Resful) and Data Access Object (DAOs). You just need to use these pieces for your application: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: Database storage filling and securing

2010-12-25 Thread Hal
A combination of secure web services and Data Access Objects (DAOs) should be able to provide this functionality: For additional information please refer to the following URLs: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: apps using myBatis/iBatis, Apache POI and other technologies

2010-12-21 Thread Hal
You may want to look into the Jt Design Patterns Framework. It implements secure Web services (Restful and Native). Version 7.2 will include Data Access Objects (DAO) and JDBC support for Android. a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical

[android-developers] Re: Cost effectiveness of JSON in Android

2010-12-21 Thread Hal
You may wan to take a look a messaging the Jt design pattern framework. It supports web services. Version 7.2 will support DAOs: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: Using AndroidHTTPClient

2010-12-19 Thread Hal
The following links may be useful. Jt implements web/services and messaging on Android: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html b) Messaging Design

[android-developers] Re: How to Customize android Os For supporting regional languages

2010-12-18 Thread Hal
languages. I hope this helps. Hal - An intelligent Android. On Dec 18, 2:09 am, kariyachan sintotp.foresi...@gmail.com wrote: Hi guys, How to customize Android Os for supporting regional languages??? I was wondering what the feasibility would be for creating a custom Android build

[android-developers] Re: Overview for which API calls require which permissions?

2010-12-14 Thread Hal
Perhaps there is a middle ground ... some sort of compromise: 1) Google works on the functionality that is device/Android specific. 2) The Java community works on features that are Java specific. Just a thought . IMO everyone benefits. It looks like a better utilization of valuable

[android-developers] Re: Preferable OS environment?

2010-12-13 Thread Hal
It sounds like Linux would be a good choice (based on the comment around Linux device/driver kernel). I'm not sure if you are trying to modify/compile the Android kernel though. Hal - An intelligent Android. On Dec 13, 1:12 am, JY Kim jkim...@gmail.com wrote: Hello. I have posted

[android-developers] Re: Beginner questions

2010-12-11 Thread Hal
It is not a must. On the other hand, It will probably make your life easier. There are other tools that may help as well: Java Design Pattern Framework for Android. http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html Hal and intelligent Android On Dec 10, 3:51 am

[android-developers] Re: Master/King/Uninterruptible App

2010-12-11 Thread Hal
Best of luck doing this. Android firmware needs to be modified. If possible please publish your results if you are able to accomplish it. We have a similar requirement. Perhaps future versions of Android could provide some kind of interface/API to do it. Perhaps, something that would require

[android-developers] Re: Include .jar file in my project?

2010-12-10 Thread Hal
The following link may be useful http://developer.android.com/guide/appendix/faq/commontasks.html#addexternallibrary Hal - An intelligent Android - Jt framework application On Dec 9, 2:53 pm, Tobiah t...@tobiah.org wrote: If I have a .jar file that contains libraries that I want to use in my

[android-developers] Re: Can you trust the Android OS that comes from a Chinese Manufactures?

2010-12-09 Thread Hal
As much a you can trust Best Buy perhaps ? http://www.my3cents.com/productReview.cgi?compid=1product=CUSTOMER+SERVICE http://www.ripoffreport.com/Search/Body/BestBuy.aspx On Dec 8, 1:30 pm, William Estrada mrumun...@popdial.com wrote: Can you trust the Android OS that comes from a Chinese

[android-developers] Re: Android 2.3 SDK Emulator is very slow

2010-12-09 Thread Hal
We experienced the same behavior(speed ). We avoid using the emulator as much as possible. Fortunately we use a MDP component based approach. Most of the work is done on the computers themselves. Integration testing is done on the devices. We also use standard Java as much as possible based

[android-developers] Re: Application help (Communication between phone and computer)

2010-12-07 Thread Hal
I believe that messaging is a good solution. A Socket connection should work. You may want to used the Messaging Design Pattern (MDP) for this: a) Messaging Design Pattern and a distributed Component/Service Model https://jt.dev.java.net/files/documents/5553/149793/MDPdistributedModel.pdf This

[android-developers] Re: connect my phone(Galaxy 2.1) to PC using socket communication, which IP and port number should i use?

2010-12-04 Thread Hal
you need to determine the ip of your computer and the appropriate port for the server. Client/Server should match. On Dec 3, 12:43 am, Tantu arungopa...@gmail.com wrote: i want to connect my phone to PC using socket communication and my phone acts as a client in this communication. my code is

[android-developers] Re: How to teach a bunch of newbie kids.

2010-11-30 Thread Hal
I would use a realistic approach that they can relate to and understand. I would use the Lego analogy The following would be the basic elements: Components - Building block (black boxes to do something). For instance a component that add numbers. Messaging - A way of communication between

[android-developers] Re: What is the best way to send data from Android Application to a Remote MySQL Database?

2010-11-29 Thread Hal
I agree. REST services is probably a good way. You may want to consider DAOs (Data Access Objects) as well. The following links provide additional information on these two: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: Code for connecting webservices in android by using HttpClient

2010-11-24 Thread Hal
You may want to check the secure Jt web services: http://www.dev.java.net/files/documents/5553/151390/Jt.pdf http://jt.dev.java.net/ http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html This allows you to create secure Restful web services on Android (over Http). It

[android-developers] Re: Automatic sqllite dbhelper class builder

2010-11-24 Thread Hal
it. Thanks, Federico On Wed, Nov 24, 2010 at 12:11 AM, Hal dsheppar...@gmail.com wrote: Federico, The same or similar idea is also known as the Data Access Object (DAO) design pattern. The Jt Design Pattern Framework (7.2) will support DAOs on Android: Jt Design Pattern Framework http

[android-developers] Re: SSL from Android

2010-11-24 Thread Hal
You probably want to consider secure web services based. The Jt Design Pattern Framework already implements secure web services for Android: a) Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: Android calls to web service slow? Using .NET web service

2010-11-23 Thread Hal
You may want to try Jt secure Web Services for Android: -Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html - Messaging Design Pattern and a distributed

[android-developers] Re: Send GPS Location Details to Server

2010-11-23 Thread Hal
You will probably need Messaging and Web services for this. You may want to try Jt secure Web services for Android: - Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: Automatic sqllite dbhelper class builder

2010-11-23 Thread Hal
Federico, The same or similar idea is also known as the Data Access Object (DAO) design pattern. The Jt Design Pattern Framework (7.2) will support DAOs on Android: Jt Design Pattern Framework http://jt.dev.java.net/

[android-developers] Re: how to build android.jar?

2010-11-22 Thread Hal
In very general terms, you can try the following: - use jar or ant to create the jar file jar destfile=${lib.home}/android.jar basedir=${build.home}/classes/ - This jar file needs to be part of your Eclipse/android project. This works in general. On Nov 21, 8:15 pm, Shuo

[android-developers] Unexpected extra byte occurring in binary logcat entry stream

2010-11-22 Thread Hal
I've been implementing a logcat reader in java which uses the binary output of logcat (-B switch) rather than the text based formats. My code works for many of the entries, but frequently the binary log entries have an extra byte inserted which I can't account for, making the payload the wrong

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

2010-11-20 Thread Hal
Obviously for sending messages you may want to consider sending a buffer of messages (many at a time). This should avoid excessive network traffic. You may also need several threads (or Jt live MDP components) in order to support a heavier load. Just athought. Tuning will probably be needed. On

[android-developers] Re: Handler.postDelayed not working when screen goes off

2010-11-20 Thread Hal
, countDownInterval); } public void onFinish() { counter = new MyCount(5000, 1000); counter.start (); } public void onTick(long millisUntilFinished) { tv.setText(Hal: + timer.getTime()); } } The timer component uses a Live Jt

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

2010-11-19 Thread Hal
if this is something that may be of interest to you. Regards, Hal - An intelligent Android On Oct 18, 5:57 am, FredDeer mzz...@gmail.com wrote: Hi All, I have been asked by a UK charity to develop some software to support people with brain injury. I’m not being paid to do this as the charity

[android-developers] Re: == Type ahead search timer ==

2010-11-18 Thread Hal
You may want to look at CountDownTimer ... just a thought http://helloandroidworld.com/2010/02/how-to-create-a-simple-android-countdown-timer/ I hope it helps ... Hal - Intelligent Android Project On Nov 17, 3:23 pm, ClarkBattle clarkbat...@gmail.com wrote: I am implementing a type ahead

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

2010-11-17 Thread Hal
The second alternative seems to have many benefits (portability, longevity, etc). In the future network connection will become much more reliable (like the phone system). Since you are talking about messaging, you may want to take a look at the MDP (Messaging Design Pattern): a) Java Pattern

[android-developers] Re: HTTPClient post delay

2010-11-16 Thread Hal
We are not getting that type of delay. You may to try URLConnection. Just a thought . The following is an example. // Post request private String doPost (String request) { URLConnection urlConn; URL destURL; DataOutputStream outStream;

[android-developers] Re: How to reduce heap size to get space for BitmapFactory.decodeFile()

2010-11-16 Thread Hal
If feasible, you might want to send smaller encrypted chunks instead of the whole encrypted file. Just a thought... (without knowing all the specifics). This would reduce the required amount of memory. I'm familiar with this approach but going the other way (uploading files to the server).

[android-developers] Re: How to connect to a Remote Database with Webservices?

2010-11-15 Thread Hal
You may want to use the reusable Jt component and design pattern: DAOs, MDP messaging and Restful web services. The following links may help: Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library

[android-developers] Re: TCP problem - hangs when reading server's response

2010-11-14 Thread Hal
The following should work (taken from Jt.InputStream component) It uses read and a buffer. It also checks for maxLenght (which you probably don't need). Keep in mind that read may return less bytes than requested. At least something like this should give you an idea of what is happening

[android-developers] Re: Get web page with spaces in path

2010-11-13 Thread Hal
something like this should work (Taken from Jt.http.JtHttpAdapter) try { eString = URLEncoder.encode(xmlMsg, UTF-8); } catch (UnsupportedEncodingException e) { handleException(e); return (null); } I hope it helps. On Nov 12, 10:10 am, Pikoh

[android-developers] Re: Localizing example somewhere?

2010-11-13 Thread Hal
You may want want to get some ideas from the MVC Struts framework (internationalization/Errors handling). I realize that Struts doesn't run on Android. Perhaps you can use some of their ideas and/or components. The latter is probably more difficult ... Just a thought BTW, Struts uses

[android-developers] Re: Begging with Web Services in Android

2010-11-12 Thread Hal
, Hal dsheppar...@gmail.com wrote: I'm afraid that I agree with criticism against SOAP. You may want use REST. There are REST implementations for Android: http://www.ibm.com/developerworks/webservices/library/ws-designpatter... This will allow you to invoke your web service (Jboss) from

[android-developers] Re: I/O streams in android

2010-11-12 Thread Hal
You may want to use MDP messaging and Restful web services to communicate. The following links may help: Java Pattern Oriented Framework, An application of the Messaging Design Pattern IBM Technical Library http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html

[android-developers] Re: Application to Application (remote) communication

2010-11-12 Thread Hal
You may want to look at the Messaging Design Pattern (MDP) pattern and associated framework while putting together your application: - Messaging Design Pattern (MDP) and pattern implementation - Published in the 17th conference on Pattern Languages of Programs (PLoP 2010).

[android-developers] Re: How to decrypt an XML file?

2010-11-11 Thread Hal
Please let me know if you were able to find good documentation for Android Encryption. We are working on this right now. We are using Jt components to do the encryption/decryption. We just need to include the appropriate settings for the properties file: ! Jt Asymmetric Cipher

[android-developers] Re: Service onCreate is asynchronous

2010-11-05 Thread Hal
You may want to try the Messaging Design Pattern (MDP) or the Command Design Pattern. MDP provides improvements in terms of coupling, encapsulation and reusability. Messaging Design Pattern (MDP) and pattern implementation - Published in the 17th conference on Pattern Languages of Programs (PLoP

[android-developers] Re: Begging with Web Services in Android

2010-11-05 Thread Hal
I'm afraid that I agree with criticism against SOAP. You may want use REST. There are REST implementations for Android: http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html This will allow you to invoke your web service (Jboss) from your android client easily. I have

Re: [android-developers] BooK

2010-11-05 Thread Hal
. http://www.ibm.com/developerworks/webservices/library/ws-designpattern/index.html A version for Android was recently announced. The second phase of the project will deal with Speech recognition/ generation, Google Apis, Video/Sound, etc Mark Murphy wrote: On Thu, Nov 4, 2010 at 4:23 PM, Hal

[android-developers] Re: Tomcat on Android

2010-11-05 Thread Hal
I'm afraid I agree with the previous postings. This looks difficult under Android Java, you may be better off by creating you own component server. I would recommend a server based on MDP messaging and sockets: MDP and a distributed Component/Service Model

[android-developers] BooK

2010-11-04 Thread Hal
I'm looking for recommendations in terms of Android Books (advanced). Thx -- 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