Tag Archives | SMS

First Android App – Update 2

A recap about the progress I've done so far on my first Android app (Update 1 here).

After spending some time getting the visual layout done (or making it look ok on a screen), I've finally started playing around with actual code that does stuff. Android's developer's site is pretty good as a reference, although sometimes examples are lacking or simply not the complete thing to make it work with something else etc… I've had to rely a bit on external sources especially with stuff to communicate with a server (POST requests, response). Stackoverflow is amazing icon razz First Android App   Update 2 .

The first thing I implemented was the actual settings page where the user needs to enter their account number, password and phone number. These values were successfully stored using the SharedPreferences interface (not shared with other apps of course icon razz First Android App   Update 2 !). Next was getting the user's balance in their account (specified in the settings). The first time I implemented it without an AsyncTask, as the refreshing was occurring the application would appear as if it were hanging (but eventually show the balance). Adding that operation as an AsyncTask, plus a ProgressDialog made things work and look better. Last thing was making SMS work, and lo and behold it worked icon biggrin First Android App   Update 2 ! I tried to get contacts selection implemented and was only successful getting the list but once a user selects the contact, the number is not sent back to the SMS activity. I am thinking of adding one more feature, getting history of stuff (calls/SMS) as seen by the VoIP provider so that users can see how much their last few calls cost and so on.



Things are way beyond complete and I have to decided to take things one step at a time. I tend to get frustrated when things don't work as intended and take a day (or a few icon wink First Android App   Update 2 ) off coding and start with a clear mind.

andr1up2 202x300 First Android App   Update 2

andr2up2 201x300 First Android App   Update 2 andr3up2 199x300 First Android App   Update 2

andr4up2 203x300 First Android App   Update 2 andr5up2 202x300 First Android App   Update 2

 

0 Comments

First Android App… Coming Soon!

So today I decided to take some initiative and stop procrastinating any longer about getting a half-decent Android app done (in the Market hopefully). Since I have some free time coming up, I will try to accelerate the development process (a bit like agile development except with myself rather than a team…) and improvise stuff I need to do as they come. So what is the app?

I'm not sure of what to call it yet, but it will basically be an app that relies on the API of a VoIP provider to perform actions allowed by the API. Right now, in my mind is an app with 3 tabs. The first tab will show the user their account balance with a refresh button for the sake of information freshness. The next tab will incorporate the SMS functionality I have built already (a very raw build) which will allow people to send cheap SMS (rate to Bahrain is $0.0403 ~ 15 fils/message, cheaper than some local companies). I will see if I can get numbers from the local contact list, if not then it might have its own little phonebook (since numbers must be internationally formatted). Finally, the last tab will allow people to make cheap calls by using the VoIP provider's callback feature (it calls you first, you pick up, then it calls the number you want to call and connects both lines). I was thinking of adding a popup right after the user hits call to calculate the rate (this is also API based since users can choose between standard, premium and PSTN routes), basically rate1+rate2=total rate.

So far I am getting the hang of creating a tabbed interface, thankfully Google and the dev section of Android is great icon biggrin First Android App... Coming Soon! ! If it turns out good enough I just might develop a Blackberry version, but for now its Android. I am keeping the VoIP provider's name withheld, until I get something up icon wink First Android App... Coming Soon! .

8 Comments

(Almost) End of the Year Updates

Oh boy where to start?!

For some reason, to me, this year seemed to have passed real quick. I know its still November, but before I know it, it will probably be December 31. This year was probably the bumpiest one yet for me.

Firstly, there were (and still are) all these revolutions going on in the region. As far as the subject goes I will stop there, I like to keep a politically free atmosphere. After that I spent a lot of time writing papers on cloud computing, went to a university sponsored conference that took place in the UAE and then co-authored with one of my instructors another paper that is going to be published. With that semester over, I decided to (finally) take summer courses in university to speed up my graduation. To me each summer term felt more like a month each, plus Ramadan helped time move real quick (eat, sleep, uni, eat, sleep… icon razz (Almost) End of the Year Updates ). This has also been the first year I do not visit my family in Brazil, but I plan on going as soon as I graduate mostly for relaxing, or you never know, a job. Now I am on my final semester, a part of me really wants to graduate, another doesn't want to due to the responsibilites that lie ahead. Which comes to the "company" I am attempting to set up with a friend of mine. It has been really bumpy, I am still not certain what will happen, so I probably would start looking for a job once I'm done.

In the gaming side of life I have decided to stop buying games (yes I know Skyrim is out…) to focus on my more serious interests. I went through a more throrough crash course in Java programming, covering areas that we didn't take in university such as GUI building, communicating with web APIs etc… I ended up with two, decent in my opinion, applications: one gets movie names and timings from Bahrain Cinema Company, the other allows you to send cheap SMS from a VoIP provider named Call With Us (I highly recommend them). I am now (slowly) learning Android and have successfully ported my SMS sending application to Android. I have some more ideas for Android apps, but I still need to polish my skills a bit more. I am thinking of getting a developer account in the Market, even though Bahrain can't sell apps.

On the servers side of life, I went on an addictive buying spree of VPS (Virtual Private Servers). About 90% of them are low end VPS with on average 128MB of RAM that I would spend sometimes hours tweaking to use a fraction of that to run a dynamic website or a DNS server or an OpenVPN server or… or… Most of the low end deals I got from a cool site called Low End Box. I found good use of some of the low end VPSes: I built a low cost CDN (Content Delivery Network) which worked out quite well and I am using for my final year project in university. I have also moved this blog from BurstNET (very good budget VPS provider, take the reviews online with a pinch of salt) to a Linode VPS since I always wanted to try a more premium VPS. Cloudflare stands in front of this blog so the change might not have been obvious.

Regarding Internet in Bahrain, I have gone through some services which I plan on writing a few reviews on. Briefly, Menatelecom's myKey service is very good if you have coverage, Viva's 42Mbps obviously does not reach 42Mbps but is still the fastest I have seen and Menatelecom's myFi service is the only thing you can use from them that is portable AND works on Linux. That is the order in which I have gone ISP wise, the only Internet I will keep is a downgraded menaHome and their myFi service (the Viva review may reveal why).

This is all for now, I hope you all have a nice day icon smile (Almost) End of the Year Updates !

3 Comments

Viva Launch 4th March

According to Viva’s official site, launch date has been confirmed for tomorrow the 4th of March. I have heard or seen somewhere the date 3rd of March, but I can’t remember if it was related to SIM distribution or a potential launch date.

Reserving a number was a pain, even though you had 2 options. Either visit one of their stalls, usually at a mall or some popular place or online at their sister site (now forwarding to their main site). Either you were queued in line which I decided was not worth it, I didn’t feel like waiting in line icon razz Viva Launch 4th March ! Or if you were unlucky, their registration site was down due to the massive traffic. I woke up in wee early hours of the morning to register my number.

Now with the date set to 4th of March, I have no idea when to pick my SIM card (although when I asked they said something about sending an SMS) and their site no longer has links to their registration and status checking pages. Nothing from their Facebook representative except for “Today is the day… are you all READYY..!” (today? I thought it was tomorrow?!?!?!?!?) posted around 5 hours ago (remember today is the 3rd).

I’m thinking of starting a timeline of my experience with Viva, if it helps anyone decide whether to try them out or not.

Update: The launching ceremony was on the 3rd while operation official start on the 4th of March. Confusion cleared icon razz Viva Launch 4th March !

0 Comments
Performance Optimization WordPress Plugins by W3 EDGE