Tag Info

New answers tagged

2

Android: Pretty sure its not possible to hook into the standard unlock screen in this way. But, in Android you can write an app to provide a custom lock screen, and once you've done that adding a "duress/distress" function would be easy. If you just search for "Android custom lock screen" you'll find tons. Edit: or you can write a widget that the user can ...


2

I'm an iOS developer so I don't know much about Android, but the way that iOS works is that each app is inside its own "sandbox" so that the apps cannot call actions on each other such as closing. This is done as a security measure. More on App Sandboxing (paragraph 'The App Sandbox'). The only way apps can interact is through urls such as ...


0

To 1: I know that Xamarin has a proprietary way based on their implementation of .NET. You can use one language to build the common application backend and there are wrappers for the native libraries. They share the philosophy of building the GUI with the native libraries. It is not javascript though.


0

If you're just looking for general monitoring, you might be able to use a product like http://www.wireshark.org/faq.html#q1.1


0

An applications logo is typically wider than it's icon and resizes as necessary to fit the height of the action bar. I believe this is what you're looking for. By default, the system uses your application icon in the action bar, as specified by the icon attribute in the or element. However, if you also specify the logo attribute, then the action bar ...


1

First remember that everything can be cracked given enough access. You can only make it expensive. You can make sure the on-wire protocol cannot be hacked. You can encrypt it with a one-time password (from the server) so that mere wire snooping will see only gibberish, that changes every time. And you can include installation or user-specific data so a ...


2

I'm not sure why you're being asked to develop this as an Android application. If this is a real production facility, you probably want to use some kind of industrial solution. I would suggest contacting someone from a machine vision company like Cognex and tell them about your application. They might have an off-the-shelf product that does exactly what ...


1

You need to write and deploy a REST service which your Android app can communicate with. There are a number of ways you can accomplish that: ASP.NET MVC, Web API, WCF, etc. The REST service connects with the SQL Server instance. The web service is responsible for what you want it to be responsible for. It can contain business logic, transactions, data ...


3

Fragment is a modular section of an Activity that has it's own lifecycle, receives its own input events, which you can add or remove while the activity is running (sort of like a "sub activity" that you can reuse in different activities) Apart from the obvious advantage of using fragments, UI optimization across different screens, it lets you manage ...


1

A UUID is a standardised representation of a 128-bit number. As noted by AndyBursh, the representation is 32 hexadecimal digits, split into groups and separated by dashes. Nothing else is a proper UUID, it would just be a string. The point of a UUID is that it's "universally unique". If I just pick a string that I like the look of, then there's no ...


7

No. A UUID has a particular, standardised format. From the wiki article on the subject: In its canonical form, a UUID is represented by 32 lowercase hexadecimal digits, displayed in five groups separated by hyphens, in the form 8-4-4-4-12 for a total of 36 characters (32 alphanumeric characters and four hyphens).


0

The projection refers to the columns you want back (the bit after SELECT and before FROM), the selection refers to the limiting of the records (the bit after WHERE and before ORDER BY). For Android, the projection variable should be something like: new String[] {"name", "age"} The selection variable should have the WHERE clause with the values replaced by ...


4

Selecting means choosing some records from a table and leaving others out. Projecting means choosing some columns from each record and leaving others out. Therefore, your query performs selection (records with name='zeus' are chosen, but others are rejected) but not projection (those records that are chosen are returned with all of their columns). ...


2

The answer is Service + Thread. Don't put the socket in an Activity. The activity is for UI. It gets recreated when the user rotates the phone. You can run into problems when the user receives a phone call. Put your sockets in a Service. Your activity/activities can bind to the Service and use it's methods. Or you can use a Messenger to communicate between ...


0

Using a service is a bad idea. The system can kill at any time for example to free memory. You can make it a foreground service to get around this but that requires a persistent notification in the notification bar. Instead take a look at the AlarmClock class. You have to create BroadcastReceivers to handle ACTION_SET_ALARM and ACTION_SET_TIMER Intents.


2

Firstly your question is against the sites guidelines as it is something which will lead to discussion. Still to answer your question, you can create a sqlite db and inside it a table with all this static values to be displayed in drop downs, put the sqlite db in assets folder, on app first launch copy it to applications default db location and read it from ...


-1

Which mobile development platform is easy to develop is completely depends on the sort of app you want to build, and also on what your background is. If you have strong command over Java then it becomes easy to learn android app development and if you are good in objective C then you can go ahead with iPhone app development. Choosing mobile development ...



Top 50 recent answers are included