I am devloping a mobile app that access SMS I know if its doable in andriod if I am using GWT and in Iphone if I am using objective c. My Question is I want to use some framework that genrates native apps (for iOS and andriod) like titanium appaccerator jQuery Mobile ... etc
can some one tell me if I can access SMS on the mobile devices from the app wrttien using such tools?
On iOS you cannot access the user's SMS data from an app (at least not without jailbreaking) no matter what tool you use to create it. You can use the MFMessageComposeViewController to compose an SMS, but the user needs to interact with the view to actually send it - you cannot send an SMS without user interaction.
I can't help with Android I'm afraid.
Related
I want to restrict users to login from one device only using java for the app and I want to know how it possible to do the same thing for the web and if there any better solution.
I want to build an app like tinder. but this question is not related only to a dating app. Think any app that use GPS coordinates to locate where are you. Think a traffic app. So instead of creating native apps for android, IOS and windows phone I would like create a one web app by using ASP.net with fully responsive design. What I hope to do is load this web browser behind native apps on these different Operating systems. So yeah I am talking about a hybrid app.
So in tinder they are tracking their GPS location to discover persons who are within some certain Perimeter. So if I use
navigator.geolocation.getCurrentPosition
Browser will popup window for ask user's permission to share the location. Also this warning is expire from 24 hours and again this message will popup. this is not what I wanted. So can I write a piece of code for just to get the GPS location from the native app and pass that information to my browser without that warning dialog? Is this possible ?
What you are asking for is only possible when you are creating your app with a tool like Cordova, PhoneGap, ... (there using a plugin for Geolocation)
They offer you interfaces to communicate with native APIs, thus skipping the browser dialog.
When only using HTML5 and JS you can't skip that dialog, it's for the user's own protection.
I basically want to make an android app that will allow peer-to-peer text messaging without the messages going into the phone's SMS inbox/outbox, but rather shown in the app's interface. Any help is appreciated. I'm new to android mobile development.
android is able to locate devices and then communicate and update these device. That is the basis behind what i want to achieve. I have created a Content Management System which is a webpage that requires login details. This CMS will contain a record of all my android devices, the users of these devices and all the applications available for these devices. The CMS was constructed using html and it also uses javascript, php and mysql. each android device will have one of my applications installed on it and will be a wifi only enabled device(so that is how it will communicate with the world).
the scenario is, a device stored on my cms will be used by a user in london and they will be able to access the internet via wifi.I want to send a notification to the device using the cms and my location is . I am logged on to my cms in Scotland.
1, What sort of code or software or technique can i implement into my cms(html code, php code, javascript code) and my android devices and or android applications(java code) that will allow me to send a notification from my cms webpage to my application?
2, how can i make sure it is sent to the right device and the right application on that devices? (i.e if i want to contact someone who has a mobile phone i use their phone number, in this case device does not have a sim card and can only connect to wifi.)
please provide me with a clear answer with links on how to achieve this and excuse my ignorance if the answer is straight forward i am new to this.
again just to make it clear i want to send notifications from my cms webpage to a specific application that i have made in android using eclipse and java on a specific android device whos only connection to the internet is via wifi.
thank you
I think Google Cloud Messaging is appropriate for your problem.
Here is the link: http://developer.android.com/google/gcm/index.html
I am developing a sencha based application for iPhone & Android. As a S/W requirement, i need to identify device (on the basis of IMEI or MAC address) accessing the service.
e.g. If a user of iPhone visits my sencha-web-app first time, he will need to register. And if he visits again, Application will detect and registration process will be skipped.
Q: How can i get IMEI or MAC of device using sencha, to identify it uniquely?
You will need to wrap your Sencha application in a native wrapper. I recommend using PhoneGap, they have a nice UUID property as documented here: http://docs.phonegap.com/en/1.3.0/phonegap_device_device.md.html#device.uuid
If this is a web app running in the browser there is no way to get that information. On iOS, the IMEI is actually restricted information that you can't access anyway. If you simply want to remember users, the standard way would be to just use a cookie. Is there a particular reason you want to tie this to a hardware identifier and not use a cookie?