What Design Patterns To Use In App
Jul 31, 2011
What design patterns do you use in your applications?
We use pureMVC framework: from activity methods we send notifications, mediators handle notifications, proxies and layouts. It wasn't proved to be 100% satisfactory for me, and I'm willing to use something else.
View 9 Replies
May 28, 2010
I was watching a video and it was comparing the size of the HD2 and EVO and when the phones were side by side with the home screens showing...clouds were flowing through the HD2 and I absolutely loved it! Obviously, it's a reflection of the weather in that city but I haven't seen that on an Android unless you go into the weather widget.So, can I get my EVO to show weather patterns on my home screen like that as well or is it just a Windows Mobile thing?
View 14 Replies
View Related
Mar 9, 2013
What the custom vibration pattern for a heartbeat was so I can use it in my AOSP messaging app. I've searched on google to no-avail.
View 1 Replies
View Related
Nov 13, 2009
To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?
View 1 Replies
View Related
Jun 29, 2013
I have a phone now it locked up because of too many wrong attempts so it's now asking to enter google username and password But guess what I am not connected to any WIFi and the phone is not on a data plan.
Is there a way i can bypass this?
View 2 Replies
View Related
Aug 6, 2010
I was playing around with my phone today, just trying to create a cool symmetrical pattern on my droid. Mind you this was just on the screen where after about 5 tries it locks you out for 30secs. So i keep playing around with it and than the email and password screen shows up, saying i have to log in. Alrite sure, so I just put in my credentials and it fails.
Things I have tried:
1. @gmail.com, @googleemail.com
2. password null
3. case sensitive
4. playing around with people calling me and emergency dialer, etc.
5. changed password
6. battery pulls..............
View 3 Replies
View Related
Jun 16, 2009
I'm wondering if there's an app out there that can track traffic patterns/route times. I know that those Runners apps. can track speed/time to destination, but I'm interested in being able to track which highways/roads have the most/least amounts of traffic on which days and at which times, or which roads cause you to wait the longest at certain lights, so that I can know in advance (the app. would alert me which route to take on which day according to data collected over time). I've always been kind of fascinated by traffic patterns, but I'm also a fairly focused driver, so I don't generally look at times it has taken me on different days. You can feel like taking a back way one day, but does it really save you any time with all the lights you hit instead?
View 2 Replies
View Related
Nov 23, 2010
I am going to develop an Android Application but before developing it i needs to have MockUp for the Android Application,so is there any way to design MockUp/GUI Design tool for the Android Application?
I know about DroidDraw tool , but i think it is not the exact way to prepare Mockup for the android application.
I have already referred this SO Question , but overthere i just found all the tools for the I-Phone only. So please feel free to share with me if you have/found any !
View 3 Replies
View Related
Aug 2, 2010
I'm kind of new to android development.I have read from many sources that findViewById() is a "costly" operation. I'm making an application that deals with 5 TextViews to provide different kinds of information (distance, duration, title, description, etc) from a database. I'm using listeners to catch touch/click events and feedbacks a handler. The main function of the handler is to received a "position" in the Cursor where the new information needs to be displayed. I mentioned earlier that findViewById() is a "costly" operation. So, I don't call this method in the handler. Doing so, it will retrieve every time the Views when user touchs/clicks some widget. Is it right to populate the Activity with private members of the Views/Layout it displays? I mean, I don't like it. I don't know why, but seems that I'm populating too much the activity. I'm aware of the android:onClick xml attribute, but in my case I also use long click listeners. So, a piece of onCreate() looks like: And all of those are private members, wihout mention the "cursor.getColumnIndex()" for each. I thought on implementing Handler.Callback and set on the Hanlder.Callback constructor implementer a View array or a View list or something, but I also need this objects later to set other listeners and setups. Is this right? I cannot think another way, as I need the reference to the object, and also the Cursor reference that the handler will move to the "position" provided and update the correspondent View. I will really appreciate either an advice or a useful link/info/doc to read in what concern in this kind of designs. What I do not like is that It looks like imperative programming filling the Activity with "global" variables.
View 6 Replies
View Related
May 16, 2010
I'm asking if anyone else has had the same problem as me. After about a week of having my phone I found the charging socket would only work intermittently. I had to push the cable towards the front to get it to work.
I duly called orange customer services and they arranged a courier to switch it for a brand new one, top job there, I'm not sure how long that warrenty lasts though.
Now the new one, arrived precisely 5 hours and 31 minute ago, I placed it on charge very carefully and waited for the light to go green. I unplgged it and messed around with setting apps and home screen and the like to get it how I want it and plugged it into my laptop to transfer some ringtones accross...
View 17 Replies
View Related
Sep 5, 2010
Ok I am not actually sure if this is possible but here it goes. My girlsfriends mom has an epic my girlfriend has an evo. My girlfriend wants her evo to look like the epic's os. From what I can tell the epic is only running 2.1 while evo is running 2.2. Is there a way to flash os design of the epic to the evo, or is this not possible?
View 27 Replies
View Related
Oct 6, 2013
The new Samsung Tab 3 (and older Notes) do not include the bottom menu (the black bar at the bottom and instead have physical buttons for that. The Samsung Tab 2 7" has the same resolution as the Samsung Tab 3 7" but the latter has some extra pixels available since it doesn't have a menu bar at the bottom.
How should one design the layout for these tablets?
View 1 Replies
View Related
May 13, 2009
in Android code, It is a very strange concept to define the APN type (APN_TYPE_MMS). The reason are: 1) APN only is an access pointer, it haven't any special attribute for MMS or other things. 2) Only Application care the APN name, since different APN will provide different service from operator. for example, operation may provide Email/MMS/GPS/.... service on different APN. 3) Android only define one type APN_TYPE_MMS, this will limit other top application usage. Any one can answer me why Android design this way? If google have strong reason for such design, I hope add other user defined type like APN_TYPE_USER1 APN_TYPE_USER2 then top application can set his property to use its APN other than APN_TYPE_MMS
View 2 Replies
View Related
Oct 13, 2010
I am a developer and recently completed the implementation of my keyboard MessagEase. It's available on the Market (with its very- different features, making it quite unlike QWERTY).
This keyboard works fine as a replacement of the standard keyboard on an Android Phone. But for a An Android Tablet, it would work best if it's implemented as a floating, movable keyboard.
(the footprint of this keyboard is mostly dependable on the size of a human's finger; it remains the same even if the tablet's display is much larger than a phone's. Therefore it'll take a relatively smaller area on a tablet.)
If I use the current SDK hooks, it will have to take a significant portion of the screen, defeating the purpose.
View 2 Replies
View Related
Mar 3, 2010
I have a service running that grabs the users attention with a notification. What i would like to happen when the user clicks on the notification is for it to launch a dialog box. The "proper" thing to do is to launch an activity in this way, so is there a way to get an activity to launch with out filling the screen? So it looks like a dialog box?
View 5 Replies
View Related
Sep 1, 2010
I'm more than happy coding apps.I am, however, rubbish at icon design.I'm sure I'm not the only one for whom this is a problem and yet all android devs need to create a launcher icon.Does anyone have any good tips on knocking up simple but effective launcher icons?
View 5 Replies
View Related
Nov 3, 2010
if this is a silly question, am sorry about that. I was wondering if its possible to design android icons using a 3d modelling package like blender? i know i have to stick to the guidelines documented already, but was just wondering if anyone had come across or done something similar? Its that little part of the icons(launchers) being able to have a slight perspective and looking through the requirements to design icons it seems i might be a lot faster using a 3d modelling package and then following part of the icons template guide(based from my requirement though!).
View 2 Replies
View Related
Aug 29, 2010
how to use the IMF to design a soft keyboard. Please point me to some resources that will help me understand how to do it from the ground up. Something other than the SDK sample
View 4 Replies
View Related
Oct 22, 2010
I noticed something on the Evo, which made me question whether is was a light leakage design flaw, or was it implemented feature.. With the lights off in a dark room, take a look at your Evo. DO you see how the charge port lights up, while the HDMI port doesn't? It seams to be an even glow, as though not a crack in the hardware which lets a little light through, so do my question is, do you think its a design flaw was it intentionally implemented?
I find this very useful, as I plug my evo in in complete darkness very often, and its all gravy that the port lights up when the screen is lit.
View 13 Replies
View Related
Sep 10, 2010
So you all know how HTC oddly designed this phone to have it rest on the camera lens. Well my lens is cracked. Not sure when or how it happened. I wont even say it cracking wasn't my fault. Likely was. However I do have insurance and the repair part of it too. I pay 7 dollars a month.
Well took my phone into Sprint and they told me they couldn't repair the lens because it's considered physical damage and if they repaired it it would void the warranty agreement they have with HTC.
So my question is why do I pay an extra 3 dollars a month for repairs when they can't even repair my phone?
They call it physical damage I call it design flaw. They said I would have to file a claim with Asurion and pay 100 deductible to get a replacement phone. Well I dont want a replacement phone. Mine works flawlessly. I dont want to get rid of it. Let alone why would someone in their right mind pay 100 dollars for just a cracked piece of plastic or glass the size of a dime?
View 17 Replies
View Related
Sep 18, 2010
I designed an app for htc desire.The background image used for the app looks good in ecipse layout, when installed in phone it is stretched.
View 2 Replies
View Related
Jan 5, 2010
I need to design a board UI using android platform. I was planning to take one image as board and moving the required images over the board. How do I achieve the same? I need to find the coordinates for image and need to move the required images to specifies coordinates. Is there any andorid API for this?
View 2 Replies
View Related
Oct 8, 2009
Is anyone aware of an example or sample code that shows how to make a settings page (like what you get from hitting settings)? Many apps seem to have them but I'm not sure what type of list they are using.
View 4 Replies
View Related
Oct 7, 2010
Taking into account JIT and non-JIT devices, what would be most efficient on Android for returning multiple values from functions: an array like this: Code...
View 6 Replies
View Related
Aug 8, 2012
I have an EVO design 4g, stock 2.3.4 ROM, rooted, and s-off. I just downloaded the OTA ICS ROM and want to know how to modify the zip to be cwm flashable, without overwriting my recovery or hboot.
View 2 Replies
View Related
Oct 18, 2013
I have an HTC EVO Design (Kingdom) from Sprint. It is a hybrid CDMA/GSM world phone with a sim slot, but it is network locked to Sprint only in the US. I am wondering if I root this phone with a custom rom/kernel, will I be able to use it with any GSM carrier in the US?
View 2 Replies
View Related
Jul 21, 2010
Referring http://code.google.com/events/io/2010/sessions/developing-RESTful-android-apps.html. Can any body provide source/links which implements such a design?
View 2 Replies
View Related
Aug 30, 2010
I have a general Android design question around data access. I have a number of activities in my application that need to access a SQLite database. In order to wrap up all data access logic in one place I have created a DatbaseHandler class that takes care of all data access logic. This class takes care of building up where clauses, calling the database and interrogating the resulting cursor to retrieve the query results and return them to the caller. The purpose of this class is to wrap all data access code in one place so that it can be easily managed and maintained as opposed to having data access logic scattered across all activities. Each activity that needs access to the database creates an instance of this DatabaseHandler class and passes it a reference of android.content.Context. The DatabaseHandler class then uses this Context object to call an underlying content provider as follows context_i.getContentResolver().query(...).
My data access logic (cursor handling logic to be specific) is not in the activity and so I cannot manage the cursors life cycle, therefore there is likely to be memory leaks.
My questions are as follows -
How can I (if its even possible) manage the cursors life cycle from outside an Activity? Should each activity even be creating an instance of this data handler class and passing an instance of Context to it? Perhaps my design approach is wrong and I should expose these data access functions as static methods that take an instance of the calling activity as a parameter. That way I could perform managed queries and let the activity take care of managing the cursors life cycle?
View 1 Replies
View Related
Oct 18, 2010
I am working on developing an application that requires me to establish multiple client-server based connections. Connection can be of two types where the Android device can be a server or a client. I can have up to 6 - 8 connections. Once the connections are set-up they need to be running in the background and are not typically affected by UI actions.Since each connection can be blocking, I am wondering what is a good away to design this app. Should I have two services for handling the server and client connections? Each service could have a "connection manager" that can spawn new threads when necessary. Or does creating two services even help? I presume spawning new processed would not be good as they will be expensive. Is this correct? I would appreciate any suggestions. Also, if this use case is not typical please let me know if you need more information to make any recommendation.
View 2 Replies
View Related
Nov 12, 2010
I need to design an android app to communicate with HID Custom USB Device. Are there any standard java library that I can use to implement this?
View 2 Replies
View Related